Commit abf61258 authored by Natalie Chouinard's avatar Natalie Chouinard Committed by Commit Bot

Increment settings render test revision

These render tests had breaking UI changes introduced in
https://crrev.com/c/2424506 and should have been re-baselined by
incrementing the revision number (see https://crbug.com/skia/10795).

Bug: 1131073
Change-Id: Idf9df5d43a6da8c80ae0c7ac5d1dcc0e88b59b71
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443400Reviewed-by: default avatarBoris Sazonov <bsazonov@chromium.org>
Commit-Queue: Natalie Chouinard <chouinard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813431}
parent 55997d2c
...@@ -76,6 +76,8 @@ import java.io.IOException; ...@@ -76,6 +76,8 @@ import java.io.IOException;
public class MainSettingsFragmentTest { public class MainSettingsFragmentTest {
private static final String SEARCH_ENGINE_SHORT_NAME = "Google"; private static final String SEARCH_ENGINE_SHORT_NAME = "Google";
private static final int RENDER_TEST_REVISION = 2;
private final HomepageTestRule mHomepageTestRule = new HomepageTestRule(); private final HomepageTestRule mHomepageTestRule = new HomepageTestRule();
private final SyncTestRule mSyncTestRule = new SyncTestRule(); private final SyncTestRule mSyncTestRule = new SyncTestRule();
...@@ -91,8 +93,9 @@ public class MainSettingsFragmentTest { ...@@ -91,8 +93,9 @@ public class MainSettingsFragmentTest {
.around(mSettingsActivityTestRule); .around(mSettingsActivityTestRule);
@Rule @Rule
public ChromeRenderTestRule mRenderTestRule = public ChromeRenderTestRule mRenderTestRule = ChromeRenderTestRule.Builder.withPublicCorpus()
ChromeRenderTestRule.Builder.withPublicCorpus().build(); .setRevision(RENDER_TEST_REVISION)
.build();
@Mock @Mock
public TemplateUrlService mMockTemplateUrlService; public TemplateUrlService mMockTemplateUrlService;
......
...@@ -69,6 +69,8 @@ import java.util.Set; ...@@ -69,6 +69,8 @@ import java.util.Set;
public class ManageSyncSettingsTest { public class ManageSyncSettingsTest {
private static final String TAG = "ManageSyncSettingsTest"; private static final String TAG = "ManageSyncSettingsTest";
private static final int RENDER_TEST_REVISION = 2;
/** /**
* Maps ModelTypes to their UI element IDs. * Maps ModelTypes to their UI element IDs.
*/ */
...@@ -98,7 +100,9 @@ public class ManageSyncSettingsTest { ...@@ -98,7 +100,9 @@ public class ManageSyncSettingsTest {
@Rule @Rule
public final ChromeRenderTestRule mRenderTestRule = public final ChromeRenderTestRule mRenderTestRule =
ChromeRenderTestRule.Builder.withPublicCorpus().build(); ChromeRenderTestRule.Builder.withPublicCorpus()
.setRevision(RENDER_TEST_REVISION)
.build();
@Test @Test
@SmallTest @SmallTest
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment