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

Issue 441263002: Generalizing architecture for screenshot testing (Closed)

Created:
6 years, 4 months ago by Lisa Ignatyeva
Modified:
6 years, 3 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, dzhioev (left Google), Denis Kuznetsov (DE-MUC)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Moving parts connected to screenshot testing from login_ui_browsertest.cc to separate files. Uses BrowserTestBase::Admixture added in https://codereview.chromium.org/468493003/. BUG=395653 Committed: https://crrev.com/e9d0473ab031c24ba51633a61ea1539d1827f74f Cr-Commit-Position: refs/heads/master@{#295964}

Patch Set 1 #

Patch Set 2 : commented line removed #

Total comments: 8

Patch Set 3 : rewritten using BrowserTestBase::Admixture #

Total comments: 14

Patch Set 4 : removed most of the animation handling from ScreenshotComparingAdmixture #

Patch Set 5 : rewritten using MixinBasedBrowserTest::Mixin #

Patch Set 6 : removed files not related to this CL directly #

Total comments: 1

Patch Set 7 : removed debug output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -125 lines) Patch
M chrome/browser/chromeos/login/login_ui_browsertest.cc View 1 2 3 4 3 chunks +7 lines, -125 lines 0 comments Download
A chrome/browser/chromeos/login/screenshot_testing_mixin.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/screenshot_testing_mixin.cc View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Lisa Ignatyeva
6 years, 4 months ago (2014-08-06 09:47:54 UTC) #1
Nikita (slow)
Pavel, please review.
6 years, 4 months ago (2014-08-06 10:12:42 UTC) #2
dzhioev (left Google)
https://codereview.chromium.org/441263002/diff/20001/chrome/browser/chromeos/login/login_ui_browsertest.cc File chrome/browser/chromeos/login/login_ui_browsertest.cc (right): https://codereview.chromium.org/441263002/diff/20001/chrome/browser/chromeos/login/login_ui_browsertest.cc#newcode94 chrome/browser/chromeos/login/login_ui_browsertest.cc:94: RunScreenshotTesting("LoginUITest-LoginUIVisible"); Note for future improvements: we can form test ...
6 years, 4 months ago (2014-08-07 11:23:56 UTC) #3
Lisa Ignatyeva
I've completely rewritten the architecture. Now screenshot testing part is not a test class any ...
6 years, 4 months ago (2014-08-19 11:51:23 UTC) #4
dzhioev (left Google)
https://codereview.chromium.org/441263002/diff/40001/chrome/browser/chromeos/login/login_ui_browsertest.cc File chrome/browser/chromeos/login/login_ui_browsertest.cc (right): https://codereview.chromium.org/441263002/diff/40001/chrome/browser/chromeos/login/login_ui_browsertest.cc#newcode29 chrome/browser/chromeos/login/login_ui_browsertest.cc:29: } Either add new line here or remove empty ...
6 years, 4 months ago (2014-08-25 17:01:19 UTC) #5
Lisa Ignatyeva
Patchset #4 (id:60001) has been deleted
6 years, 4 months ago (2014-08-25 17:46:29 UTC) #6
Lisa Ignatyeva
Most of the animation handling is not part of ScreenshotComparingAdmixture anymore, it now handles only ...
6 years, 4 months ago (2014-08-25 17:57:54 UTC) #7
Lisa Ignatyeva
I've rewritten it again, now using stuff from this https://codereview.chromium.org/574703002/ CL
6 years, 3 months ago (2014-09-17 12:29:12 UTC) #8
dzhioev (left Google)
Much better! Thanks. LGTM with nit https://codereview.chromium.org/441263002/diff/120001/chrome/browser/chromeos/login/screenshot_testing_mixin.cc File chrome/browser/chromeos/login/screenshot_testing_mixin.cc (right): https://codereview.chromium.org/441263002/diff/120001/chrome/browser/chromeos/login/screenshot_testing_mixin.cc#newcode23 chrome/browser/chromeos/login/screenshot_testing_mixin.cc:23: VLOG(0) << "setting ...
6 years, 3 months ago (2014-09-18 04:18:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/441263002/160001
6 years, 3 months ago (2014-09-22 12:51:16 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:160001) as dbaf89089d1a32f44d5e7b1bfb823f6f599bce87
6 years, 3 months ago (2014-09-22 14:00:09 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 14:00:51 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/e9d0473ab031c24ba51633a61ea1539d1827f74f
Cr-Commit-Position: refs/heads/master@{#295964}

Powered by Google App Engine
This is Rietveld 408576698