Searched refs:urlSpans (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 2842 URLSpan[] urlSpans = text.getSpans(0, text.length(), URLSpan.class); in testAppend_doesNotAddLinksWhenAppendedTextDoesNotContainLinks() local 2843 assertEquals("URLSpan count should be zero", 0, urlSpans.length); in testAppend_doesNotAddLinksWhenAppendedTextDoesNotContainLinks() 2855 URLSpan[] urlSpans = text.getSpans(0, text.length(), URLSpan.class); in testAppend_doesNotAddLinksWhenAutoLinkIsNotEnabled() local 2856 assertEquals("URLSpan count should be zero", 0, urlSpans.length); in testAppend_doesNotAddLinksWhenAutoLinkIsNotEnabled() 2869 URLSpan[] urlSpans = text.getSpans(0, text.length(), URLSpan.class); in testAppend_addsLinksWhenAutoLinkIsEnabled() local 2870 assertEquals("URLSpan count should be one after appending a URL", 1, urlSpans.length); in testAppend_addsLinksWhenAutoLinkIsEnabled() 2872 urlSpans[0].getURL(), "http://android.com"); in testAppend_addsLinksWhenAutoLinkIsEnabled() 2885 URLSpan[] urlSpans = text.getSpans(0, text.length(), URLSpan.class); in testAppend_addsLinksEvenWhenThereAreUrlsSetBefore() local 2886 assertEquals("URLSpan count should be two after appending another URL", 2, urlSpans.length); in testAppend_addsLinksEvenWhenThereAreUrlsSetBefore() 2888 urlSpans[0].getURL(), "http://android.com/before"); in testAppend_addsLinksEvenWhenThereAreUrlsSetBefore() [all …]
|