Home
last modified time | relevance | path

Searched refs:dest2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DLoginFilterTest.java50 Spanned dest2 = new SpannedString("&*dest_with_invalid_char#$"); in testFilter() local
65 assertNull(loginFilter.filter(source1, 0, source1.length(), dest2, 5, 6)); in testFilter()
DTextUtilsTest.java393 SpannableString dest2 = new SpannableString(text); in testCopySpansFrom() local
394 TextUtils.copySpansFrom(source2, 0, source2.length(), Object.class, dest2, 0); in testCopySpansFrom()
395 spans = dest2.getSpans(0, dest2.length(), Object.class); in testCopySpansFrom()
399 assertEquals(0, dest2.getSpanStart(urlSpan)); in testCopySpansFrom()
400 assertEquals(source2.length() - 1, dest2.getSpanEnd(urlSpan)); in testCopySpansFrom()
401 assertEquals(Spanned.SPAN_EXCLUSIVE_INCLUSIVE, dest2.getSpanFlags(urlSpan)); in testCopySpansFrom()