blob: 5582ff4dc8dfb7788e11404585c7f9abae9e6912 [file] [log] [blame]
Bob Badoura73a6722021-02-25 15:05:14 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "packages_apps_Settings_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["packages_apps_Settings_license"],
8}
9
Colin Cross946a0fd2019-05-07 11:22:05 -070010android_test {
11 name: "SettingsUnitTests",
12
13 certificate: "platform",
14
15 libs: [
16 "android.test.runner",
17 "telephony-common",
18 "ims-common",
19 "android.test.base",
20 "android.test.mock",
21 ],
22
23 static_libs: [
paulhu2efe4822020-05-12 19:42:15 +080024 "androidx.test.core",
Colin Cross946a0fd2019-05-07 11:22:05 -070025 "androidx.test.rules",
26 "androidx.test.espresso.core",
27 "androidx.test.espresso.contrib-nodeps",
28 "androidx.test.espresso.intents-nodeps",
changbettyc3aa6d22020-07-24 15:20:14 +080029 "androidx.test.ext.junit",
Jeremy Goldmanae03dd32020-12-14 12:08:42 +080030 "androidx.preference_preference",
Colin Cross946a0fd2019-05-07 11:22:05 -070031 "mockito-target-minus-junit4",
32 "platform-test-annotations",
33 "truth-prebuilt",
34 "ub-uiautomator",
Arc Wangd496a732021-02-25 15:01:08 +080035 "SettingsLibSettingsSpinner",
36 "SettingsLibUsageProgressBarPreference",
Arc Wang2383c6c2021-03-24 16:39:05 +080037 "SettingsLibTwoTargetPreference",
Arc Wange22d1492021-03-25 14:06:37 +080038 "SettingsLibMainSwitchPreference",
Colin Cross946a0fd2019-05-07 11:22:05 -070039 ],
40
41 // Include all test java files.
42 srcs: ["src/**/*.java"],
43
44 platform_apis: true,
45 test_suites: ["device-tests"],
46
47 instrumentation_for: "Settings",
48}