/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...] |
/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");
|
/external/icu/icu4c/source/test/intltest/ |
reldatefmttest.cpp | 210 const WithQuantityExpected& expectedResult, 214 const WithoutQuantityExpected& expectedResult, 376 const WithQuantityExpected& expectedResult, 380 fmt.format(expectedResult.value, expectedResult.direction, expectedResult.unit, actual, status); 381 UnicodeString expected(expectedResult.expected, -1, US_INV); 388 expectedResult.value, 389 DirectionStr(expectedResult.direction), 390 RelativeUnitStr(expectedResult.unit)) [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...] |
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...] |
compactdecimalformattest.cpp | 23 typedef struct ExpectedResult { 26 } ExpectedResult; 31 static ExpectedResult kEnglishShort[] = { 49 static ExpectedResult kSerbianShort[] = { 65 static ExpectedResult kSerbianLong[] = { 84 static ExpectedResult kSerbianLongNegative[] = { 103 static ExpectedResult kJapaneseShort[] = { 117 static ExpectedResult kSwahiliShort[] = { 131 static ExpectedResult kCsShort[] = { 147 static ExpectedResult kSkLong[] = [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
strcase.cpp | 72 UnicodeString expectedResult; 80 expectedResult = UnicodeString("i\\u0307stanbul, not constantinople!", "").unescape(); 81 if (test4 != expectedResult) 82 errln("1. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 86 expectedResult = lowercaseTurkish; 87 if (test4 != expectedResult) 88 errln("2. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 96 expectedResult = "TOPKAPI PALACE, ISTANBUL"; 97 if (test4 != expectedResult) 98 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...] |
dtptngts.cpp | 361 UnicodeString dateReturned, expectedResult; 364 expectedResult=UnicodeString("14. Okt 08:58", -1, US_INV); 365 if ( dateReturned != expectedResult ) { 380 expectedResult=UnicodeString("14. von Oktober 08:58", -1, US_INV); 381 if ( dateReturned != expectedResult ) { 382 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 394 expectedResult=CharsToUnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 Mitteleurop\\u00E4ische Sommerzeit"); 395 if ( dateReturned != expectedResult ) { 397 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 405 expectedResult=UnicodeString("Donnerstag, 14. Oktober 1999 08:58:59 (Frankreich)") [all...] |
/external/chromium_org/third_party/skia/tests/ |
PDFPrimitivesTest.cpp | 114 const char* expectedResult) { 115 CheckObjectOutput(reporter, obj, expectedResult, 116 strlen(expectedResult), true, false); 189 char expectedResult[] = "1 02 03 01 0"; 190 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 191 strlen(expectedResult))); 205 char expectedResult[] = "2 0 R"; 208 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); 209 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 237 char expectedResult[] [all...] |
/external/skia/tests/ |
PDFPrimitivesTest.cpp | 114 const char* expectedResult) { 115 CheckObjectOutput(reporter, obj, expectedResult, 116 strlen(expectedResult), true, false); 189 char expectedResult[] = "1 02 03 01 0"; 190 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 191 strlen(expectedResult))); 205 char expectedResult[] = "2 0 R"; 208 REPORTER_ASSERT(reporter, buffer.getOffset() == strlen(expectedResult)); 209 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult, 237 char expectedResult[] [all...] |
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
gUnitTestResult.stg | 36 expected: <it.expectedResult>
|
/external/chromium_org/third_party/icu/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 );
|
ccolltst.h | 32 UCollationResult 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);
|
/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 );
|
ccolltst.h | 32 UCollationResult expectedResult );
|
tracetst.c | 75 char expectedResult[300]; 82 if (strlen(result) >= sizeof(expectedResult)) { 88 strcpy(expectedResult, result); 89 expectedResult[bufCap] = 0; 98 if (strcmp(expectedResult, buf) != 0) { 100 __FILE__, line, expectedResult, buf);
|
/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...] |
/developers/build/prebuilts/gradle/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/ |
SampleTests.java | 160 final byte[] expectedResult = {(byte) 0x00, (byte) 0xA4, 04, (byte) 0x00, (byte) 0x02, 164 assertEquals(expectedResult.length, result.length); 165 for (int i = 0; i < expectedResult.length; i++) { 166 assertEquals(expectedResult[i], result[i]);
|
/developers/samples/android/connectivity/nfc/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/ |
SampleTests.java | 160 final byte[] expectedResult = {(byte) 0x00, (byte) 0xA4, 04, (byte) 0x00, (byte) 0x02, 164 assertEquals(expectedResult.length, result.length); 165 for (int i = 0; i < expectedResult.length; i++) { 166 assertEquals(expectedResult[i], result[i]);
|
/external/guava/guava-tests/test/com/google/common/math/ |
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));
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 259 private void assertValue(int time, float expected, Result expectedResult, 262 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 266 private void assertValues(int time, float[] expected, Result expectedResult, 269 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 273 private void assertValue(float expected, Result expectedResult, Interpolator interpolator) { 275 assertEquals(expectedResult, interpolator.timeToValues(values));
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatTest.java | 156 private void assertBigDecimalWithFraction(BigDecimal bd, String expectedResult, int fraction) { 159 assertEquals(expectedResult, pf.format(bd)); 162 private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, String expectedResult) { 167 assertEquals(expectedResult, df.format(d)); 170 private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fraction, Locale locale, String expectedResult) { 175 assertEquals(expectedResult, df.format(d));
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/banners/ |
InstallerDelegateTest.java | 102 private void checkResults(boolean expectedResult) throws InterruptedException { 110 assertEquals(expectedResult, mResultSuccess);
|