Merge "Fix more config_headlineFontFamily-induced test breakages" into oc-dr1-dev am: 7b445d59ef

am: 1ee62c16a3

Change-Id: I7f051180f0938d3eb467e87c522fc9fb4b12e5f5
This commit is contained in:
Andrew Sapperstein
2017-07-27 01:36:57 +00:00
committed by android-build-merger

View File

@@ -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)