Home
last modified time | relevance | path

Searched refs:testText (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java79 String testText = "\u05E9\u05DC\u05D5\u05DD\u002E"; in verifyBackspace() local
80 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
84 assertEquals(testText, content.toString()); in verifyBackspace()
86 int end = testText.length(); in verifyBackspace()
91 int middle = testText.length() / 2; in verifyBackspace()
97 testText = "\u05D6\u05D4\u0020Android\u0020\u05E2\u05D5\u05D1\u05D3"; in verifyBackspace()
98 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace()
104 end = testText.length(); in verifyBackspace()
207 String testText = "!#$%&'()`{*}_?+"; in testBackspace_withCtrl() local
208 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DEditorInfoTest.java285 final CharSequence testText = createTestText(TEST_TEXT_LENGTH); in testInitialSurroundingText_cursorAtHead_emptyBeforeCursorText() local
290 final int expectedTextAfterCursorLength = testText.length() - selLength; in testInitialSurroundingText_cursorAtHead_emptyBeforeCursorText()
292 new SurroundingText(testText, info.initialSelStart, info.initialSelEnd, 0); in testInitialSurroundingText_cursorAtHead_emptyBeforeCursorText()
294 info.setInitialSurroundingText(testText); in testInitialSurroundingText_cursorAtHead_emptyBeforeCursorText()
303 final CharSequence testText = createTestText(TEST_TEXT_LENGTH); in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText() local
305 info.initialSelStart = testText.length() - selLength; in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText()
306 info.initialSelEnd = testText.length(); in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText()
307 final int expectedTextBeforeCursorLength = testText.length() - selLength; in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText()
310 new SurroundingText(testText, info.initialSelStart, info.initialSelEnd, 0); in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText()
312 info.setInitialSurroundingText(testText); in testInitialSurroundingText_cursorAtTail_emptyAfterCursorText()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRadioButtonTest.java106 public void testText() { in testText() method in RadioButtonTest
DCheckBoxTest.java105 public void testText() { in testText() method in CheckBoxTest
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBindingTest.java102 public void testText() { in testText() method in SliceBindingTest
DSliceBuilderTest.java86 public void testText() { in testText() method in SliceBuilderTest