Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java153 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); in testConcat() local
154 assertEquals(string1.toString() + comma + string2.toString(), strResult.toString()); in testConcat()
155 Object spans[] = strResult.getSpans(0, strResult.length(), Object.class); in testConcat()
161 assertEquals(0, strResult.getSpanStart(urlSpan)); in testConcat()
162 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); in testConcat()
163 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); in testConcat()
164 assertEquals(strResult.length() - 1, strResult.getSpanEnd(bgColorSpan)); in testConcat()