//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

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: "FlickerTestsNotification",
    defaults: ["FlickerTestsDefault"],
    manifest: "AndroidManifest.xml",
    test_config_template: "AndroidTestTemplate.xml",
    srcs: ["src/**/*"],
    static_libs: ["FlickerTestsBase"],
    data: ["trace_config/*"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin breakdowns for FlickerTestsNotification module

test_module_config {
    name: "FlickerTestsNotification-CatchAll",
    base: "FlickerTestsNotification",
    exclude_filters: [
        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationColdTest",
        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWarmTest",
        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWithOverlayAppTest",
        "com.android.server.wm.flicker.notification.OpenAppFromNotificationColdTest",
        "com.android.server.wm.flicker.notification.OpenAppFromNotificationWarmTest",
    ],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationColdTest",
    base: "FlickerTestsNotification",
    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationColdTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationWarmTest",
    base: "FlickerTestsNotification",
    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWarmTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationWithOverlayAppTest",
    base: "FlickerTestsNotification",
    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWithOverlayAppTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsNotification-OpenAppFromNotificationColdTest",
    base: "FlickerTestsNotification",
    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromNotificationColdTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsNotification-OpenAppFromNotificationWarmTest",
    base: "FlickerTestsNotification",
    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromNotificationWarmTest"],
    test_suites: ["device-tests"],
}

// End breakdowns for FlickerTestsNotification module
////////////////////////////////////////////////////////////////////////////////
