/external/icu/icu4c/source/test/intltest/ |
compactdecimalformattest.cpp | 22 typedef struct ExpectedResult { 25 } ExpectedResult; 30 static ExpectedResult kEnglishShort[] = { 48 static ExpectedResult kSerbianShort[] = { 64 static ExpectedResult kSerbianLong[] = { 83 static ExpectedResult kSerbianLongNegative[] = { 102 static ExpectedResult kJapaneseShort[] = { 116 static ExpectedResult kSwahiliShort[] = { 130 static ExpectedResult kCsShort[] = { 146 static ExpectedResult kSkLong[] = [all...] |
jamotest.cpp | 446 const UnicodeString& expectedResult) { 448 UnicodeString jexp = jamoToName(expectedResult);
|
/external/guava/guava-tests/test/com/google/common/math/ |
IntMathTest.java | 405 BigInteger expectedResult = valueOf(a).add(valueOf(b)); 406 boolean expectedSuccess = fitsInInt(expectedResult); 420 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); 421 boolean expectedSuccess = fitsInInt(expectedResult); 435 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); 436 boolean expectedSuccess = fitsInInt(expectedResult); 450 BigInteger expectedResult = valueOf(b).pow(k); 451 boolean expectedSuccess = fitsInInt(expectedResult); 453 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k));
|
LongMathTest.java | 479 BigInteger expectedResult = valueOf(a).add(valueOf(b)); 480 boolean expectedSuccess = fitsInLong(expectedResult); 495 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); 496 boolean expectedSuccess = fitsInLong(expectedResult); 511 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); 512 boolean expectedSuccess = fitsInLong(expectedResult); 527 BigInteger expectedResult = valueOf(b).pow(exp); 528 boolean expectedSuccess = fitsInLong(expectedResult); 530 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ScanTestUtil.java | 242 ScanResult expectedResult = expected[j]; 245 expectedResult.SSID, actualResult.SSID); 247 expectedResult.wifiSsid.toString(), actualResult.wifiSsid.toString()); 249 expectedResult.BSSID, actualResult.BSSID); 251 expectedResult.capabilities, actualResult.capabilities); 253 expectedResult.level, actualResult.level); 255 expectedResult.frequency, actualResult.frequency); 257 expectedResult.timestamp, actualResult.timestamp); 259 expectedResult.seen, actualResult.seen);
|
/external/skia/tests/ |
CodexTest.cpp | 56 * Calling getPixels(info) should return expectedResult, and if goodDigest is non nullptr, 61 SkCodec::Result expectedResult, const SkMD5::Digest* goodDigest) { 67 REPORTER_ASSERT(r, result == expectedResult); 88 const SkISize& size, SkCodec::Result expectedResult, SkMD5::Digest* digest, 96 REPORTER_ASSERT(r, result == expectedResult); 107 expectedResult : SkCodec::kInvalidConversion; 115 test_info(r, codec, info, expectedResult, digest); 121 expectedResult, digest); 123 expectedResult, digest); 135 test_info(r, codec, info.makeAlphaType(otherAt), expectedResult, nullptr) [all...] |
PDFGlyphsToUnicodeTest.cpp | 78 char expectedResult[] = 92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
SearchUtil.java | 46 * Returns {@code true} if one of the search results matches the given {@code expectedResult}. 51 * @param expectedResult The expected search result 54 String query, String expectedResult) { 71 if (TextUtils.equals(expectedResult, c.getString(index))) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationRegressionTest.java | 165 int expectedResult = 0; 173 expectedResult = -1; 175 expectedResult = 1; 177 expectedResult = 0; 209 reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expectedResult ); 214 int compareResult, int keyResult, int incResult, int expectedResult ){ 215 if (expectedResult < -1 || expectedResult > 1) 221 boolean ok1 = (compareResult == expectedResult); 222 boolean ok2 = (keyResult == expectedResult); [all...] |
CollationEnglishTest.java | 338 int compareResult, int keyResult, int incResult, int expectedResult ){ 339 if (expectedResult < -1 || expectedResult > 1) 345 boolean ok1 = (compareResult == expectedResult); 346 boolean ok2 = (keyResult == expectedResult); 347 boolean ok3 = (incResult == expectedResult); 360 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationRegressionTest.java | 161 int expectedResult = 0; 169 expectedResult = -1; 171 expectedResult = 1; 173 expectedResult = 0; 205 reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expectedResult ); 210 int compareResult, int keyResult, int incResult, int expectedResult ){ 211 if (expectedResult < -1 || expectedResult > 1) 217 boolean ok1 = (compareResult == expectedResult); 218 boolean ok2 = (keyResult == expectedResult); [all...] |
CollationEnglishTest.java | 334 int compareResult, int keyResult, int incResult, int expectedResult ){ 335 if (expectedResult < -1 || expectedResult > 1) 341 boolean ok1 = (compareResult == expectedResult); 342 boolean ok2 = (keyResult == expectedResult); 343 boolean ok3 = (incResult == expectedResult); 356 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
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) { 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/ |
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) { 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...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
RangeTest.java | 54 terminal(s->s.findFirst()).expectedResult(Optional.of(10001)).exercise(); 76 expectedResult(exp).exercise(); 96 expectedResult(exp).exercise(); 166 expectedResult(exp).exercise(); 186 expectedResult(exp).exercise();
|
TabulatorsTest.java | 284 withData(data).terminal(s -> s.collect(collector)).expectedResult(check).exercise(); 340 .expectedResult(join(data, "")) 346 .expectedResult(join(data, "")) 351 .expectedResult(join(data, ",")) 356 .expectedResult("[" + join(data, ",") + "]") 363 .expectedResult(join(data, "")) 372 .expectedResult(join(data, ",")) 381 .expectedResult("[" + join(data, ",") + "]")
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
TransliteratorTest.java | [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
TransliteratorTest.java | [all...] |
/cts/hostsidetests/services/windowmanager/src/android/wm/cts/ |
CrossAppDragAndDropTests.java | 307 private void assertResult(String resultKey, String expectedResult) { 308 if (expectedResult == null) { 314 assertEquals(expectedResult, mResults.get(resultKey));
|
/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 | 114 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult) 119 , m_expectedResult (expectedResult)
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
MetadataEntryParserTest.java | 112 MetadataEntry expectedResult = new MetadataEntry(rawContactInfo, 118 assertMetaDataEntry(expectedResult, metadataEntry);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 359 protected void assertDelayedShellCommand(String command, final String expectedResult) 361 assertDelayedShellCommand(command, 5, 1, expectedResult); 365 final String expectedResult) throws Exception { 370 return expectedResult.equals(result); 375 return expectedResult; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
BreakIteratorTest.java | 51 private void generalIteratorTest(BreakIterator bi, List<String> expectedResult) { 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)). [all...] |
RBBITest.java | 264 private void generalIteratorTest(RuleBasedBreakIterator rbbi, List<String> expectedResult) { 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()); [all...] |