/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
NotificationUtilsTest.java | 29 final String expectedText = "This test passed!"; 35 + expectedText + "</body>"; 48 assertEquals(expectedText, resultText); 55 final String expectedText = "This test passed!"; 62 + expectedText + "</body>"; 75 assertEquals(expectedText, resultText);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
DateTimeKeyListenerTest.java | 70 String expectedText = ""; 71 assertEquals(expectedText, mTextView.getText().toString()); 75 expectedText += "1"; 76 assertEquals(expectedText, mTextView.getText().toString()); 80 expectedText += "2"; 81 assertEquals(expectedText, mTextView.getText().toString()); 86 expectedText += "a"; 88 assertEquals(expectedText, mTextView.getText().toString()); 93 expectedText += "p"; 95 assertEquals(expectedText, mTextView.getText().toString()) [all...] |
TimeKeyListenerTest.java | 64 String expectedText = ""; 67 assertEquals(expectedText, mTextView.getText().toString()); 71 expectedText += "1"; 72 assertEquals(expectedText, mTextView.getText().toString()); 76 expectedText += "2"; 82 expectedText += "a"; 84 assertEquals(expectedText, mTextView.getText().toString()); 89 expectedText += "p"; 91 assertEquals(expectedText, mTextView.getText().toString()); 96 expectedText += "m" [all...] |
/external/robolectric/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/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));
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
ContactDetailDisplayUtilsTest.java | 73 private void assertHasText(View parent, int textViewId, String expectedText) { 77 assertEquals(expectedText, textView.getText().toString());
|
/cts/tests/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/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;
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
InsertionHandleTest.java | 142 String expectedText = 144 assertTrue(waitForEditableTextEquals(expectedText)); 268 private boolean waitForEditableTextEquals(final String expectedText) 273 return getEditableText().trim().equals(expectedText.trim());
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
manage_profile_browsertest.js | 210 var expectedText = expectedNameText || name; 211 var expectedHtml = expectedNameHtml || expectedText; 223 $('managed-user-created-title').textContent.indexOf(expectedText)); 225 $('managed-user-created-switch').textContent.indexOf(expectedText)); 227 assertNotEquals(-1, message.textContent.indexOf(expectedText));
|
/external/chromium_org/v8/test/mjsunit/ |
mjsunit.js | 169 function fail(expectedText, found, name_opt) { 176 message += ": expected <" + expectedText +
|
/external/v8/test/mjsunit/ |
mjsunit.js | 157 function fail(expectedText, found, name_opt) { 164 message += ": expected <" + expectedText +
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
regextst.cpp | 194 UText expectedText = UTEXT_INITIALIZER; 195 utext_openUTF8(&expectedText, expected, -1, &status); 200 if(utext_nativeLength(&expectedText)==0 && (strlen(expected)!=0)) { 201 errln("%s:%d: assertUText: expected is %d utf-8 bytes, but utext_nativeLength(expectedText) returned 0.", file, line, strlen(expected)); 205 if (utext_compare(&expectedText, -1, actual, -1) != 0) { 209 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText); 210 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)); 212 utext_close(&expectedText); 220 UText expectedText = UTEXT_INITIALIZER; 221 regextst_openUTF8FromInvariant(&expectedText, expected, -1, &status) [all...] |
transtst.cpp | [all...] |
/external/icu4c/test/intltest/ |
regextst.cpp | 252 UText expectedText = UTEXT_INITIALIZER; 253 utext_openUTF8(&expectedText, expected, -1, &status); 258 if(utext_nativeLength(&expectedText)==0 && (strlen(expected)!=0)) { 259 errln("%s:%d: assertUText: expected is %d utf-8 bytes, but utext_nativeLength(expectedText) returned 0.", file, line, strlen(expected)); 263 if (!testUTextEqual(&expectedText, actual)) { 267 utextToPrintable(expectedBuf, sizeof(expectedBuf)/sizeof(expectedBuf[0]), &expectedText); 268 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)); 270 utext_close(&expectedText); 278 UText expectedText = UTEXT_INITIALIZER; 279 regextst_openUTF8FromInvariant(&expectedText, expected, -1, &status) [all...] |
transtst.cpp | [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
reapits.c | 95 UText expectedText = UTEXT_INITIALIZER; 96 utext_openUTF8(&expectedText, expected, -1, &status); 98 if (utext_compare(&expectedText, -1, actual, -1) != 0) { 112 utext_close(&expectedText); [all...] |