1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5android_test {
6    name: "ManagedProvisioningTests",
7
8    libs: [
9        "android.test.runner",
10        "android.test.base",
11        "android.test.mock",
12    ],
13
14    srcs: ["src/**/*.java"],
15
16    platform_apis: true,
17    certificate: "platform",
18
19    static_libs: [
20        "androidx.test.rules",
21        "mockito-target-minus-junit4",
22        "androidx.test.espresso.core",
23        "androidx.test.espresso.contrib",
24        "androidx.test.espresso.intents",
25        "truth-prebuilt",
26        "testng", // used only for assertThrows
27        "ub-uiautomator", // used for unlocking the device
28        "TestApp",
29        "ctstestrunner-axt",
30        "Harrier",
31    ],
32
33    instrumentation_for: "ManagedProvisioning",
34    test_suites: ["device-tests"],
35
36}
37