package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "FrameworksTimeCoreTests",
    srcs: ["src/**/*.java"],
    static_libs: [
        "androidx.test.rules",
        "device-time-shell-utils",
        "junit",
        "junit-params",
        "mockito-target-minus-junit4",
        "platform-test-annotations",
        "truth",
    ],
    libs: ["android.test.runner.stubs.system"],
    certificate: "platform",
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FrameworksTimeCoreTests_android_app",
    base: "FrameworksTimeCoreTests",
    test_suites: ["device-tests"],
    include_filters: ["android.app."],
}

test_module_config {
    name: "FrameworksTimeCoreTests_android_service",
    base: "FrameworksTimeCoreTests",
    test_suites: ["device-tests"],
    include_filters: ["android.service."],
}
