/cts/tests/tests/text/src/android/text/method/cts/ |
DateTimeKeyListenerTest.java | 79 String expectedText = ""; 80 assertEquals(expectedText, mTextView.getText().toString()); 84 expectedText += "1"; 85 assertEquals(expectedText, mTextView.getText().toString()); 89 expectedText += "2"; 90 assertEquals(expectedText, mTextView.getText().toString()); 95 expectedText += "a"; 97 assertEquals(expectedText, mTextView.getText().toString()); 102 expectedText += "p"; 104 assertEquals(expectedText, mTextView.getText().toString()) [all...] |
TimeKeyListenerTest.java | 73 String expectedText = ""; 76 assertEquals(expectedText, mTextView.getText().toString()); 80 expectedText += "1"; 81 assertEquals(expectedText, mTextView.getText().toString()); 85 expectedText += "2"; 91 expectedText += "a"; 93 assertEquals(expectedText, mTextView.getText().toString()); 98 expectedText += "p"; 100 assertEquals(expectedText, mTextView.getText().toString()); 105 expectedText += "m" [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
NotificationUtilsTest.java | 31 final String expectedText = "This test passed!"; 37 + expectedText + "</body>"; 50 assertEquals(expectedText, resultText); 57 final String expectedText = "This test passed!"; 64 + expectedText + "</body>"; 77 assertEquals(expectedText, resultText);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayerTest.java | 77 final String expectedText = "some post body text"; 82 return EntityUtils.toString(actualPostBody).equals(expectedText); 87 match.setEntity(new StringEntity(expectedText));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MockAccessibilityService.java | 242 List<CharSequence> expectedText = expectedEvent.getText(); 245 TestCase.assertEquals(message, expectedText.size(), receivedText.size()); 247 Iterator<CharSequence> expectedTextIterator = expectedText.iterator(); 250 for (int i = 0; i < expectedText.size(); i++) {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AppWidgetManagerTest.java | 96 private void assertContains(String expectedText, View view) { 98 assertTrue("Expected <" + actualText + "> to contain <" + expectedText + ">", actualText.contains(expectedText));
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityRecordTest.java | 184 static void assertEqualsText(List<CharSequence> expectedText, 188 TestCase.assertEquals(message, expectedText.size(), receivedText.size()); 190 Iterator<CharSequence> expectedTextIterator = expectedText.iterator(); 193 for (int i = 0; i < expectedText.size(); i++) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
SuggestionSpanUtilsTest.java | 53 private static void assertNotSuggestionSpan(final String expectedText, 55 assertTrue(TextUtils.equals(expectedText, actualText)); 65 private static void assertSuggestionSpan(final String expectedText, 69 assertTrue(TextUtils.equals(expectedText, actualText));
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
TestUtilsMatchers.java | 215 final String expectedText) { 219 description.appendText("doesn't match " + expectedText); 224 return TextUtils.equals(expectedText,
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
LevenshteinFormatterTest.java | 344 public SpanFormat(int start, String expectedText, int style) { 346 mEnd = start + expectedText.length(); 347 mExpectedText = expectedText;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
SuggestionsPopupWindowTest.java | 320 final String expectedText; 322 expectedText = "abc " + singleWordCandidates[j] + " ghi"; 324 expectedText = multiWordCandidates[j - singleWordCandidates.length]; 326 assertEquals(expectedText, spanned.toString());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiNativeTest.java | 198 FateMapping(byte fateNumber, String expectedText) { 200 this.mExpectedText = expectedText;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
MessageFormatTest.java | 571 String expectedText = "one two " + DateFormat.getTimeInstance().format(date); 573 assertEquals("Choice not recursive:\n" + expectedText + "\n" + buffer, expectedText, buffer.toString()); 577 assertEquals(expectedText + "zero", str.toString()); 578 assertEquals(expectedText + "zero", buffer.toString()); [all...] |
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator_test.cpp | 245 const char* expectedText = 253 EXPECT_NE(std::string::npos, actual.find(expectedText));
|
/prebuilts/tools/common/m2/repository/org/seleniumhq/selenium/selenium-htmlunit-driver/2.42.2/ |
selenium-htmlunit-driver-2.42.2.jar | |
/external/v8/test/mjsunit/ |
mjsunit.js | 201 function fail(expectedText, found, name_opt) { 208 message += ": expected <" + expectedText +
|
/external/v8/test/mjsunit/regress/ |
regress-347914.js | 30 function fail(expectedText, found, name_opt) { }
|
regress-410912.js | 15 function fail(expectedText, found, name_opt) { }
|
/external/icu/icu4c/source/test/intltest/ |
regextst.cpp | 284 UText expectedText = UTEXT_INITIALIZER; 285 utext_openUTF8(&expectedText, expected, -1, &status); 290 if(utext_nativeLength(&expectedText)==0 && (strlen(expected)!=0)) { 291 errln("%s:%d: assertUText: expected is %d utf-8 bytes, but utext_nativeLength(expectedText) returned 0.", file, line, strlen(expected)); 295 if (!testUTextEqual(&expectedText, actual)) { 299 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText); 300 errln("%s:%d: assertUText: Failure: expected \"%s\" (%d chars), got \"%s\" (%d chars)", file, line, expectedBuf, (int)utext_nativeLength(&expectedText), buf, (int)utext_nativeLength(actual)); 302 utext_close(&expectedText); 310 UText expectedText = UTEXT_INITIALIZER; 311 regextst_openUTF8FromInvariant(&expectedText, expected, -1, &status) [all...] |
transtst.cpp | [all...] |