Merge "Use junit-host instead of junit" am: 8293d4f266
am: e4ea7e8191
am: 17a53d5e94
Change-Id: I0592babdb41bcb9ee4110c3b6ba67787699d0959
main
commit
2cb8e19413
|
@ -77,7 +77,7 @@ LOCAL_SRC_FILES := $(LOCAL_TOOL_SRC_FILES) \
|
|||
$(call all-java-files-under, \
|
||||
tests $(DICTTOOL_COMPAT_TESTS_DIR) $(DICTTOOL_ONDEVICE_TESTS_DIR))
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := junit
|
||||
LOCAL_JAVA_LIBRARIES := junit-host
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := jsr305lib latinime-common-host
|
||||
LOCAL_REQUIRED_MODULES := $(LATINIME_HOST_NATIVE_LIBNAME)
|
||||
LOCAL_JAR_MANIFEST := etc/manifest.txt
|
||||
|
|
|
@ -24,5 +24,5 @@ fi
|
|||
find out -name "dicttool_aosp*" -exec rm -rf {} \; > /dev/null 2>&1
|
||||
mmm -j8 external/junit
|
||||
DICTTOOL_UNITTEST=true mmm -j8 packages/inputmethods/LatinIME/tools/dicttool
|
||||
java -classpath ${ANDROID_HOST_OUT}/framework/junit.jar:${ANDROID_HOST_OUT}/framework/dicttool_aosp.jar junit.textui.TestRunner com.android.inputmethod.latin.makedict.BinaryDictEncoderFlattenTreeTests
|
||||
java -classpath ${ANDROID_HOST_OUT}/framework/junit.jar:${ANDROID_HOST_OUT}/framework/dicttool_aosp.jar junit.textui.TestRunner com.android.inputmethod.latin.dicttool.BinaryDictOffdeviceUtilsTests
|
||||
java -classpath ${ANDROID_HOST_OUT}/framework/junit-host.jar:${ANDROID_HOST_OUT}/framework/dicttool_aosp.jar junit.textui.TestRunner com.android.inputmethod.latin.makedict.BinaryDictEncoderFlattenTreeTests
|
||||
java -classpath ${ANDROID_HOST_OUT}/framework/junit-host.jar:${ANDROID_HOST_OUT}/framework/dicttool_aosp.jar junit.textui.TestRunner com.android.inputmethod.latin.dicttool.BinaryDictOffdeviceUtilsTests
|
||||
|
|
Loading…
Reference in New Issue