aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/InputTestsBase.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Fix tests for Ia78d3540Jean Chalard2013-06-241-0/+1
|/ | | | | Bug: 9550023 Change-Id: I13f4411573ff7b2564e88fc9b9a8d801dde23019
* Don't process recorrection or resets when not shownJean Chalard2013-05-151-2/+2
| | | | | Bug: 8954116 Change-Id: Ica27dbfc570643bb81e6cdf34cc7c796ea080d71
* Fix buildSatoshi Kataoka2013-05-011-0/+6
| | | | Change-Id: Ib9373b26b04b0f4789b3cd6a7af64e4bcd2c4b9c
* Fix Google spell checker testsSatoshi Kataoka2013-05-011-16/+24
| | | | | | Bug: 8613307 Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
* Remove voodoo magic.Jean Chalard2013-04-121-32/+9
| | | | | | | There was a much, much simpler way of achieving the same thing. Bug: 8583091 Change-Id: I8882f389312caad3b17335672892a31d30cd00bc
* Offer to add any OOV typed word to the dictionary.Jean Chalard2013-04-091-1/+3
| | | | | | | That includes gestures, which used not to work. Bug: 8532637 Change-Id: I04606565d7000faadf954c4a806c39d4d162a2c1
* Change which backdoor the tests goes throughJean Chalard2013-04-021-8/+12
| | | | | | | | Yes that's even harder to understand. The old technique doesn't work any more, so I have to drill a new hole in this class. Bug: 8303100 Change-Id: I70a41b5094dab2bb56a17eaf55b2a2df853e4bb6
* Fix a test.Jean Chalard2013-04-021-3/+3
| | | | | | | | | | | | | | The test was not passing the correct input type when it was creating the text view, resulting in mismatched types seen from TextView and LatinIME with some bad results. The test would even go as far as restoring it after it's been fixed by TextView. Additionally, since we want to enter litteral carriage returns, the input type should be MULTI_LINE. If not, TextView does not allow carriage returns. Bug: 8302690 Change-Id: I1c20bcf6ca554ad981048ec181e19c649f6c742e
* Separate caps mode related utils to CapsModeUtilsTadashi G. Takaoka2013-02-121-8/+8
| | | | Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
* Add unit tests tagsTadashi G. Takaoka2013-02-041-4/+0
| | | | | Bug: 8131968 Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf
* Add a way to know externally if we're installing a new dictJean Chalard2013-01-311-2/+2
| | | | | | | | That helps tests know when to wait and when to declare the dictionary actually not usable. Bug: 7925814 Change-Id: Ic963c1206c43e3cde39ac4214a0d601f4fc6c03b
* Fix international testsJean Chalard2013-01-101-28/+1
| | | | | | | | | | | Tests have been broken again by recent changes to subtype choice within Latin IME. This fixes the problem and all tests pass again. This change also includes a small fix to one test that was checking for something irrelevant. Change-Id: I6a03dea24f99b0d2ad84c4161a8413f3060bb811
* Get rid of current subtype and system locale cache from SubtypeSwitcherTadashi G. Takaoka2012-12-271-1/+1
| | | | | Bug: 7675452 Change-Id: I2121f56964b6d25e8d40f5b8ec67eeae527b2117
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-1/+1
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Stop using private APIs in tests.Jean Chalard2012-10-101-1/+1
| | | | | | | Not sure it's much better, but at least this is public. Bug: 6202480 Change-Id: If6cda78fbd32cfb068e0b2fcb637914939b044b3
* Fix failing tests.Jean Chalard2012-10-101-2/+3
| | | | | | | | | | | Most of the failures can be ascribed to the tests not passing the correct old position of the cursor on a second call to onUpdateSelection() to LatinIME. Bug: 7276565 Bug: 7276805 Bug: 7276195 Change-Id: I3f1b52cdcc783ea18838408bed50699b7254eaf4
* Add a preliminary test for basic Russian spell checkJean Chalard2012-09-041-0/+10
| | | | | Bug: 6981919 Change-Id: I5ec6a6468cb616e7a4369c79b4dbfc84f3d8de59
* Add a first test for the spell checkerJean Chalard2012-09-041-2/+15
| | | | | Bug: 6981919 Change-Id: Idd34150cec70e71bde652428f1631693bbc4a9ff
* Fix SubtypeSwitcher initialization pathTadashi G. Takaoka2012-08-221-1/+2
| | | | | | | | This change also removes the reference of LatinIME from SubtypeSwitcher. Bug: 7026856 Change-Id: I78a266f3682b11f09b49bbcdcdb6aee713e6af37
* Rename and consolidate some constantsTadashi G. Takaoka2012-08-211-4/+1
| | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Remove touch coordinate from pickSuggestionManuallyTadashi G. Takaoka2012-08-211-3/+1
| | | | Change-Id: I33b1b4bc6fdfd263c4b2bb7125c07b4bddcf3c9f
* Remove a member (B5)Jean Chalard2012-06-191-1/+1
| | | | | | | The new call in the test ensures getCurrentInputEditorInfo actually works. Change-Id: I2ee407bd9927d22db537d12f339e2b977a38054a
* Fix some of the input logic testsJean Chalard2012-05-221-8/+11
| | | | | | | This behavior has been changed for bug#6105732 Bug: 6516976 Change-Id: Ief8225b26d831cd92a051ce25cc005270b6b1776
* researchLogger detail on IME sessionsKurt Partridge2012-04-191-24/+2
| | | | | | | | | | | log device type, screen size, etc. also simplification inside ResearchLogger to use exceptions better, and fix ResearchLoggerTests to not change preferences to specify the logfile. multi-project change with Idfd193b16260215cca32886e288f03a0c12b2781 Bug: 6188932 Change-Id: Idd3ca6eb8e8e3934f68234b241c7fd7d0cc3bcd5
* add logPoint for manual correction (inc touch pos)Kurt Partridge2012-04-161-0/+5
| | | | | Bug: 6188932 Change-Id: Ibcc4901bcfab6632ee4c59cb58d35452218a288d
* Adjust a test for a new default settingJean Chalard2012-04-161-5/+12
| | | | | Bug: 6338940 Change-Id: I8f14ce0de768ddb0394eb2b584d8753e0df82a28
* change ResearchLoggerTests to check fileKurt Partridge2012-04-111-0/+18
| | | | | | | multi-project commit with I587003f2 Bug: 6188932 Change-Id: I3d3f0c9d011301489473dc330338ea4a7ba61e9e
* Merge "Use InputMethodInfo.getSubtypeAt() to list all subtype in test"Tadashi G. Takaoka2012-04-031-5/+8
|\
| * Use InputMethodInfo.getSubtypeAt() to list all subtype in testTadashi G. Takaoka2012-04-041-5/+8
| | | | | | | | Change-Id: Ie42effc1c67870d70d0b6a5daed44b811063942b
* | Fix restoring debug mode in InputTestBaseTadashi G. Takaoka2012-04-041-1/+1
|/ | | | Change-Id: I71f01b86c0e8b1e56d39d85795dc0a844cc6285f