Searched refs:calculateCharsCount (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 1670 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern() 1672 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern() 1674 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern() 1676 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern() 1678 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern() 1679 + calculateCharsCount(testString, "b") + calculateCharsCount(testString, "c"); in testSplitPattern() 1704 private int calculateCharsCount(CharSequence text, CharSequence searches) { in calculateCharsCount() method in TextUtilsTest 1717 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitString() 1719 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitString() 1721 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitString() [all …]
|