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

Commit 5697089f 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: Ib925cf862d76b76fa0176290927799bba3a12749
parents bf307544 92c5c31f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ import com.android.server.twilight.TwilightManager;
import com.android.server.twilight.TwilightState;
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;
@@ -158,6 +159,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
        LocalServices.addService(clazz, service);
    }

    @Ignore // b/152719290 - Fails on stage-aosp-master
    @Test
    public void setAutoMode_screenOffRegistered() throws RemoteException {
        try {
@@ -167,6 +169,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 {