Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/EnterPipToOtherOrientationTest.kt +0 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,6 @@ class EnterPipToOtherOrientationTest( @Presubmit @Test fun testAppPlusPipLayerCoversFullScreenOnEnd() { // This test doesn't work in shell transitions because of b/206669574 testSpec.assertLayersEnd { val pipRegion = visibleRegion(pipApp.component).region visibleRegion(testApp.component) Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipKeyboardTest.kt +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.traces.common.FlickerComponentName import com.android.wm.shell.flicker.helpers.ImeAppHelper import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -82,6 +83,13 @@ class PipKeyboardTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** * Ensure the pip window remains visible throughout any keyboard interactions */ Loading libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipLegacySplitScreenTest.kt +1 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,7 @@ class PipLegacySplitScreenTest(testSpec: FlickerTestParameter) : PipTransition(t /** {@inheritDoc} */ @FlakyTest(bugId = 206753786) @Test override fun statusBarLayerRotatesScales() { // This test doesn't work in shell transitions because of b/206753786 assumeFalse(com.android.server.wm.flicker.helpers.isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } override fun statusBarLayerRotatesScales() = super.statusBarLayerRotatesScales() @FlakyTest(bugId = 161435597) @Test Loading tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppBackButtonTest.kt +22 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import com.android.server.wm.flicker.annotation.Group4 import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.helpers.isShellTransitionsEnabled import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -91,6 +92,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -100,6 +108,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.launcherLayerReplacesApp() } @FlakyTest(bugId = 214452854) @Test fun launcherLayerReplacesApp_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.launcherLayerReplacesApp() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -109,6 +124,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.entireScreenCovered() } @FlakyTest(bugId = 214452854) @Test fun entireScreenCovered_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.entireScreenCovered() } companion object { /** * Creates the test configurations. Loading tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppHomeButtonTest.kt +29 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import com.android.server.wm.flicker.annotation.Group4 import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.helpers.isShellTransitionsEnabled import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -90,6 +91,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -99,6 +107,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.launcherLayerReplacesApp() } @FlakyTest(bugId = 214452854) @Test fun launcherLayerReplacesApp_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.launcherLayerReplacesApp() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -108,6 +123,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.entireScreenCovered() } @FlakyTest(bugId = 214452854) @Test fun entireScreenCovered_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.entireScreenCovered() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -117,6 +139,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest(bugId = 214452854) @Test fun visibleLayersShownMoreThanOneConsecutiveEntry_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.visibleLayersShownMoreThanOneConsecutiveEntry() } companion object { /** * Creates the test configurations. Loading Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/EnterPipToOtherOrientationTest.kt +0 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,6 @@ class EnterPipToOtherOrientationTest( @Presubmit @Test fun testAppPlusPipLayerCoversFullScreenOnEnd() { // This test doesn't work in shell transitions because of b/206669574 testSpec.assertLayersEnd { val pipRegion = visibleRegion(pipApp.component).region visibleRegion(testApp.component) Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipKeyboardTest.kt +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.traces.common.FlickerComponentName import com.android.wm.shell.flicker.helpers.ImeAppHelper import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -82,6 +83,13 @@ class PipKeyboardTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** * Ensure the pip window remains visible throughout any keyboard interactions */ Loading
libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipLegacySplitScreenTest.kt +1 −5 Original line number Diff line number Diff line Loading @@ -92,11 +92,7 @@ class PipLegacySplitScreenTest(testSpec: FlickerTestParameter) : PipTransition(t /** {@inheritDoc} */ @FlakyTest(bugId = 206753786) @Test override fun statusBarLayerRotatesScales() { // This test doesn't work in shell transitions because of b/206753786 assumeFalse(com.android.server.wm.flicker.helpers.isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } override fun statusBarLayerRotatesScales() = super.statusBarLayerRotatesScales() @FlakyTest(bugId = 161435597) @Test Loading
tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppBackButtonTest.kt +22 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import com.android.server.wm.flicker.annotation.Group4 import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.helpers.isShellTransitionsEnabled import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -91,6 +92,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -100,6 +108,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.launcherLayerReplacesApp() } @FlakyTest(bugId = 214452854) @Test fun launcherLayerReplacesApp_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.launcherLayerReplacesApp() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -109,6 +124,13 @@ class CloseAppBackButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.entireScreenCovered() } @FlakyTest(bugId = 214452854) @Test fun entireScreenCovered_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.entireScreenCovered() } companion object { /** * Creates the test configurations. Loading
tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppHomeButtonTest.kt +29 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ import com.android.server.wm.flicker.annotation.Group4 import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.helpers.isShellTransitionsEnabled import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.FixMethodOrder import org.junit.Test import org.junit.runner.RunWith Loading Loading @@ -90,6 +91,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.statusBarLayerRotatesScales() } @FlakyTest(bugId = 214452854) @Test fun statusBarLayerRotatesScales_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.statusBarLayerRotatesScales() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -99,6 +107,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.launcherLayerReplacesApp() } @FlakyTest(bugId = 214452854) @Test fun launcherLayerReplacesApp_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.launcherLayerReplacesApp() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -108,6 +123,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.entireScreenCovered() } @FlakyTest(bugId = 214452854) @Test fun entireScreenCovered_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.entireScreenCovered() } /** {@inheritDoc} */ @Presubmit @Test Loading @@ -117,6 +139,13 @@ class CloseAppHomeButtonTest(testSpec: FlickerTestParameter) : CloseAppTransitio super.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest(bugId = 214452854) @Test fun visibleLayersShownMoreThanOneConsecutiveEntry_shellTransit() { assumeTrue(isShellTransitionsEnabled) super.visibleLayersShownMoreThanOneConsecutiveEntry() } companion object { /** * Creates the test configurations. Loading