aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use sorted int[] to represent word separatorsTadashi G. Takaoka2014-01-203-56/+77
| | | | Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846
* Add SpacingAndPunctuationsTestsTadashi G. Takaoka2014-01-201-0/+401
| | | | Change-Id: I78d488ad84a11af809ee1f8d3d2fa01a89fbfa28
* Merge "Fix a bug specific to German capitalization."Jean Chalard2014-01-171-0/+15
|\
| * Fix a bug specific to German capitalization.Jean Chalard2014-01-171-0/+15
| | | | | | | | | | Bug: 9663105 Change-Id: Ib68ee4edb135e96dfca229c1ccce308e7e638bdd
* | Add a dedicated method to control time in native code.Keisuke Kuroyanagi2014-01-152-66/+36
| | | | | | | | | | Bug: 12443085 Change-Id: I41a5cf6c895cb59e54af98b40efded36afcd3247
* | Move LanguageModelParams class to utility packageTadashi G. Takaoka2014-01-151-1/+1
| | | | | | | | | | | | This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29
* | Fix flaky unit test.Keisuke Kuroyanagi2014-01-141-0/+2
|/ | | | Change-Id: I8df0f9a0398b29f679844f256ad84f09ebcea8ee
* Fix a test.Jean Chalard2014-01-102-1/+4
| | | | | Bug: 12483313 Change-Id: Ia811d614b9260367871bc5717f587538adf46789
* Fix build.Jean Chalard2014-01-102-21/+47
| | | | Change-Id: I6d0b572190080e58e95f72856ad39e72a49537b7
* Passing SpacingAndPunctuations to StringUtils.looksValidForDictionaryInsertionTadashi G. Takaoka2014-01-091-11/+18
| | | | | | This change must be checked in together with Iec437d6df0. Change-Id: Idf745b8870965f3bdf690de7ff3b22f83f6204bf
* Passing SpacingAndPunctuations to RichInputConnection.getNthPreviousWordsTadashi G. Takaoka2014-01-091-18/+37
| | | | Change-Id: I174c50f509ed6998b755e1a712e7f6c0f82f4425
* Merge "Passing SpacingAndPunctuations to CapsModeUtils.getCapsMode"Tadashi G. Takaoka2014-01-091-43/+51
|\
| * Passing SpacingAndPunctuations to CapsModeUtils.getCapsModeTadashi G. Takaoka2014-01-091-43/+51
| | | | | | | | Change-Id: I0b06e8cc75a403f7061864c5b7f3f6a2cacd60eb
* | Fix a unit test in InputLogicTests.Keisuke Kuroyanagi2014-01-091-1/+1
|/ | | | Change-Id: I63a20bb2e4b3c39495fade6cae3a14fdd11ca48c
* Merge "Make reloadMainDict() private."Keisuke Kuroyanagi2014-01-081-11/+10
|\
| * Make reloadMainDict() private.Keisuke Kuroyanagi2014-01-081-11/+10
| | | | | | | | | | Bug: 8187060 Change-Id: I852a751d748f39512e62c9cd69748dfbe87b2151
* | Rename InputPointers.addPointer and ResizableIntArray.addTadashi G. Takaoka2014-01-082-4/+4
| | | | | | | | Change-Id: I5580250c91b29f93ed886b080ce33845b3b67ace
* | Fix ResizableIntArrayTests readabilityTadashi G. Takaoka2014-01-081-69/+89
| | | | | | | | Change-Id: I68862b98f228210f1d76fef4fd7454edbfd8e01d
* | Fix InputPointersTestsTadashi G. Takaoka2014-01-081-73/+136
|/ | | | | | | | | InputPointers.getTime(int) has a validity check of time values. And the check is enabled when LatinImeLogger.sDBG is on. Such situation may occur while unit testing. This change ensure that time values are monotonic while unit testing. Change-Id: I9ff2cff2bcd253de0e8206dd3be964fe565170fa
* [IL52] Remove a useless method.Jean Chalard2013-12-272-2/+7
| | | | | | | | | | | | | | | This old method doesn't even re-read the old suggestions. It used to recompute them without the coordinates. Re-using the recorrection code, which is much more advanced, is the right thing to do here. Also, refining the test. It's no use trying to resume suggestion if we don't have a suggestion strip, since we aren't going to auto-correct anything anyway. Not the motivation for this change, but this also fixes Bug: 11620256 Change-Id: Id49efa32e293c49837c61fdc752c86bbac1d2c88
* Fix a bug where predictions would not pop upon manual pickJean Chalard2013-12-261-0/+35
| | | | | Bug: 12295276 Change-Id: Id359c92acde44758b12929e7bac719d5c9c7577b
* Fix NPE in a unit test.Keisuke Kuroyanagi2013-12-261-0/+4
| | | | Change-Id: I0dfc23232ed77e1ff1aedecfa6ac022020cb1c19
* Fix typo in a unit test.Keisuke Kuroyanagi2013-12-251-1/+1
| | | | Change-Id: I9222533704722265511b9fe6fb5caf99765e198b
* [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-202-1/+83
| | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* Add some info to test crashes to help diagnose flakinessJean Chalard2013-12-183-4/+11
| | | | | Bug: 11142685 Change-Id: Ic3a5d452f6c325248ac4e1bfa37774c58586f359
* Remove ver4 dict updater.Keisuke Kuroyanagi2013-12-176-1384/+0
| | | | Change-Id: I468994c98d091be621b9fb3fbe6405c67fc6a465
* Quit checking bigram order in BinaryDictDecoderEncoderTests.Keisuke Kuroyanagi2013-12-171-5/+4
| | | | Change-Id: I1b8eb6ab2ea797d2590495b1f57f9ec9560ea817
* Merge "Move DictUpdater to the tests directory."Keisuke Kuroyanagi2013-12-174-1/+963
|\
| * Move DictUpdater to the tests directory.Keisuke Kuroyanagi2013-12-174-1/+963
| | | | | | | | | | Bug: 11245133 Change-Id: I0907a091ac3ae960eaf3b27da78dbb48a24b2ea1
* | Fix a bug with languages without spaces and predictionsJean Chalard2013-12-162-8/+22
|/ | | | | | This is simpler and more correct. Change-Id: I41806d2fc12b4ca25f76e32972b38f91f3d05c2b
* Fix failing testsJean Chalard2013-12-163-37/+19
| | | | | | | - Version 3 is not supported - Now passing the right string to open v4 dicts. Fix the tests for this. Change-Id: I7829330c3568a715b96396ba4e4e69c6e17775ab
* Merge "Remove references to the v3 dictionary."Jean Chalard2013-12-131-2/+0
|\
| * Remove references to the v3 dictionary.Jean Chalard2013-12-131-2/+0
| | | | | | | | Change-Id: I811c8c923ad67a6d9bfdd11bdef8991eb7135c27
* | Merge "Remove code for forgetting curve in Java side."Keisuke Kuroyanagi2013-12-131-58/+0
|\ \ | |/ |/|
| * Remove code for forgetting curve in Java side.Keisuke Kuroyanagi2013-12-131-58/+0
| | | | | | | | Change-Id: I294ed179c642ff52452b5884326c1083477e1bce
* | Have dicttool use the native library to generate v4 dicts.Jean Chalard2013-12-135-15/+14
| | | | | | | | | | | | Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
* | Remove flags from Java side.Jean Chalard2013-12-136-82/+39
|/ | | | | | | | | | | | This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-1316-535/+1210
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-2/+8
| | | | | Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
* Fix unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4Ken Wakasa2013-10-111-1/+1
| | | | Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab
* Add the new format of bigram entries.Yuichiro Hanada2013-10-111-0/+11
| | | | | | | | | In new format, each bigram entry has flags (1 byte), a terminal id (3 byte), a time-stamp (4 byte), a counter (1 byte) and a level (1 byte). Bug: 10920255 Bug: 10920165 Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
* Revert "Add Swiss French and German keyboard layouts."Ken Wakasa2013-10-101-30/+0
| | | | | | | | This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8. Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week. Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
* Add Swiss French and German keyboard layouts.Fredrik Roubert2013-10-091-0/+30
| | | | | | | | | | | | | | | There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY, available in LatinIME. They were, however, not actually Swiss layouts but instead work-arounds to be able to get French or German with qwertz or qwerty (instead of azerty and qwertz) layouts, respectively. These were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee replacing them with the generic fr-qwertz and de-qwerty layouts instead. Here, now, is a proper Swiss keyboard layout, following Swiss standards for people accustomed to typing on Swiss keyboards, with the expected tailorings for French and German. Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
* Merge "Make the sentence separator a resource."Jean Chalard2013-10-081-40/+42
|\
| * Make the sentence separator a resource.Jean Chalard2013-10-081-40/+42
| | | | | | | | | | | | | | This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
* | Merge "Add Ime language switching test."Keisuke Kuroyanagi2013-10-083-1/+102
|\ \ | |/ |/|
| * Add Ime language switching test.Keisuke Kuroyanagi2013-10-083-1/+102
| | | | | | | | Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
* | Merge "Add a large test adding bigrams for decaying dictionary."Keisuke Kuroyanagi2013-10-081-1/+73
|\ \
| * | Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi2013-10-081-1/+73
| | | | | | | | | | | | | | | Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
* | | Merge "Set the shortcut frequency correctly."Jean Chalard2013-10-072-9/+12
|\ \ \ | |/ / |/| |