aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add moreKeys helper method for unit testTadashi G. Takaoka2014-03-142-0/+12
| | | | | Bug: 13017434 Change-Id: Icfaa4093686e2d8dec00d5acce894bfc6a2474b7
* Merge "Change default decaying parameters."Keisuke Kuroyanagi2014-03-143-24/+9
|\
| * Change default decaying parameters.Keisuke Kuroyanagi2014-03-143-24/+9
| | | | | | | | | | Bug: 13458617 Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
* | Merge "Fix unit tests."Keisuke Kuroyanagi2014-03-141-12/+11
|\ \
| * | Fix unit tests.Keisuke Kuroyanagi2014-03-141-12/+11
| |/ | | | | | | Change-Id: I2a85763358e1eef0f76ef827413afffeb4cb8058
* | Add qwerty keyboard layout testsTadashi G. Takaoka2014-03-1425-3/+2245
| | | | | | | | | | | | | | | | | | | | | | This CL adds Afrikaans, Azerbaijani (AZ), Dutch, English (UK), French (CA), German (QWERTY), Icelandic, Indonesian, Italian, Latvian, Lithuanian, Malay (NY), Polish, Portuguese (BR/PT), Romanian, Slovak, Slovenian, Swahili, Turkish, Vietnamese, Zulu, and No Language keyboards tests. Bug: 13017434 Change-Id: I2343dc8e74172ac551ef86f82453ae796b6f19dc
* | Refactor keyboard layout test more customizableTadashi G. Takaoka2014-03-139-310/+573
|/ | | | | Bug: 13017434 Change-Id: I804b4cb9f56684d425e83a20cb3f71d947a87f98
* Unit test update for I7ed95a54344d8b.Keisuke Kuroyanagi2014-03-121-2/+8
| | | | Change-Id: Ic8af56b8741ee7c231d73ce6a660fd32c9f5a3b3
* Cleanup private method namesTadashi G. Takaoka2014-03-111-15/+12
| | | | | | This is a follow up of Ib0ded6f98a. Change-Id: I91ad3504d301113680194ad5b10913fc86006150
* Add keyboard layout name constantTadashi G. Takaoka2014-03-112-1/+3
| | | | Change-Id: I6cdc3efdb58e7a1efb3e352d80d0aa41e333a150
* Another small cleanup for test codeTadashi G. Takaoka2014-03-112-6/+18
| | | | Change-Id: Ib0ded6f98a6ce9197c8af79778af59d894ee54a6
* Small cleanup for test codeTadashi G. Takaoka2014-03-112-7/+4
| | | | Change-Id: I5106c8c52bdd11bfd23aa2e09f7ea53504083679
* Refactor currency and quotes keys testsTadashi G. Takaoka2014-03-119-172/+235
| | | | | Bug: 13017434 Change-Id: I38dff3c8b9b28eff4397c7cdbad623fb43cbc312
* Merge "Move DictionaryOptions from FusionDictionary to FormatSpec."Keisuke Kuroyanagi2014-03-072-2/+3
|\
| * Move DictionaryOptions from FusionDictionary to FormatSpec.Keisuke Kuroyanagi2014-03-062-2/+3
| | | | | | | | | | | | | | Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2
* | Merge "Filter Spacer before keyboard layout test"Tadashi G. Takaoka2014-03-071-4/+15
|\ \
| * | Filter Spacer before keyboard layout testTadashi G. Takaoka2014-03-071-4/+15
| | | | | | | | | | | | | | | Bug: 13017434 Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
* | | Merge "Separate WeightedString from FusionDictionary."Keisuke Kuroyanagi2014-03-072-2/+1
|\ \ \ | |/ / |/| / | |/
| * Separate WeightedString from FusionDictionary.Keisuke Kuroyanagi2014-03-062-2/+1
| | | | | | | | | | | | Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
* | Add en_US keyboard layout testTadashi G. Takaoka2014-03-072-0/+295
| | | | | | | | | | Bug: 13017434 Change-Id: I3fb343721221ecae210bffcb3e83ce4f2df0d0ff
* | Add QWERTY expected keyboard layoutsTadashi G. Takaoka2014-03-075-0/+564
| | | | | | | | | | Bug: 13017434 Change-Id: Ia8a65b692521f0050f003e20712a5873a0b236b4
* | Add ActualKeyboardBuilder for testing keyboard layoutsTadashi G. Takaoka2014-03-071-0/+189
| | | | | | | | | | Bug: 13017434 Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf
* | Add ExpectedKeyboardBuilder for testing keyboard layoutsTadashi G. Takaoka2014-03-062-0/+406
| | | | | | | | | | Bug: 13017434 Change-Id: I77ea2a60b1f3adf061689c68971d136ea5cf595e
* | Add ExpectedKey for testing keyboard layoutsTadashi G. Takaoka2014-03-063-0/+459
| | | | | | | | | | Bug: 13017434 Change-Id: I1c3b2c9cd1b86bdd782fc522b83380ec112f863b
* | Merge "Separate utility methods from BinaryDictionary."Keisuke Kuroyanagi2014-03-055-20/+23
|\|
| * Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-055-20/+23
| | | | | | | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* | Add action key label/icon testsTadashi G. Takaoka2014-03-041-0/+167
| | | | | | | | | | Bug: 13017434 Change-Id: Ib04b377f4f4f9081573ef341f15b4b444ce7260c
* | Separate flaky unit test from KeyboardLayoutSetTestsBaseTadashi G. Takaoka2014-03-042-27/+69
| | | | | | | | | | | | | | | | Move the flaky unit test to KeyboardLayoutSetSubtypesCountTests. Bug: 13291370 Bug: 13017434 Change-Id: I2144be4cc6b8215b895c45f47a5190fdeaa806f9
* | 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