Home
last modified time | relevance | path

Searched refs:actualText (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProvisionInfoListAdapterTest.java123 CharSequence actualText = mTextView.getText(); in onBindViewHolder_urlProvisionInfo_urlNotAvailable_setTextWithEmptyUrl() local
124 assertThat(actualText.toString()).isEqualTo( in onBindViewHolder_urlProvisionInfo_urlNotAvailable_setTextWithEmptyUrl()
126 assertUrlIsExpected(actualText, testEmptyUrl); in onBindViewHolder_urlProvisionInfo_urlNotAvailable_setTextWithEmptyUrl()
142 CharSequence actualText = mTextView.getText(); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl() local
143 assertThat(actualText.toString()).isEqualTo( in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl()
145 assertUrlIsExpected(actualText, TEST_URL); in onBindViewHolder_urlProvisionInfo_urlAvailable_setTextWithUrl()
156 private void assertUrlIsExpected(CharSequence actualText, String expectedUrl) { in assertUrlIsExpected() argument
157 SpannedString actualSpannedString = SpannedString.valueOf(actualText); in assertUrlIsExpected()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DSuggestionSpanUtilsTest.java68 final CharSequence actualText) { in assertNotSuggestionSpan() argument
69 assertTrue(TextUtils.equals(expectedText, actualText)); in assertNotSuggestionSpan()
70 if (!(actualText instanceof Spanned)) { in assertNotSuggestionSpan()
73 final Spanned spanned = (Spanned)actualText; in assertNotSuggestionSpan()
82 final CharSequence actualText) { in assertSuggestionSpan() argument
83 assertTrue(TextUtils.equals(expectedText, actualText)); in assertSuggestionSpan()
84 assertTrue(actualText instanceof Spanned); in assertSuggestionSpan()
85 final Spanned spanned = (Spanned)actualText; in assertSuggestionSpan()
/packages/modules/Permission/tests/cts/permissionmultidevice/src/android/permissionmultidevice/cts/
DAppPermissionsTest.kt323 val actualText = UiAutomatorUtils2.waitFindObject(By.res(PERMISSION_MESSAGE_ID)).text in verifyPermissionMessage() constant
324 assertEquals(permissionMessage, actualText) in verifyPermissionMessage()