diff options
author | vadimt <vadimt@google.com> | 2019-04-22 17:34:29 -0700 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-04-22 17:34:29 -0700 |
commit | 677abe211707939d32ac9bb4c6f02a2b2d56ca4a (patch) | |
tree | d7406e7c487b3527a6cee55c396daeddf03c9cca | |
parent | b226f28a8c766630cdc5cd879d70a8a519100c2a (diff) | |
download | android_packages_apps_Trebuchet-677abe211707939d32ac9bb4c6f02a2b2d56ca4a.tar.gz android_packages_apps_Trebuchet-677abe211707939d32ac9bb4c6f02a2b2d56ca4a.tar.bz2 android_packages_apps_Trebuchet-677abe211707939d32ac9bb4c6f02a2b2d56ca4a.zip |
Annotating ignored tests with requests to enable them
Bug: 117106893
Change-Id: Ib8e578913ceebee44a507b5e333e7da07c6120d0
7 files changed, 20 insertions, 20 deletions
diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java index 5e50a438e..b0ce5f5dc 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java @@ -74,7 +74,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { @Test @PortraitLandscape - @Ignore + @Ignore // Enable after b/131115533 public void testPressRecentAppsLauncherAndGetOverview() throws RemoteException { mDevice.pressRecentApps(); waitForState("Launcher internal state didn't switch to Overview", LauncherState.OVERVIEW); diff --git a/robolectric_tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java b/robolectric_tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java index e046cad2c..42848f461 100644 --- a/robolectric_tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java +++ b/robolectric_tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java @@ -41,7 +41,7 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase { } @Test - @Ignore("This test fails with resource errors") + @Ignore("This test fails with resource errors") // b/131115553 public void testCacheUpdate_update_apps() throws Exception { // Clear all icons from apps list so that its easy to check what was updated for (AppInfo info : allAppsList.data) { @@ -66,7 +66,7 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase { } @Test - @Ignore("This test fails with resource errors") + @Ignore("This test fails with resource errors") // b/131115553 public void testSessionUpdate_ignores_normal_apps() throws Exception { executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1")); @@ -75,7 +75,7 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase { } @Test - @Ignore("This test fails with resource errors") + @Ignore("This test fails with resource errors") // b/131115553 public void testSessionUpdate_updates_pending_apps() throws Exception { executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app3")); diff --git a/tests/src/com/android/launcher3/ui/DefaultLayoutProviderTest.java b/tests/src/com/android/launcher3/ui/DefaultLayoutProviderTest.java index 33b6f61d9..357e029b7 100644 --- a/tests/src/com/android/launcher3/ui/DefaultLayoutProviderTest.java +++ b/tests/src/com/android/launcher3/ui/DefaultLayoutProviderTest.java @@ -71,7 +71,7 @@ public class DefaultLayoutProviderTest extends AbstractLauncherUiTest { } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testCustomProfileLoaded_with_icon_on_hotseat() throws Exception { writeLayout(new LauncherLayoutBuilder().atHotseat(0).putApp(SETTINGS_APP, SETTINGS_APP)); @@ -86,7 +86,7 @@ public class DefaultLayoutProviderTest extends AbstractLauncherUiTest { } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testCustomProfileLoaded_with_widget() throws Exception { // A non-restored widget with no config screen gets restored automatically. LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); @@ -106,7 +106,7 @@ public class DefaultLayoutProviderTest extends AbstractLauncherUiTest { } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testCustomProfileLoaded_with_folder() throws Exception { writeLayout(new LauncherLayoutBuilder().atHotseat(0).putFolder(android.R.string.copy) .addApp(SETTINGS_APP, SETTINGS_APP) diff --git a/tests/src/com/android/launcher3/ui/widget/AddConfigWidgetTest.java b/tests/src/com/android/launcher3/ui/widget/AddConfigWidgetTest.java index 80561fcc8..84452b416 100644 --- a/tests/src/com/android/launcher3/ui/widget/AddConfigWidgetTest.java +++ b/tests/src/com/android/launcher3/ui/widget/AddConfigWidgetTest.java @@ -71,25 +71,25 @@ public class AddConfigWidgetTest extends AbstractLauncherUiTest { } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testWidgetConfig() throws Throwable { runTest(false, true); } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testWidgetConfig_rotate() throws Throwable { runTest(true, true); } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testConfigCancelled() throws Throwable { runTest(false, false); } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testConfigCancelled_rotate() throws Throwable { runTest(true, false); } diff --git a/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java b/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java index 7d3cf2b82..90c339fda 100644 --- a/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java +++ b/tests/src/com/android/launcher3/ui/widget/AddWidgetTest.java @@ -49,14 +49,14 @@ public class AddWidgetTest extends AbstractLauncherUiTest { @Rule public ShellCommandRule mGrantWidgetRule = ShellCommandRule.grantWidgetBind(); @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testDragIcon_portrait() throws Throwable { lockRotation(true); performTest(); } @Test - @Ignore + @Ignore // Convert test to TAPL and enable them; b/131116002 public void testDragIcon_landscape() throws Throwable { lockRotation(false); performTest(); diff --git a/tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java b/tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java index c8e7786b1..918e6e23b 100644 --- a/tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java +++ b/tests/src/com/android/launcher3/ui/widget/BindWidgetTest.java @@ -125,7 +125,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest { verifyWidgetPresent(info); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testUnboundWidget_removed() { LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); LauncherAppWidgetInfo item = createWidgetInfo(info, false); @@ -145,7 +145,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest { assertFalse(mDevice.findObject(new UiSelector().description(info.label)).exists()); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPendingWidget_autoRestored() { // A non-restored widget with no config screen gets restored automatically. LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); @@ -183,7 +183,7 @@ public class BindWidgetTest extends AbstractLauncherUiTest { LauncherSettings.Favorites.APPWIDGET_ID)))); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPendingWidget_notRestored_removed() { LauncherAppWidgetInfo item = getInvalidWidgetInfo(); item.restoreStatus = LauncherAppWidgetInfo.FLAG_ID_NOT_VALID diff --git a/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java b/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java index 4899334e2..65d8a826f 100644 --- a/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java +++ b/tests/src/com/android/launcher3/ui/widget/RequestPinItemTest.java @@ -80,7 +80,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest { @Test public void testEmpty() throws Throwable { /* needed while the broken tests are being fixed */ } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPinWidgetNoConfig() throws Throwable { runTest("pinWidgetNoConfig", true, new ItemOperator() { @Override @@ -93,7 +93,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest { }); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPinWidgetNoConfig_customPreview() throws Throwable { // Command to set custom preview Intent command = RequestPinItemActivity.getCommandIntent( @@ -111,7 +111,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest { }, command); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPinWidgetWithConfig() throws Throwable { runTest("pinWidgetWithConfig", true, new ItemOperator() { @Override @@ -124,7 +124,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest { }); } - @Test @Ignore + @Test @Ignore // b/131116593 public void testPinShortcut() throws Throwable { // Command to set the shortcut id Intent command = RequestPinItemActivity.getCommandIntent( |