Searched refs:expectedString (Results 1 – 9 of 9) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 232 final CharSequence expectedString = clearSelection ? expectedState 234 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); 235 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); 250 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(), 256 assertEquals(expectedString.subSequence(expectedSelectionStart, 259 if (expectedSelectionEnd == expectedString.length()) { 262 assertEquals(expectedString.subSequence(expectedSelectionEnd, 263 expectedString.length()).toString(), 320 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 321 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 | 825 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 833 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 835 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWindowTest.java | 310 String expectedString = ""; in testCopyStringToBuffer() local 313 expectedString += baseString; in testCopyStringToBuffer() 321 cursorWindow.putString(expectedString, 0, 0); in testCopyStringToBuffer() 326 assertEquals(expectedString, in testCopyStringToBuffer() 330 expectedString += baseString; in testCopyStringToBuffer() 332 cursorWindow.putString(expectedString, 0, 1); in testCopyStringToBuffer() 336 assertEquals(expectedString, in testCopyStringToBuffer() 338 assertEquals(70, expectedString.length()); in testCopyStringToBuffer() 339 assertEquals(expectedString.length(), charArrayBuffer.data.length); in testCopyStringToBuffer()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 207 String expectedString = "12/18/08"; in testFormatMethods() local 210 assertEquals(expectedString, actual.toString()); in testFormatMethods() 213 assertEquals(expectedString, actual.toString()); in testFormatMethods() 215 assertEquals(expectedString, actual.toString()); in testFormatMethods()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_parcel.cpp | 234 const std::string expectedString = kTestcase.substr(0, i); in TEST_F() local 235 const std::vector<std::string> expectedVector = {expectedString, in TEST_F() 236 expectedString}; in TEST_F() 245 EXPECT_EQ(expectedString, readString); in TEST_F()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | AppSearchSchemaCtsTest.java | 372 String expectedString = in testAppSearchSchema_toString() local 427 assertThat(schemaString).isEqualTo(expectedString); in testAppSearchSchema_toString()
|
D | GenericDocumentCtsTest.java | 267 String expectedString = in testDocument_toString() local 297 assertThat(documentString).isEqualTo(expectedString); in testDocument_toString()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 194 final String expectedString = in testListEllipsize_rtl() local 196 final float enoughWidth = paint.measureText(expectedString); in testListEllipsize_rtl() 198 assertEquals(expectedString, in testListEllipsize_rtl()
|