aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add logPoint for manual correction (inc touch pos)Kurt Partridge2012-04-164-25/+30
| | | | | Bug: 6188932 Change-Id: Ibcc4901bcfab6632ee4c59cb58d35452218a288d
* Adjust a test for a new default settingJean Chalard2012-04-162-14/+36
| | | | | Bug: 6338940 Change-Id: I8f14ce0de768ddb0394eb2b584d8753e0df82a28
* Utilize InputMethodSubtype and additional subtypeTadashi G. Takaoka2012-04-131-57/+110
| | | | | | | * Remove de_QY and fr_CH from supported subtypes * Add de-qwerty and fr-qwertz predefined additional subtypes instead. Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
* Add a test for umlautsJean Chalard2012-04-131-1/+19
| | | | Change-Id: I2c15e9dc7a1cf846c92a1900d68f661aa70e77b9
* Refatcor InputMethodSubtype related stuff a bitTadashi G. Takaoka2012-04-131-5/+3
| | | | Change-Id: Iaded72331660afbaeddda085f2b633b681d4b6df
* Remove format method from tests.Brett Chabot2012-04-111-4/+0
| | | | | | | | Will be added to superclass. Bug 5826326 Change-Id: I61478661b822823112f774745a6642a6185366d3
* Merge "change ResearchLoggerTests to check file"Kurt Partridge2012-04-111-0/+18
|\
| * change ResearchLoggerTests to check fileKurt Partridge2012-04-111-0/+18
| | | | | | | | | | | | | | multi-project commit with I587003f2 Bug: 6188932 Change-Id: I3d3f0c9d011301489473dc330338ea4a7ba61e9e
* | Generate KeyboardLabelsSet from donottranslate-more-keys.xmlTadashi G. Takaoka2012-04-113-107/+121
| | | | | | | | | | | | | | | | This change introduces makelabel tool that reads all languages' donottranslate-more-keys and generate KeyboardLabelsSet.java source file. The makelabel command must be invoked prior to compile LatinIME. Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
* | Fix KeyboardCodesSet code mappingTadashi G. Takaoka2012-04-101-2/+4
| | | | | | | | | | | | This is a follow up for Icfd6d06f. Change-Id: I9a11c6f1c8d9654e3fb004940791055c2bcf9f17
* | Use !icon/<icon_name> notation for more keys specTadashi G. Takaoka2012-04-101-2/+2
| | | | | | | | Change-Id: I616e6c1ac603d2eb7a5c99ec70d5411371d15f3e
* | Introduce KeyboardCodesSet.java and remove keycodes.xmlTadashi G. Takaoka2012-04-101-23/+13
|/ | | | Change-Id: Icfd6d06f47425aa037682d22c895548ba6f047d8
* Use keyboardSet extra value of subtype to specify layout typeTadashi G. Takaoka2012-04-051-18/+8
| | | | Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
* Merge "Use "No language (QWERTY)" for language agnostic QWERTY keyboard name"Tadashi G. Takaoka2012-04-031-26/+94
|\
| * Use "No language (QWERTY)" for language agnostic QWERTY keyboard nameTadashi G. Takaoka2012-04-041-26/+94
| | | | | | | | | | Bug: 6010147 Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18
* | Merge "Use InputMethodInfo.getSubtypeAt() to list all subtype in test"Tadashi G. Takaoka2012-04-032-7/+8
|\ \
| * | Use InputMethodInfo.getSubtypeAt() to list all subtype in testTadashi G. Takaoka2012-04-042-7/+8
| |/ | | | | | | Change-Id: Ie42effc1c67870d70d0b6a5daed44b811063942b
* / Fix restoring debug mode in InputTestBaseTadashi G. Takaoka2012-04-041-1/+1
|/ | | | Change-Id: I71f01b86c0e8b1e56d39d85795dc0a844cc6285f
* Remove InputMethodSubtypeCompatWrapperTadashi G. Takaoka2012-04-032-56/+30
| | | | | Bug: 6129704 Change-Id: I8f84f0f61a2205ac1fcd1cd40e3a586ee535282d
* Fix the build. Corresponding to I0f1a0deeKen Wakasa2012-03-301-103/+0
| | | | Change-Id: Ibe31549a200f4c307fa4c1d4ef9ddac0a5952218
* Add language agnostic QWERTY subtypeTadashi G. Takaoka2012-03-301-0/+4
| | | | | Bug: 6010147 Change-Id: I705e38ac889172ae8b7c2a68e5c688f2ffc28320
* Fix coordinates of InputTestsBase.typeTadashi G. Takaoka2012-03-282-8/+3
| | | | | Bug: 6225317 Change-Id: I5c9adb3e65e5742680309b4f2d1a9f2b83ce546f
* Optimization: Start making use of ProductionFlag.IS_EXPERIMENTAL for ↵Ken Wakasa2012-03-271-156/+0
| | | | | | | | | | ResearchLogger Move GodMode specific tests to relevant directories as well. This goes along with I9dc4d469 Change-Id: I4a21c53846b26eede346cb1da13e6abbdf9ec27f
* add tests for ResearchLoggerKurt Partridge2012-03-261-0/+156
| | | | | Bug: 6188932 Change-Id: Icf407f9d145d2b25b70d5d7bc30ee3d64561620c
* Separate input logic tests in several categories.Jean Chalard2012-03-234-246/+312
| | | | | | The intent is to make things easier to read. Change-Id: Ida95ac8bd4119a2497d3e2a4d92485a96316962d
* Split input logic tests to make creating new tests easierJean Chalard2012-03-232-217/+236
| | | | | | | This will allow easier reuse of the complicated set up code and the various helper methods. Change-Id: I864eb0da476cbf0fe087ddb1713af80d3c3eb850
* Don't rely on spell checker proximity in testsJean Chalard2012-03-221-0/+11
| | | | | | | | | | This fixes the input logic tests that were broken and suppresses their dependency upon the spell checker proximity. Instead, it gets the Keyboard instance from Latin IME and uses the actual coordinates, which results in a test run closer to what actually happens during typing. Change-Id: I3a81d249ee7fb3ac6ae6940aa2e8b2421e829e5c
* Fix a bug where quotes and dashes are considered lettersJean Chalard2012-03-151-0/+16
| | | | | Bug: 6174065 Change-Id: I702760d44ead0eeb60d06360aa3bb03c2ec73325
* Give InputLogicTests the ability to change languageJean Chalard2012-03-082-14/+115
| | | | | | | | Also fix a typo, and increase the time allowed to load the main dictionary to 2 secs instead of 1. Bug: 6114326 Change-Id: I5f70b34fc4277c55977b18466253152aa98a2507
* Fix a bug with successive manual picksJean Chalard2012-03-071-1/+26
| | | | | Bug: 6121571 Change-Id: Ib16fbef1087da3b7da5539901ec57156f242f089
* Merge "Integrate the logic to calculate the proximities"satok2012-03-051-27/+3
|\
| * Integrate the logic to calculate the proximitiessatok2012-03-061-27/+3
| | | | | | | | | | | | Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
* | Fix a testJean Chalard2012-03-061-0/+4
|/ | | | | | | | | | | | | | | To some extent, the test was wrong here. After space is typed in this case, we wait a small delay before updating the suggestion strip so that we can display bigram predictions without introducing delays. The suggestion strip is not displayed until then. The test was bypassing this by simulating a press on the suggestion strip, but for LatinIME it was not displayed yet, hence the bug. The new code waits for the delay, makes sure the suggestion strip is actually displaying punctuation marks, then press the mark and do the intended test on space. Change-Id: I18f82da1bc0a8e584e9b1bac59ff48823d78ec12
* Merge "Support dividers in MoreKeysKeyboard"Tadashi G. Takaoka2012-03-022-2/+2
|\
| * Support dividers in MoreKeysKeyboardTadashi G. Takaoka2012-03-022-2/+2
| | | | | | | | | | Bug: 6080806 Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2
* | Merge "Remove obsolete tests"Tadashi G. Takaoka2012-03-016-663/+0
|\ \
| * | Remove obsolete testsTadashi G. Takaoka2012-03-026-663/+0
| |/ | | | | | | Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb
* / Add basic tests for auto-correct indicator.Jean Chalard2012-03-021-0/+119
|/ | | | | Bug: 5975557 Change-Id: I39e782f89813b9d585e369e590d6288e696168a2
* Refactor more keys spec handlingTadashi G. Takaoka2012-03-012-5/+9
| | | | Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90
* Merge "Reset previous symbols shifted state when auto switch backed"Tadashi G. Takaoka2012-02-291-0/+2
|\
| * Reset previous symbols shifted state when auto switch backedTadashi G. Takaoka2012-03-011-0/+2
| | | | | | | | | | Bug: 6072517 Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178
* | Add a method to run the handler's messages from the testsJean Chalard2012-02-291-0/+47
|/ | | | | | | | | | | This is really brutal, but after trying many many things I didn't find a better way. It works with the current implementation of MessageQueue. Since this only introduces a utility method it doesn't really do anything, but the functionality it provides will be essential to Bug: 5975557 Change-Id: I81c4113a08f9a8d8a88294d7dd3b6c8c483c8b1d
* Add some unit tests.Jean Chalard2012-02-221-0/+51
| | | | | | | | | | | | | | | - Type "tgis", manually pick "thus", press backspace. Backspace should revert the manual pick. Check "tgis" is the result. - Type "tgis" followed by a period. Period should trigger auto-correct to "this". Check "this" is the result. - Type "tgis" followed by a period, then backspace. Period should trigger auto-correct to "this", and backspace should revert the auto-correction. Check "tgis." is the result. Change-Id: I7e23c8a26fbdbe23336149a05ff01bc51707422e
* Merge "Support fixed order more keys"Tadashi G. Takaoka2012-02-173-406/+3810
|\
| * Support fixed order more keysTadashi G. Takaoka2012-02-173-406/+3810
| | | | | | | | Change-Id: I979f54e8b54243da4d23cfbe08198d2aa495f870
* | Remove unnecessary and harmful KeyboardState.onUpdateShiftState callTadashi G. Takaoka2012-02-163-0/+86
|/ | | | | | | | | This change also cancels double tap and long press timers if other letter key is pressed after shift key. Bug: 5693999 Bug: 6017610 Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9
* Refactor MoreKeysKeyboard.BuilderTadashi G. Takaoka2012-02-101-1136/+1336
| | | | Change-Id: Ib5f58b1143be60c748b81299ccc3b237d2587846
* Merge "Rename mini keyboard to more keys keyboard"Tadashi G. Takaoka2012-02-081-83/+83
|\
| * Rename mini keyboard to more keys keyboardTadashi G. Takaoka2012-02-081-83/+83
| | | | | | | | Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5
* | Fix the auto-composer to support supplementary charsJean Chalard2012-02-081-2/+19
|/ | | | Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a