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 | 1111 final int INDEX_OF_FIRST_R = 2; // first occurrence of 'r' in testIndexOf1() local 1116 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r')); in testIndexOf1() 1121 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuffer, 'r')); in testIndexOf1() 1124 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(stringBuilder, 'r')); in testIndexOf1() 1132 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(mockCharSequence, 'r')); in testIndexOf1() 1137 final int INDEX_OF_FIRST_R = 2; in testIndexOf2() local 1140 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r', 0)); in testIndexOf2() 1141 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(searchString, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2() 1143 assertEquals(INDEX_OF_FIRST_R, TextUtils.indexOf(searchString, 'r', Integer.MIN_VALUE)); in testIndexOf2() 1147 assertEquals(INDEX_OF_SECOND_R, TextUtils.indexOf(stringBuffer, 'r', INDEX_OF_FIRST_R + 1)); in testIndexOf2() [all …]
|