Enable ignored test cases of LocaleListEditorTest
UserManager interface changed, we need to handle it in ShadowUserManager Bug: 215046294 Change-Id: I4a32bf89c412b6f1b02e9d3b99117b905ebcff38 Test: robotest
This commit is contained in:
@@ -34,7 +34,6 @@ import com.android.settings.testutils.shadow.ShadowAlertDialogCompat;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -82,7 +81,6 @@ public class LocaleListEditorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testDisallowConfigLocale_unrestrict() {
|
||||
ReflectionHelpers.setField(mLocaleListEditor, "mIsUiRestricted", true);
|
||||
mLocaleListEditor.onAttach(mContext);
|
||||
@@ -91,7 +89,6 @@ public class LocaleListEditorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testDisallowConfigLocale_restrict() {
|
||||
ReflectionHelpers.setField(mLocaleListEditor, "mIsUiRestricted", false);
|
||||
mLocaleListEditor.onAttach(mContext);
|
||||
|
Reference in New Issue
Block a user