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.java278 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); in testConcat() local
279 assertEquals(string1.toString() + comma + string2.toString(), strResult.toString()); in testConcat()
280 Object spans[] = strResult.getSpans(0, strResult.length(), Object.class); in testConcat()
286 assertEquals(0, strResult.getSpanStart(urlSpan)); in testConcat()
287 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); in testConcat()
288 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); in testConcat()
289 assertEquals(strResult.length() - 1, strResult.getSpanEnd(bgColorSpan)); in testConcat()