Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1602 ArrayList<CharSequence> charTokens = new ArrayList<>(); in testJoinIterable() local
1603 charTokens.add("string1"); in testJoinIterable()
1604 charTokens.add("string2"); in testJoinIterable()
1605 charTokens.add("string3"); in testJoinIterable()
1606 assertEquals("string1|string2|string3", TextUtils.join("|", charTokens)); in testJoinIterable()
1607 assertEquals("string1; string2; string3", TextUtils.join("; ", charTokens)); in testJoinIterable()
1608 assertEquals("string1string2string3", TextUtils.join("", charTokens)); in testJoinIterable()
1611 assertEquals("string1nullstring2nullstring3", TextUtils.join(null, charTokens)); in testJoinIterable()
1629 CharSequence[] charTokens = new CharSequence[] { "string1", "string2", "string3" }; in testJoinArray() local
1630 assertEquals("string1|string2|string3", TextUtils.join("|", charTokens)); in testJoinArray()
[all …]