The runner replaces deprecated InstrumentationTestRunner, provides equivalent functionality, and in addition support JUnit4, sharding and per test method timeout. Change-Id: I1c76996d347d3f0f378997f5e7b871279c2b032f
20 lines
449 B
Makefile
20 lines
449 B
Makefile
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
#LOCAL_SDK_VERSION := current
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_JAVA_LIBRARIES := android-support-v4 android.test.runner
|
|
LOCAL_STATIC_JAVA_LIBRARIES := mockito-target ub-uiautomator android-support-test
|
|
|
|
LOCAL_PACKAGE_NAME := DocumentsUITests
|
|
LOCAL_INSTRUMENTATION_FOR := DocumentsUI
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|