/frameworks/base/test-runner/src/android/test/ |
MoreAsserts.java | 462 * Tests that lhs.equals(rhs) matches expectedResult, as well as 464 * equal if expectedResult is true. (hashCode() is not tested if 465 * expectedResult is false, as unequal objects can have equal hashCodes.) 469 * @param expectedResult True if the objects should compare equal, 473 String message, Object lhs, Object rhs, boolean expectedResult) { 478 expectedResult); 485 + "to be equal to null?", expectedResult); 489 Assert.assertEquals(message, expectedResult, lhs.equals(rhs)); 492 Assert.assertEquals(message, expectedResult, rhs.equals(lhs)); 495 if (expectedResult) { [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputLogicTestsReorderingMyanmar.java | 215 final String expectedResult = step.second; 222 expectedResult, mEditText.getText().toString());
|
/external/icu/icu4c/source/test/intltest/ |
dtptngts.cpp | 433 UnicodeString dateReturned, expectedResult; 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 08:58:59 Mitteleurop\\u00E4ische Sommerzeit"); 467 if ( dateReturned != expectedResult ) { 469 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 477 expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische Zeit") [all...] |
tscoll.h | 42 Collator::EComparisonResult expectedResult );
|
tscoll.cpp | 273 Collator::EComparisonResult expectedResult ) 275 if (expectedResult < -1 || expectedResult > 1) 281 UBool ok1 = (compareResult == expectedResult); 282 UBool ok2 = (keyResult == expectedResult); 283 UBool ok3 = (incResult == expectedResult); 297 appendCompareResult(expectedResult, sExpect);
|
jamotest.cpp | 446 const UnicodeString& expectedResult) { 448 UnicodeString jexp = jamoToName(expectedResult);
|
transtst.cpp | [all...] |
regcoll.cpp | [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tscoll.h | 42 Collator::EComparisonResult expectedResult );
|
tscoll.cpp | 287 Collator::EComparisonResult expectedResult ) 289 if (expectedResult < -1 || expectedResult > 1) 295 UBool ok1 = (compareResult == expectedResult); 296 UBool ok2 = (keyResult == expectedResult); 297 UBool ok3 = (incResult == expectedResult); 311 appendCompareResult(expectedResult, sExpect);
|
jamotest.cpp | 446 const UnicodeString& expectedResult) { 448 UnicodeString jexp = jamoToName(expectedResult);
|
regcoll.cpp | [all...] |
transtst.cpp | [all...] |
/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));
|
/external/chromium_org/third_party/skia/tests/ |
ToUnicodeTest.cpp | 78 char expectedResult[] = 92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
|
/external/skia/tests/ |
ToUnicodeTest.cpp | 78 char expectedResult[] = 92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBuffer2Test.java | 398 String expectedResult = "This is a test " 401 + " but wanted: " + "\'" + expectedResult + "\'", 402 testBufferString.equals(expectedResult));
|
/external/deqp/modules/internal/ |
ditImageCompareTests.cpp | 110 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult) 115 , m_expectedResult (expectedResult)
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ImportNode.java | 106 List<String> expectedResult = new ArrayList<String>(); 107 expectedResult.add("elem:attr1"); 108 expectedResult.add("importedText");
|
/external/chromium_org/third_party/icu/source/test/iotest/ |
strtst.c | 710 static void Test_u_vfprintf(const char *expectedResult, const char *format, ...) { 720 u_uastrcpy(uBuffer2, expectedResult); 722 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); 729 u_uastrcpy(uBuffer2, expectedResult); 731 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult);
|
/external/icu/icu4c/source/test/iotest/ |
strtst.c | 710 static void Test_u_vfprintf(const char *expectedResult, const char *format, ...) { 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);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleAdapterTest.java | 385 public MockViewBinder(boolean expectedResult) { 386 mExpectedResult = expectedResult;
|
SimpleCursorAdapterTest.java | 415 public MockViewBinder(boolean expectedResult) { 416 mExpectedResult = expectedResult;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileChannelTest.java | 485 byte[] expectedResult = new byte[POSITION + CONTENT_LENGTH]; 486 System.arraycopy(CONTENT_AS_BYTES, 0, expectedResult, 0, POSITION); 487 System.arraycopy(CONTENT_AS_BYTES, 0, expectedResult, POSITION, 491 assertTrue(Arrays.equals(expectedResult, result)); [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
CookieManagerTest.java | 569 void assertThirdPartyIFrameCookieResult(String suffix, boolean expectedResult) 584 if (expectedResult) {
|