/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
H A D | TestStringPrepProfiles.java | 35 private static String[][] testCases = { field in class:TestStringPrepProfiles 145 for (int i = 0; i < testCases.length; i++) { 146 for (int j = 0; j < testCases[i].length; j++) { 148 profileName = testCases[i][j]; 152 src = testCases[i][j]; 153 expected = testCases[i][++j];
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | TestStreaming.java | 39 static final TestCase[] testCases = { field in class:TestStreaming 76 int nTests = testCases.length, nLevels = paraLevels.length; 88 src = testCases[i].textIn; 90 chunk = testCases[i].chunk; 91 nPortions = testCases[i].nPortions[levelIndex]; 114 processedLen != testCases[i].portionLens[levelIndex][j]; 129 testCases[i].message[levelIndex] + " }\n");
|
H A D | TestReorderRunsOnly.java | 33 static final TestCase testCases[] = { field in class:TestReorderRunsOnly 126 for (i = 0, nCases = testCases.length; i < nCases; i++) { 127 src = testCases[i].textIn; 138 testCases[i].textOut[option][level], 141 if ((option == 0) && (testCases[i].noroundtrip[level] > 0)) {
|
H A D | TestInverse.java | 26 static final String[] testCases = { field in class:TestInverse 40 log("inverse Bidi: testInverse(L) with " + testCases.length + 42 for(i = 0; i < testCases.length; ++i) { 44 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); 47 log("inverse Bidi: testInverse(R) with " + testCases.length + 49 for (i = 0; i < testCases.length; ++i) { 51 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT);
|
/external/skia/tests/ |
H A D | DashPathEffectTest.cpp | 42 } testCases[] = { local 70 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { 75 src.moveTo(testCases[j].fPts[k]); 76 src.lineTo(testCases[j].fPts[(k+1)%2]); 80 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult);
|
H A D | ClipStackTest.cpp | 1081 } testCases[] = { local 1121 for (size_t i = 0; i < SK_ARRAY_COUNT(testCases); ++i) { 1128 testCases[i].testBounds, 1132 testCases[i].tighterBounds.isEmpty() ? NULL : &tightBounds); 1134 REPORTER_ASSERT(reporter, reducedClips.count() == testCases[i].reducedClipCount); 1135 SkASSERT(reducedClips.count() == testCases[i].reducedClipCount); 1136 REPORTER_ASSERT(reporter, reducedGenID == testCases[i].reducedGenID); 1137 SkASSERT(reducedGenID == testCases[i].reducedGenID); 1138 REPORTER_ASSERT(reporter, initial == testCases[i].initialState); 1139 SkASSERT(initial == testCases[ [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | G7CollationTest.java | 28 private static String[] testCases = { field in class:G7CollationTest 83 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); 109 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); 136 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); 162 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); 192 doTest(tblColl1, testCases[result [all...] |
H A D | CollationDummyTest.java | 30 //testSourceCases[][] and testTargetCases[][], testCases[][] are ported from the file callcoll.c in icu4c 111 private static char[][] testCases = { field in class:CollationDummyTest 213 for (i = 0; i < testCases.length - 1; i++) { 214 for (j = i + 1; j < testCases.length; j += 1) { 215 doTest(myCollation, testCases[i], testCases[j], -1);
|
/external/icu/icu4c/source/test/cintltst/ |
H A 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); 220 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); 250 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); 280 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); 309 doTest(myCollation, testCases[result [all...] |
H A D | putiltst.c | 305 const char *testCases[] = { local 320 for(j=0;testCases[j]!=NULL;j+=3) { 321 v1str = testCases[j+0]; 322 opstr = testCases[j+1]; 323 v2str = testCases[j+2]; 550 } testCases[] = { local 568 int32_t count=(sizeof(testCases)/sizeof(testCases[0])); 575 const char *input = STRNULL(testCases[i].inBuf); 576 const char *expect = STRNULL(testCases[ 596 } testCases[] = { local [all...] |
H A D | cloctst.c | 1683 } testCases[] = { local 1722 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { 1725 keywords = uloc_openKeywords(testCases[i].localeID, &status); 1727 if(status != testCases[i].expectedStatus) { 1729 testCases[i].localeID, 1730 u_errorName(testCases[i].expectedStatus), u_errorName(status)); 1734 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { 1735 log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); 1740 if(strcmp(keyword, testCases[ 1777 } testCases[] = { local 1992 } testCases[] = { local 2134 } testCases[] = { local 2197 } testCases[] = { local 2346 } testCases[] = { local [all...] |
H A D | cstrcase.c | 1001 } testCases[] = { local 1016 for (i = 0; testCases[i].s1 != 0; i++) { 1021 u_unescape(testCases[i].s1, u1, 64); 1022 u_unescape(testCases[i].s2, u2, 64); 1026 log_err("error: %s, s1=%s, s2=%s", u_errorName(sts), testCases[i].s1, testCases[i].s2); 1027 } else if (matchLen1 != testCases[i].r1 || matchLen2 != testCases[i].r2) { 1029 testCases[i].s1, testCases[ [all...] |
H A D | capitst.c | 2029 } testCases[] = { local 2064 for(i = 0; i < sizeof(testCases)/sizeof(testCases[0]); i++) { 2066 if(testCases[i].locale) { 2067 locale = testCases[i].locale; 2072 coll = ucol_openFromShortString(testCases[i].input, FALSE, &parseError, &status); 2073 if(status != testCases[i].expectedStatus) { 2075 u_errorName(status), u_errorName(testCases[i].expectedStatus), testCases[i].input); 2082 if(strcmp(fromShortBuffer, testCases[ [all...] |
H A D | calldata.h | 92 const UChar testCases[][4] = variable
|
/external/icu/icu4c/source/test/intltest/ |
H A 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); 173 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); 207 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); 241 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); 270 doTest(myCollation, testCases[result [all...] |
H A D | loctest.cpp | 1590 } testCases[] = { local 1620 for(i = 0; i < (int32_t)(sizeof(testCases)/sizeof(testCases[0])); i++) { 1622 Locale l(testCases[i].localeID); 1625 if(status != testCases[i].expectedStatus) { 1627 u_errorName(testCases[i].expectedStatus), u_errorName(status)); 1631 if((keyCount = keywords->count(status)) != testCases[i].numKeywords) { 1632 err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); 1640 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { 1641 err("Expected to get keyword value %s, got %s\n", testCases[ 1693 } testCases[] = { local 1723 } testCases[] = { local 1758 } testCases[] = { local 2236 } testCases[] = { local [all...] |
H A D | allcoll.cpp | 138 doTest(myCollation, testCases[i], testCases[j], Collator::LESS);
|
H A D | plurults.cpp | 929 static const char *testCases[] = { local 944 for (int i=0; i<UPRV_LENGTHOF(testCases); i++) { 945 const char *rules = testCases[i]; 968 static DoubleTestCase testCases[] = { local 986 for (int i=0; i<UPRV_LENGTHOF(testCases); ++i) { 987 DoubleTestCase &tc = testCases[i];
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleCollationTest.java | 153 boolean truncate, String[] testCases) { 159 for(int i = 0; i < testCases.length ;i+=3) { 160 boolean expectAvail = T_STR.equals(testCases[i+0]); 161 ULocale inLocale = new ULocale(testCases[i+1]); 162 ULocale expectLocale = new ULocale(testCases[i+2]); 152 getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, boolean truncate, String[] testCases) argument
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberMatcherTest.java | 542 List<NumberTest> testCases = new ArrayList<NumberTest>(); 543 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); 544 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); 545 testCases.addAll(Arrays.asList(VALID_CASES)); 546 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); 547 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); 551 List<NumberTest> testCases = new ArrayList<NumberTest>(); 552 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); 553 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); 557 List<NumberTest> testCases 601 doTestNumberMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) argument 623 doTestNumberNonMatchesForLeniency(List<NumberTest> testCases, Leniency leniency) argument [all...] |
/external/deqp/execserver/tools/ |
H A D | xsTest.cpp | 205 void runCases (const std::vector<TestCase*>& testCases); 221 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) argument 224 int numCases = (int)testCases.size(); 226 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) 891 std::vector<TestCase*> testCases; 892 testCases.push_back(new ConnectTest(testCtx)); 893 testCases.push_back(new HelloTest(testCtx)); 894 testCases.push_back(new ExecFailTest(testCtx)); 895 testCases [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
H A D | CaseIterator.java | 514 String[] testCases = {"fiss", "h\u03a3"}; 517 for (int i = 0; i < testCases.length; ++i) { 518 String item = testCases[i];
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/ |
H A D | tokenizer_test.js | 181 var testCases = [ 235 testCases.forEach(function (testCase) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleTest.java | 749 boolean truncate, String[] testCases) { 755 for(int i = 0; i < testCases.length ;i+=3) { 756 boolean expectAvail = T_STR.equals(testCases[i+0]); 757 ULocale inLocale = new ULocale(testCases[i+1]); 758 ULocale expectLocale = new ULocale(testCases[i+2]); 748 getFunctionalEquivalentTestCases(String path, ClassLoader cl, String resName, String keyword, boolean truncate, String[] testCases) argument
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | UTS46Test.java | 139 private static final String testCases[][]={ field in class:UTS46Test 484 for(i=0; i<testCases.length; ++i) { 485 testCase.set(testCases[i]);
|