/external/skia/tests/ |
ToUnicode.cpp | 75 char expectedResult[] = 89 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
|
PDFPrimitivesTest.cpp | 92 const char* expectedResult) { 93 CheckObjectOutput(reporter, obj, expectedResult, 94 strlen(expectedResult), true, false); 167 char expectedResult[] = "1 02 03 01 0"; 168 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 169 strlen(expectedResult))); 183 char expectedResult[] = "2 0 R"; 186 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); 187 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 215 char expectedResult[] [all...] |
/external/icu4c/test/intltest/ |
currcoll.cpp | 83 Collator::EComparisonResult expectedResult = Collator::EQUAL; 103 expectedResult = Collator::LESS; 107 expectedResult = Collator::EQUAL; 111 expectedResult = Collator::GREATER; 137 reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expectedResult );
|
dtptngts.cpp | 419 UnicodeString dateReturned, expectedResult; 422 expectedResult=UnicodeString("14. Okt. 08:58", -1, US_INV); 423 if ( dateReturned != expectedResult ) { 438 expectedResult=UnicodeString("14. von Oktober 08:58", -1, US_INV); 439 if ( dateReturned != expectedResult ) { 440 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 452 expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische Sommerzeit"); 453 if ( dateReturned != expectedResult ) { 455 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 463 expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische Zeit") [all...] |
strcase.cpp | 69 UnicodeString expectedResult; 77 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); 78 if (test4 != expectedResult) 79 errln("1. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 83 expectedResult = lowercaseTurkish; 84 if (test4 != expectedResult) 85 errln("2. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 93 expectedResult = "TOPKAPI PALACE, ISTANBUL"; 94 if (test4 != expectedResult) 95 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\".") [all...] |
/cts/tests/tests/dpi/src/android/dpi/cts/ |
DefaultManifestAttributesTest.java | 44 private boolean expectedResult; 62 expectedResult = false; 64 expectedResult = true; 72 assertEquals(expectedResult, 84 assertEquals(expectedResult, 89 assertEquals(expectedResult, 94 assertEquals(expectedResult,
|
/external/icu4c/test/cintltst/ |
ccurrtst.c | 109 UCollationResult expectedResult = UCOL_EQUAL; 129 expectedResult = UCOL_LESS; 133 expectedResult = UCOL_EQUAL; 137 expectedResult = UCOL_GREATER; 157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
|
tracetst.c | 75 char expectedResult[300]; 82 if (strlen(result) >= sizeof(expectedResult)) { 88 strcpy(expectedResult, result); 89 expectedResult[bufCap] = 0; 97 if (strcmp(expectedResult, buf) != 0) { 99 __FILE__, line, expectedResult, buf);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
documenttypegetentities.java | 68 java.util.Collection expectedResult = new java.util.ArrayList(); 69 expectedResult.add("ent1"); 70 expectedResult.add("ent2"); 71 expectedResult.add("ent3"); 72 expectedResult.add("ent4"); 73 expectedResult.add("ent5"); 101 assertEquals("entityNames", expectedResult, nameList);
|
elementgetelementsbytagnamespecialvalue.java | 72 java.util.List expectedResult = new java.util.ArrayList(); 73 expectedResult.add("employeeId"); 74 expectedResult.add("name"); 75 expectedResult.add("position"); 76 expectedResult.add("salary"); 77 expectedResult.add("gender"); 78 expectedResult.add("address"); 89 assertEquals("tagNames", expectedResult, result);
|
hc_elementgetelementsbytagnamespecialvalue.java | 71 java.util.List expectedResult = new java.util.ArrayList(); 72 expectedResult.add("em"); 73 expectedResult.add("strong"); 74 expectedResult.add("code"); 75 expectedResult.add("sup"); 76 expectedResult.add("var"); 77 expectedResult.add("acronym"); 88 assertEqualsAutoCase("element", "tagNames", expectedResult, result);
|
nodecloneattributescopied.java | 74 java.util.Collection expectedResult = new java.util.ArrayList(); 75 expectedResult.add("domestic"); 76 expectedResult.add("street"); 88 assertEquals("nodeCloneAttributesCopiedAssert1", expectedResult, result);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
getElementsByTagNameNS03.java | 81 java.util.List expectedResult = new java.util.ArrayList(); 82 expectedResult.add("employee"); 83 expectedResult.add("employeeId"); 84 expectedResult.add("name"); 85 expectedResult.add("position"); 86 expectedResult.add("salary"); 87 expectedResult.add("gender"); 88 expectedResult.add("address"); 89 expectedResult.add("emp:employee"); 90 expectedResult.add("emp:employeeId") [all...] |
getElementsByTagNameNS04.java | 81 java.util.List expectedResult = new java.util.ArrayList(); 82 expectedResult.add("address"); 83 expectedResult.add("address"); 84 expectedResult.add("address"); 85 expectedResult.add("emp:address"); 86 expectedResult.add("address"); 95 assertEquals("nodeNames", expectedResult, result);
|
getElementsByTagNameNS10.java | 83 java.util.List expectedResult = new java.util.ArrayList(); 84 expectedResult.add("employee"); 85 expectedResult.add("employeeId"); 86 expectedResult.add("name"); 87 expectedResult.add("position"); 88 expectedResult.add("salary"); 89 expectedResult.add("gender"); 90 expectedResult.add("address"); 91 expectedResult.add("emp:employee"); 92 expectedResult.add("emp:employeeId") [all...] |
getElementsByTagNameNS11.java | 82 java.util.List expectedResult = new java.util.ArrayList(); 83 expectedResult.add("address"); 84 expectedResult.add("address"); 85 expectedResult.add("address"); 86 expectedResult.add("emp:address"); 87 expectedResult.add("address"); 97 assertEquals("nodeNames", expectedResult, result);
|
importNode01.java | 90 java.util.List expectedResult = new java.util.ArrayList(); 91 expectedResult.add("elem:attr1"); 92 expectedResult.add("importedText");
|
/external/guava/guava-tests/test/com/google/common/math/ |
LongMathTest.java | 422 BigInteger expectedResult = valueOf(a).add(valueOf(b)); 423 boolean expectedSuccess = fitsInLong(expectedResult); 437 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); 438 boolean expectedSuccess = fitsInLong(expectedResult); 452 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); 453 boolean expectedSuccess = fitsInLong(expectedResult); 467 BigInteger expectedResult = valueOf(b).pow(exp); 468 boolean expectedSuccess = fitsInLong(expectedResult); 470 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp));
|
IntMathTest.java | 381 BigInteger expectedResult = valueOf(a).add(valueOf(b)); 382 boolean expectedSuccess = fitsInInt(expectedResult); 396 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); 397 boolean expectedSuccess = fitsInInt(expectedResult); 411 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); 412 boolean expectedSuccess = fitsInInt(expectedResult); 427 BigInteger expectedResult = valueOf(b).pow(k); 428 boolean expectedSuccess = fitsInInt(expectedResult); 430 assertEquals(b + "^" + k, expectedResult.intValue(), IntMath.checkedPow(b, k));
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetElementsByTagNameNS.java | 102 List<String> expectedResult = new ArrayList<String>(); 103 expectedResult.add("employee"); 104 expectedResult.add("employeeId"); 105 expectedResult.add("name"); 106 expectedResult.add("position"); 107 expectedResult.add("salary"); 108 expectedResult.add("gender"); 109 expectedResult.add("address"); 110 expectedResult.add("emp:employee"); 111 expectedResult.add("emp:employeeId") [all...] |
ImportNode.java | 106 List<String> expectedResult = new ArrayList<String>(); 107 expectedResult.add("elem:attr1"); 108 expectedResult.add("importedText");
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/ |
ExifParserTest.java | 101 Map<Short, List<String>> expectedResult = mGroundTruth.get(ifd); 135 assertEquals(getImageTitle(), ExifXmlReader.getTrueTagNumber(expectedResult), numOfTag);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringBuffer2Test.java | 398 String expectedResult = "This is a test " 401 + " but wanted: " + "\'" + expectedResult + "\'", 402 testBufferString.equals(expectedResult));
|
/external/icu4c/test/iotest/ |
iotest.cpp | 208 UChar expectedResult[512]; 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]; 410 tempStr.extract(expectedResult, sizeof(expectedResult)/sizeof(expectedResult[0]), errorCode) [all...] |
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptengine/ |
tst_qscriptengine.cpp | 121 int expectedResult = 42; 122 QScriptValue fun = eng.newFunction(myFunctionWithArg, reinterpret_cast<void*>(&expectedResult)); 142 QCOMPARE(result.toInt32(), expectedResult);
|