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

Commit fe35c40d authored by Andrew Sapperstein's avatar Andrew Sapperstein Committed by android-build-merger
Browse files

Merge "Fix more config_headlineFontFamily-induced test breakages" into oc-dr1-dev

am: 7b445d59

Change-Id: I44d837dd039a13ef7f2bf236657a5fae3640b0be
parents 1602913a 7b445d59
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ import com.android.settings.testutils.shadow.ShadowEventLogWriter;
import com.android.settings.testutils.shadow.ShadowUtils;
import com.android.setupwizardlib.GlifLayout;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
@@ -56,6 +58,17 @@ import org.robolectric.shadows.ShadowDrawable;
        })
public class ChooseLockPasswordTest {

    @Before
    public void setUp() throws Exception {
        SettingsShadowResources.overrideResource(
                com.android.internal.R.string.config_headlineFontFamily, "");
    }

    @After
    public void tearDown() {
        SettingsShadowResources.reset();
    }

    @Test
    public void intentBuilder_setPassword_shouldAddExtras() {
        Intent intent = new IntentBuilder(application)