Loading libs/WindowManager/Shell/tests/e2e/desktopmode/smoke/src/com/android/wm/shell/ConnectedDisplayCujSmokeTests.kt +1 −25 Original line number Original line Diff line number Diff line Loading @@ -64,7 +64,6 @@ import org.junit.After import org.junit.Assert.assertTrue import org.junit.Assert.assertTrue import org.junit.Assume import org.junit.Assume import org.junit.Before import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Rule import org.junit.Test import org.junit.Test import org.junit.runner.RunWith import org.junit.runner.RunWith Loading Loading @@ -315,7 +314,7 @@ class ConnectedDisplayCujSmokeTests { verifyWindowCount(browserApp, expectedCount = 1) verifyWindowCount(browserApp, expectedCount = 1) } } fun cuj6(skipAppHandleTest: Boolean = false) { fun cuj6() { val externalDisplayId = connectedDisplayRule.setupTestDisplay() val externalDisplayId = connectedDisplayRule.setupTestDisplay() assertTaskbarVisible(externalDisplayId) assertTaskbarVisible(externalDisplayId) context.startActivity( context.startActivity( Loading @@ -334,10 +333,6 @@ class ConnectedDisplayCujSmokeTests { visible = true visible = true ) ) if (skipAppHandleTest) { return } // Enter desktop via app handle. // Enter desktop via app handle. openAppHandleMenuForFullscreenApp(externalDisplayId) openAppHandleMenuForFullscreenApp(externalDisplayId) waitForSysUiObjectForTheApp(clockApp, DESKTOP_BUTTON_RES_ID).click() waitForSysUiObjectForTheApp(clockApp, DESKTOP_BUTTON_RES_ID).click() Loading @@ -348,7 +343,6 @@ class ConnectedDisplayCujSmokeTests { // Extended: All window modes are supported on the connected display, including split screen // Extended: All window modes are supported on the connected display, including split screen @Test @Test @Ignore("b/428563383") @ExtendedOnly @ExtendedOnly fun cuj6e() { fun cuj6e() { cuj6() cuj6() Loading @@ -356,30 +350,12 @@ class ConnectedDisplayCujSmokeTests { // Projected: All window modes are supported on the connected display, including split screen // Projected: All window modes are supported on the connected display, including split screen @Test @Test @Ignore("b/428563383") @ProjectedOnly @ProjectedOnly @RequiresDevice @RequiresDevice fun cuj6p() { fun cuj6p() { cuj6() cuj6() } } // TODO(b/428563383) - Remove [cuj6e_skipAppHandle]. // Extended: The same as CUJ6e but excluding app handle test. @Test @ExtendedOnly fun cuj6e_skipAppHandle() { cuj6(skipAppHandleTest = true) } // TODO(b/428563383) - Remove [cuj6p_skipAppHandle]. // Extended: The same as CUJ6p but excluding app handle test. @Test @ProjectedOnly @RequiresDevice fun cuj6p_skipAppHandle() { cuj6(skipAppHandleTest = true) } // Extended: Opening an app from a full screen view will switch back to the desktop session, // Extended: Opening an app from a full screen view will switch back to the desktop session, // going to overview in this state will show the desktop view, with any full screen apps as // going to overview in this state will show the desktop view, with any full screen apps as // tiles to the left // tiles to the left Loading Loading
libs/WindowManager/Shell/tests/e2e/desktopmode/smoke/src/com/android/wm/shell/ConnectedDisplayCujSmokeTests.kt +1 −25 Original line number Original line Diff line number Diff line Loading @@ -64,7 +64,6 @@ import org.junit.After import org.junit.Assert.assertTrue import org.junit.Assert.assertTrue import org.junit.Assume import org.junit.Assume import org.junit.Before import org.junit.Before import org.junit.Ignore import org.junit.Rule import org.junit.Rule import org.junit.Test import org.junit.Test import org.junit.runner.RunWith import org.junit.runner.RunWith Loading Loading @@ -315,7 +314,7 @@ class ConnectedDisplayCujSmokeTests { verifyWindowCount(browserApp, expectedCount = 1) verifyWindowCount(browserApp, expectedCount = 1) } } fun cuj6(skipAppHandleTest: Boolean = false) { fun cuj6() { val externalDisplayId = connectedDisplayRule.setupTestDisplay() val externalDisplayId = connectedDisplayRule.setupTestDisplay() assertTaskbarVisible(externalDisplayId) assertTaskbarVisible(externalDisplayId) context.startActivity( context.startActivity( Loading @@ -334,10 +333,6 @@ class ConnectedDisplayCujSmokeTests { visible = true visible = true ) ) if (skipAppHandleTest) { return } // Enter desktop via app handle. // Enter desktop via app handle. openAppHandleMenuForFullscreenApp(externalDisplayId) openAppHandleMenuForFullscreenApp(externalDisplayId) waitForSysUiObjectForTheApp(clockApp, DESKTOP_BUTTON_RES_ID).click() waitForSysUiObjectForTheApp(clockApp, DESKTOP_BUTTON_RES_ID).click() Loading @@ -348,7 +343,6 @@ class ConnectedDisplayCujSmokeTests { // Extended: All window modes are supported on the connected display, including split screen // Extended: All window modes are supported on the connected display, including split screen @Test @Test @Ignore("b/428563383") @ExtendedOnly @ExtendedOnly fun cuj6e() { fun cuj6e() { cuj6() cuj6() Loading @@ -356,30 +350,12 @@ class ConnectedDisplayCujSmokeTests { // Projected: All window modes are supported on the connected display, including split screen // Projected: All window modes are supported on the connected display, including split screen @Test @Test @Ignore("b/428563383") @ProjectedOnly @ProjectedOnly @RequiresDevice @RequiresDevice fun cuj6p() { fun cuj6p() { cuj6() cuj6() } } // TODO(b/428563383) - Remove [cuj6e_skipAppHandle]. // Extended: The same as CUJ6e but excluding app handle test. @Test @ExtendedOnly fun cuj6e_skipAppHandle() { cuj6(skipAppHandleTest = true) } // TODO(b/428563383) - Remove [cuj6p_skipAppHandle]. // Extended: The same as CUJ6p but excluding app handle test. @Test @ProjectedOnly @RequiresDevice fun cuj6p_skipAppHandle() { cuj6(skipAppHandleTest = true) } // Extended: Opening an app from a full screen view will switch back to the desktop session, // Extended: Opening an app from a full screen view will switch back to the desktop session, // going to overview in this state will show the desktop view, with any full screen apps as // going to overview in this state will show the desktop view, with any full screen apps as // tiles to the left // tiles to the left Loading