xref: /aosp_15_r20/frameworks/base/packages/Shell/tests/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package {
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 "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10android_test {
11    name: "ShellTests",
12    srcs: ["src/**/*.java"],
13    libs: [
14        "android.test.runner.stubs.system",
15        "android.test.base.stubs.system",
16        "android.test.mock.stubs.system",
17    ],
18    static_libs: [
19        "androidx.test.rules",
20        "mockito-target-minus-junit4",
21        "androidx.test.uiautomator_uiautomator",
22        "junit",
23    ],
24    platform_apis: true,
25    test_suites: ["device-tests"],
26    instrumentation_for: "Shell",
27    certificate: "platform",
28}
29
30test_module_config {
31    name: "ShellTests_android_server_os",
32    base: "ShellTests",
33    test_suites: ["device-tests"],
34    exclude_annotations: ["androidx.test.filters.LargeTest"],
35}
36