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

Commit 80f7b7cc authored by Jonathan Miranda's avatar Jonathan Miranda Committed by Android (Google) Code Review
Browse files

Merge changes from topic "am-29c7218a-4e2e-489c-b6fb-3cc0feaf2b88" into ub-launcher3-master

* changes:
  [automerger] Add @Test and @Ignore to untested test methods in RequestPinItemTest. am: ca02f00e
  Add @Test and @Ignore to untested test methods in RequestPinItemTest.
parents fb6de690 0095d14e
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -45,6 +45,7 @@ import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.widget.WidgetCell;
import com.android.launcher3.widget.WidgetCell;


import org.junit.Before;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;
@@ -81,6 +82,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
    @Test
    @Test
    public void testEmpty() throws Throwable { /* needed while the broken tests are being fixed */ }
    public void testEmpty() throws Throwable { /* needed while the broken tests are being fixed */ }


    @Test @Ignore
    public void testPinWidgetNoConfig() throws Throwable {
    public void testPinWidgetNoConfig() throws Throwable {
        runTest("pinWidgetNoConfig", true, new ItemOperator() {
        runTest("pinWidgetNoConfig", true, new ItemOperator() {
            @Override
            @Override
@@ -93,6 +95,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
        });
        });
    }
    }


    @Test @Ignore
    public void testPinWidgetNoConfig_customPreview() throws Throwable {
    public void testPinWidgetNoConfig_customPreview() throws Throwable {
        // Command to set custom preview
        // Command to set custom preview
        Intent command =  RequestPinItemActivity.getCommandIntent(
        Intent command =  RequestPinItemActivity.getCommandIntent(
@@ -110,6 +113,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
        }, command);
        }, command);
    }
    }


    @Test @Ignore
    public void testPinWidgetWithConfig() throws Throwable {
    public void testPinWidgetWithConfig() throws Throwable {
        runTest("pinWidgetWithConfig", true, new ItemOperator() {
        runTest("pinWidgetWithConfig", true, new ItemOperator() {
            @Override
            @Override
@@ -122,6 +126,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
        });
        });
    }
    }


    @Test @Ignore
    public void testPinShortcut() throws Throwable {
    public void testPinShortcut() throws Throwable {
        // Command to set the shortcut id
        // Command to set the shortcut id
        Intent command = RequestPinItemActivity.getCommandIntent(
        Intent command = RequestPinItemActivity.getCommandIntent(