Searched refs:expectedString (Results 1 – 6 of 6) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 286 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 287 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); 288 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); 296 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(), 302 assertEquals(expectedString.subSequence(expectedSelectionStart, 305 if (expectedSelectionEnd == expectedString.length()) { 308 assertEquals(expectedString.subSequence(expectedSelectionEnd, 309 expectedString.length()).toString(), 365 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 366 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | RawResourceTest.java | 43 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 51 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 53 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
D | ResourcesTest.java | 733 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 741 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 743 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWindowTest.java | 285 String expectedString = ""; in testCopyStringToBuffer() local 288 expectedString += baseString; in testCopyStringToBuffer() 296 cursorWindow.putString(expectedString, 0, 0); in testCopyStringToBuffer() 301 assertEquals(expectedString, in testCopyStringToBuffer() 305 expectedString += baseString; in testCopyStringToBuffer() 307 cursorWindow.putString(expectedString, 0, 1); in testCopyStringToBuffer() 311 assertEquals(expectedString, in testCopyStringToBuffer() 313 assertEquals(70, expectedString.length()); in testCopyStringToBuffer() 314 assertEquals(expectedString.length(), charArrayBuffer.data.length); in testCopyStringToBuffer()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 202 String expectedString = "12/18/08"; in testFormatMethods() local 205 assertEquals(expectedString, actual.toString()); in testFormatMethods() 208 assertEquals(expectedString, actual.toString()); in testFormatMethods() 210 assertEquals(expectedString, actual.toString()); in testFormatMethods()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 193 final String expectedString = in testListEllipsize_rtl() local 195 final float enoughWidth = paint.measureText(expectedString); in testListEllipsize_rtl() 197 assertEquals(expectedString, in testListEllipsize_rtl()
|