/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
LotusCollationKoreanTest.java | 68 int compareResult, int keyResult, int incResult, int expectedResult ){ 69 if (expectedResult < -1 || expectedResult > 1) { 74 boolean ok1 = (compareResult == expectedResult); 75 boolean ok2 = (keyResult == expectedResult); 76 boolean ok3 = (incResult == expectedResult); 89 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationGermanTest.java | 135 int compareResult, int keyResult, int incResult, int expectedResult ){ 136 if (expectedResult < -1 || expectedResult > 1) 142 boolean ok1 = (compareResult == expectedResult); 143 boolean ok2 = (keyResult == expectedResult); 144 boolean ok3 = (incResult == expectedResult); 157 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationKanaTest.java | 204 int compareResult, int keyResult, int incResult, int expectedResult ){ 205 if (expectedResult < -1 || expectedResult > 1) { 210 boolean ok1 = (compareResult == expectedResult); 211 boolean ok2 = (keyResult == expectedResult); 212 boolean ok3 = (incResult == expectedResult); 225 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationSpanishTest.java | 102 int compareResult, int keyResult, int incResult, int expectedResult ) { 103 if (expectedResult < -1 || expectedResult > 1) { 108 boolean ok1 = (compareResult == expectedResult); 109 boolean ok2 = (keyResult == expectedResult); 110 boolean ok3 = (incResult == expectedResult); 123 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationTurkishTest.java | 109 int compareResult, int keyResult, int incResult, int expectedResult ) { 110 if (expectedResult < -1 || expectedResult > 1) { 115 boolean ok1 = (compareResult == expectedResult); 116 boolean ok2 = (keyResult == expectedResult); 117 boolean ok3 = (incResult == expectedResult); 130 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
G7CollationTest.java | 214 int compareResult, int keyResult, int incResult, int expectedResult ){ 215 if (expectedResult < -1 || expectedResult > 1) { 220 boolean ok1 = (compareResult == expectedResult); 221 boolean ok2 = (keyResult == expectedResult); 222 boolean ok3 = (incResult == expectedResult); 235 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
CapsModeUtilsTests.java | 31 private static void onePathForCaps(final CharSequence cs, final int expectedResult, 33 final int oneTimeResult = expectedResult & mask; 38 private static void allPathsForCaps(final CharSequence cs, final int expectedResult, 43 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); 44 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); 45 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore); 46 onePathForCaps(cs, expectedResult, c | w, sp, hasSpaceBefore); 47 onePathForCaps(cs, expectedResult, c, sp, hasSpaceBefore); 48 onePathForCaps(cs, expectedResult, w, sp, hasSpaceBefore); 49 onePathForCaps(cs, expectedResult, s, sp, hasSpaceBefore) [all...] |
/external/skia/tests/ |
CopySurfaceTest.cpp | 86 bool expectedResult = true; 96 expectedResult = false; 107 expectedResult = false; 111 if (expectedResult != result) { 113 "%d.", expectedResult, result); 117 if (!expectedResult || !result) {
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode01.java | 90 java.util.List expectedResult = new java.util.ArrayList(); 91 expectedResult.add("elem:attr1"); 92 expectedResult.add("importedText");
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
PrimitiveSumTest.java | 49 expectedResult(data.stream().asLongStream().reduce(0, LambdaTestHelpers.lrPlus)). 59 expectedResult(data.stream().reduce(0, LambdaTestHelpers.lrPlus)). 73 expectedResult(data.stream().reduce(0, LambdaTestHelpers.drPlus)).
|
CountTest.java | 57 expectedResult(expectedCount.get()). 68 expectedResult(expectedCount.get()). 79 expectedResult(expectedCount.get()). 90 expectedResult(expectedCount.get()).
|
StreamBuilderTest.java | 82 expectedResult(Collections.singletonList(1)). 87 expectedResult(Collections.singletonList(1)). 126 expectedResult(IntStream.range(0, size).boxed().collect(toList())). 131 expectedResult(IntStream.range(0, size).boxed().collect(toList())). 144 expectedResult(Collections.singletonList(1)). 149 expectedResult(Collections.singletonList(1)). 188 expectedResult(IntStream.range(0, size).toArray()). 193 expectedResult(IntStream.range(0, size).toArray()). 206 expectedResult(Collections.singletonList(1L)). 211 expectedResult(Collections.singletonList(1L)) [all...] |
/external/icu/icu4c/source/test/intltest/ |
strcase.cpp | 68 UnicodeString expectedResult; 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 + "\", got \"" + test4 + "\".") [all...] |
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); [all...] |
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
gUnitTestResult.stg | 36 expected: <it.expectedResult>
|
/external/icu/icu4c/source/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 );
|
/prebuilts/misc/windows/sdl2/test/ |
testautomation_rect.c | 334 SDL_Rect *result, SDL_Rect *expectedResult) 337 if (result && expectedResult) { 338 SDLTest_AssertCheck(result->x == expectedResult->x && result->y == expectedResult->y && result->w == expectedResult->w && result->h == expectedResult->h, 343 expectedResult->x, expectedResult->y, expectedResult->w, expectedResult->h) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationGermanTest.java | 139 int compareResult, int keyResult, int incResult, int expectedResult ){ 140 if (expectedResult < -1 || expectedResult > 1) 146 boolean ok1 = (compareResult == expectedResult); 147 boolean ok2 = (keyResult == expectedResult); 148 boolean ok3 = (incResult == expectedResult); 161 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationKanaTest.java | 208 int compareResult, int keyResult, int incResult, int expectedResult ){ 209 if (expectedResult < -1 || expectedResult > 1) { 214 boolean ok1 = (compareResult == expectedResult); 215 boolean ok2 = (keyResult == expectedResult); 216 boolean ok3 = (incResult == expectedResult); 229 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationSpanishTest.java | 106 int compareResult, int keyResult, int incResult, int expectedResult ) { 107 if (expectedResult < -1 || expectedResult > 1) { 112 boolean ok1 = (compareResult == expectedResult); 113 boolean ok2 = (keyResult == expectedResult); 114 boolean ok3 = (incResult == expectedResult); 127 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
CollationTurkishTest.java | 113 int compareResult, int keyResult, int incResult, int expectedResult ) { 114 if (expectedResult < -1 || expectedResult > 1) { 119 boolean ok1 = (compareResult == expectedResult); 120 boolean ok2 = (keyResult == expectedResult); 121 boolean ok3 = (incResult == expectedResult); 134 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
G7CollationTest.java | 218 int compareResult, int keyResult, int incResult, int expectedResult ){ 219 if (expectedResult < -1 || expectedResult > 1) { 224 boolean ok1 = (compareResult == expectedResult); 225 boolean ok2 = (keyResult == expectedResult); 226 boolean ok3 = (incResult == expectedResult); 239 sExpect = CollationTest.appendCompareResult(expectedResult, sExpect);
|
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
IntMathTest.java | 238 BigInteger expectedResult = valueOf(a).add(valueOf(b)); 239 boolean expectedSuccess = fitsInInt(expectedResult); 253 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); 254 boolean expectedSuccess = fitsInInt(expectedResult); 268 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); 269 boolean expectedSuccess = fitsInInt(expectedResult); 283 BigInteger expectedResult = valueOf(b).pow(k); 284 boolean expectedSuccess = fitsInInt(expectedResult); 286 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k));
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
UserAccountTest.groovy | 182 private void testCanRead(owner, group, permissionsString, expectedResult) { 184 assert userAccount.canRead(file) == expectedResult, file 187 private void testCanWrite(owner, group, permissionsString, expectedResult) { 189 assert userAccount.canWrite(file) == expectedResult, file 192 private void testCanExecute(owner, group, permissionsString, expectedResult) { 194 assert userAccount.canExecute(file) == expectedResult, file
|
/external/icu/icu4c/source/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...] |