HomeSort by relevance Sort by last modified time
    Searched full:assertequal (Results 276 - 300 of 3181) sorted by null

<<11121314151617181920>>

  /external/python/cpython2/Lib/test/
test_structmembers.py 20 self.assertEqual(ts.T_BOOL, True)
22 self.assertEqual(ts.T_BOOL, False)
27 self.assertEqual(ts.T_BYTE, CHAR_MAX)
29 self.assertEqual(ts.T_BYTE, CHAR_MIN)
31 self.assertEqual(ts.T_UBYTE, UCHAR_MAX)
35 self.assertEqual(ts.T_SHORT, SHRT_MAX)
37 self.assertEqual(ts.T_SHORT, SHRT_MIN)
39 self.assertEqual(ts.T_USHORT, USHRT_MAX)
43 self.assertEqual(ts.T_INT, INT_MAX)
45 self.assertEqual(ts.T_INT, INT_MIN
    [all...]
test_mimetools.py 28 self.assertEqual(o.getvalue(), start)
39 self.assertEqual(msg.gettype(), "text/plain")
40 self.assertEqual(msg.getmaintype(), "text")
41 self.assertEqual(msg.getsubtype(), "plain")
42 self.assertEqual(msg.getplist(), ["charset=iso-8859-1", "format=flowed"])
43 self.assertEqual(msg.getparamnames(), ["charset", "format"])
44 self.assertEqual(msg.getparam("charset"), "iso-8859-1")
45 self.assertEqual(msg.getparam("format"), "flowed")
46 self.assertEqual(msg.getparam("spam"), None)
47 self.assertEqual(msg.getencoding(), "8bit"
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_structmembers.py 18 self.assertEqual(ts.T_BOOL, True)
20 self.assertEqual(ts.T_BOOL, False)
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
27 self.assertEqual(ts.T_BYTE, CHAR_MIN)
29 self.assertEqual(ts.T_UBYTE, UCHAR_MAX)
33 self.assertEqual(ts.T_SHORT, SHRT_MAX)
35 self.assertEqual(ts.T_SHORT, SHRT_MIN)
37 self.assertEqual(ts.T_USHORT, USHRT_MAX)
41 self.assertEqual(ts.T_INT, INT_MAX)
43 self.assertEqual(ts.T_INT, INT_MIN
    [all...]
test_mimetools.py 28 self.assertEqual(o.getvalue(), start)
39 self.assertEqual(msg.gettype(), "text/plain")
40 self.assertEqual(msg.getmaintype(), "text")
41 self.assertEqual(msg.getsubtype(), "plain")
42 self.assertEqual(msg.getplist(), ["charset=iso-8859-1", "format=flowed"])
43 self.assertEqual(msg.getparamnames(), ["charset", "format"])
44 self.assertEqual(msg.getparam("charset"), "iso-8859-1")
45 self.assertEqual(msg.getparam("format"), "flowed")
46 self.assertEqual(msg.getparam("spam"), None)
47 self.assertEqual(msg.getencoding(), "8bit"
    [all...]
test_posixpath.py 39 self.assertEqual(posixpath.join("/foo", "bar", "/bar", "baz"), "/bar/baz")
40 self.assertEqual(posixpath.join("/foo", "bar", "baz"), "/foo/bar/baz")
41 self.assertEqual(posixpath.join("/foo/", "bar/", "baz/"), "/foo/bar/baz/")
44 self.assertEqual(posixpath.split("/foo/bar"), ("/foo", "bar"))
45 self.assertEqual(posixpath.split("/"), ("/", ""))
46 self.assertEqual(posixpath.split("foo"), ("", "foo"))
47 self.assertEqual(posixpath.split("////foo"), ("////", "foo"))
48 self.assertEqual(posixpath.split("//foo//bar"), ("//foo", "bar"))
51 self.assertEqual(posixpath.splitext(path), (filename, ext))
52 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_structmembers.py 18 self.assertEqual(ts.T_BOOL, True)
20 self.assertEqual(ts.T_BOOL, False)
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
27 self.assertEqual(ts.T_BYTE, CHAR_MIN)
29 self.assertEqual(ts.T_UBYTE, UCHAR_MAX)
33 self.assertEqual(ts.T_SHORT, SHRT_MAX)
35 self.assertEqual(ts.T_SHORT, SHRT_MIN)
37 self.assertEqual(ts.T_USHORT, USHRT_MAX)
41 self.assertEqual(ts.T_INT, INT_MAX)
43 self.assertEqual(ts.T_INT, INT_MIN
    [all...]
test_mimetools.py 28 self.assertEqual(o.getvalue(), start)
39 self.assertEqual(msg.gettype(), "text/plain")
40 self.assertEqual(msg.getmaintype(), "text")
41 self.assertEqual(msg.getsubtype(), "plain")
42 self.assertEqual(msg.getplist(), ["charset=iso-8859-1", "format=flowed"])
43 self.assertEqual(msg.getparamnames(), ["charset", "format"])
44 self.assertEqual(msg.getparam("charset"), "iso-8859-1")
45 self.assertEqual(msg.getparam("format"), "flowed")
46 self.assertEqual(msg.getparam("spam"), None)
47 self.assertEqual(msg.getencoding(), "8bit"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_dump.py 9 self.assertEqual(sio.getvalue(), '{}')
12 self.assertEqual(self.dumps({}), '{}')
15 self.assertEqual(self.dumps(
18 self.assertEqual(self.dumps(
27 self.assertEqual(self.dumps(a, default=crasher),
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_structmembers.py 18 self.assertEqual(ts.T_BOOL, True)
20 self.assertEqual(ts.T_BOOL, False)
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
27 self.assertEqual(ts.T_BYTE, CHAR_MIN)
29 self.assertEqual(ts.T_UBYTE, UCHAR_MAX)
33 self.assertEqual(ts.T_SHORT, SHRT_MAX)
35 self.assertEqual(ts.T_SHORT, SHRT_MIN)
37 self.assertEqual(ts.T_USHORT, USHRT_MAX)
41 self.assertEqual(ts.T_INT, INT_MAX)
43 self.assertEqual(ts.T_INT, INT_MIN
    [all...]
test_mimetools.py 28 self.assertEqual(o.getvalue(), start)
39 self.assertEqual(msg.gettype(), "text/plain")
40 self.assertEqual(msg.getmaintype(), "text")
41 self.assertEqual(msg.getsubtype(), "plain")
42 self.assertEqual(msg.getplist(), ["charset=iso-8859-1", "format=flowed"])
43 self.assertEqual(msg.getparamnames(), ["charset", "format"])
44 self.assertEqual(msg.getparam("charset"), "iso-8859-1")
45 self.assertEqual(msg.getparam("format"), "flowed")
46 self.assertEqual(msg.getparam("spam"), None)
47 self.assertEqual(msg.getencoding(), "8bit"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_dump.py 9 self.assertEqual(sio.getvalue(), '{}')
12 self.assertEqual(self.dumps({}), '{}')
15 self.assertEqual(self.dumps(
18 self.assertEqual(self.dumps(
27 self.assertEqual(self.dumps(a, default=crasher),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_structmembers.py 18 self.assertEqual(ts.T_BOOL, True)
20 self.assertEqual(ts.T_BOOL, False)
25 self.assertEqual(ts.T_BYTE, CHAR_MAX)
27 self.assertEqual(ts.T_BYTE, CHAR_MIN)
29 self.assertEqual(ts.T_UBYTE, UCHAR_MAX)
33 self.assertEqual(ts.T_SHORT, SHRT_MAX)
35 self.assertEqual(ts.T_SHORT, SHRT_MIN)
37 self.assertEqual(ts.T_USHORT, USHRT_MAX)
41 self.assertEqual(ts.T_INT, INT_MAX)
43 self.assertEqual(ts.T_INT, INT_MIN
    [all...]
test_mimetools.py 28 self.assertEqual(o.getvalue(), start)
39 self.assertEqual(msg.gettype(), "text/plain")
40 self.assertEqual(msg.getmaintype(), "text")
41 self.assertEqual(msg.getsubtype(), "plain")
42 self.assertEqual(msg.getplist(), ["charset=iso-8859-1", "format=flowed"])
43 self.assertEqual(msg.getparamnames(), ["charset", "format"])
44 self.assertEqual(msg.getparam("charset"), "iso-8859-1")
45 self.assertEqual(msg.getparam("format"), "flowed")
46 self.assertEqual(msg.getparam("spam"), None)
47 self.assertEqual(msg.getencoding(), "8bit"
    [all...]
  /external/python/cpython2/Lib/bsddb/test/
test_sequence.py 34 self.assertEqual(0xA00000000, start_value)
35 self.assertEqual(None, self.seq.initial_value(start_value))
36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE))
37 self.assertEqual(start_value, self.seq.get(5))
38 self.assertEqual(start_value + 5, self.seq.get())
42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
43 self.assertEqual(None, self.seq.remove(txn=None, flags=0))
49 self.assertEqual(None, self.seq.open(key=key, txn=None, flags=db.DB_CREATE))
50 self.assertEqual(key, self.seq.get_key())
54 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/
test_sequence.py 34 self.assertEqual(0xA00000000, start_value)
35 self.assertEqual(None, self.seq.initial_value(start_value))
36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE))
37 self.assertEqual(start_value, self.seq.get(5))
38 self.assertEqual(start_value + 5, self.seq.get())
42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
43 self.assertEqual(None, self.seq.remove(txn=None, flags=0))
49 self.assertEqual(None, self.seq.open(key=key, txn=None, flags=db.DB_CREATE))
50 self.assertEqual(key, self.seq.get_key())
54 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/
test_sequence.py 34 self.assertEqual(0xA00000000, start_value)
35 self.assertEqual(None, self.seq.initial_value(start_value))
36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE))
37 self.assertEqual(start_value, self.seq.get(5))
38 self.assertEqual(start_value + 5, self.seq.get())
42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
43 self.assertEqual(None, self.seq.remove(txn=None, flags=0))
49 self.assertEqual(None, self.seq.open(key=key, txn=None, flags=db.DB_CREATE))
50 self.assertEqual(key, self.seq.get_key())
54 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_sequence.py 34 self.assertEqual(0xA00000000, start_value)
35 self.assertEqual(None, self.seq.initial_value(start_value))
36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE))
37 self.assertEqual(start_value, self.seq.get(5))
38 self.assertEqual(start_value + 5, self.seq.get())
42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
43 self.assertEqual(None, self.seq.remove(txn=None, flags=0))
49 self.assertEqual(None, self.seq.open(key=key, txn=None, flags=db.DB_CREATE))
50 self.assertEqual(key, self.seq.get_key())
54 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_sequence.py 34 self.assertEqual(0xA00000000, start_value)
35 self.assertEqual(None, self.seq.initial_value(start_value))
36 self.assertEqual(None, self.seq.open(key='id', txn=None, flags=db.DB_CREATE))
37 self.assertEqual(start_value, self.seq.get(5))
38 self.assertEqual(start_value + 5, self.seq.get())
42 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE))
43 self.assertEqual(None, self.seq.remove(txn=None, flags=0))
49 self.assertEqual(None, self.seq.open(key=key, txn=None, flags=db.DB_CREATE))
50 self.assertEqual(key, self.seq.get_key())
54 self.assertEqual(None, self.seq.open(key='foo', txn=None, flags=db.DB_CREATE)
    [all...]