Searched refs:string1 (Results 1 – 1 of 1) sorted by relevance
144 SpannableString string1 = new SpannableString("first"); in testConcat() local148 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testConcat()153 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); in testConcat()154 assertEquals(string1.toString() + comma + string2.toString(), strResult.toString()); in testConcat()162 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan)); in testConcat()163 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); in testConcat()166 assertEquals(string1, TextUtils.concat(string1)); in testConcat()