Merge "Disable the failing setAutoMode_screenOff* tests in stage-aosp-master." into stage-aosp-master am: 92c5c31f8e am: 5697089f20 am: be6688ea29
Change-Id: I1e560cca58f0e21b1f63a0b28e2da5f9e0ebf5ba
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user