Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java232 final CharSequence expectedString = in verifyDeleteSurroundingTextMain() local
236 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); in verifyDeleteSurroundingTextMain()
237 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); in verifyDeleteSurroundingTextMain()
238 verifyTextAndSelection(ic, expectedString, expectedSelectionStart, expectedSelectionEnd); in verifyDeleteSurroundingTextMain()
297 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); in verifyDeleteSurroundingTextInCodePointsMain() local
298 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); in verifyDeleteSurroundingTextInCodePointsMain()
299 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); in verifyDeleteSurroundingTextInCodePointsMain()
300 verifyTextAndSelection(ic, expectedString, expectedSelectionStart, expectedSelectionEnd); in verifyDeleteSurroundingTextInCodePointsMain()
670 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); in verifyReplaceText() local
671 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); in verifyReplaceText()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DRawResourceTest.java59 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local
67 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
69 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
DResourcesTest.java1026 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local
1034 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
1036 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java311 String expectedString = ""; in testCopyStringToBuffer() local
314 expectedString += baseString; in testCopyStringToBuffer()
322 cursorWindow.putString(expectedString, 0, 0); in testCopyStringToBuffer()
327 assertEquals(expectedString, in testCopyStringToBuffer()
331 expectedString += baseString; in testCopyStringToBuffer()
333 cursorWindow.putString(expectedString, 0, 1); in testCopyStringToBuffer()
337 assertEquals(expectedString, in testCopyStringToBuffer()
339 assertEquals(70, expectedString.length()); in testCopyStringToBuffer()
340 assertEquals(expectedString.length(), charArrayBuffer.data.length); in testCopyStringToBuffer()
/cts/tests/wearable/src/android/wearable/cts/
DCtsIsolatedWearableSensingService.java153 String expectedString = data.getString(EXPECTED_STRING_FROM_WEARABLE_KEY); in onDataProvided() local
154 verifyDataReceivedFromWearable(expectedString, statusConsumer); in onDataProvided()
204 String expectedString, Consumer<Integer> statusConsumer) throws IOException { in verifyDataReceivedFromWearable() argument
212 if (expectedString == null) { in verifyDataReceivedFromWearable()
217 byte[] expectedBytes = expectedString.getBytes(StandardCharsets.UTF_8); in verifyDataReceivedFromWearable()
DWearableSensingManagerIsolatedServiceTest.java693 private void verifyDataReceivedFromWearable(String expectedString) throws Exception { in verifyDataReceivedFromWearable() argument
696 instruction.putString(EXPECTED_STRING_FROM_WEARABLE_KEY, expectedString); in verifyDataReceivedFromWearable()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java208 String expectedString = "12/18/08"; in testFormatMethods() local
211 assertEquals(expectedString, actual.toString()); in testFormatMethods()
214 assertEquals(expectedString, actual.toString()); in testFormatMethods()
216 assertEquals(expectedString, actual.toString()); in testFormatMethods()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp244 const std::string expectedString = kTestcase.substr(0, i); in TEST_F() local
245 const std::vector<std::string> expectedVector = {expectedString, in TEST_F()
246 expectedString}; in TEST_F()
255 EXPECT_EQ(expectedString, readString); in TEST_F()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaCtsTest.java684 String expectedString = in testAppSearchSchema_toString() local
795 String[] lines = expectedString.split("\n"); in testAppSearchSchema_toString()
815 String expectedString = in testAppSearchSchema_toStringNoDescriptionSet() local
832 String[] lines = expectedString.split("\n"); in testAppSearchSchema_toStringNoDescriptionSet()
DGenericDocumentCtsTest.java280 String expectedString = in testDocument_toString() local
310 String[] lines = expectedString.split("\n"); in testDocument_toString()
334 String expectedString = in testDocumentEmptyProperties_toString() local
352 String[] lines = expectedString.split("\n"); in testDocumentEmptyProperties_toString()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java208 final String expectedString = in testListEllipsize_rtl() local
210 final float enoughWidth = paint.measureText(expectedString); in testListEllipsize_rtl()
212 assertEquals(expectedString, in testListEllipsize_rtl()