OSDN Git Service

Merge "Remove eSIM reset checkbox and always perform the reset." into oc-dr1-dev
[android-x86/packages-apps-Settings.git] / tests / robotests / Android.mk
1 #############################################
2 # Settings Robolectric test target. #
3 #############################################
4 LOCAL_PATH:= $(call my-dir)
5 include $(CLEAR_VARS)
6
7 LOCAL_SRC_FILES := $(call all-java-files-under, src)
8
9 # Include the testing libraries (JUnit4 + Robolectric libs).
10 LOCAL_STATIC_JAVA_LIBRARIES := \
11     mockito-robolectric-prebuilt \
12     truth-prebuilt
13
14 LOCAL_JAVA_LIBRARIES := \
15     junit \
16     platform-robolectric-prebuilt \
17     sdk_vcurrent \
18     telephony-common
19
20 LOCAL_INSTRUMENTATION_FOR := Settings
21 LOCAL_MODULE := SettingsRoboTests
22
23 LOCAL_MODULE_TAGS := optional
24
25 include $(BUILD_STATIC_JAVA_LIBRARY)
26
27 #############################################################
28 # Settings runner target to run the previous target. #
29 #############################################################
30 include $(CLEAR_VARS)
31
32 LOCAL_MODULE := RunSettingsRoboTests
33
34 LOCAL_SDK_VERSION := current
35
36 LOCAL_STATIC_JAVA_LIBRARIES := \
37     SettingsRoboTests
38
39 LOCAL_TEST_PACKAGE := Settings
40
41 LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src
42
43 include prebuilts/misc/common/robolectric/run_robotests.mk