Remove @Ignore from class level

AJUR doesn't support @Ignore on class level, it dumps some
invalid "null" method when it sees those. Instead only rely
on method level @Ignore.

Test: atest SystemUITests:com.android.systemui.statusbar.NonPhoneDependencyTest
Bug: 122613124
Change-Id: Ic3e2d0a77922c6bcd99554092c9048828c49a351
This commit is contained in:
Julien Desprez
2019-02-07 08:40:48 -08:00
parent abb20bebd6
commit 53d4a34c65
3 changed files with 4 additions and 3 deletions

View File

@@ -50,7 +50,6 @@ import org.junit.Test;
import org.junit.runner.RunWith;
@SmallTest
@Ignore("failing")
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
public class DozeTriggersTest extends SysuiTestCase {
@@ -90,6 +89,7 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testOnNotification_stillWorksAfterOneFailedProxCheck() throws Exception {
when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE);
@@ -111,6 +111,7 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testDockEventListener_registerAndUnregister() {
mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED);
@@ -122,6 +123,7 @@ public class DozeTriggersTest extends SysuiTestCase {
}
@Test
@Ignore
public void testOnSensor_whenUndockedWithNearAndDoubleTapScreen_shouldNotWakeUp() {
mSensors.getMockProximitySensor().sendProximityResult(false /* far */);
@@ -133,6 +135,7 @@ 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,7 +56,6 @@ import org.junit.runner.RunWith;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
@SmallTest
@Ignore
public class QSFragmentTest extends SysuiBaseFragmentTest {
private MetricsLogger mMockMetricsLogger;

View File

@@ -52,7 +52,6 @@ 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;