Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Issue 2901053003: 📷 Create RenderTestRule which fails after test method finishes. (Closed)

Created:
3 years, 7 months ago by PEConn
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mikecase+watch_chromium.org, noyau+watch_chromium.org, jbudorick+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

📷 Create RenderTestRule which fails after test method finishes. This CL: - Removes RenderUtils. - Creates RenderTestRule with most of the RenderUtils functionality. - Updates render tests to RenderTestRule. - Removes the 'regenerate-goldens' flag. This is not needed because the RenderTestRule will throw an Exception once the test method has finished, so all image renders and diffs will be saved anyway. - Simplifies the rendering logic. BUG=614305 Review-Url: https://codereview.chromium.org/2901053003 Cr-Commit-Position: refs/heads/master@{#474978} Committed: https://chromium.googlesource.com/chromium/src/+/1c831a5af48331b017f2bf3d6a07abb40f143626

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove mMatchIds. #

Patch Set 3 : Typo in comment. #

Messages

Total messages: 10 (5 generated)
PEConn
PTAL!
3 years, 7 months ago (2017-05-24 16:08:30 UTC) #2
Bernhard Bauer
LGTM https://codereview.chromium.org/2901053003/diff/1/chrome/test/android/javatests/src/org/chromium/chrome/test/util/RenderTestRule.java File chrome/test/android/javatests/src/org/chromium/chrome/test/util/RenderTestRule.java (right): https://codereview.chromium.org/2901053003/diff/1/chrome/test/android/javatests/src/org/chromium/chrome/test/util/RenderTestRule.java#newcode94 chrome/test/android/javatests/src/org/chromium/chrome/test/util/RenderTestRule.java:94: private List<String> mMatchIds = new LinkedList<>(); We're not ...
3 years, 7 months ago (2017-05-25 10:23:18 UTC) #3
jbudorick
lgtm
3 years, 7 months ago (2017-05-25 13:10:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901053003/40001
3 years, 7 months ago (2017-05-26 09:19:13 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 10:26:00 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1c831a5af48331b017f2bf3d6a07...

Powered by Google App Engine
This is Rietveld 408576698