Searched refs:string2 (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 270 SpannableString string2 = new SpannableString("second"); in testConcat() local 275 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testConcat() 278 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); in testConcat() 279 assertEquals(string1.toString() + comma + string2.toString(), strResult.toString()); in testConcat() 324 final SpannableString string2 = new SpannableString("b"); in testConcat_twoParagraphSpans() local 328 string2.setSpan(span2, 0, string2.length(), Spanned.SPAN_PARAGRAPH); in testConcat_twoParagraphSpans() 330 final Spanned result = (Spanned) TextUtils.concat(string1, string2); in testConcat_twoParagraphSpans() 344 final SpannableString string2 = new SpannableString("b"); in testConcat_oneParagraphSpanAndOneInclusiveSpan() local 348 string2.setSpan(span2, 0, string2.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testConcat_oneParagraphSpanAndOneInclusiveSpan() 350 final Spanned result = (Spanned) TextUtils.concat(string1, string2); in testConcat_oneParagraphSpanAndOneInclusiveSpan()
|