aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add additional subtypes testTadashi G. Takaoka2014-03-031-0/+12
| | | | | | | | Change-Id: I2994fd72bc284c84757f5a2bfa8045aa574a8fbc
* | Fix unit test message to use 0-based indexTadashi G. Takaoka2014-03-031-1/+1
|/ | | | Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402e
* Merge "Added a method and run GC for testing."Keisuke Kuroyanagi2014-02-281-2/+2
|\
| * Added a method and run GC for testing.Keisuke Kuroyanagi2014-02-281-2/+2
| | | | | | | | | | Bug: 13231889 Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e
* | Add unit test message for KeyboardLayoutSetTestsTadashi G. Takaoka2014-02-281-2/+15
|/ | | | Change-Id: Ia92e4b410ca966d2dc1c5f29a340d366aa066838
* Name constants of the number of subtypes.Tadashi G. Takaoka2014-02-271-14/+11
| | | | | | | This is a follow up CL of Ief028e8ab5. Bug: 13017434 Change-Id: Idf0a47300c208b9904ffcc8b64d97a43b4d708ae
* Merge "Add keyboard layout set tests"Tadashi G. Takaoka2014-02-271-0/+135
|\
| * Add keyboard layout set testsTadashi G. Takaoka2014-02-261-0/+135
| | | | | | | | | | | | | | | | This CL is a ground work to add keyboard layout labels and more keys tests. Bug: 13017434 Change-Id: Ief028e8ab563d79bc0b0f9c06f1fe1d645a6469d
* | Add KeyboardTextsSetTestsTadashi G. Takaoka2014-02-251-0/+106
|/ | | | | | | | - Text "label_to_alpha_key" needed to implement Emoji keyboard exists. - Test the text from resources are loaded correctly. Bug: 13017434 Change-Id: Idfb9ac87c1556c535ebc10eaef78d8166799a657
* Correctly read the header of APK-embedded dictsJean Chalard2014-02-243-6/+11
| | | | | Bug: 13164518 Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
* Merge "Fix punctuation test for tablet"Tadashi G. Takaoka2014-02-211-13/+65
|\
| * Fix punctuation test for tabletTadashi G. Takaoka2014-02-211-13/+65
| | | | | | | | | | | | | | It seems that some test devices are tablet and some are phone. The unit test should aware of which device the test is running. Change-Id: I8651a540993de29aa1cd9f40919dffe7a8df9512
* | Merge "Add an auto-correction by user history test."Keisuke Kuroyanagi2014-02-211-0/+32
|\ \ | |/ |/|
| * Add an auto-correction by user history test.Keisuke Kuroyanagi2014-02-211-0/+32
| | | | | | | | | | Bug: 11122480 Change-Id: I830bb3399f9839a80c6d86fbf582299bce424871
* | Merge "Add test only methods to test personalized dicts."Keisuke Kuroyanagi2014-02-201-4/+5
|\|
| * Add test only methods to test personalized dicts.Keisuke Kuroyanagi2014-02-201-4/+5
| | | | | | | | | | Bug: 11122480 Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c
* | Fix: UserHistoryDictionaryTests.testDecaying().Keisuke Kuroyanagi2014-02-201-4/+14
|/ | | | | Bug: 13106697 Change-Id: If81f77c3cefdefae94cb9145aa9f700494f8237a
* Add user history dictionary decaying test.Keisuke Kuroyanagi2014-02-201-0/+62
| | | | | | Bug: 10667710 Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247
* Fix buildJean Chalard2014-02-181-1/+1
| | | | | | This is a forgotten rebase Change-Id: I7c7c381775488ed9239dc284bd9c31247a86a972
* Merge "Fix a bug where the cache would be out of sync"Jean Chalard2014-02-181-0/+37
|\
| * Fix a bug where the cache would be out of syncJean Chalard2014-02-181-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | During recorrection, the cursor position when calling commitText is not necessarily at the end of the composing text. Besides, RichInputConnection assumes the cursor is always after any composing text. This is not correct, but in the practice, it seems all code paths work. We should fix this in the future. Bug: 13060691 Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d
* | Cleanup.Jean Chalard2014-02-184-9/+9
|/ | | | | | | Less code, less chance of stuff escaping, and a bit of a clarification. Yay. Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c
* 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
* Remove unused code.Keisuke Kuroyanagi2014-02-151-1/+1
| | | | | Bug: 12810574 Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
* Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi2014-02-151-0/+63
| | | | | Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
* Merge "Remove unused argument from readDictionaryBinary."Keisuke Kuroyanagi2014-02-142-3/+3
|\
| * Remove unused argument from readDictionaryBinary.Keisuke Kuroyanagi2014-02-142-3/+3
| | | | | | | | | | Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-141-0/+36
|\|
| * Implement PatriciaTriePolicy::getWordProperty().Keisuke Kuroyanagi2014-02-141-0/+36
| | | | | | | | | | Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb
* | Fix SpacingAndPunctuationsTests due to I2219224840Tadashi G. Takaoka2014-02-141-12/+28
| | | | | | | | | | Bug: 12640318 Change-Id: If0b0696b937c580d69cb909ddaf414d01ea2c01b
* | Add PunctuationSuggestions classTadashi G. Takaoka2014-02-142-17/+24
| | | | | | | | | | | | | | This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
* | Merge "Make InputLogicTest more robust"Tadashi G. Takaoka2014-02-135-28/+14
|\ \
| * | Make InputLogicTest more robustTadashi G. Takaoka2014-02-135-28/+14
| | | | | | | | | | | | Change-Id: I134f14971126cbeed05b472c08747f2b88ad30e6
* | | Merge "Clean-up follow-up to I3ecc8496"Jean Chalard2014-02-131-5/+5
|\ \ \ | |/ / |/| |
| * | Clean-up follow-up to I3ecc8496Jean Chalard2014-02-131-5/+5
| | | | | | | | | | | | Change-Id: I8db952a4152dab027e4f34bc5270bfca508d154d
* | | Remove RTL aware !code and add corresponding !textTadashi G. Takaoka2014-02-133-7/+5
| | | | | | | | | | | | Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
* | | Merge "Fix UserHistoryDictionaryTests"Tadashi G. Takaoka2014-02-131-54/+47
|\ \ \ | |/ / |/| |
| * | Fix UserHistoryDictionaryTestsTadashi G. Takaoka2014-02-131-54/+47
| |/ | | | | | | Change-Id: I5f2f555f9c3f471545921ef80e4cf528976be837
* | Merge "Fix a test."Jean Chalard2014-02-131-2/+2
|\ \
| * | Fix a test.Jean Chalard2014-02-131-2/+2
| |/ | | | | | | | | | | | | | | | | | | This fixes two separate problems: - The word finds itself with two separate suggestion spans. This is fine for LatinIME, but it's hard to predict whether it's fine for other interested parties (other keyboards). - The test for the blue underline was incorrect. Change-Id: I3ecc849676851bf25a25238d694adaa956521a26
* / 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
* Merge "Make PtNode have ProbabilityInfo instead of raw value."Keisuke Kuroyanagi2014-02-102-7/+8
|\
| * Make PtNode have ProbabilityInfo instead of raw value.Keisuke Kuroyanagi2014-02-102-7/+8
| | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b
* | Fix possible NPE while finding device override value from resourceTadashi G. Takaoka2014-02-101-33/+0
| | | | | | | | | | Bug: 12949735 Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
* | Merge "Decimal number is treated as outputText"Tadashi G. Takaoka2014-02-071-0/+26
|\ \
| * | Decimal number is treated as outputTextTadashi G. Takaoka2014-02-061-0/+26
| | | | | | | | | | | | Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
* | | Merge "Use native logic to read Ver4 dict."Keisuke Kuroyanagi2014-02-062-212/+0
|\ \ \ | | |/ | |/|
| * | Use native logic to read Ver4 dict.Keisuke Kuroyanagi2014-02-062-212/+0
| | | | | | | | | | | | | | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379
* | | Use SubtypeLocaleUtils.isRtlLanguageTadashi G. Takaoka2014-02-062-4/+3
|/ / | | | | | | Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
* | Merge "Conditionally store the raw suggestions."Jean Chalard2014-02-061-1/+1
|\ \