Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20390651 authored by Chun-Wei Wang's avatar Chun-Wei Wang
Browse files

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
parent b1aaa313
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ import org.robolectric.Shadows;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowDrawable;

@Ignore
@RunWith(RobolectricTestRunner.class)
@Config(shadows = {
        SettingsShadowResources.class,
@@ -396,6 +395,7 @@ public class ChooseLockPasswordTest {
                "Must be at least 6 characters");
    }

    @Ignore
    @Test
    public void processAndValidatePasswordRequirements_autoPinDisabled_defaultPinMinimumLength() {
        DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,
@@ -525,6 +525,7 @@ public class ChooseLockPasswordTest {
        assertThat(pinAutoConfirmOption.isChecked()).isFalse();
    }

    @Ignore
    @Test
    public void autoPinConfirmOption_featureDisabled_shouldRemainInvisibleAndUnchecked() {
        DeviceConfig.setProperty(NAMESPACE_AUTO_PIN_CONFIRMATION, FLAG_ENABLE_AUTO_PIN_CONFIRMATION,