Merge "Disable status bar assertions on OpenCameraOnDoubleClickPowerButton" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
251b591a39
@@ -24,11 +24,12 @@ import android.tools.device.flicker.junit.FlickerParametersRunnerFactory
|
||||
import android.tools.device.flicker.legacy.FlickerBuilder
|
||||
import android.tools.device.flicker.legacy.FlickerTest
|
||||
import android.tools.device.flicker.legacy.FlickerTestFactory
|
||||
import android.tools.device.flicker.rules.RemoveAllTasksButHomeRule
|
||||
import android.view.KeyEvent
|
||||
import androidx.test.filters.RequiresDevice
|
||||
import com.android.server.wm.flicker.helpers.setRotation
|
||||
import android.tools.device.flicker.rules.RemoveAllTasksButHomeRule
|
||||
import org.junit.FixMethodOrder
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
import org.junit.runners.MethodSorters
|
||||
@@ -44,6 +45,7 @@ import org.junit.runners.Parameterized
|
||||
* Make sure no apps are running on the device
|
||||
* Launch an app [testApp] and wait animation to complete
|
||||
* ```
|
||||
*
|
||||
* Notes:
|
||||
* ```
|
||||
* 1. Some default assertions (e.g., nav bar, status bar and screen covered)
|
||||
@@ -112,16 +114,16 @@ class OpenCameraOnDoubleClickPowerButton(flicker: FlickerTest) :
|
||||
@Test
|
||||
override fun navBarWindowIsAlwaysVisible() = super.navBarWindowIsAlwaysVisible()
|
||||
|
||||
@Postsubmit
|
||||
@Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
|
||||
@Test
|
||||
override fun statusBarLayerIsVisibleAtStartAndEnd() =
|
||||
super.statusBarLayerIsVisibleAtStartAndEnd()
|
||||
|
||||
@Postsubmit
|
||||
@Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
|
||||
@Test
|
||||
override fun statusBarLayerPositionAtStartAndEnd() = super.statusBarLayerPositionAtStartAndEnd()
|
||||
|
||||
@Postsubmit
|
||||
@Ignore("Status bar visibility depends on whether the permission dialog is displayed or not")
|
||||
@Test
|
||||
override fun statusBarWindowIsAlwaysVisible() = super.statusBarWindowIsAlwaysVisible()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user