Revert "Remove @Ignore from class level"

This reverts commit 53d4a34c65.

Reason for revert: once cr/233102640 is submitted it should properly filter out the Ignore from the class level and avoid the issue completely.
Bug: 124056776
Change-Id: Idbeda8e21d35710cdc291a2a8012fbd0d5752c14
This commit is contained in:
Julien Desprez
2019-02-08 20:12:28 +00:00
parent 53d4a34c65
commit 7e8798c1b4
3 changed files with 3 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;
@SmallTest
@Ignore("failing")
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
public class DozeTriggersTest extends SysuiTestCase {
@@ -89,7 +90,6 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testOnNotification_stillWorksAfterOneFailedProxCheck() throws Exception {
when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE);
@@ -111,7 +111,6 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testDockEventListener_registerAndUnregister() {
mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED);
@@ -123,7 +122,6 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testOnSensor_whenUndockedWithNearAndDoubleTapScreen_shouldNotWakeUp() {
mSensors.getMockProximitySensor().sendProximityResult(false /* far */);
@@ -135,7 +133,6 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testOnSensor_whenDockedWithNearAndDoubleTapScreen_shouldWakeUp() {
doReturn(true).when(mDockManagerFake).isDocked();
mSensors.getMockProximitySensor().sendProximityResult(false /* far */);

View File

@@ -56,6 +56,7 @@ import org.junit.runner.RunWith;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
@SmallTest
@Ignore
public class QSFragmentTest extends SysuiBaseFragmentTest {
private MetricsLogger mMockMetricsLogger;

View File

@@ -52,6 +52,7 @@ import org.mockito.MockitoAnnotations;
@SmallTest
@RunWith(AndroidTestingRunner.class)
@TestableLooper.RunWithLooper
@Ignore("b/118400112")
public class NonPhoneDependencyTest extends SysuiTestCase {
@Mock private NotificationPresenter mPresenter;
@Mock private NotificationListContainer mListContainer;