Merge "Move legacy split screen flicker tests for non-resizable to presubmit" into sc-dev
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -44,7 +44,6 @@ import org.junit.runners.Parameterized
|
|||||||
*
|
*
|
||||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenNotSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenNotSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
@@ -94,6 +93,7 @@ class EnterSplitScreenNotSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsInvisible() = testSpec.dockedStackDividerIsInvisible()
|
fun dockedStackDividerIsInvisible() = testSpec.dockedStackDividerIsInvisible()
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -43,7 +43,6 @@ import org.junit.runners.Parameterized
|
|||||||
*
|
*
|
||||||
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:EnterSplitScreenSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||||
@@ -91,9 +90,11 @@ class EnterSplitScreenSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsVisible() = testSpec.dockedStackDividerIsVisible()
|
fun dockedStackDividerIsVisible() = testSpec.dockedStackDividerIsVisible()
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun appWindowIsVisible() {
|
fun appWindowIsVisible() {
|
||||||
testSpec.assertWmEnd {
|
testSpec.assertWmEnd {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -46,7 +46,6 @@ import org.junit.runners.Parameterized
|
|||||||
* support non-resizable in multi window, it should trigger exit split screen.
|
* support non-resizable in multi window, it should trigger exit split screen.
|
||||||
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromIntentNotSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromIntentNotSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||||
@@ -95,25 +94,31 @@ class LegacySplitScreenFromIntentNotSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun resizableAppLayerBecomesInvisible() =
|
fun resizableAppLayerBecomesInvisible() =
|
||||||
testSpec.layerBecomesInvisible(splitScreenApp.defaultWindowName)
|
testSpec.layerBecomesInvisible(splitScreenApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppLayerBecomesVisible() =
|
fun nonResizableAppLayerBecomesVisible() =
|
||||||
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun resizableAppWindowBecomesInvisible() =
|
fun resizableAppWindowBecomesInvisible() =
|
||||||
testSpec.appWindowBecomesInVisible(splitScreenApp.defaultWindowName)
|
testSpec.appWindowBecomesInVisible(splitScreenApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppWindowBecomesVisible() =
|
fun nonResizableAppWindowBecomesVisible() =
|
||||||
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsInvisibleAtEnd() = testSpec.dockedStackDividerIsInvisible()
|
fun dockedStackDividerIsInvisibleAtEnd() = testSpec.dockedStackDividerIsInvisible()
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun onlyNonResizableAppWindowIsVisibleAtEnd() {
|
fun onlyNonResizableAppWindowIsVisibleAtEnd() {
|
||||||
testSpec.assertWmEnd {
|
testSpec.assertWmEnd {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -44,7 +44,6 @@ import org.junit.runners.Parameterized
|
|||||||
* non-resizable in multi window, it should show the non-resizable app in split screen.
|
* non-resizable in multi window, it should show the non-resizable app in split screen.
|
||||||
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromIntentSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromIntentSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||||
@@ -93,17 +92,21 @@ class LegacySplitScreenFromIntentSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppLayerBecomesVisible() =
|
fun nonResizableAppLayerBecomesVisible() =
|
||||||
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppWindowBecomesVisible() =
|
fun nonResizableAppWindowBecomesVisible() =
|
||||||
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsVisibleAtEnd() = testSpec.dockedStackDividerIsVisible()
|
fun dockedStackDividerIsVisibleAtEnd() = testSpec.dockedStackDividerIsVisible()
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun bothAppsWindowsAreVisibleAtEnd() {
|
fun bothAppsWindowsAreVisibleAtEnd() {
|
||||||
testSpec.assertWmEnd {
|
testSpec.assertWmEnd {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -47,7 +47,6 @@ import org.junit.runners.Parameterized
|
|||||||
* not support non-resizable in multi window, it should trigger exit split screen.
|
* not support non-resizable in multi window, it should trigger exit split screen.
|
||||||
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromRecentNotSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromRecentNotSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||||
@@ -96,25 +95,31 @@ class LegacySplitScreenFromRecentNotSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun resizableAppLayerBecomesInvisible() =
|
fun resizableAppLayerBecomesInvisible() =
|
||||||
testSpec.layerBecomesInvisible(splitScreenApp.defaultWindowName)
|
testSpec.layerBecomesInvisible(splitScreenApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppLayerBecomesVisible() =
|
fun nonResizableAppLayerBecomesVisible() =
|
||||||
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun resizableAppWindowBecomesInvisible() =
|
fun resizableAppWindowBecomesInvisible() =
|
||||||
testSpec.appWindowBecomesInVisible(splitScreenApp.defaultWindowName)
|
testSpec.appWindowBecomesInVisible(splitScreenApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppWindowBecomesVisible() =
|
fun nonResizableAppWindowBecomesVisible() =
|
||||||
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsInvisibleAtEnd() = testSpec.dockedStackDividerIsInvisible()
|
fun dockedStackDividerIsInvisibleAtEnd() = testSpec.dockedStackDividerIsInvisible()
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun onlyNonResizableAppWindowIsVisibleAtEnd() {
|
fun onlyNonResizableAppWindowIsVisibleAtEnd() {
|
||||||
testSpec.assertWmEnd {
|
testSpec.assertWmEnd {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package com.android.wm.shell.flicker.legacysplitscreen
|
package com.android.wm.shell.flicker.legacysplitscreen
|
||||||
|
|
||||||
import android.platform.test.annotations.Postsubmit
|
import android.platform.test.annotations.Presubmit
|
||||||
import android.provider.Settings
|
import android.provider.Settings
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import androidx.test.filters.RequiresDevice
|
import androidx.test.filters.RequiresDevice
|
||||||
@@ -45,7 +45,6 @@ import org.junit.runners.Parameterized
|
|||||||
* supports non-resizable in multi window, it should show the non-resizable app in split screen.
|
* supports non-resizable in multi window, it should show the non-resizable app in split screen.
|
||||||
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromRecentSupportNonResizable`
|
* To run this test: `atest WMShellFlickerTests:LegacySplitScreenFromRecentSupportNonResizable`
|
||||||
*/
|
*/
|
||||||
@Postsubmit
|
|
||||||
@RequiresDevice
|
@RequiresDevice
|
||||||
@RunWith(Parameterized::class)
|
@RunWith(Parameterized::class)
|
||||||
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
@Parameterized.UseParametersRunnerFactory(FlickerParametersRunnerFactory::class)
|
||||||
@@ -94,17 +93,21 @@ class LegacySplitScreenFromRecentSupportNonResizable(
|
|||||||
prevSupportNonResizableInMultiWindow)
|
prevSupportNonResizableInMultiWindow)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppLayerBecomesVisible() =
|
fun nonResizableAppLayerBecomesVisible() =
|
||||||
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.layerBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun nonResizableAppWindowBecomesVisible() =
|
fun nonResizableAppWindowBecomesVisible() =
|
||||||
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
testSpec.appWindowBecomesVisible(nonResizeableApp.defaultWindowName)
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun dockedStackDividerIsVisibleAtEnd() = testSpec.dockedStackDividerIsVisible()
|
fun dockedStackDividerIsVisibleAtEnd() = testSpec.dockedStackDividerIsVisible()
|
||||||
|
|
||||||
|
@Presubmit
|
||||||
@Test
|
@Test
|
||||||
fun bothAppsWindowsAreVisibleAtEnd() {
|
fun bothAppsWindowsAreVisibleAtEnd() {
|
||||||
testSpec.assertWmEnd {
|
testSpec.assertWmEnd {
|
||||||
|
|||||||
Reference in New Issue
Block a user