Merge "Only apply ironwood-postsubmit annotation to stable tests"
This commit is contained in:
@@ -42,7 +42,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:CopyContentInSplit`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -63,32 +62,39 @@ class CopyContentInSplit(testSpec: FlickerTestParameter) : SplitScreenBase(testS
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerKeepVisible() = testSpec.layerKeepVisible(SPLIT_SCREEN_DIVIDER_COMPONENT)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerKeepVisible() = testSpec.layerKeepVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun textEditAppLayerKeepVisible() = testSpec.layerKeepVisible(textEditApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsKeepVisible() = testSpec.splitAppLayerBoundsKeepVisible(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun textEditAppBoundsKeepVisible() = testSpec.splitAppLayerBoundsKeepVisible(
|
||||
textEditApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowKeepVisible() = testSpec.appWindowKeepVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun textEditAppWindowKeepVisible() = testSpec.appWindowKeepVisible(textEditApp)
|
||||
|
||||
@@ -46,7 +46,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:DismissSplitScreenByDivider`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -74,23 +73,28 @@ class DismissSplitScreenByDivider (testSpec: FlickerTestParameter) : SplitScreen
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesInvisible() = testSpec.splitScreenDividerBecomesInvisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerBecomesInvisible() = testSpec.layerBecomesInvisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsBecomesInvisible() = testSpec.splitAppLayerBoundsBecomesInvisible(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsIsFullscreenAtEnd() {
|
||||
@@ -113,10 +117,12 @@ class DismissSplitScreenByDivider (testSpec: FlickerTestParameter) : SplitScreen
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesInvisible() = testSpec.appWindowBecomesInvisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(secondaryApp)
|
||||
|
||||
@@ -42,7 +42,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:DismissSplitScreenByGoHome`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -66,32 +65,39 @@ class DismissSplitScreenByGoHome(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesInvisible() = testSpec.splitScreenDividerBecomesInvisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerBecomesInvisible() = testSpec.layerBecomesInvisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesInvisible() = testSpec.layerBecomesInvisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsBecomesInvisible() = testSpec.splitAppLayerBoundsBecomesInvisible(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsBecomesInvisible() = testSpec.splitAppLayerBoundsBecomesInvisible(
|
||||
secondaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesInvisible() = testSpec.appWindowBecomesInvisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesInvisible() = testSpec.appWindowBecomesInvisible(secondaryApp)
|
||||
|
||||
@@ -43,7 +43,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:DragDividerToResize`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -62,14 +61,17 @@ class DragDividerToResize (testSpec: FlickerTestParameter) : SplitScreenBase(tes
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerKeepVisible() = testSpec.layerKeepVisible(SPLIT_SCREEN_DIVIDER_COMPONENT)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerKeepVisible() = testSpec.layerKeepVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerVisibilityChanges() {
|
||||
@@ -82,19 +84,23 @@ class DragDividerToResize (testSpec: FlickerTestParameter) : SplitScreenBase(tes
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowKeepVisible() = testSpec.appWindowKeepVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowKeepVisible() = testSpec.appWindowKeepVisible(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsChanges() = testSpec.splitAppLayerBoundsChanges(
|
||||
primaryApp, landscapePosLeft = true, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsChanges() = testSpec.splitAppLayerBoundsChanges(
|
||||
|
||||
@@ -50,7 +50,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenByDragFromAllApps`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -81,6 +80,7 @@ class EnterSplitScreenByDragFromAllApps(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() {
|
||||
@@ -89,6 +89,7 @@ class EnterSplitScreenByDragFromAllApps(
|
||||
}
|
||||
|
||||
// TODO(b/245472831): Back to splitScreenDividerBecomesVisible after shell transition ready.
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerIsVisibleAtEnd_ShellTransit() {
|
||||
@@ -98,10 +99,12 @@ class EnterSplitScreenByDragFromAllApps(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() {
|
||||
@@ -125,20 +128,24 @@ class EnterSplitScreenByDragFromAllApps(
|
||||
testSpec.layerBecomesVisible(secondaryApp)
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = false, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsBecomesVisible() = testSpec.splitAppLayerBoundsBecomesVisibleByDrag(
|
||||
secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
@@ -51,7 +51,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenByDragFromNotification`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -93,6 +92,7 @@ class EnterSplitScreenByDragFromNotification(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() {
|
||||
@@ -101,6 +101,7 @@ class EnterSplitScreenByDragFromNotification(
|
||||
}
|
||||
|
||||
// TODO(b/245472831): Back to splitScreenDividerBecomesVisible after shell transition ready.
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerIsVisibleAtEnd_ShellTransit() {
|
||||
@@ -110,10 +111,12 @@ class EnterSplitScreenByDragFromNotification(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() {
|
||||
@@ -137,20 +140,24 @@ class EnterSplitScreenByDragFromNotification(
|
||||
testSpec.layerBecomesVisible(sendNotificationApp)
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = false, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsBecomesVisible() = testSpec.splitAppLayerBoundsBecomesVisibleByDrag(
|
||||
sendNotificationApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(sendNotificationApp)
|
||||
|
||||
@@ -50,7 +50,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenByDragFromTaskbar`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -84,6 +83,7 @@ class EnterSplitScreenByDragFromTaskbar(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() {
|
||||
@@ -92,6 +92,7 @@ class EnterSplitScreenByDragFromTaskbar(
|
||||
}
|
||||
|
||||
// TODO(b/245472831): Back to splitScreenDividerBecomesVisible after shell transition ready.
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerIsVisibleAtEnd_ShellTransit() {
|
||||
@@ -101,10 +102,12 @@ class EnterSplitScreenByDragFromTaskbar(
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() {
|
||||
@@ -128,20 +131,24 @@ class EnterSplitScreenByDragFromTaskbar(
|
||||
testSpec.layerBecomesVisible(secondaryApp)
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = false, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsBecomesVisible() = testSpec.splitAppLayerBoundsBecomesVisibleByDrag(
|
||||
secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
@@ -43,7 +43,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenFromOverview`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -70,32 +69,39 @@ class EnterSplitScreenFromOverview(testSpec: FlickerTestParameter) : SplitScreen
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() = testSpec.splitScreenDividerBecomesVisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsBecomesVisible() = testSpec.splitAppLayerBoundsBecomesVisible(
|
||||
secondaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
@@ -43,7 +43,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:SwitchAppByDoubleTapDivider`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -65,32 +64,39 @@ class SwitchAppByDoubleTapDivider (testSpec: FlickerTestParameter) : SplitScreen
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerKeepVisible() = testSpec.layerKeepVisible(SPLIT_SCREEN_DIVIDER_COMPONENT)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerIsVisibleAtEnd() = testSpec.layerIsVisibleAtEnd(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
secondaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowIsVisibleAtEnd() = testSpec.appWindowIsVisibleAtEnd(secondaryApp)
|
||||
|
||||
@@ -42,7 +42,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:SwitchBackToSplitFromAnotherApp`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -68,32 +67,39 @@ class SwitchBackToSplitFromAnotherApp(testSpec: FlickerTestParameter) : SplitScr
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() = testSpec.splitScreenDividerBecomesVisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
secondaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
@@ -42,7 +42,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:SwitchBackToSplitFromHome`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -67,32 +66,39 @@ class SwitchBackToSplitFromHome(testSpec: FlickerTestParameter) : SplitScreenBas
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() = testSpec.splitScreenDividerBecomesVisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
secondaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
@@ -42,7 +42,6 @@ import org.junit.runners.Parameterized
|
||||
*
|
||||
* To run this test: `atest WMShellFlickerTests:SwitchBackToSplitFromRecent`
|
||||
*/
|
||||
@IwTest(focusArea = "sysui")
|
||||
@RequiresDevice
|
||||
@RunWith(Parameterized::class)
|
||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||
@@ -69,32 +68,39 @@ class SwitchBackToSplitFromRecent(testSpec: FlickerTestParameter) : SplitScreenB
|
||||
}
|
||||
}
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun splitScreenDividerBecomesVisible() = testSpec.splitScreenDividerBecomesVisible()
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppLayerBecomesVisible() = testSpec.layerBecomesVisible(secondaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
primaryApp, landscapePosLeft = tapl.isTablet, portraitPosTop = false)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppBoundsIsVisibleAtEnd() = testSpec.splitAppLayerBoundsIsVisibleAtEnd(
|
||||
secondaryApp, landscapePosLeft = !tapl.isTablet, portraitPosTop = true)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun primaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(primaryApp)
|
||||
|
||||
@IwTest(focusArea = "sysui")
|
||||
@Presubmit
|
||||
@Test
|
||||
fun secondaryAppWindowBecomesVisible() = testSpec.appWindowBecomesVisible(secondaryApp)
|
||||
|
||||
Reference in New Issue
Block a user