Merge "Reduce the number of rotations of flicker tests"

This commit is contained in:
Jorim Jaggi
2020-01-28 20:34:21 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ public class ChangeAppRotationTest extends FlickerTestBase {
@Parameters(name = "{0}-{1}")
public static Collection<Object[]> getParams() {
int[] supportedRotations =
{Surface.ROTATION_0, Surface.ROTATION_90, Surface.ROTATION_270};
{Surface.ROTATION_0, Surface.ROTATION_90};
Collection<Object[]> params = new ArrayList<>();
for (int begin : supportedRotations) {
for (int end : supportedRotations) {

View File

@@ -69,7 +69,7 @@ public class SeamlessAppRotationTest extends FlickerTestBase {
@Parameters(name = "{0}")
public static Collection<Object[]> getParams() {
int[] supportedRotations =
{Surface.ROTATION_0, Surface.ROTATION_90, Surface.ROTATION_270};
{Surface.ROTATION_0, Surface.ROTATION_90};
Collection<Object[]> params = new ArrayList<>();
ArrayList<Intent> testIntents = new ArrayList<>();
@@ -112,7 +112,7 @@ public class SeamlessAppRotationTest extends FlickerTestBase {
super.runTransition(
changeAppRotation(mIntent, intentId, InstrumentationRegistry.getContext(),
mUiDevice, mBeginRotation, mEndRotation).repeat(5).build());
mUiDevice, mBeginRotation, mEndRotation).build());
}
@Test