Loading tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppBackButtonTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.server.wm.flicker.close import android.platform.test.annotations.Presubmit import android.view.Surface import androidx.test.filters.RequiresDevice import androidx.test.platform.app.InstrumentationRegistry Loading Loading @@ -50,6 +51,7 @@ import org.junit.runners.Parameterized * Test app closes by pressing back button * To run this test: `atest FlickerTests:CloseAppBackButtonTest` */ @Presubmit @RequiresDevice @RunWith(Parameterized::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) Loading Loading @@ -93,7 +95,7 @@ class CloseAppBackButtonTest( windowManagerTrace { navBarWindowIsAlwaysVisible() statusBarWindowIsAlwaysVisible() visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 173684672) launcherReplacesAppWindowAsTopWindow(testApp) wallpaperWindowBecomesVisible() Loading @@ -110,7 +112,7 @@ class CloseAppBackButtonTest( enabled = !configuration.startRotation.isRotated()) navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 173684672) wallpaperLayerReplacesAppLayer(testApp) } Loading tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppHomeButtonTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.server.wm.flicker.close import android.platform.test.annotations.Presubmit import android.view.Surface import androidx.test.filters.RequiresDevice import androidx.test.platform.app.InstrumentationRegistry Loading Loading @@ -49,6 +50,7 @@ import org.junit.runners.Parameterized * Test app closes by pressing home button. * To run this test: `atest FlickerTests:CloseAppHomeButtonTest` */ @Presubmit @RequiresDevice @RunWith(Parameterized::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) Loading Loading @@ -92,7 +94,7 @@ class CloseAppHomeButtonTest( windowManagerTrace { navBarWindowIsAlwaysVisible() statusBarWindowIsAlwaysVisible() visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 173689015) launcherReplacesAppWindowAsTopWindow(testApp) wallpaperWindowBecomesVisible() Loading @@ -108,7 +110,7 @@ class CloseAppHomeButtonTest( Surface.ROTATION_0, enabled = isRotation0) navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 173689015) wallpaperLayerReplacesAppLayer(testApp) } Loading Loading
tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppBackButtonTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.server.wm.flicker.close import android.platform.test.annotations.Presubmit import android.view.Surface import androidx.test.filters.RequiresDevice import androidx.test.platform.app.InstrumentationRegistry Loading Loading @@ -50,6 +51,7 @@ import org.junit.runners.Parameterized * Test app closes by pressing back button * To run this test: `atest FlickerTests:CloseAppBackButtonTest` */ @Presubmit @RequiresDevice @RunWith(Parameterized::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) Loading Loading @@ -93,7 +95,7 @@ class CloseAppBackButtonTest( windowManagerTrace { navBarWindowIsAlwaysVisible() statusBarWindowIsAlwaysVisible() visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 173684672) launcherReplacesAppWindowAsTopWindow(testApp) wallpaperWindowBecomesVisible() Loading @@ -110,7 +112,7 @@ class CloseAppBackButtonTest( enabled = !configuration.startRotation.isRotated()) navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 173684672) wallpaperLayerReplacesAppLayer(testApp) } Loading
tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppHomeButtonTest.kt +4 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.server.wm.flicker.close import android.platform.test.annotations.Presubmit import android.view.Surface import androidx.test.filters.RequiresDevice import androidx.test.platform.app.InstrumentationRegistry Loading Loading @@ -49,6 +50,7 @@ import org.junit.runners.Parameterized * Test app closes by pressing home button. * To run this test: `atest FlickerTests:CloseAppHomeButtonTest` */ @Presubmit @RequiresDevice @RunWith(Parameterized::class) @FixMethodOrder(MethodSorters.NAME_ASCENDING) Loading Loading @@ -92,7 +94,7 @@ class CloseAppHomeButtonTest( windowManagerTrace { navBarWindowIsAlwaysVisible() statusBarWindowIsAlwaysVisible() visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleWindowsShownMoreThanOneConsecutiveEntry(bugId = 173689015) launcherReplacesAppWindowAsTopWindow(testApp) wallpaperWindowBecomesVisible() Loading @@ -108,7 +110,7 @@ class CloseAppHomeButtonTest( Surface.ROTATION_0, enabled = isRotation0) navBarLayerIsAlwaysVisible() statusBarLayerIsAlwaysVisible() visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 174635878) visibleLayersShownMoreThanOneConsecutiveEntry(bugId = 173689015) wallpaperLayerReplacesAppLayer(testApp) } Loading