Loading tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromOverviewTest.kt +22 −5 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.server.wm.flicker.launch package com.android.server.wm.flicker.launch import android.app.Instrumentation import android.app.Instrumentation import android.platform.test.annotations.Postsubmit import android.platform.test.annotations.Presubmit import android.platform.test.annotations.Presubmit import android.view.Surface import android.view.Surface import androidx.test.filters.FlakyTest import androidx.test.filters.FlakyTest Loading Loading @@ -148,17 +147,35 @@ class OpenAppFromOverviewTest(private val testSpec: FlickerTestParameter) { @Test @Test fun focusChanges() = testSpec.focusChanges("NexusLauncherActivity", testApp.`package`) fun focusChanges() = testSpec.focusChanges("NexusLauncherActivity", testApp.`package`) @Postsubmit @Presubmit @Test @Test fun visibleWindowsShownMoreThanOneConsecutiveEntry() = fun visibleWindowsShownMoreThanOneConsecutiveEntry() { Assume.assumeFalse(testSpec.isRotated) testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() } @FlakyTest @Test fun visibleWindowsShownMoreThanOneConsecutiveEntry_Flaky() { Assume.assumeTrue(testSpec.isRotated) testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() } @Presubmit @Test fun visibleLayersShownMoreThanOneConsecutiveEntry() { Assume.assumeFalse(testSpec.isRotated) testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest @FlakyTest @Test @Test fun visibleLayersShownMoreThanOneConsecutiveEntry() = fun visibleLayersShownMoreThanOneConsecutiveEntry_Flaky() { Assume.assumeTrue(testSpec.isRotated) testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest(bugId = 141361128) @Presubmit @Test @Test fun noUncoveredRegions() = testSpec.noUncoveredRegions(Surface.ROTATION_0, fun noUncoveredRegions() = testSpec.noUncoveredRegions(Surface.ROTATION_0, testSpec.config.endRotation) testSpec.config.endRotation) Loading Loading
tests/FlickerTests/src/com/android/server/wm/flicker/launch/OpenAppFromOverviewTest.kt +22 −5 Original line number Original line Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.server.wm.flicker.launch package com.android.server.wm.flicker.launch import android.app.Instrumentation import android.app.Instrumentation import android.platform.test.annotations.Postsubmit import android.platform.test.annotations.Presubmit import android.platform.test.annotations.Presubmit import android.view.Surface import android.view.Surface import androidx.test.filters.FlakyTest import androidx.test.filters.FlakyTest Loading Loading @@ -148,17 +147,35 @@ class OpenAppFromOverviewTest(private val testSpec: FlickerTestParameter) { @Test @Test fun focusChanges() = testSpec.focusChanges("NexusLauncherActivity", testApp.`package`) fun focusChanges() = testSpec.focusChanges("NexusLauncherActivity", testApp.`package`) @Postsubmit @Presubmit @Test @Test fun visibleWindowsShownMoreThanOneConsecutiveEntry() = fun visibleWindowsShownMoreThanOneConsecutiveEntry() { Assume.assumeFalse(testSpec.isRotated) testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() } @FlakyTest @Test fun visibleWindowsShownMoreThanOneConsecutiveEntry_Flaky() { Assume.assumeTrue(testSpec.isRotated) testSpec.visibleWindowsShownMoreThanOneConsecutiveEntry() } @Presubmit @Test fun visibleLayersShownMoreThanOneConsecutiveEntry() { Assume.assumeFalse(testSpec.isRotated) testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest @FlakyTest @Test @Test fun visibleLayersShownMoreThanOneConsecutiveEntry() = fun visibleLayersShownMoreThanOneConsecutiveEntry_Flaky() { Assume.assumeTrue(testSpec.isRotated) testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() testSpec.visibleLayersShownMoreThanOneConsecutiveEntry() } @FlakyTest(bugId = 141361128) @Presubmit @Test @Test fun noUncoveredRegions() = testSpec.noUncoveredRegions(Surface.ROTATION_0, fun noUncoveredRegions() = testSpec.noUncoveredRegions(Surface.ROTATION_0, testSpec.config.endRotation) testSpec.config.endRotation) Loading