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

Commit 2d3b2fcc authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Virtually split WMShellSmokeTestsDesktopMode module

This CL splits the WMShellSmokeTestsDesktopMode module into two; one for
projected mode (supported on phone) and the other for extended mode
(supported on tablet and desktop), which allows granular configuration
in its TEST_MAPPING while keeping better compatibility with the infra.

Flag: EXEMPT TEST_ONLY
Bug: 444316017
Test: atest WMShellSmokeTestsDesktopMode-ProjectedMode
Test: atest WMShellSmokeTestsDesktopMode-ExtendedMode
Change-Id: I8339bb0857db5b8df5496dc9975c4e5b5a6710da
parent 471dfb36
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -44,3 +44,17 @@ android_test {
        "wm-shell-flicker-utils",
    ],
}

test_module_config {
    name: "WMShellSmokeTestsDesktopMode-ProjectedMode",
    base: "WMShellSmokeTestsDesktopMode",
    test_suites: ["device-tests"],
    include_annotations: ["com.android.wm.shell.ProjectedOnly"],
}

test_module_config {
    name: "WMShellSmokeTestsDesktopMode-ExtendedMode",
    base: "WMShellSmokeTestsDesktopMode",
    test_suites: ["device-tests"],
    include_annotations: ["com.android.wm.shell.ExtendedOnly"],
}
+7 −2
Original line number Diff line number Diff line
{
  "wm": [
    {
      "name": "WMShellSmokeTestsDesktopMode",
      "keywords": ["device", "desktop"]
      "name": "WMShellSmokeTestsDesktopMode-ProjectedMode",
      // TODO(b/439962697) - Remove "device" keyword once cf phone supports projected mode.
      "keywords": ["device"]
    },
    {
      "name": "WMShellSmokeTestsDesktopMode-ExtendedMode",
      "keywords": ["desktop"]
    }
  ]
}
 No newline at end of file