Re-enable most tests
Most tests are still successful. We don't want to impact too much test coverage by disabling all tests. Bug: 291146670 Test: atest ChooseLockPasswordTest --rerun-until-failure 50 Change-Id: Ia8266dc5d44ea9271a28e1bee80c3855b3c2d52b
This commit is contained in:
@@ -74,7 +74,6 @@ import org.robolectric.Shadows;
|
|||||||
import org.robolectric.annotation.Config;
|
import org.robolectric.annotation.Config;
|
||||||
import org.robolectric.shadows.ShadowDrawable;
|
import org.robolectric.shadows.ShadowDrawable;
|
||||||
|
|
||||||
@Ignore
|
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
@Config(shadows = {
|
@Config(shadows = {
|
||||||
SettingsShadowResources.class,
|
SettingsShadowResources.class,
|
||||||
@@ -396,6 +395,7 @@ public class ChooseLockPasswordTest {
|
|||||||
"Must be at least 6 characters");
|
"Must be at least 6 characters");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore
|
||||||
@Test
|
@Test
|
||||||
public void processAndValidatePasswordRequirements_autoPinDisabled_defaultPinMinimumLength() {
|
public void processAndValidatePasswordRequirements_autoPinDisabled_defaultPinMinimumLength() {
|
||||||
DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,
|
DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,
|
||||||
@@ -525,6 +525,7 @@ public class ChooseLockPasswordTest {
|
|||||||
assertThat(pinAutoConfirmOption.isChecked()).isFalse();
|
assertThat(pinAutoConfirmOption.isChecked()).isFalse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore
|
||||||
@Test
|
@Test
|
||||||
public void autoPinConfirmOption_featureDisabled_shouldRemainInvisibleAndUnchecked() {
|
public void autoPinConfirmOption_featureDisabled_shouldRemainInvisibleAndUnchecked() {
|
||||||
DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,
|
DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,
|
||||||
|
|||||||
Reference in New Issue
Block a user