Searched refs:expectedString (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 290 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 291 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); 292 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); 300 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(), 306 assertEquals(expectedString.subSequence(expectedSelectionStart, 309 if (expectedSelectionEnd == expectedString.length()) { 312 assertEquals(expectedString.subSequence(expectedSelectionEnd, 313 expectedString.length()).toString(), 368 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 369 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 | 669 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 677 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 679 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 | 184 String expectedString = "12/18/08"; in testFormatMethods() local 187 assertEquals(expectedString, actual.toString()); in testFormatMethods() 190 assertEquals(expectedString, actual.toString()); in testFormatMethods() 192 assertEquals(expectedString, actual.toString()); in testFormatMethods()
|