Searched refs:INDEX_OF_FIRST_R (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 1296 final int INDEX_OF_FIRST_R = 2; // first occurrence of 'r' in testIndexOf1() local 1301 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r')); in testIndexOf1() 1306 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuffer, 'r')); in testIndexOf1() 1309 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuilder, 'r')); in testIndexOf1() 1317 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(mockCharSequence, 'r')); in testIndexOf1() 1323 final int INDEX_OF_FIRST_R = 2; in testIndexOf2() local 1326 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r', 0)); in testIndexOf2() 1327 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(searchString, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2() 1329 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r', Integer.MIN_VALUE)); in testIndexOf2() 1333 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2() [all …]
|