/external/icu4c/test/cintltst/ |
D | ccolltst.c | 91 UCollationResult expectedResult ) in reportCResult() argument 93 if (expectedResult < -1 || expectedResult > 1) in reportCResult() 99 if (compareResult != expectedResult) in reportCResult() 102 getCompareResult(compareResult), getCompareResult(expectedResult) ); in reportCResult() 105 if (incResult != expectedResult) in reportCResult() 108 getCompareResult(incResult), getCompareResult(expectedResult) ); in reportCResult() 111 if (keyResult != expectedResult) in reportCResult() 114 getCompareResult(keyResult), getCompareResult(expectedResult) ); in reportCResult() 123 if(keyResult != expectedResult || keyResult != compareResult) in reportCResult()
|
D | ccurrtst.c | 109 UCollationResult expectedResult = UCOL_EQUAL; in currTest() local 129 expectedResult = UCOL_LESS; in currTest() 133 expectedResult = UCOL_EQUAL; in currTest() 137 expectedResult = UCOL_GREATER; in currTest() 157 …ult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult ); in currTest()
|
D | tracetst.c | 75 char expectedResult[300]; in test_format() local 82 if (strlen(result) >= sizeof(expectedResult)) { in test_format() 88 strcpy(expectedResult, result); in test_format() 89 expectedResult[bufCap] = 0; in test_format() 97 if (strcmp(expectedResult, buf) != 0) { in test_format() 99 __FILE__, line, expectedResult, buf); in test_format()
|
/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
D | hc_elementgetelementsbytagnamespecialvalue.js | 101 expectedResult = new Array(); 102 expectedResult[0] = "em"; 103 expectedResult[1] = "strong"; 104 expectedResult[2] = "code"; 105 expectedResult[3] = "sup"; 106 expectedResult[4] = "var"; 107 expectedResult[5] = "acronym"; 125 assertEqualsListAutoCase("element", "tagNames",expectedResult,result);
|
/external/webkit/LayoutTests/dom/html/level1/core/ |
D | hc_elementgetelementsbytagnamespecialvalue.js | 101 expectedResult = new Array(); 102 expectedResult[0] = "em"; 103 expectedResult[1] = "strong"; 104 expectedResult[2] = "code"; 105 expectedResult[3] = "sup"; 106 expectedResult[4] = "var"; 107 expectedResult[5] = "acronym"; 125 assertEqualsListAutoCase("element", "tagNames",expectedResult,result);
|
/external/icu4c/test/intltest/ |
D | strcase.cpp | 69 UnicodeString expectedResult; in TestCaseConversion() local 77 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); in TestCaseConversion() 78 if (test4 != expectedResult) in TestCaseConversion() 79 errln("1. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion() 83 expectedResult = lowercaseTurkish; in TestCaseConversion() 84 if (test4 != expectedResult) in TestCaseConversion() 85 errln("2. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion() 93 expectedResult = "TOPKAPI PALACE, ISTANBUL"; in TestCaseConversion() 94 if (test4 != expectedResult) in TestCaseConversion() 95 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); in TestCaseConversion() [all …]
|
D | transtst.h | 376 const UnicodeString& expectedResult); 380 const UnicodeString& expectedResult, 386 const UnicodeString& expectedResult, 391 const UnicodeString& expectedResult, 396 const UnicodeString& expectedResult, 402 const UnicodeString& expectedResult); 406 const UnicodeString& expectedResult);
|
D | currcoll.cpp | 83 Collator::EComparisonResult expectedResult = Collator::EQUAL; in currencyTest() local 103 expectedResult = Collator::LESS; in currencyTest() 107 expectedResult = Collator::EQUAL; in currencyTest() 111 expectedResult = Collator::GREATER; in currencyTest() 137 …t( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expectedResult ); in currencyTest()
|
D | dtptngts.cpp | 419 UnicodeString dateReturned, expectedResult; in testAPI() local 422 expectedResult=UnicodeString("14. Okt. 08:58", -1, US_INV); in testAPI() 423 if ( dateReturned != expectedResult ) { in testAPI() 438 expectedResult=UnicodeString("14. von Oktober 08:58", -1, US_INV); in testAPI() 439 if ( dateReturned != expectedResult ) { in testAPI() 440 …failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); in testAPI() 452 …expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische… in testAPI() 453 if ( dateReturned != expectedResult ) { in testAPI() 455 … errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); in testAPI() 463 …expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische… in testAPI() [all …]
|
D | cpdtrtst.cpp | 359 UnicodeString expectedResult=s; in TestTransliterate() 361 …(0,0,0), incremental=FALSE", rsource2 + "->" + rsource2, rsource2==expectedResult, expectedResult); in TestTransliterate() 366 …x(1,2,3), incremental=TRUE", rsource3 + "->" + rsource3, rsource3==expectedResult, expectedResult); in TestTransliterate() 409 const UnicodeString& expectedResult) { in expect() argument 413 …tAux(t.getID() + ":Replaceable", source + "->" + rsource, rsource==expectedResult, expectedResult); in expect() 426 …tID() + ":handleTransliterate ", source + "->" + rsource, rsource==expectedResult, expectedResult); in expect() 432 const UnicodeString& expectedResult) { in expectAux() argument 438 + ", expected " + prettify(expectedResult)); in expectAux()
|
D | cpdtrtst.h | 53 const UnicodeString& expectedResult); 57 const UnicodeString& expectedResult);
|
D | tscoll.cpp | 291 Collator::EComparisonResult expectedResult ) in reportCResult() argument 293 if (expectedResult < -1 || expectedResult > 1) in reportCResult() 299 UBool ok1 = (compareResult == expectedResult); in reportCResult() 300 UBool ok2 = (keyResult == expectedResult); in reportCResult() 301 UBool ok3 = (incResult == expectedResult); in reportCResult() 315 appendCompareResult(expectedResult, sExpect); in reportCResult()
|
/external/icu4c/test/iotest/ |
D | iotest.cpp | 208 UChar expectedResult[512]; in DataDrivenPrintf() local 245 … tempStr.extract(expectedResult, sizeof(expectedResult)/sizeof(expectedResult[0]), errorCode); in DataDrivenPrintf() 296 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf() 299 u_austrncpy(cExpected, expectedResult, sizeof(cExpected)); in DataDrivenPrintf() 325 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf() 328 u_austrncpy(cExpected, expectedResult, sizeof(cExpected)); in DataDrivenPrintf() 373 UChar expectedResult[512]; in DataDrivenScanf() local 410 … tempStr.extract(expectedResult, sizeof(expectedResult)/sizeof(expectedResult[0]), errorCode); in DataDrivenScanf() 423 expectedDbl = atof(u_austrcpy(cBuffer, expectedResult)); in DataDrivenScanf() 432 expectedFlt = (float)atof(u_austrcpy(cBuffer, expectedResult)); in DataDrivenScanf() [all …]
|
/external/skia/tests/ |
D | PDFPrimitivesTest.cpp | 92 const char* expectedResult) { in SimpleCheckObjectOutput() argument 93 CheckObjectOutput(reporter, obj, expectedResult, in SimpleCheckObjectOutput() 94 strlen(expectedResult), true, false); in SimpleCheckObjectOutput() 167 char expectedResult[] = "1 02 03 01 0"; in TestCatalog() local 168 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, in TestCatalog() 169 strlen(expectedResult))); in TestCatalog() 183 char expectedResult[] = "2 0 R"; in TestObjectRef() local 186 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); in TestObjectRef() 187 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, in TestObjectRef() 215 char expectedResult[] = in TestSubstitute() local [all …]
|
D | ToUnicode.cpp | 75 char expectedResult[] = in TestToUnicode() local 89 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, in TestToUnicode()
|
/external/webkit/LayoutTests/dom/html/level2/html/ |
D | HTMLCollection04.js | 102 expectedResult = new Array(); 103 expectedResult[0] = 4; 104 expectedResult[1] = 5; 124 assertEqualsList("rowIndexLink",expectedResult,result);
|
D | HTMLTableElement24.js | 101 expectedResult = new Array(); 102 expectedResult[0] = 4; 103 expectedResult[1] = 3; 130 assertEqualsList("rowsLink",expectedResult,result);
|
D | HTMLTableElement21.js | 101 expectedResult = new Array(); 102 expectedResult[0] = 4; 103 expectedResult[1] = 3; 130 assertEqualsList("rowsLink",expectedResult,result);
|
/external/webkit/LayoutTests/dom/xhtml/level2/html/ |
D | HTMLCollection04.js | 102 expectedResult = new Array(); 103 expectedResult[0] = 4; 104 expectedResult[1] = 5; 124 assertEqualsList("rowIndexLink",expectedResult,result);
|
D | HTMLTableElement21.js | 101 expectedResult = new Array(); 102 expectedResult[0] = 4; 103 expectedResult[1] = 3; 130 assertEqualsList("rowsLink",expectedResult,result);
|
D | HTMLTableElement24.js | 101 expectedResult = new Array(); 102 expectedResult[0] = 4; 103 expectedResult[1] = 3; 130 assertEqualsList("rowsLink",expectedResult,result);
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | IntMathTest.java | 381 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local 382 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedAdd() 396 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local 397 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedSubtract() 411 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local 412 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedMultiply() 427 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() local 428 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedPow() 430 assertEquals(b + "^" + k, expectedResult.intValue(), IntMath.checkedPow(b, k)); in testCheckedPow()
|
D | LongMathTest.java | 422 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local 423 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedAdd() 437 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local 438 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedSubtract() 452 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local 453 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedMultiply() 467 BigInteger expectedResult = valueOf(b).pow(exp); in testCheckedPow() local 468 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedPow() 470 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp)); in testCheckedPow()
|
/external/webkit/Tools/TestWebKitAPI/ |
D | JavaScriptTest.cpp | 73 bool runJSTest(WKPageRef page, const char* script, const char* expectedResult) in runJSTest() argument 75 JavaScriptCallbackContext context(expectedResult); in runJSTest()
|
D | JavaScriptTest.h | 30 bool runJSTest(WKPageRef, const char* script, const char* expectedResult);
|