/external/skia/tests/ |
H A D | PDFGlyphsToUnicodeTest.cpp | 78 char expectedResult[] = local 92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
|
H A D | CopySurfaceTest.cpp | 86 bool expectedResult = true; local 96 expectedResult = false; 107 expectedResult = false; 111 if (expectedResult != result) { 113 "%d.", expectedResult, result); 117 if (!expectedResult || !result) {
|
H A D | FontMgrTest.cpp | 206 SkFontStyle expectedResult; member in struct:StyleSetTest::Case 634 REPORTER_ASSERT(reporter, typeface->fontStyle() == testCase.expectedResult); 636 REPORTER_ASSERT(reporter, invalidFontStyle == testCase.expectedResult);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | ccurrtst.c | 109 UCollationResult expectedResult = UCOL_EQUAL; local 129 expectedResult = UCOL_LESS; 133 expectedResult = UCOL_EQUAL; 137 expectedResult = UCOL_GREATER; 157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
|
H A D | ulistfmttest.c | 40 const char *expectedResult; /* invariant chars + escaped Unicode */ member in struct:__anon7030 44 /* locale stringCount expectedResult */ 75 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); 88 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax); 101 int32_t ulenExpected = u_unescape(lftep->expectedResult, ubufExpected, kUBufMax);
|
H A D | tracetst.c | 75 char expectedResult[300]; local 82 if (strlen(result) >= sizeof(expectedResult)) { 88 strcpy(expectedResult, result); 89 expectedResult[bufCap] = 0; 98 if (strcmp(expectedResult, buf) != 0) { 100 __FILE__, line, expectedResult, buf);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | currcoll.cpp | 83 Collator::EComparisonResult expectedResult = Collator::EQUAL; local 103 expectedResult = Collator::LESS; 107 expectedResult = Collator::EQUAL; 111 expectedResult = Collator::GREATER; 137 reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expectedResult );
|
H A D | compactdecimalformattest.cpp | 191 const ExpectedResult* expectedResult, int32_t expectedResultLength); 193 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, 410 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { 412 cdf->format(expectedResult->value, actual); 413 UnicodeString expected(expectedResult->expected, -1, US_INV); 409 CheckExpectedResult( const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) argument
|
H A D | cpdtrtst.cpp | 359 UnicodeString expectedResult=s; 361 expectAux(ct1->getID() + ":String, index(0,0,0), incremental=FALSE", rsource2 + "->" + rsource2, rsource2==expectedResult, expectedResult); 366 expectAux(ct1->getID() + ":String, index(1,2,3), incremental=TRUE", rsource3 + "->" + rsource3, rsource3==expectedResult, expectedResult); 409 const UnicodeString& expectedResult) { 413 expectAux(t.getID() + ":Replaceable", source + "->" + rsource, rsource==expectedResult, expectedResult); 426 expectAux(t.getID() + ":handleTransliterate ", source + "->" + rsource, rsource==expectedResult, expectedResult); 407 expect(const CompoundTransliterator& t, const UnicodeString& source, const UnicodeString& expectedResult) argument 430 expectAux(const UnicodeString& tag, const UnicodeString& summary, UBool pass, const UnicodeString& expectedResult) argument [all...] |
H A D | jamotest.cpp | 446 const UnicodeString& expectedResult) { 448 UnicodeString jexp = jamoToName(expectedResult); 444 expectAux(const UnicodeString& tag, const UnicodeString& summary, UBool pass, const UnicodeString& expectedResult) argument
|
H A D | strcase.cpp | 68 UnicodeString expectedResult; local 76 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); 77 if (test4 != expectedResult) 78 errln("1. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 82 expectedResult = lowercaseTurkish; 83 if (test4 != expectedResult) 84 errln("2. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 92 expectedResult = "TOPKAPI PALACE, ISTANBUL"; 93 if (test4 != expectedResult) 94 errln("toUpper failed: expected \"" + expectedResult [all...] |
H A D | dtptngts.cpp | 433 UnicodeString dateReturned, expectedResult; local 436 expectedResult=UnicodeString("14. Okt., 08:58", -1, US_INV); 437 if ( dateReturned != expectedResult ) { 452 expectedResult=UnicodeString("14. von Oktober, 08:58", -1, US_INV); 453 if ( dateReturned != expectedResult ) { 454 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 466 expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 um 08:58:59 Mitteleurop\\u00E4ische Sommerzeit"); 467 if ( dateReturned != expectedResult ) { 469 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 477 expectedResult [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
H A D | CompoundTransliteratorTest.java | 143 String expectedResult=s; 147 expectAux(ct1.getID() + ":ReplaceableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResult); 154 expectAux(ct1.getID() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResult); 218 private void expect(Transliterator t, String source, String expectedResult) { argument 220 expectAux(t.getID() + ":String", source, result, expectedResult); 225 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); 255 result.equals(expectedResult), 256 expectedResult); 259 expectAux(String tag, String source, String result, String expectedResult) argument 266 expectAux(String tag, String summary, boolean pass, String expectedResult) argument [all...] |
H A D | JamoTest.java | 381 String expectedResult) { 383 pass, jamoToName(expectedResult)); 380 expectAux(String tag, String summary, boolean pass, String expectedResult) argument
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | CompoundTransliteratorTest.java | 139 String expectedResult=s; 143 expectAux(ct1.getID() + ":ReplaceableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResult); 150 expectAux(ct1.getID() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResult); 214 private void expect(Transliterator t, String source, String expectedResult) { argument 216 expectAux(t.getID() + ":String", source, result, expectedResult); 221 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); 251 result.equals(expectedResult), 252 expectedResult); 255 expectAux(String tag, String source, String result, String expectedResult) argument 262 expectAux(String tag, String summary, boolean pass, String expectedResult) argument [all...] |
H A D | JamoTest.java | 377 String expectedResult) { 379 pass, jamoToName(expectedResult)); 376 expectAux(String tag, String summary, boolean pass, String expectedResult) argument
|
/external/deqp/modules/internal/ |
H A D | ditImageCompareTests.cpp | 114 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult) argument 119 , m_expectedResult (expectedResult)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
H A D | UTF16Test.java | 583 // expectedResult The string index after the move, or -1 if the 585 private void checkMoveCodePointOffset(String s, int startIdx, int amount, int expectedResult) { argument 589 if (result != expectedResult) { 592 (expectedResult==-1 ? "exception" : Integer.toString(expectedResult))); 596 if (expectedResult != -1) { 598 " returned exception" + ", expected result was " + expectedResult); 606 if (result != expectedResult) { 609 (expectedResult==-1 ? "exception" : Integer.toString(expectedResult))); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UTF16Test.java | 579 // expectedResult The string index after the move, or -1 if the 581 private void checkMoveCodePointOffset(String s, int startIdx, int amount, int expectedResult) { argument 585 if (result != expectedResult) { 588 (expectedResult==-1 ? "exception" : Integer.toString(expectedResult))); 592 if (expectedResult != -1) { 594 " returned exception" + ", expected result was " + expectedResult); 602 if (result != expectedResult) { 605 (expectedResult==-1 ? "exception" : Integer.toString(expectedResult))); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
H A D | RBBITest.java | 264 private void generalIteratorTest(RuleBasedBreakIterator rbbi, List<String> expectedResult) { argument 267 for (int i = 0; i < expectedResult.size(); i++) { 268 text = expectedResult.get(i); 287 compareFragmentLists("expected result", "actual result", expectedResult, nextResults); 290 int[] boundaries = new int[expectedResult.size() + 3]; 293 for (int i = 0; i < expectedResult.size(); i++) { 294 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length());
|
H A D | BreakIteratorTest.java | 51 private void generalIteratorTest(BreakIterator bi, List<String> expectedResult) { argument 54 for (int i = 0; i < expectedResult.size(); i++) { 55 text = expectedResult.get(i); 71 compareFragmentLists("expected result", "actual result", expectedResult, 75 int[] boundaries = new int[expectedResult.size() + 3]; 78 for (int i = 0; i < expectedResult.size(); i++) 79 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)).
|
/external/icu/icu4c/source/test/iotest/ |
H A D | strtst.c | 710 static void Test_u_vfprintf(const char *expectedResult, const char *format, ...) { argument 721 u_uastrcpy(uBuffer2, expectedResult); 723 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); 730 u_uastrcpy(uBuffer2, expectedResult); 732 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult);
|
H A D | iotest.cpp | 208 UChar expectedResult[512]; local 245 tempStr.extract(expectedResult, sizeof(expectedResult)/sizeof(expectedResult[0]), errorCode); 296 if (u_strcmp(uBuffer, expectedResult) != 0) { 299 u_austrncpy(cExpected, expectedResult, sizeof(cExpected)); 325 if (u_strcmp(uBuffer, expectedResult) != 0) { 328 u_austrncpy(cExpected, expectedResult, sizeof(cExpected)); 373 UChar expectedResult[512]; local 410 tempStr.extract(expectedResult, sizeo 576 UChar expectedResult[512]; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBITest.java | 260 private void generalIteratorTest(RuleBasedBreakIterator rbbi, List<String> expectedResult) { argument 263 for (int i = 0; i < expectedResult.size(); i++) { 264 text = expectedResult.get(i); 283 compareFragmentLists("expected result", "actual result", expectedResult, nextResults); 286 int[] boundaries = new int[expectedResult.size() + 3]; 289 for (int i = 0; i < expectedResult.size(); i++) { 290 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i).length());
|
H A D | BreakIteratorTest.java | 47 private void generalIteratorTest(BreakIterator bi, List<String> expectedResult) { argument 50 for (int i = 0; i < expectedResult.size(); i++) { 51 text = expectedResult.get(i); 67 compareFragmentLists("expected result", "actual result", expectedResult, 71 int[] boundaries = new int[expectedResult.size() + 3]; 74 for (int i = 0; i < expectedResult.size(); i++) 75 boundaries[i + 2] = boundaries[i + 1] + (expectedResult.get(i)).
|