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

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

Merge "Create test module configs for pip" into main

parents 1c71057b f10cb7ed
Loading
Loading
Loading
Loading
+206 −5
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
//

package {
    default_team: "trendy_team_multitasking_windowing",
    // 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,14 @@ package {
    default_applicable_licenses: ["frameworks_base_license"],
}

filegroup {
    name: "WMShellFlickerTestsPipApps-src",
    srcs: ["src/**/apps/*.kt"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin cleanup after gcl merges

filegroup {
    name: "WMShellFlickerTestsPip1-src",
    srcs: [
@@ -52,11 +61,6 @@ filegroup {
    srcs: ["src/**/common/*.kt"],
}

filegroup {
    name: "WMShellFlickerTestsPipApps-src",
    srcs: ["src/**/apps/*.kt"],
}

android_test {
    name: "WMShellFlickerTestsPip1",
    defaults: ["WMShellFlickerTestsDefault"],
@@ -107,6 +111,21 @@ android_test {
    data: ["trace_config/*"],
}

////////////////////////////////////////////////////////////////////////////////
// End cleanup after gcl merges

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

android_test {
    name: "WMShellFlickerTestsPipApps",
    defaults: ["WMShellFlickerTestsDefault"],
@@ -146,3 +165,185 @@ csuite_test {
    test_plan_include: "csuitePlan.xml",
    test_config_template: "csuiteDefaultTemplate.xml",
}

////////////////////////////////////////////////////////////////////////////////
// Begin breakdowns for WMShellFlickerTestsPip module

test_module_config {
    name: "WMShellFlickerTestsPip-CatchAll",
    base: "WMShellFlickerTestsPip",
    exclude_filters: [
        "com.android.wm.shell.flicker.pip.AutoEnterPipOnGoToHomeTest",
        "com.android.wm.shell.flicker.pip.AutoEnterPipWithSourceRectHintTest",
        "com.android.wm.shell.flicker.pip.ClosePipBySwipingDownTest",
        "com.android.wm.shell.flicker.pip.ClosePipWithDismissButtonTest",
        "com.android.wm.shell.flicker.pip.EnterPipOnUserLeaveHintTest",
        "com.android.wm.shell.flicker.pip.EnterPipViaAppUiButtonTest",
        "com.android.wm.shell.flicker.pip.ExitPipToAppViaExpandButtonTest",
        "com.android.wm.shell.flicker.pip.ExitPipToAppViaIntentTest",
        "com.android.wm.shell.flicker.pip.ExpandPipOnDoubleClickTest",
        "com.android.wm.shell.flicker.pip.ExpandPipOnPinchOpenTest",
        "com.android.wm.shell.flicker.pip.FromSplitScreenAutoEnterPipOnGoToHomeTest",
        "com.android.wm.shell.flicker.pip.FromSplitScreenEnterPipOnUserLeaveHintTest",
        "com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange",
        "com.android.wm.shell.flicker.pip.MovePipOnImeVisibilityChangeTest",
        "com.android.wm.shell.flicker.pip.MovePipUpOnShelfHeightChangeTest",
        "com.android.wm.shell.flicker.pip.PipAspectRatioChangeTest",
        "com.android.wm.shell.flicker.pip.PipDragTest",
        "com.android.wm.shell.flicker.pip.PipDragThenSnapTest",
        "com.android.wm.shell.flicker.pip.PipPinchInTest",
        "com.android.wm.shell.flicker.pip.SetRequestedOrientationWhilePinned",
        "com.android.wm.shell.flicker.pip.ShowPipAndRotateDisplay",
    ],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-AutoEnterPipOnGoToHomeTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipOnGoToHomeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-AutoEnterPipWithSourceRectHintTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipWithSourceRectHintTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ClosePipBySwipingDownTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ClosePipBySwipingDownTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ClosePipWithDismissButtonTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ClosePipWithDismissButtonTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-EnterPipOnUserLeaveHintTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.EnterPipOnUserLeaveHintTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-EnterPipViaAppUiButtonTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.EnterPipViaAppUiButtonTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ExitPipToAppViaExpandButtonTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaExpandButtonTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ExitPipToAppViaIntentTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaIntentTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ExpandPipOnDoubleClickTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnDoubleClickTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ExpandPipOnPinchOpenTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnPinchOpenTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-FromSplitScreenAutoEnterPipOnGoToHomeTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenAutoEnterPipOnGoToHomeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-FromSplitScreenEnterPipOnUserLeaveHintTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenEnterPipOnUserLeaveHintTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-MovePipDownOnShelfHeightChange",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-MovePipOnImeVisibilityChangeTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.MovePipOnImeVisibilityChangeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-MovePipUpOnShelfHeightChangeTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.MovePipUpOnShelfHeightChangeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-PipAspectRatioChangeTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.PipAspectRatioChangeTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-PipDragTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.PipDragTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-PipDragThenSnapTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.PipDragThenSnapTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-PipPinchInTest",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.PipPinchInTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-SetRequestedOrientationWhilePinned",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.SetRequestedOrientationWhilePinned"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "WMShellFlickerTestsPip-ShowPipAndRotateDisplay",
    base: "WMShellFlickerTestsPip",
    include_filters: ["com.android.wm.shell.flicker.pip.ShowPipAndRotateDisplay"],
    test_suites: ["device-tests"],
}

// End breakdowns for WMShellFlickerTestsPip module
////////////////////////////////////////////////////////////////////////////////