LatinIME/tests
David Faden d443146c34 Add documentation for CollectionUtils#arrayAsList
(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
2014-10-31 06:18:35 +00:00
..
data Fix SuggestTests 2012-01-13 15:25:28 +09:00
res Add label and icon to the test app 2014-10-14 10:17:35 -07:00
src/com/android/inputmethod Add documentation for CollectionUtils#arrayAsList 2014-10-31 06:18:35 +00:00
Android.mk Fix unit test failure due to IllegalAccessError 2014-10-24 15:24:30 +09:00
AndroidManifest.xml Add label and icon to the test app 2014-10-14 10:17:35 -07:00