Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java216 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState);
217 final int expectedSelectionStart = Selection.getSelectionStart(expectedString);
218 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString);
226 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(),
232 assertEquals(expectedString.subSequence(expectedSelectionStart,
235 if (expectedSelectionEnd == expectedString.length()) {
238 assertEquals(expectedString.subSequence(expectedSelectionEnd,
239 expectedString.length()).toString(),
294 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState);
295 final int expectedSelectionStart = Selection.getSelectionStart(expectedString);
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DRawResourceTest.java43 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local
51 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
53 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
DResourcesTest.java774 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local
782 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
784 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java310 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/net/src/android/net/cts/
DInetAddressesTest.java84 public void parseNumericAddress(String address, String expectedString) { in parseNumericAddress() argument
86 assertEquals(expectedString, inetAddress.getHostAddress()); in parseNumericAddress()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp234 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/tests/text/src/android/text/format/cts/
DDateFormatTest.java207 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/text/src/android/text/cts/
DTextUtilsTest.java194 final String expectedString = in testListEllipsize_rtl() local
196 final float enoughWidth = paint.measureText(expectedString); in testListEllipsize_rtl()
198 assertEquals(expectedString, in testListEllipsize_rtl()