Searched refs:stringBuffer (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 1120 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf1() local 1121 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuffer, 'r')); in testIndexOf1() 1146 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf2() local 1147 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2() 1149 TextUtils.indexOf(stringBuffer, 'r', Integer.MIN_VALUE); in testIndexOf2() 1154 assertEquals(-1, TextUtils.indexOf(stringBuffer, 'r', Integer.MAX_VALUE)); in testIndexOf2() 1197 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf3() local 1198 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', in testIndexOf3() 1223 StringBuffer stringBuffer = new StringBuffer(searchString); in testIndexOf4() local 1224 assertEquals(SEARCH_INDEX, TextUtils.indexOf(stringBuffer, "search")); in testIndexOf4() [all …]
|