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

Commit 479c3d44 authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "Enabling portrait widgets tests without converting to TAPL" into ub-launcher3-qt-dev

parents a34072b7 0b927428
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();