aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputTestsBase.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-463/+0
|
* We can't spell check Russian without an LM.Dan Zivkovic2015-03-231-2/+5
| | | | Change-Id: I635a51acc2e45aebe23a1cf69da1b5c72a6ac9e1
* We ship with English, so we can't unit test FrenchDan Zivkovic2015-03-231-1/+2
| | | | Change-Id: I20a470a18ca0cd47fe7588958be904eb23fdf1a2
* Minor unit test fixes.Dan Zivkovic2015-03-231-2/+0
| | | | Change-Id: I800bb33a10f31d5b934b00768bc8fe4776e36f90
* Add prev words context to the SuggestedWordInfo.Mohammadinamul Sheik2015-03-191-1/+2
| | | | | | Bug: 19712589 Bug: 19715579 Change-Id: Ie06665cab8405455c1b0a2ff034e0bb0731c9156
* Fix some InputLogicTests.Dan Zivkovic2015-03-171-0/+5
| | | | Change-Id: I3dd080844ee96dd60ab50ddc74632181dec775a2
* Revert "Next-word suggestion bit in keyboard settings."Dan Zivkovic2015-03-161-0/+5
| | | | | | | | This reverts commit 1ae16dc3db170802d1b38273f477125a2a969d32. Bug 19596067. Change-Id: Ie7286acbb70b215d7bd08e271bcf14526b68576f
* Remove autocorrection aggressiveness settings.Chieu Nguyen2015-03-131-6/+6
| | | | | | | Replace multiple settings with binary switch for autocorrection. Bug: 19589766 Change-Id: Ic8a0362dd36d18930493a55699851161e9cb23e8
* Next-word suggestion bit in keyboard settings.Dan Zivkovic2015-03-041-5/+0
| | | | | | | | | This feature works in supported languages. We don't need a user setting. Bug 19596067. Change-Id: Icdded772745f9816da47f8a5e3b87b733083b121
* Merge "Move current subtype management code to RichInputMethodManager"Tadashi G. Takaoka2014-11-071-1/+1
|\
| * Move current subtype management code to RichInputMethodManagerTadashi G. Takaoka2014-11-061-1/+1
| | | | | | | | Change-Id: I82d5a17a5ec96f26047d29e79f3f28850fc5b3bb
* | Move util classes under commonJean Chalard2014-11-071-1/+1
|/ | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-0/+1
| | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Merge "Add tests for type through recorrection"Jean Chalard2014-10-241-0/+37
|\
| * Add tests for type through recorrectionJean Chalard2014-10-221-0/+37
| | | | | | | | | | | | Also introduce some helper methods Change-Id: I0f99733a4b7f0318b2b07217b614c19ea98859fc
* | Move Constants.java to the latin.common packageKen Wakasa2014-10-231-0/+1
|/ | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-6/+4
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Add the first gesture unit tests.Jean Chalard2014-10-151-3/+48
| | | | | | | At last I found a simple way to do it ! Bug: 8845843 Change-Id: I4dd3bf987b58e29a44cf0d7389d294657a33abe1
* [ML19] Actually switch the language when appropriateJean Chalard2014-10-091-1/+7
| | | | | | | | That is, when auto-correcting or when manually picking. This is not great, but it's a good starting point. Bug: 11230254 Change-Id: I07627f48e2de1c28053d6572c7c72625808ec79c
* Fix tests.Jean Chalard2014-09-171-0/+3
| | | | | | | Looper.prepare() is not called automatically for us any more. Bug: 17518123 Change-Id: I2fb6caa4ef79ce7ed86ff58518f4b000483e508f
* Introduce onEvent() to improve testabilityJean Chalard2014-08-251-3/+6
| | | | | | ...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
* Revert "Introduce onEvent() to improve testability"Ken Wakasa2014-08-061-7/+3
| | | | | | | | This reverts commit ef74e737f580f7ac0b3bd70d6255dde3c87d9078. Apparently, this CL broke several unit tests. Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
* Introduce onEvent() to improve testabilityJean Chalard2014-08-061-3/+7
| | | | | | ...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
* Fix testsJean Chalard2014-06-301-2/+2
| | | | Change-Id: I12ba56d021b50c03dc62e3f3c8db3ecada2f6a4b
* Fix testsJean Chalard2014-05-291-3/+3
| | | | | | | | | | | DEBUG in LatinIME has been changed by Ie52007dc to mean both DebugSettings.PREF_DEBUG_MODE and Settings.PREF_KEY_IS_INTERNAL instead of just DEBUG_MODE as used to be the case. Tests depend on the debug mode to test many things and they make sure they run in debug mode or they fail. This has tests understand the change in policy. Change-Id: Ie9f29e6a1d85e19704c8940d3fcf97c13c3dbaa6
* Fix unit tests.Jean Chalard2014-05-141-4/+9
| | | | | | | | Language change has always been strange. That's because we didn't call the right method >.> Also, extra values were not passed in correctly. Change-Id: Ifc345988df944ad691fe22cb71cb519e47a5a223
* Fix updating the shift state upon backspaceJean Chalard2014-04-141-5/+15
| | | | | Bug: 13514349 Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
* Fix some flaky tests.Jean Chalard2014-04-101-0/+5
| | | | | | | | | | In tests, we create many instances of LatinIME, but we never destroy them. That means we never close the dictionaries nor the handlers. This change calls onDestroy, which closes all dictionaries, and adds some code to finish the handlers. Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
* Fix a bug with double-space-to-periodJean Chalard2014-04-031-3/+2
| | | | | Bug: 13778001 Change-Id: I3ebd57950cdfacbbcdc64ed214c0590519a0665c
* Add test only methods to test personalized dicts.Keisuke Kuroyanagi2014-02-201-4/+5
| | | | | Bug: 11122480 Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c
* Stop using deprecated InputMethodSubtype constructorYohei Yukawa2014-02-171-11/+20
| | | | | | | | | | | | | The constructors of InputMethodSubtype were deprecated in API level 19. However we cannot yet switch to a new InputMethodSubtypeBuilder style due to our minimum support API level. As an intermediate solution, this patch replaces the these API calls with InputMethodSubtypeCompatUtils.newInputMethodSubtype so that these legacy API call can be consolidated at the same place. BUG: 13030512 Change-Id: I561a585f5dbea56c337680b645be5ef07015a0b1
* Make InputLogicTest more robustTadashi G. Takaoka2014-02-131-6/+12
| | | | Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
* Fix a failing test.Jean Chalard2014-02-121-1/+3
| | | | | | | | | A replay of that old, horribly hard-to-find bug: we post a resume message during onStartInputView, so we need to process it before we start the test. But now the message is posted with a delay, so we need to wait for the delay... Change-Id: I843d70e636fa51a68aadbdbbaa73b1711ad7bddd
* Fix a test.Jean Chalard2014-01-101-0/+3
| | | | | Bug: 12483313 Change-Id: Ia811d614b9260367871bc5717f587538adf46789
* Make reloadMainDict() private.Keisuke Kuroyanagi2014-01-081-11/+10
| | | | | Bug: 8187060 Change-Id: I852a751d748f39512e62c9cd69748dfbe87b2151
* [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-201-1/+9
| | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-6/+44
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Add Ime language switching test.Keisuke Kuroyanagi2013-10-081-1/+5
| | | | Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
* [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-1/+2
| | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* Revert Ida230ca42 and I6adf7d08f.Yuichiro Hanada2013-09-101-3/+0
| | | | Change-Id: I2ddb250d5a473ea955a5171656974de7288a13f7
* Make commitCurrentAutoCorrection asynchronous.Yuichiro Hanada2013-09-091-2/+5
| | | | Change-Id: Ida230ca4243347fb3ab9fda7de3a9a18f886cd1c
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-1/+1
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* [AC1] Add a memory of where to cut the first word.Jean Chalard2013-08-201-1/+2
| | | | | Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
* Support languages that don't use spaces.Jean Chalard2013-08-161-3/+12
| | | | | | | Thai is an example. Bug: 10138062 Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
* Add getters and copy constructor to Key classTadashi G. Takaoka2013-08-151-2/+2
| | | | Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
* Utilize Keyboard.getKey(codePoint)Tadashi G. Takaoka2013-08-131-9/+8
| | | | Change-Id: Ia4df4dfbf3b6d22f7b93b979bba36e4920af2239
* Fix an NPEJean Chalard2013-07-291-2/+2
| | | | | | | Also make mSuggest private for more security. Bug: 10045657 Change-Id: I712505e4d2a2606efff5d09ba9b4c656f9e7c7a9
* Merge "Move util classes to the latin/utils directory"Ken Wakasa2013-06-241-0/+1
|\
| * Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+1
| | | | | | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa