Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 2559) sorted by relevance

12345678910>>...103

/external/chromium/testing/gtest/test/
Dgtest-unittest-api_test.cc87 TestInfo const** const tests = in GetSortedTests() local
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
95 return tests; in GetSortedTests()
158 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TEST() local
160 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
161 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TEST()
162 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
163 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
164 EXPECT_FALSE(tests[0]->should_run()); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest-unittest-api_test.cc87 TestInfo const** const tests = in GetSortedTests() local
91 tests[i] = test_case->GetTestInfo(i); in GetSortedTests()
93 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
95 return tests; in GetSortedTests()
157 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_case); in TEST() local
159 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
160 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TEST()
161 EXPECT_STREQ("", tests[0]->comment()); in TEST()
162 EXPECT_STREQ("", tests[0]->test_case_comment()); in TEST()
163 EXPECT_FALSE(tests[0]->should_run()); in TEST()
[all …]
/external/dropbear/libtomcrypt/src/encauth/ccm/
Dccm_test.c36 } tests[] = { in ccm_test()
129 for (x = 0; x < (sizeof(tests)/sizeof(tests[0])); x++) { in ccm_test()
130 taglen = tests[x].taglen; in ccm_test()
131 if ((err = cipher_descriptor[idx].setup(tests[x].key, 16, 0, &skey)) != CRYPT_OK) { in ccm_test()
136 tests[x].key, 16, in ccm_test()
138 tests[x].nonce, tests[x].noncelen, in ccm_test()
139 tests[x].header, tests[x].headerlen, in ccm_test()
140 (unsigned char*)tests[x].pt, tests[x].ptlen, in ccm_test()
146 if (XMEMCMP(buf, tests[x].ct, tests[x].ptlen)) { in ccm_test()
149 if (XMEMCMP(tag, tests[x].tag, tests[x].taglen)) { in ccm_test()
[all …]
/external/dropbear/libtomcrypt/src/encauth/eax/
Deax_test.c41 } tests[] = { in eax_test()
227 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in eax_test()
229 if ((err = eax_encrypt_authenticate_memory(idx, tests[x].key, tests[x].keylen, in eax_test()
230 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
231 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { in eax_test()
234 … if (XMEMCMP(outct, tests[x].ciphertext, tests[x].msglen) || XMEMCMP(outtag, tests[x].tag, len)) { in eax_test()
238 for (y = 0; y < (unsigned long)tests[x].msglen; ) { in eax_test()
240 if (y < (unsigned long)(tests[x].msglen-1)) printf(", "); in eax_test()
254 if ((err = eax_decrypt_verify_memory(idx, tests[x].key, tests[x].keylen, in eax_test()
255 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
[all …]
/external/dropbear/libtomcrypt/src/encauth/gcm/
Dgcm_test.c40 } tests[] = { in gcm_test()
340 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in gcm_test()
342 if ((err = gcm_memory(idx, tests[x].K, tests[x].keylen, in gcm_test()
343 tests[x].IV, tests[x].IVlen, in gcm_test()
344 tests[x].A, tests[x].alen, in gcm_test()
345 (unsigned char*)tests[x].P, tests[x].ptlen, in gcm_test()
350 if (XMEMCMP(out[0], tests[x].C, tests[x].ptlen)) { in gcm_test()
353 for (y = 0; y < tests[x].ptlen; y++) { in gcm_test()
361 if (XMEMCMP(T[0], tests[x].T, 16)) { in gcm_test()
373 if ((err = gcm_memory(idx, tests[x].K, tests[x].keylen, in gcm_test()
[all …]
/external/webkit/Source/WebCore/
DChangeLog-2005-12-19101 …* manual-tests/bugzilla-5768.html: Added. Can't seem to get it to work (fail) as an automated test.
102 * manual-tests/resources/frame1.html: Added.
103 * manual-tests/resources/frame2.html: Added.
139 No tests needed (no functionality changes).
252 * manual-tests/pre-tab-selection-rect.html: Added.
473 No tests needed, no functionality changes.
626 No functionality changes, thus no tests.
1054 Layout tests added:
1179 Added 7 layout tests to exercise parse error code.
1695 Added new layout tests in editing/pasting and editing/selection
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dtest.py77 self.tests = {}
83 self.tests[name] = test
93 return self.tests.keys()
96 return item in self.tests
99 return self.tests[item]
103 tests = TestList()
104 tests.add('failures/expected/checksum.html',
106 tests.add('failures/expected/crash.html', crash=True)
107 tests.add('failures/expected/exception.html', exception=True)
108 tests.add('failures/expected/timeout.html', timeout=True)
[all …]
/external/dropbear/libtomcrypt/src/encauth/ocb/
Docb_test.c32 } tests[] = { in ocb_test()
178 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in ocb_test()
180 if ((err = ocb_encrypt_authenticate_memory(idx, tests[x].key, 16, in ocb_test()
181 tests[x].nonce, tests[x].pt, tests[x].ptlen, outct, outtag, &len)) != CRYPT_OK) { in ocb_test()
185 if (XMEMCMP(outtag, tests[x].tag, len) || XMEMCMP(outct, tests[x].ct, tests[x].ptlen)) { in ocb_test()
189 for (y = 0; y < (unsigned long)tests[x].ptlen; ) { in ocb_test()
191 if (y < (unsigned long)(tests[x].ptlen-1)) printf(", "); in ocb_test()
204 … if ((err = ocb_decrypt_verify_memory(idx, tests[x].key, 16, tests[x].nonce, outct, tests[x].ptlen, in ocb_test()
205 outct, tests[x].tag, len, &res)) != CRYPT_OK) { in ocb_test()
208 if ((res != 1) || XMEMCMP(tests[x].pt, outct, tests[x].ptlen)) { in ocb_test()
[all …]
/external/chromium/net/http/
Dhttp_byte_range_unittest.cc14 } tests[] = { in TEST() local
26 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
28 range.set_first_byte_position(tests[i].first_byte_position); in TEST()
29 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
30 range.set_suffix_length(tests[i].suffix_length); in TEST()
31 EXPECT_EQ(tests[i].valid, range.IsValid()); in TEST()
44 } tests[] = { in TEST() local
58 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
60 range.set_first_byte_position(tests[i].first_byte_position); in TEST()
61 range.set_last_byte_position(tests[i].last_byte_position); in TEST()
[all …]
Dhttp_response_headers_unittest.cc292 } tests[] = { in TEST() local
444 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
445 std::string headers = tests[i].raw_headers; in TEST()
451 parsed1->Persist(&pickle, tests[i].options); in TEST()
459 EXPECT_EQ(std::string(tests[i].expected_headers), h2); in TEST()
524 const ContentTypeTestData tests[] = { in TEST() local
655 for (size_t i = 0; i < arraysize(tests); ++i) { in TEST()
656 std::string headers(tests[i].raw_headers); in TEST()
662 EXPECT_EQ(tests[i].has_mimetype, parsed->GetMimeType(&value)); in TEST()
663 EXPECT_EQ(tests[i].mime_type, value); in TEST()
[all …]
Dhttp_auth_handler_basic_unittest.cc23 } tests[] = { in TEST() local
34 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
39 string16 username(ASCIIToUTF16(tests[i].username)); in TEST()
40 string16 password(ASCIIToUTF16(tests[i].password)); in TEST()
46 EXPECT_STREQ(tests[i].expected_credentials, auth_token.c_str()); in TEST()
54 } tests[] = { in TEST() local
89 tests[0].challenge, HttpAuth::AUTH_SERVER, origin, in TEST()
92 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
93 std::string challenge(tests[i].challenge); in TEST()
96 EXPECT_EQ(tests[i].expected_rv, basic->HandleAnotherChallenge(&tok)); in TEST()
[all …]
/external/chromium/net/base/
Dmime_sniffer_unittest.cc20 static void TestArray(SnifferTest* tests, size_t count) { in TestArray() argument
24 SniffMimeType(tests[i].content, in TestArray()
25 tests[i].content_len, in TestArray()
26 GURL(tests[i].url), in TestArray()
27 tests[i].type_hint, in TestArray()
29 EXPECT_EQ(tests[i].mime_type, mime_type); in TestArray()
63 SnifferTest tests[] = { in TEST() local
87 TestArray(tests, arraysize(tests)); in TEST()
91 SnifferTest tests[] = { in TEST() local
154 TestArray(tests, arraysize(tests)); in TEST()
[all …]
Dip_endpoint_unittest.cc26 } tests[] = { variable
32 int test_count = ARRAYSIZE_UNSAFE(tests);
39 EXPECT_TRUE(ParseIPLiteralToNumber(tests[index].host, in SetUp()
40 &tests[index].ip_address)); in SetUp()
50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F()
52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); in TEST_F()
58 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
68 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
78 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F()
87 size_t expected_size = tests[index].ipv6 ? in TEST_F()
[all …]
Dmime_util_unittest.cc16 } tests[] = { in TEST() local
27 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
28 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type); in TEST()
29 EXPECT_EQ(tests[i].valid, rv); in TEST()
31 EXPECT_EQ(tests[i].mime_type, mime_type); in TEST()
40 } tests[] = { in TEST() local
52 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
53 rv = GetMimeTypeFromFile(FilePath(tests[i].file_path), in TEST()
55 EXPECT_EQ(tests[i].valid, rv); in TEST()
57 EXPECT_EQ(tests[i].mime_type, mime_type); in TEST()
[all …]
/external/expat/
DMakefile.in59 cd tests && rm -rf .libs runtests runtests.o runtestspp runtestspp.o
60 cd tests && rm -f chardata.o minicheck.o
62 rm -f examples/core tests/core xmlwf/core
74 check: tests/runtests tests/runtestspp
75 tests/runtests
76 tests/runtestspp
99 @for d in lib xmlwf examples tests ; do \
156 tests/chardata.o: tests/chardata.c tests/chardata.h
157 tests/minicheck.o: tests/minicheck.c tests/minicheck.h
158 tests/runtests.o: tests/runtests.c tests/chardata.h
[all …]
/external/webkit/PerformanceTests/SunSpider/
DChangeLog17 argument, supress the normal prepend-"tests/" behaviour for suite names
21 scope (currently the harness cannot handle running tests the overwrite the
31 Added version 5 and version 6 of V8 tests with modifications similar
32 to the version 4 tests so they'll work with the SunSpider test harness.
37 * tests/v8-v5: Added.
38 * tests/v8-v5/LIST: Added.
39 * tests/v8-v5/v8-crypto.js: Added.
40 * tests/v8-v5/v8-deltablue.js: Added.
41 * tests/v8-v5/v8-earley-boyer.js: Added.
42 * tests/v8-v5/v8-raytrace.js: Added.
[all …]
/external/chromium/net/proxy/
Dproxy_server_unittest.cc20 } tests[] = { in TEST() local
162 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
164 net::ProxyServer::FromURI(tests[i].input_uri, in TEST()
168 EXPECT_EQ(tests[i].expected_uri, uri.ToURI()); in TEST()
169 EXPECT_EQ(tests[i].expected_scheme, uri.scheme()); in TEST()
170 EXPECT_EQ(tests[i].expected_host, uri.host_port_pair().host()); in TEST()
171 EXPECT_EQ(tests[i].expected_port, uri.host_port_pair().port()); in TEST()
172 EXPECT_EQ(tests[i].expected_pac_string, uri.ToPacString()); in TEST()
194 const char* tests[] = { in TEST() local
205 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { in TEST()
[all …]
/external/protobuf/gtest/scripts/
Dgen_gtest_pred_impl.py431 tests = (
451 tests += """
457 tests += Iter(n, 'const T%s& v%s', sep=""",
460 tests += """) {
466 tests += """
471 tests += Iter(n, 'const char* e%s', sep=""",
474 tests += Iter(n, """,
477 tests += """) {
484 tests += Iter(n, 'e%s', sep=' << " + " << ')
486 tests += """
[all …]
/external/chromium/testing/gtest/scripts/
Dgen_gtest_pred_impl.py429 tests = (
449 tests += """
455 tests += Iter(n, 'const T%s& v%s', sep=""",
458 tests += """) {
464 tests += """
469 tests += Iter(n, 'const char* e%s', sep=""",
472 tests += Iter(n, """,
475 tests += """) {
482 tests += Iter(n, 'e%s', sep=' << " + " << ')
484 tests += """
[all …]
/external/gtest/scripts/
Dgen_gtest_pred_impl.py431 tests = (
451 tests += """
457 tests += Iter(n, 'const T%s& v%s', sep=""",
460 tests += """) {
466 tests += """
471 tests += Iter(n, 'const char* e%s', sep=""",
474 tests += Iter(n, """,
477 tests += """) {
484 tests += Iter(n, 'e%s', sep=' << " + " << ')
486 tests += """
[all …]
/external/e2fsprogs/lib/blkid/
Dtest_probe.in5 for i in $SRCDIR/tests/*.img.bz2
11 mkdir -p tests/tmp
16 RESULTS=$SRCDIR/tests/$i.results
17 IMAGE_BZ2=$SRCDIR/tests/$i.img.bz2
18 IMAGE=tests/tmp/$i.img.$$
36 RES_TMP=$SRCDIR/tests/tmp/$i.results
44 eval ./tst_probe $IMAGE $RMUUID > tests/$i.out
45 rm -f $IMAGE tests/$i.ok tests/$i.failed
46 cmp -s tests/$i.out $RESULTS
50 touch tests/$i.ok
[all …]
/external/wpa_supplicant_6/wpa_supplicant/tests/
Dtest_md5.c25 } tests[] = { in main() local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main()
73 addr[0] = tests[i].data; in main()
74 len[0] = strlen(tests[i].data); in main()
76 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
83 addr[0] = tests[i].data; in main()
84 len[0] = strlen(tests[i].data); in main()
85 addr[1] = tests[i].data + 1; in main()
86 len[1] = strlen(tests[i].data) - 1; in main()
88 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
Dtest_md4.c25 } tests[] = { in main() local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main()
73 addr[0] = tests[i].data; in main()
74 len[0] = strlen(tests[i].data); in main()
76 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
83 addr[0] = tests[i].data; in main()
84 len[0] = strlen(tests[i].data); in main()
85 addr[1] = tests[i].data + 1; in main()
86 len[1] = strlen(tests[i].data) - 1; in main()
88 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
/external/wpa_supplicant/tests/
Dtest_md5.c25 } tests[] = { in main() local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main()
73 addr[0] = tests[i].data; in main()
74 len[0] = strlen(tests[i].data); in main()
76 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
83 addr[0] = tests[i].data; in main()
84 len[0] = strlen(tests[i].data); in main()
85 addr[1] = tests[i].data + 1; in main()
86 len[1] = strlen(tests[i].data) - 1; in main()
88 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
Dtest_md4.c25 } tests[] = { in main() local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { in main()
73 addr[0] = tests[i].data; in main()
74 len[0] = strlen(tests[i].data); in main()
76 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()
83 addr[0] = tests[i].data; in main()
84 len[0] = strlen(tests[i].data); in main()
85 addr[1] = tests[i].data + 1; in main()
86 len[1] = strlen(tests[i].data) - 1; in main()
88 if (memcmp(hash, tests[i].hash, 16) != 0) { in main()

12345678910>>...103