summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Miranda <jonmiranda@google.com>2018-06-22 01:12:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-06-22 01:12:07 +0000
commitb635be59c005402a7db1f1745b4bdc76b83b7c81 (patch)
tree932ee7350299fe60f20939fd55d7845c30901128
parentf6ab06df8bd0baffef758579f901772237debf36 (diff)
parentca02f00eb168162064c5027158babf1c203833a8 (diff)
downloadandroid_packages_apps_Trebuchet-b635be59c005402a7db1f1745b4bdc76b83b7c81.tar.gz
android_packages_apps_Trebuchet-b635be59c005402a7db1f1745b4bdc76b83b7c81.tar.bz2
android_packages_apps_Trebuchet-b635be59c005402a7db1f1745b4bdc76b83b7c81.zip
Merge "Add @Test and @Ignore to untested test methods in RequestPinItemTest." into ub-launcher3-edmonton-polish
-rw-r--r--tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java b/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java
index dba6db33f..dcb564a77 100644
--- a/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java
+++ b/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java
@@ -45,6 +45,7 @@ import com.android.launcher3.util.rule.ShellCommandRule;
import com.android.launcher3.widget.WidgetCell;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -81,6 +82,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
@Test
public void testEmpty() throws Throwable { /* needed while the broken tests are being fixed */ }
+ @Test @Ignore
public void testPinWidgetNoConfig() throws Throwable {
runTest("pinWidgetNoConfig", true, new ItemOperator() {
@Override
@@ -93,6 +95,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
});
}
+ @Test @Ignore
public void testPinWidgetNoConfig_customPreview() throws Throwable {
// Command to set custom preview
Intent command = RequestPinItemActivity.getCommandIntent(
@@ -110,6 +113,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
}, command);
}
+ @Test @Ignore
public void testPinWidgetWithConfig() throws Throwable {
runTest("pinWidgetWithConfig", true, new ItemOperator() {
@Override
@@ -122,6 +126,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
});
}
+ @Test @Ignore
public void testPinShortcut() throws Throwable {
// Command to set the shortcut id
Intent command = RequestPinItemActivity.getCommandIntent(