Home
last modified time | relevance | path

Searched refs:EXPECTED_RESULT (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java54 final String EXPECTED_RESULT = "thi"; in testPickSuggestionThenBackspace() local
59 assertEquals("press suggestion then backspace", EXPECTED_RESULT, in testPickSuggestionThenBackspace()
66 final String EXPECTED_RESULT = "thi"; in testPickAutoCorrectionThenBackspace() local
74 assertEquals("pick typed word over auto-correction then backspace", EXPECTED_RESULT, in testPickAutoCorrectionThenBackspace()
80 final String EXPECTED_RESULT = "tgi"; in testPickTypedWordOverAutoCorrectionThenBackspace() local
88 assertEquals("pick typed word over auto-correction then backspace", EXPECTED_RESULT, in testPickTypedWordOverAutoCorrectionThenBackspace()
95 final String EXPECTED_RESULT = "thu"; in testPickDifferentSuggestionThenBackspace() local
103 assertEquals("pick different suggestion then backspace", EXPECTED_RESULT, in testPickDifferentSuggestionThenBackspace()
112 final String EXPECTED_RESULT = "some text some text"; in testDeleteSelection() local
125 assertEquals("delete selection", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelection()
[all …]
DPunctuationTests.java32 final String EXPECTED_RESULT = "this!! "; in testWordThenSpaceThenPunctuationFromStripTwice() local
48 EXPECTED_RESULT, mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromStripTwice()
57 final String EXPECTED_RESULT = "this !!"; in testWordThenSpaceThenPunctuationFromKeyboardTwice() local
59 assertEquals("manual pick then space then punctuation from keyboard twice", EXPECTED_RESULT, in testWordThenSpaceThenPunctuationFromKeyboardTwice()
67 final String EXPECTED_RESULT = "this!! is"; in testManualPickThenPunctuationFromStripTwiceThenType() local
73 assertEquals("pick word then pick punctuation twice then type", EXPECTED_RESULT, in testManualPickThenPunctuationFromStripTwiceThenType()
80 final String EXPECTED_RESULT = "this!is"; in testManualPickThenManualPickWithPunctAtStart() local
84 assertEquals("manual pick then manual pick a word with punct at start", EXPECTED_RESULT, in testManualPickThenManualPickWithPunctAtStart()
91 final String EXPECTED_RESULT = "this:"; in testManuallyPickedWordThenColon() local
96 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenColon()
[all …]
DInputLogicTestsDeadKeys.java53 final String EXPECTED_RESULT = "aê"; in testDeadCircumflexSimple() local
61 assertEquals("simple dead circumflex", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexSimple()
66 final String EXPECTED_RESULT = "ae"; in testDeadCircumflexBackspace() local
75 assertEquals("dead circumflex backspace", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexBackspace()
80 final String EXPECTED_RESULT = "a\u02C6"; in testDeadCircumflexFeedback() local
87 assertEquals("dead circumflex gives feedback", EXPECTED_RESULT, in testDeadCircumflexFeedback()
93 final String EXPECTED_RESULT = "a\u00A8e\u00A8i"; in testDeadDiaeresisSpace() local
105 assertEquals("dead diaeresis space commits the dead char", EXPECTED_RESULT, in testDeadDiaeresisSpace()
129 final String EXPECTED_RESULT = "x\u0110\u0127"; in testFinnishStroke() local
139 assertEquals("Finnish dead stroke", EXPECTED_RESULT, in testFinnishStroke()
[all …]
DInputLogicTestsLanguageWithoutSpaces.java28 final String EXPECTED_RESULT = "thisis"; in testAutoCorrectForLanguageWithoutSpaces() local
31 assertEquals("simple auto-correct for language without spaces", EXPECTED_RESULT, in testAutoCorrectForLanguageWithoutSpaces()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java428 final int[] EXPECTED_RESULT = new int[] { 'a', 'b', 'c', 'd', 'e', 0x286D7, 'f', 'g', 'h', in testToCodePointArray() local
433 EXPECTED_RESULT.length); in testToCodePointArray()
434 for (int i = 0; i < EXPECTED_RESULT.length; ++i) { in testToCodePointArray()
435 assertEquals("toCodePointArray position " + i, codePointArray[i], EXPECTED_RESULT[i]); in testToCodePointArray()
442 final int[] EXPECTED_RESULT = new int[] { 'A', 'b', 'c', 'D', 'E', 0x286D7, in testCopyCodePointsAndReturnCodePointCount() local
452 EXPECTED_RESULT.length); in testCopyCodePointsAndReturnCodePointCount()
455 EXPECTED_RESULT[i]); in testCopyCodePointsAndReturnCodePointCount()
476 EXPECTED_RESULT[i]); in testCopyCodePointsAndReturnCodePointCount()