1. Split existing tests into fully automatable (unit/) and not fully automatable (app/) 2. Revert previous changes to test runners on app/ 3. Fix some typos in readme This will enable us to add the fully automatable test target SettingsUnitTests to the continuous integration tests on the platform. Change-Id: I0f42c59fde84891e4bfc379150c2f0c61ce1329f
20 lines
453 B
Makefile
20 lines
453 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# We only want this apk build for tests.
|
|
LOCAL_MODULE_TAGS := tests
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android-support-test mockito-target
|
|
|
|
# Include all test java files.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := SettingsUnitTests
|
|
|
|
LOCAL_INSTRUMENTATION_FOR := Settings
|
|
|
|
include $(BUILD_PACKAGE)
|