Ignore MemtagPreferenceControllerTest and the development test
Bug: 313564061 Test: atest Change-Id: I927241e809aee9cc382d09a59a85277a5602c9ba
This commit is contained in:
@@ -38,6 +38,7 @@ import com.android.settingslib.RestrictedSwitchPreference;
|
||||
import com.android.settingslib.testutils.shadow.ShadowInteractionJankMonitor;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
@@ -46,13 +47,14 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
import org.robolectric.shadows.ShadowSystemProperties;
|
||||
|
||||
@Ignore("b/313564061")
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(
|
||||
shadows = {
|
||||
ZygoteShadow.class,
|
||||
ShadowDeviceConfig.class,
|
||||
ShadowInteractionJankMonitor.class,
|
||||
ShadowRestrictedLockUtilsInternal.class
|
||||
ZygoteShadow.class,
|
||||
ShadowDeviceConfig.class,
|
||||
ShadowInteractionJankMonitor.class,
|
||||
ShadowRestrictedLockUtilsInternal.class
|
||||
})
|
||||
public class DevelopmentMemtagPreferenceControllerTest {
|
||||
private final String mMemtagSupportedProperty = "ro.arm64.memtag.bootctl_supported";
|
||||
|
@@ -43,6 +43,7 @@ import org.robolectric.RobolectricTestRunner;
|
||||
import org.robolectric.annotation.Config;
|
||||
import org.robolectric.shadows.ShadowSystemProperties;
|
||||
|
||||
@Ignore("b/313564061")
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(
|
||||
shadows = {
|
||||
@@ -134,7 +135,6 @@ public class MemtagPreferenceControllerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void setChecked_isChecked_doesNotShowDialog() {
|
||||
ZygoteShadow.setSupportsMemoryTagging(false);
|
||||
mController.setChecked(false);
|
||||
@@ -142,7 +142,6 @@ public class MemtagPreferenceControllerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void setChecked_isUnchecked_doesNotShowDialog() {
|
||||
ZygoteShadow.setSupportsMemoryTagging(true);
|
||||
mController.setChecked(true);
|
||||
|
Reference in New Issue
Block a user