aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/utils/CollectionUtilsTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-104/+0
|
* Migrate packages/inputmethods/LatinIME to androidx.testBrett Chabot2018-12-131-5/+5
| | | | | | | See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
* Migrate to Android Testing Support Lib (part 1/N)Yohei Yukawa2018-07-051-3/+15
| | | | | | | | | | | | | This CL converts tests under com.android.inputmethod.latin.utils 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.utils Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
* Personal dictionary feeds a personal LM.Dan Zivkovic2015-04-091-7/+5
| | | | | | Bug 20043003. Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
* Add shortcut support to UserDictionaryLookup.Dan Zivkovic2015-04-021-4/+11
| | | | | | | | | | Also move the class to the parent package, since it's no longer tied to the spell checking service. Bug 19966848. Bug 20036810. Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
* Move util classes under commonJean Chalard2014-11-071-0/+2
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Add documentation for CollectionUtils#arrayAsListDavid Faden2014-10-311-1/+32
| | | | | | | | | | | | | | | | | | | | | (This is a cherrypick of http://ag/576739) Also, modify the IllegalArgumentException to capture the values passed for start, end, and array.length to make debugging easier in the unlikely event that it is thrown. Add corresponding tests for the exceptions. Tested: tapas LatinImeGoogle LatinImeGoogleTests userdebug make -j30 && \ adb install -r \ out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \ adb install -r \ out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \ adb shell am instrument -w -e class \ com.android.inputmethod.latin.utils.CollectionUtilsTests \ com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a
* Add null analysis annotation to CollectionUtilsTadashi G. Takaoka2014-10-271-1/+0
| | | | Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-231-2/+2
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-1/+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
* Add calls to stub for API to consume gesture data.David Faden2014-10-031-0/+55
Bug: 17400259 Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664