Searched defs:tests (Results 1 - 25 of 38) sorted by relevance

12

/external/clearsilver/cs/
H A Dtest_comma.cs2 Comma tests, evalute both but pass right most as expression result external variable declarations
/external/embunit/inc/
H A DTestSuite.h45 Test** tests; member in struct:__TestSuite
50 #define new_TestSuite(name,tests,numberOfTests)\
55 tests,\
/external/wpa_supplicant/tests/
H A Dtest_md4.c25 } tests[] = { local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
73 addr[0] = tests[i].data;
74 len[0] = strlen(tests[i].data);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
83 addr[0] = tests[i].data;
84 len[0] = strlen(tests[i].data);
85 addr[1] = tests[i].data + 1;
86 len[1] = strlen(tests[
[all...]
H A Dtest_md5.c25 } tests[] = { local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
73 addr[0] = tests[i].data;
74 len[0] = strlen(tests[i].data);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
83 addr[0] = tests[i].data;
84 len[0] = strlen(tests[i].data);
85 addr[1] = tests[i].data + 1;
86 len[1] = strlen(tests[
[all...]
H A Dtest_sha256.c24 } tests[] = { variable in typeref:struct:__anon5953
260 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
263 addr[0] = (u8 *) tests[i].data;
264 len[0] = strlen(tests[i].data);
266 if (memcmp(hash, tests[i].hash, 32) != 0) {
273 addr[0] = (u8 *) tests[i].data;
275 addr[1] = (u8 *) tests[i].data + 1;
276 len[1] = strlen(tests[i].data) - 1;
278 if (memcmp(hash, tests[
[all...]
/external/wpa_supplicant_6/wpa_supplicant/tests/
H A Dtest_md4.c25 } tests[] = { local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
73 addr[0] = tests[i].data;
74 len[0] = strlen(tests[i].data);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
83 addr[0] = tests[i].data;
84 len[0] = strlen(tests[i].data);
85 addr[1] = tests[i].data + 1;
86 len[1] = strlen(tests[
[all...]
H A Dtest_md5.c25 } tests[] = { local
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
73 addr[0] = tests[i].data;
74 len[0] = strlen(tests[i].data);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
83 addr[0] = tests[i].data;
84 len[0] = strlen(tests[i].data);
85 addr[1] = tests[i].data + 1;
86 len[1] = strlen(tests[
[all...]
H A Dtest_sha256.c24 } tests[] = { variable in typeref:struct:__anon6180
260 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
263 addr[0] = (u8 *) tests[i].data;
264 len[0] = strlen(tests[i].data);
266 if (memcmp(hash, tests[i].hash, 32) != 0) {
273 addr[0] = (u8 *) tests[i].data;
275 addr[1] = (u8 *) tests[i].data + 1;
276 len[1] = strlen(tests[i].data) - 1;
278 if (memcmp(hash, tests[
[all...]
/external/gtest/src/
H A Dgtest-typed-test.cc49 ::std::set<String> tests; local
53 if (tests.count(name) != 0) {
69 tests.insert(name);
79 if (tests.count(*it) == 0) {
/external/dbus/dbus/
H A Ddbus-marshal-validate-util.c2 /* dbus-marshal-validate-util.c Would be in dbus-marshal-validate.c, but only used by tests/bus
43 run_validity_tests (const ValidityTest *tests, argument
54 _dbus_string_init_const (&str, tests[i].data);
58 if (v != tests[i].expected)
61 v, tests[i].data);
H A Ddbus-sha.c741 DBusString tests; local
758 if (!_dbus_string_init (&tests))
782 if (!_dbus_file_get_contents (&tests, &tests_file, &error))
802 while (_dbus_string_pop_line (&tests, &line))
818 /* See sha-1/Readme.txt - the "Type 3" tests are
821 * to use those tests.
824 printf (" (ending tests due to Type 3 tests seen - this is normal)\n");
858 _dbus_string_pop_line (&tests, &next_line))
910 printf ("Passed the %d SHA-1 tests i
[all...]
/external/dropbear/libtomcrypt/src/hashes/chc/
H A Dchc.c250 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled
258 } tests[] = { local
279 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) {
281 chc_process(&md, tests[x].msg, strlen((char *)tests[x].msg));
283 if (XMEMCMP(out, tests[x].md, tests[x].len)) {
/external/expat/tests/
H A Dminicheck.h4 * tests. This interface is based entirely on the portion of the
51 TCase *tests; member in struct:Suite
58 tcase_test_function *tests; member in struct:TCase
/external/icu4c/test/intltest/
H A Dtufmtts.cpp59 double tests[] = {0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 5, 10, 100, 101.35}; local
60 for (unsigned int i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
62 std::cout << "number: " << tests[i] << "\n"; local
64 TimeUnitAmount* source = new TimeUnitAmount(tests[i], j, status);
H A Dcalcasts.cpp119 static const TestCase tests[] = { local
168 doTestCases(tests, c);
208 static const TestCase tests[] = { local
299 doTestCases(tests, c);
328 static const TestCase tests[] = { local
384 doTestCases(tests, c);
390 static const TestCase tests[] = { local
427 doTestCases(tests, c);
433 static TestCase tests[] = { local
474 doTestCases(tests,
[all...]
H A Dthcoll.cpp255 void CollationThaiTest::compareArray(Collator& c, const char* tests[], argument
260 if (tests[i+1][0] == '<') {
262 } else if (tests[i+1][0] == '>') {
264 } else if (tests[i+1][0] == '=') {
267 // expect = Integer.decode(tests[i+1]).intValue();
268 errln((UnicodeString)"Error: unknown operator " + tests[i+1]);
273 parseChars(s1, tests[i]);
274 parseChars(s2, tests[i+2]);
353 const char *tests[LINES] = { local
379 for(i = 0; i < (int32_t)(sizeof(tests)/sizeo
408 const char *tests[] = { local
[all...]
H A Dastrotst.cpp84 } tests[] = { local
90 for (uint32_t i = 0; i < sizeof(tests)/sizeof(tests[0]); i++) {
92 gc->set(tests[i].d[0], tests[i].d[1]-1, tests[i].d[2], tests[i].d[3], tests[i].d[4]);
113 static const double tests[][7] = { local
118 for (int32_t i = 0; i < (int32_t)(sizeof(tests)/sizeo
[all...]
H A Dregcoll.cpp210 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
215 compareArray(*c, tests, ARRAY_LENGTH(tests));
386 String[] tests = {
390 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
395 compareArray(*c, tests, ARRAY_LENGTH(tests));
466 String[] tests = {
472 String[] tests = {
478 static const UChar tests[][CollationRegressionTes local
614 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
635 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
668 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
696 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
745 static const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN] = local
1078 compareArray(Collator &c, const UChar tests[][CollationRegressionTest::MAX_TOKEN_LEN], int32_t testCount) argument
[all...]
/external/bluetooth/glib/tests/
H A Dmarkup-collect.c88 static struct test tests[] = variable in typeref:struct:test
155 for (i = 0; i < G_N_ELEMENTS (tests); i++)
165 tests[i].document,
172 i, tests[i].document,
184 if (tests[i].error_code != 0)
187 tests[i].document, tests[i].error_code);
194 tests[i].document, g_quark_to_string (error->domain));
196 if (error->code != tests[i].error_code)
199 tests[
[all...]
/external/gtest/test/
H A Dgtest-typed-test_test.cc41 // ctor/dtor, and SetUp()/TearDown() work correctly in typed tests and
84 // This #ifdef block tests typed tests.
90 // and SetUp()/TearDown() work correctly in typed tests
145 // This also verifies that tests from different typed test cases can
168 // This #ifdef block tests type-parameterized tests.
188 const char* tests = "A, B, C"; local
189 EXPECT_EQ(tests,
190 state_.VerifyRegisteredTestNames("foo.cc", 1, tests));
196 const char* tests = "A,C, B"; local
[all...]
/external/junit/src/junit/framework/
H A DTestSuite.java21 * Alternatively, a TestSuite can extract the tests to be run automatically.
145 addTest(warning("No tests found in "+theClass.getName()));
190 * Adds the tests from the given class to the suite
201 for (Enumeration e= tests(); e.hasMoreElements(); ) {
218 * Runs the tests and collects their result in a TestResult.
221 for (Enumeration e= tests(); e.hasMoreElements(); ) {
249 * Returns the number of tests in this suite
256 * Returns the tests as an enumeration
258 public Enumeration tests() { method in class:TestSuite
/external/icu4c/test/cintltst/
H A Dcbididat.c362 tests[]={ variable
434 bidiTestCount=ARRAY_LENGTH(tests);
H A Dcdtrgtst.c43 addTest(root, &Test_GEec, "tsformat/cdtrgtst/Test_GEec"); /* tests for format chars GEec, jitterbugs 5726 6072 6585 */
378 const char* tests [] = { local
397 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i])+1));
398 u_uastrcpy(datestr, tests[i]);
407 datestr=(UChar*)malloc(sizeof(UChar) * (strlen(tests[i+1])+1));
408 u_uastrcpy(datestr, tests[i+1]);
/external/bison/lib/
H A Dbitset_stats.c64 bitset_stats_info->types[BITSET_TYPE_ (BSET)].tests++
86 unsigned int tests; member in struct:bitset_type_info_struct
187 stats->tests, stats->cache_tests,
188 stats->tests ? 100.0 * stats->cache_tests / stats->tests : 0);
/external/safe-iop/src/
H A Dsafe_iop.c1091 int tests = 0, succ = 0, fail = 0; local
1092 tests++; if (T_div_s8()) succ++; else fail++;
1093 tests++; if (T_div_s16()) succ++; else fail++;
1094 tests++; if (T_div_s32()) succ++; else fail++;
1095 tests++; if (T_div_s64()) succ++; else fail++;
1096 tests++; if (T_div_long()) succ++; else fail++;
1097 tests++; if (T_div_longlong()) succ++; else fail++;
1098 tests++; if (T_div_ssizet()) succ++; else fail++;
1099 tests++; if (T_div_u8()) succ++; else fail++;
1100 tests
[all...]

Completed in 306 milliseconds

12