Test Fix SettingRobolectricTest Fail
Bug: b/275023433 Test: NA Change-Id: If2dcb8f6c196327129ccc9375b190e394c994efa
This commit is contained in:
@@ -27,6 +27,7 @@ import androidx.preference.Preference;
|
||||
import androidx.test.core.app.ApplicationProvider;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -59,6 +60,7 @@ public class RebootWithMtePreferenceControllerTest {
|
||||
assertFalse(mController.isAvailable());
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void onAvailable_sysPropEnabled() {
|
||||
SystemProperties.set("ro.arm64.memtag.bootctl_supported", "1");
|
||||
|
||||
Reference in New Issue
Block a user