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

This commit is contained in:
Raman Tenneti
2020-04-03 20:35:36 +00:00
committed by Android (Google) Code Review

View File

@@ -31,6 +31,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;
@@ -87,6 +88,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
});
}
@Ignore // b/152719290 - Fails on stage-aosp-master
@Test
public void setAutoMode_screenOffRegistered() throws RemoteException {
try {
@@ -96,6 +98,7 @@ public class UiModeManagerServiceTest extends UiServiceTestCase {
verify(mContext).registerReceiver(any(BroadcastReceiver.class), any());
}
@Ignore // b/152719290 - Fails on stage-aosp-master
@Test
public void setAutoMode_screenOffUnRegistered() throws RemoteException {
try {