Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b73b4b3e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Create test module configs for app compat" into main

parents 3ea573cc 45d63434
Loading
Loading
Loading
Loading
+81 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
//

package {
    default_team: "trendy_team_app_compat",
    // 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"
@@ -23,6 +24,9 @@ package {
    default_applicable_licenses: ["frameworks_base_license"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin cleanup after gcl merge

filegroup {
    name: "WMShellFlickerTestsAppCompat-src",
    srcs: [
@@ -41,3 +45,80 @@ android_test {
    static_libs: ["WMShellFlickerTestsBase"],
    data: ["trace_config/*"],
}

////////////////////////////////////////////////////////////////////////////////
// End cleanup after gcl merge

android_test {
    name: "WMShellFlickerTestsAppCompat",
    defaults: ["WMShellFlickerTestsDefault"],
    manifest: "AndroidManifest.xml",
    package_name: "com.android.wm.shell.flicker",
    instrumentation_target_package: "com.android.wm.shell.flicker",
    test_config_template: "AndroidTestTemplate.xml",
    srcs: ["src/**/*.kt"],
    static_libs: ["WMShellFlickerTestsBase"],
    data: ["trace_config/*"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin breakdowns for WMShellFlickerTestsAppCompat module

test_module_config {
    name: "WMShellFlickerTestsAppCompat-CatchAll",
    base: "WMShellFlickerTestsAppCompat",
    exclude_filters: [
        "com.android.wm.shell.flicker.appcompat.OpenAppInSizeCompatModeTest",
        "com.android.wm.shell.flicker.appcompat.OpenTransparentActivityTest",
        "com.android.wm.shell.flicker.appcompat.QuickSwitchLauncherToLetterboxAppTest",
        "com.android.wm.shell.flicker.appcompat.RepositionFixedPortraitAppTest",
        "com.android.wm.shell.flicker.appcompat.RestartAppInSizeCompatModeTest",
        "com.android.wm.shell.flicker.appcompat.RotateImmersiveAppInFullscreenTest",
    ],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-OpenAppInSizeCompatModeTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.OpenAppInSizeCompatModeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-OpenTransparentActivityTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.OpenTransparentActivityTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-QuickSwitchLauncherToLetterboxAppTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.QuickSwitchLauncherToLetterboxAppTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-RepositionFixedPortraitAppTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.RepositionFixedPortraitAppTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-RestartAppInSizeCompatModeTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.RestartAppInSizeCompatModeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsAppCompat-RotateImmersiveAppInFullscreenTest",
    base: "WMShellFlickerTestsAppCompat",
    include_filters: ["com.android.wm.shell.flicker.appcompat.RotateImmersiveAppInFullscreenTest"],
    test_suites: ["device-tests"],
}

// End breakdowns for FlickerTestsRotation module
////////////////////////////////////////////////////////////////////////////////