Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java895 MockGetChars mockGetChars = new MockGetChars(); in testGetChars() local
899 TextUtils.getChars(mockGetChars, start, end, destResult, destOff); in testGetChars()
900 assertTrue(mockGetChars.hasCalledGetChars()); in testGetChars()
901 assertEquals(start, mockGetChars.ReadGetCharsParams().start); in testGetChars()
902 assertEquals(end, mockGetChars.ReadGetCharsParams().end); in testGetChars()
903 assertEquals(destResult, mockGetChars.ReadGetCharsParams().dest); in testGetChars()
904 assertEquals(destOff, mockGetChars.ReadGetCharsParams().destoff); in testGetChars()
1310 MockGetChars mockGetChars = new MockGetChars(); in testIndexOf1() local
1311 assertFalse(mockGetChars.hasCalledGetChars()); in testIndexOf1()
1312 TextUtils.indexOf(mockGetChars, 'r'); in testIndexOf1()
[all …]