/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 245 var testCases []testCase var 2092 testCases = append(testCases, basicTests...) 2136 testCases = append(testCases, testCase{ 2159 testCases = append(testCases, testCase{ 2175 testCases = append(testCases, testCase{ 2190 testCases = append(testCases, testCase{ 2211 testCases = append(testCases, testCase{ 2223 testCases = append(testCases, testCase{ 2238 testCases = append(testCases, testCase{ 2253 testCases = append(testCases, testCase{ [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cg7coll.c | 66 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 188 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 220 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 250 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 280 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 309 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
|
D | putiltst.c | 305 const char *testCases[] = { in TestCompareVersions() local 320 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions() 321 v1str = testCases[j+0]; in TestCompareVersions() 322 opstr = testCases[j+1]; in TestCompareVersions() 323 v2str = testCases[j+2]; in TestCompareVersions() 550 } testCases[] = { in toolutil_findBasename() local 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findBasename() 575 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename() 576 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() 578 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename() [all …]
|
D | cloctst.c | 1683 } testCases[] = { in TestKeywordVariants() local 1731 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestKeywordVariants() 1734 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1736 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1738 testCases[i].localeID, in TestKeywordVariants() 1739 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1743 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1744 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1749 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1750 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
D | cstrcase.c | 1001 } testCases[] = { in TestUCaseInsensitivePrefixMatch() local 1016 for (i = 0; testCases[i].s1 != 0; i++) { in TestUCaseInsensitivePrefixMatch() 1021 u_unescape(testCases[i].s1, u1, 64); in TestUCaseInsensitivePrefixMatch() 1022 u_unescape(testCases[i].s2, u2, 64); in TestUCaseInsensitivePrefixMatch() 1026 log_err("error: %s, s1=%s, s2=%s", u_errorName(sts), testCases[i].s1, testCases[i].s2); in TestUCaseInsensitivePrefixMatch() 1027 } else if (matchLen1 != testCases[i].r1 || matchLen2 != testCases[i].r2) { in TestUCaseInsensitivePrefixMatch() 1029 testCases[i].s1, testCases[i].s2, in TestUCaseInsensitivePrefixMatch() 1031 testCases[i].r1, testCases[i].r2); in TestUCaseInsensitivePrefixMatch()
|
/external/icu/icu4c/source/test/intltest/ |
D | g7coll.cpp | 19 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 141 …doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 173 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 207 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 241 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 270 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
D | loctest.cpp | 1590 } testCases[] = { in TestKeywordVariants() local 1620 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { in TestKeywordVariants() 1622 Locale l(testCases[i].localeID); in TestKeywordVariants() 1625 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1627 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1631 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1632 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1640 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1641 … err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() 1647 if(*keywordString != UnicodeString(testCases[i].expectedKeywords[j], "")) { in TestKeywordVariants() [all …]
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 542 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithPossibleLeniency() local 543 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 544 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 545 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency() 546 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency() 547 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency() 551 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testNonMatchesWithPossibleLeniency() local 552 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency() 553 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency() 557 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithValidLeniency() local [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-osr-in-literal.js | 10 var testCases = [ variable 25 for (var i = 0; i < testCases.length; ++i) { 26 var source = "(function f" + i + "(x) { return " + testCases[i].s + "})"; 29 if (testCases[i].r) assertEquals(testCases[i].r, result);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestStreaming.java | 39 static final TestCase[] testCases = { field in TestStreaming 76 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming() 88 src = testCases[i].textIn; in testStreaming() 90 chunk = testCases[i].chunk; in testStreaming() 91 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming() 114 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming() 129 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
|
D | TestInverse.java | 26 static final String[] testCases = { field in TestInverse 40 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse() 42 for(i = 0; i < testCases.length; ++i) { in testInverse() 44 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse() 47 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse() 49 for (i = 0; i < testCases.length; ++i) { in testInverse() 51 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
|
D | TestReorderRunsOnly.java | 33 static final TestCase testCases[] = { field in TestReorderRunsOnly 126 for (i = 0, nCases = testCases.length; i < nCases; i++) { in testReorderRunsOnly() 127 src = testCases[i].textIn; in testReorderRunsOnly() 138 testCases[i].textOut[option][level], in testReorderRunsOnly() 141 if ((option == 0) && (testCases[i].noroundtrip[level] > 0)) { in testReorderRunsOnly()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | G7CollationTest.java | 28 private static String[] testCases = { field in G7CollationTest 83 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1() 109 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2() 136 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3() 162 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4() 192 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | G7CollationTest.java | 32 private static String[] testCases = { field in G7CollationTest 87 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1() 113 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2() 140 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3() 166 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4() 196 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestStreaming.java | 43 static final TestCase[] testCases = { field in TestStreaming 80 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming() 92 src = testCases[i].textIn; in testStreaming() 94 chunk = testCases[i].chunk; in testStreaming() 95 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming() 118 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming() 133 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
|
D | TestInverse.java | 30 static final String[] testCases = { field in TestInverse 44 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse() 46 for(i = 0; i < testCases.length; ++i) { in testInverse() 48 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse() 51 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse() 53 for (i = 0; i < testCases.length; ++i) { in testInverse() 55 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
|
D | TestReorderRunsOnly.java | 37 static final TestCase testCases[] = { field in TestReorderRunsOnly 130 for (i = 0, nCases = testCases.length; i < nCases; i++) { in testReorderRunsOnly() 131 src = testCases[i].textIn; in testReorderRunsOnly() 142 testCases[i].textOut[option][level], in testReorderRunsOnly() 145 if ((option == 0) && (testCases[i].noroundtrip[level] > 0)) { in testReorderRunsOnly()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
D | TestStringPrepProfiles.java | 39 private static String[][] testCases = { field in TestStringPrepProfiles 149 for (int i = 0; i < testCases.length; i++) { in TestProfiles() 150 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles() 152 profileName = testCases[i][j]; in TestProfiles() 156 src = testCases[i][j]; in TestProfiles() 157 expected = testCases[i][++j]; in TestProfiles()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestStringPrepProfiles.java | 35 private static String[][] testCases = { field in TestStringPrepProfiles 145 for (int i = 0; i < testCases.length; i++) { in TestProfiles() 146 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles() 148 profileName = testCases[i][j]; in TestProfiles() 152 src = testCases[i][j]; in TestProfiles() 153 expected = testCases[i][++j]; in TestProfiles()
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 205 void runCases (const std::vector<TestCase*>& testCases); 221 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) in runCases() argument 224 int numCases = (int)testCases.size(); in runCases() 226 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) in runCases() 891 std::vector<TestCase*> testCases; in runExecServerTests() local 892 testCases.push_back(new ConnectTest(testCtx)); in runExecServerTests() 893 testCases.push_back(new HelloTest(testCtx)); in runExecServerTests() 894 testCases.push_back(new ExecFailTest(testCtx)); in runExecServerTests() 895 testCases.push_back(new SimpleExecTest(testCtx)); in runExecServerTests() 896 testCases.push_back(new InfoTest(testCtx)); in runExecServerTests() [all …]
|
/external/skia/tests/ |
D | DashPathEffectTest.cpp | 43 } testCases[] = { in DEF_TEST() local 71 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { in DEF_TEST() 76 src.moveTo(testCases[j].fPts[k]); in DEF_TEST() 77 src.lineTo(testCases[j].fPts[(k+1)%2]); in DEF_TEST() 81 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult); in DEF_TEST()
|
/external/testng/src/test/java/test/tmp/ |
D | TestCaseFactory.java | 15 Object[] testCases = new Object[1]; in createTestCases() local 16 testCases[0] = new MyTestClass() { in createTestCases() 18 return testCases; in createTestCases()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 153 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 159 for(int i = 0; i < testCases.length ;i+=3) { in getFunctionalEquivalentTestCases() 160 boolean expectAvail = T_STR.equals(testCases[i+0]); in getFunctionalEquivalentTestCases() 161 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() 162 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 157 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 163 for(int i = 0; i < testCases.length ;i+=3) { in getFunctionalEquivalentTestCases() 164 boolean expectAvail = T_STR.equals(testCases[i+0]); in getFunctionalEquivalentTestCases() 165 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() 166 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases()
|
/external/compiler-rt/test/builtins/Unit/ppc/ |
D | fixtfdi_test.c | 12 const struct testVector testCases[] = { variable 450 const int numTestCases = sizeof(testCases) / sizeof(struct testVector); 461 input.hi = testCases[i].xhi; in main() 462 input.lo = testCases[i].xlo; in main() 463 expected_result = testCases[i].result; in main()
|