Xiaohui Chen f86676ad6d Change framework services tests' runner
Change the test runner to android.support.test.runner.AndroidJUnitRunner
This newer runner support Mockito tests. See b/8138651
This should at least fix RankingHelperTest here.

Change-Id: I68e4f33939478e1ea59a3860d5ded1cd22a47989
2015-08-19 21:32:36 +00:00

27 lines
531 B
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# We only want this apk build for tests.
LOCAL_MODULE_TAGS := tests
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := \
services.core \
services.devicepolicy \
services.net \
easymocklib \
guava \
android-support-test \
mockito-target
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := FrameworksServicesTests
LOCAL_CERTIFICATE := platform
include $(BUILD_PACKAGE)