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

Commit 52eb6ffa authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Promote stable app pairs tests

Promote stable postsubmit and flaky tests to presubmit

Test: atest WMShellFlickerTests
Bug: 171049720
Change-Id: I7eff620e56b6c2ccf2704ffbf1576b766cbe4403
parent b9f76e10
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -71,16 +71,16 @@ class RotateTwoLaunchedAppsInAppPairsMode(
        }
    }

    @FlakyTest
    @Presubmit
    @Test
    fun appPairsDividerIsVisible() = testSpec.appPairsDividerIsVisible()

    @FlakyTest
    @Presubmit
    @Test
    fun navBarLayerRotatesAndScales() = testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0,
        testSpec.config.endRotation)

    @FlakyTest
    @Presubmit
    @Test
    fun statusBarLayerRotatesScales() = testSpec.statusBarLayerRotatesScales(Surface.ROTATION_0,
        testSpec.config.endRotation)
+2 −11
Original line number Diff line number Diff line
@@ -76,17 +76,8 @@ class RotateTwoLaunchedAppsRotateAndEnterAppPairsMode(

    @Presubmit
    @Test
    fun navBarLayerRotatesAndScales() {
        Assume.assumeFalse(isRotated)
        testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0, testSpec.config.endRotation)
    }

    @FlakyTest
    @Test
    fun navBarLayerRotatesAndScales_Flaky() {
        Assume.assumeTrue(isRotated)
        testSpec.navBarLayerRotatesAndScales(Surface.ROTATION_0, testSpec.config.endRotation)
    }
    fun navBarLayerRotatesAndScales() = testSpec.navBarLayerRotatesAndScales(
        Surface.ROTATION_0, testSpec.config.endRotation)

    @Presubmit
    @Test