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

Commit 4ec6b125 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Android (Google) Code Review
Browse files

Merge "@Ignore is unsupported on classes and confuses TH flake monitoring."

parents ba529186 5d7d9599
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ import org.junit.runner.RunWith;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
@SmallTest
@Ignore("failing")
public class QSFooterImplTest extends LeakCheckedTest {

    private QSFooterImpl mFooter;
@@ -60,6 +59,7 @@ public class QSFooterImplTest extends LeakCheckedTest {
    }

    @Test
    @Ignore("failing")
    public void testSettings_UserNotSetup() {
        View settingsButton = mFooter.findViewById(id.settings_button);
        when(mDeviceProvisionedController.isCurrentUserSetup()).thenReturn(false);
+4 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ import android.widget.FrameLayout;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper(setAsMainLooper = true)
@SmallTest
@Ignore("failing")
@Ignore
public class QSFragmentTest extends SysuiBaseFragmentTest {

    private MetricsLogger mMockMetricsLogger;
@@ -62,6 +62,7 @@ public class QSFragmentTest extends SysuiBaseFragmentTest {
    }

    @Before
    @Ignore("failing")
    public void addLeakCheckDependencies() {
        mMockMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class);
        mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE,
@@ -80,6 +81,7 @@ public class QSFragmentTest extends SysuiBaseFragmentTest {
    }

    @Test
    @Ignore("failing")
    public void testListening() {
        assertEquals(Looper.myLooper(), Looper.getMainLooper());
        QSFragment qs = (QSFragment) mFragment;
@@ -103,6 +105,7 @@ public class QSFragmentTest extends SysuiBaseFragmentTest {
    }

    @Test
    @Ignore("failing")
    public void testSaveState() {
        QSFragment qs = (QSFragment) mFragment;

+3 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ import org.junit.runner.RunWith;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper(setAsMainLooper = true)
@SmallTest
@Ignore("Flaky")
@Ignore
public class CarQsFragmentTest extends SysuiBaseFragmentTest {
    public CarQsFragmentTest() {
        super(CarQSFragment.class);
@@ -64,6 +64,7 @@ public class CarQsFragmentTest extends SysuiBaseFragmentTest {
    }

    @Test
    @Ignore("Flaky")
    public void testLayoutInflation() {
        CarQSFragment fragment = (CarQSFragment) mFragment;
        mFragments.dispatchResume();
@@ -73,6 +74,7 @@ public class CarQsFragmentTest extends SysuiBaseFragmentTest {
    }

    @Test
    @Ignore("Flaky")
    public void testListening() {
        CarQSFragment qs = (CarQSFragment) mFragment;
        mFragments.dispatchResume();
+2 −1
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ import org.junit.runner.RunWith;
@RunWith(AndroidTestingRunner.class)
@RunWithLooper
@SmallTest
@Ignore
public class LocationControllerImplTest extends SysuiTestCase {

    private LocationControllerImpl mLocationController;
@@ -48,6 +47,7 @@ public class LocationControllerImplTest extends SysuiTestCase {
    }

    @Test
    @Ignore("flaky")
    public void testRemoveSelfActive_DoesNotCrash() {
        LocationController.LocationChangeCallback callback = new LocationChangeCallback() {
            @Override
@@ -69,6 +69,7 @@ public class LocationControllerImplTest extends SysuiTestCase {
    }

    @Test
    @Ignore("flaky")
    public void testRemoveSelfSettings_DoesNotCrash() {
        LocationController.LocationChangeCallback callback = new LocationChangeCallback() {
            @Override
+1 −1
Original line number Diff line number Diff line
@@ -56,10 +56,10 @@ import org.mockito.MockitoAnnotations;

import java.util.function.Predicate;

@Ignore
@SmallTest
@RunWith(AndroidTestingRunner.class)
@TestableLooper.RunWithLooper
@Ignore
public class VolumeDialogImplTest extends SysuiTestCase {

    VolumeDialogImpl mDialog;