Home
last modified time | relevance | path

Searched refs:expectedText (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DDateTimeKeyListenerTest.java154 String expectedText = ""; in testDateTimeKeyListener() local
155 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
159 expectedText += "1"; in testDateTimeKeyListener()
160 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
164 expectedText += "2"; in testDateTimeKeyListener()
165 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
170 expectedText += "a"; in testDateTimeKeyListener()
172 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
177 expectedText += "p"; in testDateTimeKeyListener()
179 assertEquals(expectedText, mTextView.getText().toString()); in testDateTimeKeyListener()
[all …]
DTimeKeyListenerTest.java149 String expectedText = ""; in testTimeKeyListener() local
152 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
156 expectedText += "1"; in testTimeKeyListener()
157 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
161 expectedText += "2"; in testTimeKeyListener()
167 expectedText += "a"; in testTimeKeyListener()
169 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
174 expectedText += "p"; in testTimeKeyListener()
176 assertEquals(expectedText, mTextView.getText().toString()); in testTimeKeyListener()
181 expectedText += "m"; in testTimeKeyListener()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedUiBot.java64 @NonNull String expectedText) throws Exception { in assertUiShown() argument
66 Preconditions.checkNotNull(expectedText); in assertUiShown()
70 assertWithMessage("Wrong text on UI").that(ui.getText()).isEqualTo(expectedText); in assertUiShown()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java171 @Nullable String expectedText) { in assertViewWithUnknownParentAppeared() argument
180 if (expectedText != null) { in assertViewWithUnknownParentAppeared()
182 .isEqualTo(expectedText); in assertViewWithUnknownParentAppeared()
204 @Nullable String expectedText) { in assertViewAppeared() argument
206 expectedText); in assertViewAppeared()
388 int childId, @Nullable String expectedText) { in assertVirtualViewAppeared() argument
395 if (expectedText != null) { in assertVirtualViewAppeared()
397 .that(node.getText().toString()).isEqualTo(expectedText); in assertVirtualViewAppeared()
443 @NonNull AutofillId expectedId, @NonNull String expectedText) { in assertViewTextChanged() argument
448 .isEqualTo(expectedText); in assertViewTextChanged()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java171 static void assertEqualsText(List<CharSequence> expectedText, in assertEqualsText() argument
175 TestCase.assertEquals(message, expectedText.size(), receivedText.size()); in assertEqualsText()
177 Iterator<CharSequence> expectedTextIterator = expectedText.iterator(); in assertEqualsText()
180 for (int i = 0; i < expectedText.size(); i++) { in assertEqualsText()
/cts/tests/tests/theme/src/android/theme/cts/
DThemeRebaseTest.java107 private void assertConfigText(String expectedText) { in assertConfigText() argument
109 assertEquals(expectedText, mOutValue.string); in assertConfigText()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DCustomDescriptionWithLinkTestCase.java296 protected final UiObject2 assertSaveUiWithLinkIsShown(int saveType, String expectedText) in assertSaveUiWithLinkIsShown() argument
302 assertThat(link.getText()).isEqualTo(expectedText); in assertSaveUiWithLinkIsShown()
DUiBot.java771 final String expectedText = getAutofillContextualMenuTitle();
778 if (menuName.equalsIgnoreCase(expectedText)) {
801 if (menuName.equalsIgnoreCase(expectedText)) {
807 throw new RetryableException("no '%s' on '%s'", expectedText, menuNames);
888 public UiObject2 assertChildText(UiObject2 parent, String resourceId, String expectedText)
893 .isEqualTo(expectedText);
DAutofillValueTest.java180 private void autofillEditText(@Nullable AutofillValue value, String expectedText,
193 expectedText);
206 assertThat(mEditText.getText().toString()).isEqualTo(expectedText);
DCustomDescriptionTest.java563 final String expectedText = matchFirst ? "polo" : "POLO"; in multipleTransformationsForSameFieldTest() local
564 assertSaveUiIsShownWithTwoLines(expectedText); in multipleTransformationsForSameFieldTest()
DHelper.java576 public static ViewNode assertTextValue(ViewNode node, String expectedText) { in assertTextValue() argument
582 .isEqualTo(expectedText); in assertTextValue()