aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/RichInputConnectionAndTextRangeTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-465/+0
|
* Migrate packages/inputmethods/LatinIME to androidx.testBrett Chabot2018-12-131-5/+6
| | | | | | | See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
* Migrate to Android Testing Support Lib (part 5/N)Yohei Yukawa2018-07-061-14/+26
| | | | | | | | | | | | | This CL converts 19 test classes under com.android.inputmethod.latin to Android Testing Support Library. Bug: 110805255 Test: verified as follows. No new test failures. tapas adb LatinIME LatinIMETests arm64 userdebug && \ DISABLE_PROGUARD=true make -j LatinIME && \ adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \ atest LatinIMETests:com.android.inputmethod.latin Change-Id: I878fcae0126f57c43a644af341e5a0a8ac8f5cc9
* Fix breakage in tests.Tom Ouyang2015-06-231-18/+18
| | | | Change-Id: I4f0472b9f2ea2daeeba3025c588e6d0042c31be7
* Fix the RichInputConnectionAndTextRangeTestsMohammadinamul Sheik2015-03-181-2/+6
| | | | | | | Change from sentence seperator to sentence terminator has broken this tests. Change-Id: I303a2e703c46191b481b7d32213f165bd00aaaa2
* Fix a misspelled method nameAdrian Velicu2014-12-021-1/+1
| | | | Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Move Constants.java to the latin.common packageKen Wakasa2014-10-231-0/+1
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-291-30/+30
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* Refactoring PrevWordsInfo.Keisuke Kuroyanagi2014-09-261-17/+15
| | | | | Bug: 14425059 Change-Id: I48a193b965e3055bd10a00046322c2b7b19a6232
* Fix a bug where recorrection would stop on connectorsJean Chalard2014-09-081-18/+22
| | | | | Bug: 16733686 Change-Id: I7a9f79a81e33a1f5bf5f3daf0b78d0f1e4447e7a
* Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.Keisuke Kuroyanagi2014-07-071-21/+22
| | | | | Bug: 14425059 Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
* [SD7] Actually check for script.Jean Chalard2014-07-011-9/+31
| | | | | | | ...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
* [SD5(2)] Remove useless argsJean Chalard2014-07-011-36/+10
| | | | | Bug: 15840116 Change-Id: I1123426fbd9d420c1be64ccc917a5f870e70e6fa
* Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."Ken Wakasa2014-06-271-21/+21
| | | | | | | This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build. Bug: 14425059 Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
* Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.Keisuke Kuroyanagi2014-06-271-21/+21
| | | | | Bug: 14425059 Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
* Find multiple previous word information to support n-gram.Keisuke Kuroyanagi2014-06-271-0/+11
| | | | | | Bug: 14425059 Change-Id: Ieace636334a9b2a094527341d4fcfc05958296c5
* Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-251-9/+9
| | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* Make prevWord = null if the next word starts from a connector.Keisuke Kuroyanagi2014-05-301-0/+4
| | | | | | | | | | This fixes PunctuationTests# testAutoCorrectionWithSingleQuotesAround. Bug: 14119293 Bug: 15334309 Change-Id: I604c21a21e89a5fc431fd56ab7b6ad03f4736b01
* Update RichInputConnectionAndTextRangeTests.Keisuke Kuroyanagi2014-05-231-9/+15
| | | | | Bug: 14119293 Change-Id: I952daaa8e938c67bd9e0e699d71a77a3b0bf8b0d
* Add beginning of sentence information in PrevWordsInfo.Keisuke Kuroyanagi2014-05-211-24/+28
| | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I65320920e840082b0b697bb621676716d0933e0c
* Rework the logic that tells if the cursor touches wordsJean Chalard2014-03-201-4/+89
| | | | | Bug: 13312942 Change-Id: I6be6a558bbc6c88508150f9c25cadbd0240ff88e
* Use sorted int[] to represent word separatorsTadashi G. Takaoka2014-01-201-15/+21
| | | | Change-Id: I4103541d99fe59bfcf12379a1298a0a690497846
* Passing SpacingAndPunctuations to RichInputConnection.getNthPreviousWordsTadashi G. Takaoka2014-01-091-18/+37
| | | | Change-Id: I174c50f509ed6998b755e1a712e7f6c0f82f4425
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-13/+15
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Move Range out of RichInputConnection and rename it.Jean Chalard2013-07-011-4/+4
| | | | | | Range has grown a bit too big to stay an internal class. Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
* Ignore spans that are not the right size.Jean Chalard2013-06-261-0/+312
Bug: 8839763 Bug: 8862327 Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377