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

Commit 8babea8d authored by Raman Tenneti's avatar Raman Tenneti Committed by Automerger Merge Worker
Browse files

Merge "Disable the failing setAutoMode_screenOff* tests in stage-aosp-master."...

Merge "Disable the failing setAutoMode_screenOff* tests in stage-aosp-master." into stage-aosp-master am: 92c5c31f

Change-Id: Icce75bcca44006fa5b50cfb6f2c24ba6b5f42368
parents 36bc9622 92c5c31f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import android.testing.TestableLooper;
import com.android.server.twilight.TwilightManager;
import com.android.server.wm.WindowManagerInternal;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -88,6 +89,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
        });
    }

    @Ignore // b/152719290 - Fails on stage-aosp-master
    @Test
    public void setAutoMode_screenOffRegistered() throws RemoteException {
        try {
@@ -97,6 +99,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
        verify(mContext, atLeastOnce()).registerReceiver(any(BroadcastReceiver.class), any());
    }

    @Ignore // b/152719290 - Fails on stage-aosp-master
    @Test
    public void setAutoMode_screenOffUnRegistered() throws RemoteException {
        try {