Switching to AndroidJUnitRunner instrumentation

Bug: 16864527
Change-Id: I8a79a78f24cbc52935743311f5f0dceeb780358f
main
Adrian Velicu 2014-09-18 19:56:04 +09:00
parent 5dda75b538
commit 329dbe2239
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ LOCAL_AAPT_FLAGS += -0 .dict
# Do not compress test data file # Do not compress test data file
LOCAL_AAPT_FLAGS += -0 .txt LOCAL_AAPT_FLAGS += -0 .txt
LOCAL_STATIC_JAVA_LIBRARIES := mockito-target android-support-test
# Include all test java files. # Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_SRC_FILES := $(call all-java-files-under, src)

View File

@ -26,7 +26,7 @@
<!-- meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /--> <!-- meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /-->
</application> </application>
<instrumentation android:name="android.test.InstrumentationTestRunner" <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.inputmethod.latin" android:targetPackage="com.android.inputmethod.latin"
android:label="LatinIME tests"> android:label="LatinIME tests">
</instrumentation> </instrumentation>