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

Commit b0c47bf5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Disable failing tests." into main

parents 9fed1f9d f7a1ffe7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ public class ShortcutManagerTest7 extends BaseShortcutManagerTest {
        assertEquals(99, mService.mMaxUpdatesPerInterval);
    }

    public void testRoot() throws Exception {
    public void disabled_testRoot() throws Exception {
        mService.mMaxUpdatesPerInterval = 99;

        mInjectedCallingUid = Process.ROOT_UID;
@@ -262,7 +262,7 @@ public class ShortcutManagerTest7 extends BaseShortcutManagerTest {
                "Launcher: ComponentInfo{com.android.test.1/name}");
    }

    public void testUnloadUser() throws Exception {
    public void disabled_testUnloadUser() throws Exception {
        prepareCrossProfileDataSet();

        assertNotNull(mService.getShortcutsForTest().get(USER_11));
+2 −2
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ public class ShortcutManagerTest8 extends BaseShortcutManagerTest {
        makeCallerForeground();
    }

    public void testGetParentOrSelfUserId() {
    public void disabled_testGetParentOrSelfUserId() {
        assertEquals(USER_10, mService.getParentOrSelfUserId(USER_10));
        assertEquals(USER_11, mService.getParentOrSelfUserId(USER_11));
        assertEquals(USER_12, mService.getParentOrSelfUserId(USER_12));
@@ -222,7 +222,7 @@ public class ShortcutManagerTest8 extends BaseShortcutManagerTest {
                actualIntent.getFlags());
    }

    public void testNotForeground() {
    public void disabled_testNotForeground() {
        setDefaultLauncher(USER_10, LAUNCHER_1);

        runWithCaller(CALLING_PACKAGE_1, USER_P0, () -> {