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

Commit c3ba1042 authored by FanWu's avatar FanWu
Browse files

Ignore MemtagPreferenceControllerTest and the development test

Bug: 313564061

Test: atest
Change-Id: I927241e809aee9cc382d09a59a85277a5602c9ba
parent 2991cfbc
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -38,6 +38,7 @@ import com.android.settingslib.RestrictedSwitchPreference;
import com.android.settingslib.testutils.shadow.ShadowInteractionJankMonitor;
import com.android.settingslib.testutils.shadow.ShadowInteractionJankMonitor;


import org.junit.Before;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;
@@ -46,6 +47,7 @@ import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowSystemProperties;
import org.robolectric.shadows.ShadowSystemProperties;


@Ignore("b/313564061")
@RunWith(RobolectricTestRunner.class)
@RunWith(RobolectricTestRunner.class)
@Config(
@Config(
        shadows = {
        shadows = {
+1 −2
Original line number Original line Diff line number Diff line
@@ -43,6 +43,7 @@ import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowSystemProperties;
import org.robolectric.shadows.ShadowSystemProperties;


@Ignore("b/313564061")
@RunWith(RobolectricTestRunner.class)
@RunWith(RobolectricTestRunner.class)
@Config(
@Config(
        shadows = {
        shadows = {
@@ -134,7 +135,6 @@ public class MemtagPreferenceControllerTest {
    }
    }


    @Test
    @Test
    @Ignore
    public void setChecked_isChecked_doesNotShowDialog() {
    public void setChecked_isChecked_doesNotShowDialog() {
        ZygoteShadow.setSupportsMemoryTagging(false);
        ZygoteShadow.setSupportsMemoryTagging(false);
        mController.setChecked(false);
        mController.setChecked(false);
@@ -142,7 +142,6 @@ public class MemtagPreferenceControllerTest {
    }
    }


    @Test
    @Test
    @Ignore
    public void setChecked_isUnchecked_doesNotShowDialog() {
    public void setChecked_isUnchecked_doesNotShowDialog() {
        ZygoteShadow.setSupportsMemoryTagging(true);
        ZygoteShadow.setSupportsMemoryTagging(true);
        mController.setChecked(true);
        mController.setChecked(true);