/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cg7coll.c | 67 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 178 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 211 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 241 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 271 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 300 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
|
D | putiltst.c | 294 const char *testCases[] = { in TestCompareVersions() local 309 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions() 310 v1str = testCases[j+0]; in TestCompareVersions() 311 opstr = testCases[j+1]; in TestCompareVersions() 312 v2str = testCases[j+2]; in TestCompareVersions() 539 } testCases[] = { in toolutil_findBasename() local 557 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); in toolutil_findBasename() 564 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename() 565 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() 567 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename() [all …]
|
D | cloctst.c | 1450 } testCases[] = { in TestKeywordVariants() local 1489 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestKeywordVariants() 1492 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1494 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1496 testCases[i].localeID, in TestKeywordVariants() 1497 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1501 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1502 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1507 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1508 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
D | calldata.h | 92 const UChar testCases[][4] = variable
|
D | capitst.c | 1948 } testCases[] = { in TestShortString() local 1977 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestShortString() 1979 if(testCases[i].locale) { in TestShortString() 1980 locale = testCases[i].locale; in TestShortString() 1985 coll = ucol_openFromShortString(testCases[i].input, FALSE, &parseError, &status); in TestShortString() 1986 if(status != testCases[i].expectedStatus) { in TestShortString() 1988 u_errorName(status), u_errorName(testCases[i].expectedStatus), testCases[i].input); in TestShortString() 1995 if(strcmp(fromShortBuffer, testCases[i].expectedOutput)) { in TestShortString() 1997 fromShortBuffer, testCases[i].expectedOutput, testCases[i].input); in TestShortString() 2000 …ucol_normalizeShortDefinitionString(testCases[i].input, normalizedBuffer, 256, &parseError, &statu… in TestShortString() [all …]
|
D | cbiditst.c | 1180 } testCases[]={ in testGetBaseDirection() local 1208 LENGTHOF(testCases)); in testGetBaseDirection() 1210 for(i=0; i<LENGTHOF(testCases); ++i) { in testGetBaseDirection() 1211 dir = ubidi_getBaseDirection(testCases[i].s, testCases[i].length ); in testGetBaseDirection() 2028 } testCases[]={ in testInverse() local 2047 log_verbose("inverse Bidi: testInverse(L) with %u test cases ---\n", LENGTHOF(testCases)); in testInverse() 2048 for(i=0; i<LENGTHOF(testCases); ++i) { in testInverse() 2051 _testInverseBidi(pBiDi, testCases[i].s, testCases[i].length, 0, &errorCode); in testInverse() 2054 log_verbose("inverse Bidi: testInverse(R) with %u test cases ---\n", LENGTHOF(testCases)); in testInverse() 2055 for(i=0; i<LENGTHOF(testCases); ++i) { in testInverse() [all …]
|
/external/icu4c/test/cintltst/ |
D | cg7coll.c | 67 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 182 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 215 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 245 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 275 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 304 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 | 1596 } testCases[] = { in TestKeywordVariants() local 1635 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestKeywordVariants() 1638 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1640 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1642 testCases[i].localeID, in TestKeywordVariants() 1643 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1647 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1648 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1653 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1654 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
D | calldata.h | 92 const UChar testCases[][4] = variable
|
D | capitst.c | 2022 } testCases[] = { in TestShortString() local 2051 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { in TestShortString() 2053 if(testCases[i].locale) { in TestShortString() 2054 locale = testCases[i].locale; in TestShortString() 2059 coll = ucol_openFromShortString(testCases[i].input, FALSE, &parseError, &status); in TestShortString() 2060 if(status != testCases[i].expectedStatus) { in TestShortString() 2062 u_errorName(status), u_errorName(testCases[i].expectedStatus), testCases[i].input); in TestShortString() 2069 if(strcmp(fromShortBuffer, testCases[i].expectedOutput)) { in TestShortString() 2071 fromShortBuffer, testCases[i].expectedOutput, testCases[i].input); in TestShortString() 2074 …ucol_normalizeShortDefinitionString(testCases[i].input, normalizedBuffer, 256, &parseError, &statu… in TestShortString() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | g7coll.cpp | 19 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 149 … doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 218 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 252 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 281 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
D | loctest.cpp | 1576 } testCases[] = { in TestKeywordVariants() local 1606 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { in TestKeywordVariants() 1608 Locale l(testCases[i].localeID); in TestKeywordVariants() 1611 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1613 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1617 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1618 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1626 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1627 … err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() 1633 if(*keywordString != UnicodeString(testCases[i].expectedKeywords[j], "")) { in TestKeywordVariants() [all …]
|
D | allcoll.cpp | 138 doTest(myCollation, testCases[i], testCases[j], Collator::LESS); in TestExtra()
|
/external/icu4c/test/intltest/ |
D | g7coll.cpp | 19 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 149 … doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 218 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 252 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 281 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
D | loctest.cpp | 1597 } testCases[] = { in TestKeywordVariants() local 1627 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { in TestKeywordVariants() 1629 Locale l(testCases[i].localeID); in TestKeywordVariants() 1632 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1634 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1638 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1639 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1647 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1648 … err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() 1654 if(*keywordString != UnicodeString(testCases[i].expectedKeywords[j], "")) { in TestKeywordVariants() [all …]
|
D | allcoll.cpp | 138 doTest(myCollation, testCases[i], testCases[j], Collator::LESS); in TestExtra()
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 460 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithPossibleLeniency() local 461 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 462 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 463 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency() 464 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency() 465 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency() 469 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testNonMatchesWithPossibleLeniency() local 470 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency() 471 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency() 475 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithValidLeniency() local [all …]
|
/external/chromium_org/ui/webui/resources/js/ |
D | webui_resource_test.js | 126 var testCases = []; 147 testCases.push(name); 149 if (!testCases.length) { 170 if (testCases.length > 0) { 171 var fn = testCases.pop();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | InetSocketAddressTest.java | 111 Object[] testCases = { in testSerializationSelf() local 115 SerializationTest.verifySelf(testCases, COMPARATOR); in testSerializationSelf() 123 Object[] testCases = { in testSerializationCompatibility() local 127 SerializationTest.verifyGolden(this, testCases, COMPARATOR); in testSerializationCompatibility()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
D | prepareParsedPatch.pl | 52 my @testCases = ( 124 my $testCasesCount = @testCases; 127 foreach my $testCase (@testCases) {
|
/external/compiler-rt/test/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()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | EnumTest.java | 227 Object[] testCases = { enumColorMap, Sample.CURLY }; in testSerializationSelf() local 229 SerializationTest.verifySelf(testCases); in testSerializationSelf() 256 Object[] testCases = { Sample.CURLY, new MockEnum(), in testSerializationCompatibility() local 262 SerializationTest.verifyGolden(this, testCases); in testSerializationCompatibility()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 1072 } testCases[] = { in test_reduced_clip_stack_genid() local 1112 for (size_t i = 0; i < SK_ARRAY_COUNT(testCases); ++i) { in test_reduced_clip_stack_genid() 1119 testCases[i].testBounds, in test_reduced_clip_stack_genid() 1123 … testCases[i].tighterBounds.isEmpty() ? NULL : &tightBounds); in test_reduced_clip_stack_genid() 1125 REPORTER_ASSERT(reporter, reducedClips.count() == testCases[i].reducedClipCount); in test_reduced_clip_stack_genid() 1126 SkASSERT(reducedClips.count() == testCases[i].reducedClipCount); in test_reduced_clip_stack_genid() 1127 REPORTER_ASSERT(reporter, reducedGenID == testCases[i].reducedGenID); in test_reduced_clip_stack_genid() 1128 SkASSERT(reducedGenID == testCases[i].reducedGenID); in test_reduced_clip_stack_genid() 1129 REPORTER_ASSERT(reporter, initial == testCases[i].initialState); in test_reduced_clip_stack_genid() 1130 SkASSERT(initial == testCases[i].initialState); in test_reduced_clip_stack_genid() [all …]
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/swingui/ |
D | gunit.stg | 14 <it.testCases: testCase(); separator="\n\n">
|