aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a test for moving cursor then backspaceJean Chalard2012-01-261-0/+13
| | | | | | | This is a test for the case in Bug: 5851148 Change-Id: I58ee459d85f463b445a28137bdc6c40bc3067ff5
* Add a test case for backspace at start of lineJean Chalard2012-01-261-0/+12
| | | | | | | Tests the behavior from Bug: 5784542 Change-Id: I78ec9d77c5dd1e3ea8eff530f9d7d284a1c094d4
* Add tests for double space behaviorJean Chalard2012-01-261-0/+15
| | | | | Bug: 5875776 Change-Id: Icc28b6c5c0132a3afc8d603841c9e321f720b7c9
* Merge "Add a test for auto-correction."Jean Chalard2012-01-251-1/+39
|\
| * Add a test for auto-correction.Jean Chalard2012-01-251-1/+39
| | | | | | | | | | | | | | | | | | Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257
* | Use String instaed of CharSequence in Key classTadashi G. Takaoka2012-01-251-1/+1
|/ | | | Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
* Merge "Test that delete actually removes any selected text."Jean Chalard2012-01-241-7/+27
|\
| * Test that delete actually removes any selected text.Jean Chalard2012-01-241-7/+27
| | | | | | | | | | Bug: 5699301 Change-Id: I09a967eb03690251e8bd69503285c982d6958a7d
* | Fix sliding shift input in caps lock modeTadashi G. Takaoka2012-01-241-5/+2
| | | | | | | | | | Bug: 5881820 Change-Id: I4cbe3eda83c09edc9da8efbdff7d3359c1e140d5
* | For get the symbols shifted state when switch back from alphabet layoutTadashi G. Takaoka2012-01-241-20/+18
| | | | | | | | | | Bug: 5881820 Change-Id: Ic478264e1cd366affc34fbf4cd59f1b6e7efede7
* | Get rid of setShifted/setShiftLocked from SwitchActionsTadashi G. Takaoka2012-01-241-14/+9
|/ | | | Change-Id: Ib54b0575be190556690ef2dfb14077842745f038
* Add more sliding input unit testTadashi G. Takaoka2012-01-244-216/+411
| | | | | Bug: 5881820 Change-Id: I9249d8b702ba9afbd1c7d0a4889ac5b2e929f85d
* Merge "Support @icon/icon_name for more keys specification"Tadashi G. Takaoka2012-01-201-4/+4
|\
| * Support @icon/icon_name for more keys specificationTadashi G. Takaoka2012-01-201-4/+4
| | | | | | | | Change-Id: I8842e5ce77f9d27a0969df947de292c1830e36b7
* | Merge "Enable DEBUG mode for logic tests."Jean Chalard2012-01-201-0/+16
|\ \ | |/ |/|
| * Enable DEBUG mode for logic tests.Jean Chalard2012-01-201-0/+16
| | | | | | | | | | | | | | This enables a wealth of useful checks. We want to run unit tests with debug mode on. Change-Id: Ic45caaf43a889287f5aec203e7d1ba63136fc58e
* | Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-201-5/+140
| | | | | | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* | Merge "Move MoreKeySpecParser.getResourceId to Utils"Tadashi G. Takaoka2012-01-201-1/+1
|\ \
| * | Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-201-1/+1
| | | | | | | | | | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* | | Merge "Change more key specification type to String from CharSequence"Tadashi G. Takaoka2012-01-201-5/+2
|\ \ \ | |_|/ |/| |
| * | Change more key specification type to String from CharSequenceTadashi G. Takaoka2012-01-201-5/+2
| |/ | | | | | | Change-Id: I5e910f8225a248fc6403771836dec4c0b7294caa
* / Add the first tests for the input login in LatinIME classJean Chalard2012-01-201-0/+106
|/ | | | Change-Id: Ifcf9ab55ee01bf7c6c6829e699246e5654975456
* Fix KeyboardState switching back from alphabet-chording input correctlyTadashi G. Takaoka2012-01-191-10/+9
| | | | | Bug: 5881820 Change-Id: I108bbc25baa331cc87f00955b48188b3557d10dd
* Fix KeyboardState to pass KeyboardStateMultiTouchTestsTadashi G. Takaoka2012-01-191-14/+11
| | | | Change-Id: If2b9ee7cf3fad7633d64b98758f802792d66f7a8
* Cleanup KeyboardState a bitTadashi G. Takaoka2012-01-191-2/+4
| | | | | | Rename KeyboardShiftState variable and reorder some statements. Change-Id: I7e8842836f35876f8697f9906343f7d4a1f9db4f
* Fix MoreKeySpecParser to be able to handle outputText correctlyTadashi G. Takaoka2012-01-191-39/+39
| | | | | | | The issue was introduced by Id2320f4d. Bug: 5887936 Change-Id: Ifec3aefb5b168f790de696ece104b84cdab46539
* Add more multitouch testsTadashi G. Takaoka2012-01-184-34/+220
| | | | Change-Id: I424a4b608fec084cb787003ef4417ccf273366ae
* Get rid of hasDistinctMultitouch reference from KeyboardStateTadashi G. Takaoka2012-01-184-19/+6
| | | | Change-Id: I0a783a425302fbc381d056f5b0d757c27f2a9f14
* Add KeyboardStateTestsBase and helper methodsTadashi G. Takaoka2012-01-184-402/+288
| | | | Change-Id: I17d908b60bbf784dae7add8355f699a63f7eb90a
* Remove KeyboardSwicther.toggleCapslockTadashi G. Takaoka2012-01-173-13/+3
| | | | Change-Id: Id613c06e2df770659095d78d42637aed063d0c70
* Rename KeyboardActionListener methodsTadashi G. Takaoka2012-01-173-115/+143
| | | | | | | | | | | * Rename KeyboardActionListener.onPress to onPressKey * Rename KeyboardActionListener.onRelease to onReleaseKey * Merge KeyboardSwicther.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardSwitcher.onReleaseShift and onReleaseSymbol to onReleaseKey. * Merge KeyboardState.onPressShift, onPressSymbol, and onPressOtherKey to onPressKey. * Merge KeyboardState.onReleaseShift and onReleaseSymbol to onReleaseKey. Change-Id: Icf28fd18e238c5e534c292893e4ab5b6b98e72f8
* Remove toggleShift and toggleAlphabetAndSymbols from KeyboardSwitcherTadashi G. Takaoka2012-01-173-472/+188
| | | | Change-Id: I9bb8f78b0a766cd7937d5cbe1c1e5e35898b2997
* Merge "KeyboardState unit tests for non-distinct multitouch device"Tadashi G. Takaoka2012-01-163-1/+316
|\
| * KeyboardState unit tests for non-distinct multitouch deviceTadashi G. Takaoka2012-01-163-1/+316
| | | | | | | | | | Bug: 5708602 Change-Id: Id85db2f8b7b427ba62205f5aaad481a3d33e65fc
* | Add more KeyboardState unit test casesTadashi G. Takaoka2012-01-161-24/+318
|/ | | | | Bug: 5708602 Change-Id: Ib9d2b7a2878f78adecc857fd569fba8965cf4a03
* Add auto caps function simulation to MockKeyboardSwitcherTadashi G. Takaoka2012-01-161-6/+10
| | | | Change-Id: I049c224994a37121de031b9fd61edb52eb912e20
* Make MockKeyboardSwitcher top level classTadashi G. Takaoka2012-01-162-105/+152
| | | | Change-Id: I52c1bc237c20b8bd49fca2431b83843a6e2af10b
* Update shift state when alphabet keyboard has been setTadashi G. Takaoka2012-01-161-1/+5
| | | | | Bug: 5857492 Change-Id: I5ef78af21a76e8cf645e223d1ffa6212690bb1eb
* Merge "Cleanup KeyboardStateTests a bit"Tadashi G. Takaoka2012-01-151-40/+85
|\
| * Cleanup KeyboardStateTests a bitTadashi G. Takaoka2012-01-161-40/+85
| | | | | | | | | | | | Move test target KeyboardState into MockKeyboardSwitcher. Change-Id: I0998a5306a59e777360df9d1321b545313b939f9
* | Use KeyboardSet for unit testTadashi G. Takaoka2012-01-135-19/+25
|/ | | | Change-Id: I6a08e04628bac0222140e5b1b108f6bcb39859a2
* Merge "Fix SuggestTests"Tadashi G. Takaoka2012-01-131-2/+3
|\
| * Fix SuggestTestsTadashi G. Takaoka2012-01-131-2/+3
| | | | | | | | | | | | | | We need revised scoring test because dictionary look up algorithm has been changed significantly since this SuggestTests was made. Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
* | Merge "Cleanup UtilsTests"Tadashi G. Takaoka2012-01-121-2/+0
|\ \
| * | Cleanup UtilsTestsTadashi G. Takaoka2012-01-131-2/+0
| |/ | | | | | | Change-Id: I5631d010194423fd3d9c216db760ffa726131977
* | Merge "Fix UserBigramSuggestTests"Tadashi G. Takaoka2012-01-121-1/+1
|\ \
| * | Fix UserBigramSuggestTestsTadashi G. Takaoka2012-01-131-1/+1
| |/ | | | | | | Change-Id: I3363fba44ee70876fd7ba8e27c6ca3c83753b53a
* / Fix SubtypeLocaleTestsTadashi G. Takaoka2012-01-131-31/+18
|/ | | | Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
* Move auto correction thresthold to the native codesatok2012-01-121-9/+9
| | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* Get rid of Keyboard.CODE_DUMMYTadashi G. Takaoka2012-01-101-41/+41
| | | | Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880