Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1305 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf1() local
1306 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuffer, 'r')); in testIndexOf1()
1332 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf2() local
1333 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2()
1335 TextUtils.indexOf(stringBuffer, 'r', Integer.MIN_VALUE); in testIndexOf2()
1340 assertEquals(-1, TextUtils.indexOf(stringBuffer, 'r', Integer.MAX_VALUE)); in testIndexOf2()
1384 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf3() local
1385 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', in testIndexOf3()
1411 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf4() local
1412 assertEquals(SEARCH_INDEX, TextUtils.indexOf(stringBuffer, "search")); in testIndexOf4()
[all …]