aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-04-28 18:12:58 -0700
committerAmith Yamasani <yamasani@google.com>2010-05-07 13:40:20 -0700
commite4e1130d003a75e3b5cbea1678755d2b71d7cb1d (patch)
tree7a55da5d4c9923c0392438237561026fe347f765 /tests/Android.mk
parentf53d0da540d4aca9c0b78938094e13a828ab1bd6 (diff)
downloadlatinime-e4e1130d003a75e3b5cbea1678755d2b71d7cb1d.tar.gz
latinime-e4e1130d003a75e3b5cbea1678755d2b71d7cb1d.tar.xz
latinime-e4e1130d003a75e3b5cbea1678755d2b71d7cb1d.zip
Tests and some new constructors to help in testing.
Added tests for the dictionary lookup and correction logic on the primary dictionary. This exercises part of the Suggest class and the native dictionary lookup code.
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
new file mode 100644
index 000000000..fba7a8d74
--- /dev/null
+++ b/tests/Android.mk
@@ -0,0 +1,17 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+# We only want this apk build for tests.
+LOCAL_MODULE_TAGS := tests
+LOCAL_CERTIFICATE := shared
+
+LOCAL_JAVA_LIBRARIES := android.test.runner
+
+# Include all test java files.
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_PACKAGE_NAME := LatinIMETests
+
+LOCAL_INSTRUMENTATION_FOR := LatinIME
+
+include $(BUILD_PACKAGE)