Enable ignored test cases of MainClearTest

UserManager interface changed, we need to handle it in ShadowUserManager

Bug: 204031530
Change-Id: Ieef930a5aff91f331d580752d3ebce9a4b500d27
Test: robotest
This commit is contained in:
Edgar Wang
2022-01-19 13:32:36 +00:00
parent 5c37adbca6
commit 1160896f89

View File

@@ -55,7 +55,6 @@ import com.android.settingslib.development.DevelopmentSettingsEnabler;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor; import org.mockito.ArgumentCaptor;
@@ -209,7 +208,6 @@ public class MainClearTest {
} }
@Test @Test
@Ignore
public void testShowWipeEuicc_euiccEnabled_unprovisioned() { public void testShowWipeEuicc_euiccEnabled_unprovisioned() {
prepareEuiccState( prepareEuiccState(
true /* isEuiccEnabled */, true /* isEuiccEnabled */,
@@ -228,7 +226,6 @@ public class MainClearTest {
} }
@Test @Test
@Ignore
public void testShowWipeEuicc_developerMode_unprovisioned() { public void testShowWipeEuicc_developerMode_unprovisioned() {
prepareEuiccState( prepareEuiccState(
true /* isEuiccEnabled */, true /* isEuiccEnabled */,