diff options
| author | 2025-02-21 10:45:31 -0800 | |
|---|---|---|
| committer | 2025-02-21 10:45:31 -0800 | |
| commit | 3034d408668b5f51eb822af209edcc8fe59be56f (patch) | |
| tree | 5836f645ae932a908994a9e600edb0abade44428 | |
| parent | 2007bffd970f7bbcbfc2b0f78a0d967070146898 (diff) | |
Disable failing tests in ShortcutService
Bug: 398127821
Bug: 398143156
Change-Id: I501c8b4c46212570b9bb0c2647b1a729c0b24fee
Test: manual
Flag: TEST_ONLY
| -rw-r--r-- | services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java b/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java index ad1537e270e8..d6de31406b5a 100644 --- a/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java +++ b/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java @@ -159,7 +159,7 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { /** * Test for the first launch path, no settings file available. */ - public void testFirstInitialize() { + public void disabled_testFirstInitialize() { assertResetTimes(START_TIME, START_TIME + INTERVAL); } @@ -266,7 +266,7 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { } /** Test for {@link android.content.pm.ShortcutManager#getRemainingCallCount()} */ - public void testGetRemainingCallCount() { + public void disabled_testGetRemainingCallCount() { assertEquals(MAX_UPDATES_PER_INTERVAL, mManager.getRemainingCallCount()); } @@ -1782,7 +1782,7 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { // === Test for launcher side APIs === - public void testGetShortcuts() { + public void disabled_testGetShortcuts() { // Set up shortcuts. @@ -2158,7 +2158,7 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { }); } - public void testGetShortcuts_personsFlag() { + public void disabled_testGetShortcuts_personsFlag() { ShortcutInfo s = new ShortcutInfo.Builder(mClientContext, "id") .setShortLabel("label") .setActivity(new ComponentName(mClientContext, ShortcutActivity2.class)) @@ -2206,7 +2206,7 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { } // TODO resource - public void testGetShortcutInfo() { + public void disabled_testGetShortcutInfo() { // Create shortcuts. setCaller(CALLING_PACKAGE_1); final ShortcutInfo s1_1 = makeShortcut( @@ -6913,12 +6913,12 @@ public class ShortcutManagerTest1 extends BaseShortcutManagerTest { mManager.hasShareTargets(CALLING_PACKAGE_1); } - public void testDumpsys_crossProfile() { + public void disabled_testDumpsys_crossProfile() { prepareCrossProfileDataSet(); dumpsysOnLogcat("test1", /* force= */ true); } - public void testDumpsys_withIcons() throws IOException { + public void disabled_testDumpsys_withIcons() throws IOException { testIcons(); // Dump after having some icons. dumpsysOnLogcat("test1", /* force= */ true); |