aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup, part 10 : remove from the code obsolete options (C10)Jean Chalard2012-06-211-1/+1
| | | | Change-Id: Id0806ad3dc7ccb632713eebaca76f0bab26ece5d
* Remove a member (B5)Jean Chalard2012-06-191-1/+1
| | | | | | | The new call in the test ensures getCurrentInputEditorInfo actually works. Change-Id: I2ee407bd9927d22db537d12f339e2b977a38054a
* Merge RichInputConnection with EditingUtilsJean Chalard2012-06-081-30/+47
| | | | Change-Id: I9982ff325bef56694402caef28a77683c52ccd71
* am e0f8476f: am ab619812: Merge "Fix some of the input logic tests" into jb-devJean Chalard2012-05-223-25/+33
|\ | | | | | | | | * commit 'e0f8476f71be89e78530f739bee91dd78cdbbc44': Fix some of the input logic tests
| * Fix some of the input logic testsJean Chalard2012-05-223-25/+33
| | | | | | | | | | | | | | This behavior has been changed for bug#6105732 Bug: 6516976 Change-Id: Ief8225b26d831cd92a051ce25cc005270b6b1776
* | am 9a06a1e9: am 468ac358: Merge "Add utils for forgetting curve" into jb-devsatok2012-05-211-0/+56
|\| | | | | | | | | * commit '9a06a1e9eab191838a623aa074c65fd77a2ac7d9': Add utils for forgetting curve
| * Add utils for forgetting curvesatok2012-05-181-0/+56
| | | | | | | | | | Bug: 4192129 Change-Id: Iebb7ac355e1c1891da31c33754315bd76a61889b
* | include text context in researchLoggerKurt Partridge2012-05-142-65/+161
|/ | | | | | | | | | | | when logging LatinIME.onUpdateSelection(), now include the current word and preceding word. no escaping of the word is performed; this is temporary until the output format is cleaned up. also fix EditingUtils.getWordRangeAtCursor to support supplementary UTF-16 characters. Bug: 6188932 Change-Id: If4612a2627537d5d8bb2f9585a3ad1b4e56c2e26
* Fix newly created custom input style display nameTadashi G. Takaoka2012-05-071-10/+0
| | | | | | | | This will revert I4263632e Bug: 6443665 Bug: 6410653 Change-Id: Id9ad1a204ed9802488abfc2c536a95d62d55afe0
* Get subtype name string resource from its own localeTadashi G. Takaoka2012-05-071-33/+95
| | | | | Bug: 6443655 Change-Id: Ib9ee55178f0d0f885aa0640b9cba4a179cf0c566
* Fix "no language" subtype name (DO NOT MERGE)Tadashi G. Takaoka2012-04-261-117/+68
| | | | | | | | | | | * Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to LatinLeyboardView and add unit tests (SpacebarTextTests). * Add SubtypeLocale.getSubtypeDisplayName() This is a cherry-pick of I57420c6a from Master. Bug: 6393865 Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
* Binary bigram lookup checks both uppercase and lowercase when previous word ↵Tom Ouyang2012-04-221-0/+11
| | | | | | | is uppercase. Bug: 6363029 Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821
* Predefined keyboard layouts are configurable via XML resourceTadashi G. Takaoka2012-04-201-10/+10
| | | | | Bug: 4460018 Change-Id: Ia03ec826fb3853ea814d9764686903dbe31a6507
* 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 custom subtype settingsTadashi G. Takaoka2012-04-191-17/+22
| | | | | Bug: 4460018 Change-Id: I4919d79516dcf574be2761bbaf9adcdc381b2ddc
* Change predefined additional subtype format in preferenceTadashi G. Takaoka2012-04-192-4/+95
| | | | | | This change also refactor StringUtils class Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508
* Cleanup InputMethodManagerCompatWrapperTadashi G. Takaoka2012-04-181-6/+6
| | | | Change-Id: Id3b84ee19bb504ed8fbb398e260cc663a5b5ae0d
* Fix typo of some methods' nameTadashi G. Takaoka2012-04-181-14/+14
| | | | | | Also changes some methods' argument type from Locale to String. Change-Id: Ib68b528a450dc68a01546483403230f76500bee4
* 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
* change ResearchLoggerTests to check fileKurt Partridge2012-04-111-0/+18
| | | | | | | multi-project commit with I587003f2 Bug: 6188932 Change-Id: I3d3f0c9d011301489473dc330338ea4a7ba61e9e
* 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
* 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 "Remove obsolete tests"Tadashi G. Takaoka2012-03-015-663/+0
|\
| * Remove obsolete testsTadashi G. Takaoka2012-03-025-663/+0
| | | | | | | | Change-Id: Ibfbe6b39580ae13e4c32fb2ceab7a6c6f3a24ccb
* | Add basic tests for auto-correct indicator.Jean Chalard2012-03-021-0/+119
|/ | | | | Bug: 5975557 Change-Id: I39e782f89813b9d585e369e590d6288e696168a2
* 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
* Fix the auto-composer to support supplementary charsJean Chalard2012-02-081-2/+19
| | | | Change-Id: I61ff218ae2ca4eb443a370e581b677755258670a