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

////////////////////////////////////////////////////////////////////////////////
// Begin breakdowns for FlickerTestsQuickswitch module

test_module_config {
    name: "FlickerTestsQuickswitch-CatchAll",
    base: "FlickerTestsQuickswitch",
    exclude_filters: [
        "com.android.server.wm.flicker.quickswitch.QuickSwitchBetweenTwoAppsBackTest",
        "com.android.server.wm.flicker.quickswitch.QuickSwitchBetweenTwoAppsForwardTest",
        "com.android.server.wm.flicker.quickswitch.QuickSwitchFromLauncherTest",
    ],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsQuickswitch-QuickSwitchBetweenTwoAppsBackTest",
    base: "FlickerTestsQuickswitch",
    include_filters: ["com.android.server.wm.flicker.quickswitch.QuickSwitchBetweenTwoAppsBackTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsQuickswitch-QuickSwitchBetweenTwoAppsForwardTest",
    base: "FlickerTestsQuickswitch",
    include_filters: ["com.android.server.wm.flicker.quickswitch.QuickSwitchBetweenTwoAppsForwardTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsQuickswitch-QuickSwitchFromLauncherTest",
    base: "FlickerTestsQuickswitch",
    include_filters: ["com.android.server.wm.flicker.quickswitch.QuickSwitchFromLauncherTest"],
    test_suites: ["device-tests"],
}

// End breakdowns for FlickerTestsQuickswitch module
////////////////////////////////////////////////////////////////////////////////
