/external/webkit/WebKitTools/Scripts/webkitpy/ |
committers_unittest.py | 40 self.assertEqual(committer_list.committer_by_email('one@test.com'), committer) 41 self.assertEqual(committer_list.reviewer_by_email('two@test.com'), reviewer) 42 self.assertEqual(committer_list.committer_by_email('two@test.com'), reviewer) 43 self.assertEqual(committer_list.committer_by_email('two@rad.com'), reviewer) 44 self.assertEqual(committer_list.reviewer_by_email('so_two@gmail.com'), reviewer) 47 self.assertEqual(committer_list.committer_by_email('two@rad.com').bugzilla_email(), 'two@test.com') 50 self.assertEqual(committer_list.reviewer_by_email('one@test.com'), None) 53 self.assertEqual(committer_list.committer_by_email('bar@bar.com'), None) 54 self.assertEqual(committer_list.reviewer_by_email('bar@bar.com'), None) 57 self.assertEqual(committer.emails, ['one@test.com'] [all...] |
grammar_unittest.py | 35 self.assertEqual(join_with_separators(["one", "two", "three"]), "one, two, and three")
|
multicommandtool_unittest.py | 52 self.assertEqual(command_with_args.name_with_arguments(), "trivial ARG1 ARG2") 55 self.assertEqual(command_with_args.name_with_arguments(), "trivial [options]") 58 self.assertEqual(Command._parse_required_arguments("ARG1 ARG2"), ["ARG1", "ARG2"]) 59 self.assertEqual(Command._parse_required_arguments("[ARG1] [ARG2]"), []) 60 self.assertEqual(Command._parse_required_arguments("[ARG1] ARG2"), ["ARG2"]) 68 self.assertEqual(exit_code, 1) 84 self.assertEqual(MultiCommandTool._split_command_name_from_args(args), expected_split) 103 self.assertEqual(tool.command_by_name("trivial").name, "trivial") 104 self.assertEqual(tool.command_by_name("bar"), None) 108 self.assertEqual(exit_code, expected_exit_code [all...] |
user_unittest.py | 43 self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), UserTest.example_user_response) 50 self.assertEqual(User.prompt("input", repeat=self.repeatsRemaining, raw_input=mock_raw_input), None)
|
networktransaction_unittest.py | 39 self.assertEqual(transaction.run(lambda: 42), 42) 53 self.assertEqual(e, self.exception) 66 self.assertEqual(transaction.run(lambda: self._raise_http_error()), 42) 67 self.assertEqual(self._run_count, 3)
|
credentials_unittest.py | 69 self.assertEqual(credentials._is_mac_os_x(), False) 70 self.assertEqual(credentials._credentials_from_keychain("foo"), ["foo", None]) 74 self.assertEqual(credentials._parse_security_tool_output(self.example_security_output), ["test@webkit.org", "SECRETSAUCE"]) 85 self.assertEqual(credentials._run_security_tool(), None) 123 self.assertEqual(credentials.read_credentials(), ["test@webkit.org", "SECRETSAUCE"])
|
outputcapture.py | 59 testcase.assertEqual(stdout_string, expected_stdout) 60 testcase.assertEqual(stderr_string, expected_stderr)
|
scm_unittest.py | 128 self.assertEqual(run_command(['grep', 'bar'], input=input_process.stdout), "bar\n") 131 self.assertEqual(run_command(['grep', 'bar'], input="foo\nbar"), "bar\n") 186 self.assertEqual(self.scm.svn_revision_from_commit_text(commit_text), '5') 191 self.assertEqual(self.scm.svn_revision_from_commit_text(commit_text), '0') 197 self.assertEqual(read_from_path('test_file'), "test1test2test3\n") 232 self.assertEqual(512, len(added)) 260 self.assertEqual('foobar\n', modified) 411 self.assertEqual(scm.checkout_root, self.svn_checkout_path) # Sanity check that detection worked right. 414 self.assertEqual("%s\n" % os.path.realpath(scm.checkout_root), patch_contents) # Add a \n because echo adds a \n. 418 self.assertEqual(scm.display_name(), "svn" [all...] |
/external/webkit/WebKitTools/pywebsocket/test/ |
test_mock.py | 48 self.assertEqual('ABC\r\n', self._conn.readline()) 49 self.assertEqual('DEFG\r\n', self._conn.readline()) 50 self.assertEqual('\r\n', self._conn.readline()) 51 self.assertEqual('HIJK', self._conn.readline()) 52 self.assertEqual('', self._conn.readline()) 55 self.assertEqual('ABC\r\nD', self._conn.read(6)) 56 self.assertEqual('EFG\r\n\r\nHI', self._conn.read(9)) 57 self.assertEqual('JK', self._conn.read(10)) 58 self.assertEqual('', self._conn.read(10)) 61 self.assertEqual('ABC\r\nD', self._conn.read(6) [all...] |
test_msgutil.py | 55 self.assertEqual('\x00Hello\xff', request.connection.written_data()) 61 self.assertEqual('\x00\xe6\x97\xa5\xff', 66 self.assertEqual('Hello', msgutil.receive_message(request)) 67 self.assertEqual('World!', msgutil.receive_message(request)) 72 self.assertEqual(u'\u672c', msgutil.receive_message(request)) 79 self.assertEqual(u'\ufffd\ufffd', msgutil.receive_message(request)) 84 self.assertEqual('Hello', msgutil.receive_message(request)) 85 self.assertEqual('World!', msgutil.receive_message(request)) 90 self.assertEqual(length, 95 self.assertEqual('abc', msgutil._receive_bytes(request, 3) [all...] |
test_util.py | 44 self.assertEqual('None\n', util.get_stack_trace()) 54 self.assertEqual('World', str(exc)) 56 self.assertEqual('Hello World', str(exc))
|
test_dispatch.py | 53 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'), 55 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'), 57 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'), 59 self.assertEqual(os.path.abspath('abc').replace('\\', '/'), 64 self.assertEqual('/h', converter('/a/b/h_wsh.py')) 65 self.assertEqual('/c/h', converter('/a/b/c/h_wsh.py')) 66 self.assertEqual(None, converter('/a/b/h.py')) 67 self.assertEqual(None, converter('a/b/h_wsh.py')) 70 self.assertEqual('/h', converter('a/b/h_wsh.py')) 73 self.assertEqual('/h', converter('/a/b/h_wsh.py') [all...] |
test_handshake.py | 430 self.assertEqual(_GOOD_RESPONSE_DEFAULT_PORT, 432 self.assertEqual('/demo', request.ws_resource) 433 self.assertEqual('http://example.com', request.ws_origin) 434 self.assertEqual('ws://example.com/demo', request.ws_location) 435 self.assertEqual('sample', request.ws_protocol) 444 self.assertEqual(_GOOD_RESPONSE_SECURE, 446 self.assertEqual('sample', request.ws_protocol) 453 self.assertEqual(_GOOD_RESPONSE_NONDEFAULT_PORT, 455 self.assertEqual('sample', request.ws_protocol) 463 self.assertEqual(_GOOD_RESPONSE_SECURE_NONDEF [all...] |
test_memorizingfile.py | 48 self.assertEqual(len(expected_list), len(actual_list)) 50 self.assertEqual(expected, actual)
|
/external/icu4c/test/cintltst/ |
cnormtst.h | 35 /* static void assertEqual(const UChar* result, const UChar* expected, int32_t index); 37 static void assertEqual(const UChar* result, const char* expected, int32_t index);
|
citertst.h | 110 static void assertEqual(UCollationElements *i1, UCollationElements *i2);
|
/external/icu4c/test/intltest/ |
itercoll.h | 109 void assertEqual(CollationElementIterator &i1, CollationElementIterator &i2);
|
normconf.h | 77 UBool assertEqual(const char *op,
|
regcoll.h | 235 void assertEqual(CollationElementIterator &i1, CollationElementIterator &i2);
|
normconf.cpp | 309 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c", fieldNum); 311 pass &= assertEqual("C(+1)", field[i], out, field[1], "c2!=C(c", fieldNum); 313 pass &= assertEqual("C(-1)", field[i], out, field[1], "c2!=C(c", fieldNum); 316 pass &= assertEqual("D", field[i], out, field[2], "c3!=D(c", fieldNum); 318 pass &= assertEqual("D(+1)", field[i], out, field[2], "c3!=D(c", fieldNum); 320 pass &= assertEqual("D(-1)", field[i], out, field[2], "c3!=D(c", fieldNum); 323 pass &= assertEqual("KC", field[i], out, field[3], "c4!=KC(c", fieldNum); 325 pass &= assertEqual("KC(+1)", field[i], out, field[3], "c4!=KC(c", fieldNum); 327 pass &= assertEqual("KC(-1)", field[i], out, field[3], "c4!=KC(c", fieldNum); 330 pass &= assertEqual("KD", field[i], out, field[4], "c5!=KD(c", fieldNum) [all...] |
srchtest.h | 46 UBool assertEqual(const SearchData *search);
|
tstnorm.h | 72 void assertEqual(const UnicodeString& input,
|
itercoll.cpp | 214 assertEqual(*iter, *pristine); 258 assertEqual(*iter1, *iter2); 270 assertEqual(*iter1, *iter2); 510 assertEqual(*iter1, *iter2); 599 void CollationIteratorTest::assertEqual(CollationElementIterator &i1, CollationElementIterator &i2)
|
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/ |
cpp_unittest.py | 680 self.assertEqual('f(a, b);', 682 self.assertEqual('f(a, b);', 684 self.assertEqual('f(a, b);', [all...] |
/development/scripts/ |
divide_and_compress_test.py | 79 self.assertEqual(False, test_target.ArchiveIsValid(), 85 self.assertEqual(True, test_target.ArchiveIsValid(), 206 self.assertEqual(False, test_target.FixArchive('SIZE')) 243 self.assertEqual(True, test_target.FixArchive('SIZE'))
|