Loading tests/robotests/src/com/android/settings/security/trustagent/TrustAgentsPreferenceControllerTest.java +5 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import com.android.settingslib.RestrictedSwitchPreference; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; Loading Loading @@ -105,6 +106,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(0); } @Ignore("b/313612480") @Test public void onStart_hasAUninstalledTrustAgent_shouldRemoveOnePreferenceAndLeaveTwoPreferences() { Loading @@ -125,6 +127,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(2); } @Ignore("b/313612480") @Test public void onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences() { final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); Loading @@ -145,6 +148,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(4); } @Ignore("b/313612480") @Test public void onStart_hasUnrestrictedTrustAgent_shouldAddThreeChangeablePreferences() { ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures(0); Loading @@ -165,6 +169,7 @@ public class TrustAgentsPreferenceControllerTest { } } @Ignore("b/313612480") @Test public void onStart_hasRestrictedTructAgent_shouldAddThreeUnchangeablePreferences() { final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); Loading Loading
tests/robotests/src/com/android/settings/security/trustagent/TrustAgentsPreferenceControllerTest.java +5 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import com.android.settingslib.RestrictedSwitchPreference; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; Loading Loading @@ -105,6 +106,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(0); } @Ignore("b/313612480") @Test public void onStart_hasAUninstalledTrustAgent_shouldRemoveOnePreferenceAndLeaveTwoPreferences() { Loading @@ -125,6 +127,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(2); } @Ignore("b/313612480") @Test public void onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences() { final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); Loading @@ -145,6 +148,7 @@ public class TrustAgentsPreferenceControllerTest { assertThat(mPreferenceScreen.getPreferenceCount()).isEqualTo(4); } @Ignore("b/313612480") @Test public void onStart_hasUnrestrictedTrustAgent_shouldAddThreeChangeablePreferences() { ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures(0); Loading @@ -165,6 +169,7 @@ public class TrustAgentsPreferenceControllerTest { } } @Ignore("b/313612480") @Test public void onStart_hasRestrictedTructAgent_shouldAddThreeUnchangeablePreferences() { final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); Loading