Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b927428 authored by vadimt's avatar vadimt
Browse files

Enabling portrait widgets tests without converting to TAPL

Bug: 131116002
Change-Id: I61e3277d4ff7aec12c8e532ce8ed68d8cd2032e9
parent dffb214d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -71,25 +71,25 @@ public class AddConfigWidgetTest extends AbstractLauncherUiTest {
    }

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    // Convert test to TAPL b/131116002
    public void testWidgetConfig() throws Throwable {
        runTest(false, true);
    }

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    @Ignore // b/121280703
    public void testWidgetConfig_rotate() throws Throwable {
        runTest(true, true);
    }

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    // Convert test to TAPL b/131116002
    public void testConfigCancelled() throws Throwable {
        runTest(false, false);
    }

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    @Ignore // b/121280703
    public void testConfigCancelled_rotate() throws Throwable {
        runTest(true, false);
    }
+2 −2
Original line number Diff line number Diff line
@@ -49,19 +49,19 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
    @Rule public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind();

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    public void testDragIcon_portrait() throws Throwable {
        lockRotation(true);
        performTest();
    }

    @Test
    @Ignore // Convert test to TAPL and enable them; b/131116002
    @Ignore // b/121280703
    public void testDragIcon_landscape() throws Throwable {
        lockRotation(false);
        performTest();
    }

    // b/131116002
    private void performTest() throws Throwable {
        clearHomescreen();
        mActivityMonitor.startLauncher();