diff options
author | 2012-02-03 02:09:05 -0800 | |
---|---|---|
committer | 2012-02-03 02:09:05 -0800 | |
commit | 9f17de5b4dbf1e6947cfde21e70550579ca2a30b (patch) | |
tree | 1ed62bb7996fd1c85a2c71a692ab14162b88f87d /tests/src/com/android/inputmethod/latin/InputLogicTests.java | |
parent | 9f491e34ac2c96c3d18f30f9710b1a3ecab173e7 (diff) | |
parent | fb684cebe8f5dac1bdb6cfa7085a07ddc66acede (diff) | |
download | latinime-9f17de5b4dbf1e6947cfde21e70550579ca2a30b.tar.gz latinime-9f17de5b4dbf1e6947cfde21e70550579ca2a30b.tar.xz latinime-9f17de5b4dbf1e6947cfde21e70550579ca2a30b.zip |
Merge "Stop inserting a space after a manually picked word."
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/InputLogicTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/InputLogicTests.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/InputLogicTests.java b/tests/src/com/android/inputmethod/latin/InputLogicTests.java index ee3a97fab..693352c85 100644 --- a/tests/src/com/android/inputmethod/latin/InputLogicTests.java +++ b/tests/src/com/android/inputmethod/latin/InputLogicTests.java @@ -186,7 +186,7 @@ public class InputLogicTests extends ServiceTestCase<LatinIME> { } public void testCancelDoubleSpace() { - final String STRING_TO_TYPE = "tgis "; + final String STRING_TO_TYPE = "this "; final String EXPECTED_RESULT = "this "; type(STRING_TO_TYPE); type(Keyboard.CODE_DELETE); @@ -202,7 +202,7 @@ public class InputLogicTests extends ServiceTestCase<LatinIME> { mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); mLatinIME.onUpdateSelection(0, 0, NEW_CURSOR_POSITION, NEW_CURSOR_POSITION, -1, -1); type(Keyboard.CODE_DELETE); - assertEquals("auto correct then move curor to start of line then backspace", + assertEquals("auto correct then move cursor to start of line then backspace", EXPECTED_RESULT, mTextView.getText().toString()); } @@ -215,7 +215,7 @@ public class InputLogicTests extends ServiceTestCase<LatinIME> { mInputConnection.setSelection(NEW_CURSOR_POSITION, NEW_CURSOR_POSITION); mLatinIME.onUpdateSelection(0, 0, NEW_CURSOR_POSITION, NEW_CURSOR_POSITION, -1, -1); type(Keyboard.CODE_DELETE); - assertEquals("auto correct then move curor then backspace", + assertEquals("auto correct then move cursor then backspace", EXPECTED_RESULT, mTextView.getText().toString()); } |