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

Issue 7489019: Fix up various browser tests not to use WaitForNavigation. (Closed)

Created:
9 years, 5 months ago by Greg Billock
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix up various browser tests not to use WaitForNavigation. Convenience methods for WindowedNotificationObserver. R=phajdan.jr@chromium.org BUG=various TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96593

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebased #

Patch Set 3 : Repair merge. #

Patch Set 4 : Review changes. #

Patch Set 5 : Add TODO #

Patch Set 6 : Use the single WNO ctor. #

Total comments: 10

Patch Set 7 : Fix WNO call #

Patch Set 8 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -85 lines) Patch
M chrome/browser/browser_focus_uitest.cc View 1 2 3 4 5 4 chunks +32 lines, -7 lines 0 comments Download
M chrome/browser/crash_recovery_browsertest.cc View 1 2 3 4 5 4 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 2 3 4 5 1 chunk +11 lines, -5 lines 0 comments Download
M chrome/browser/pdf_browsertest.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/sidebar/sidebar_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 7 11 chunks +105 lines, -48 lines 0 comments Download
M chrome/browser/ui/find_bar/find_bar_host_browsertest.cc View 1 2 3 4 5 4 chunks +15 lines, -7 lines 0 comments Download
M chrome/test/base/ui_test_utils.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Greg Billock
9 years, 5 months ago (2011-07-22 22:14:41 UTC) #1
Paweł Hajdan Jr.
Thank you very much for working on this. Generally minor comments. Looking forward to the ...
9 years, 5 months ago (2011-07-25 18:06:13 UTC) #2
Greg Billock
http://codereview.chromium.org/7489019/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): http://codereview.chromium.org/7489019/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode121 chrome/browser/ssl/ssl_browser_tests.cc:121: // Wait for the navigation to be done. On ...
9 years, 4 months ago (2011-08-02 18:11:33 UTC) #3
Paweł Hajdan Jr.
If possible, it would be nice to do something with the TestNavigationObserver duplication/divergence. I'm not ...
9 years, 4 months ago (2011-08-02 20:11:19 UTC) #4
Greg Billock
On 2011/08/02 20:11:19, Paweł Hajdan Jr. wrote: > If possible, it would be nice to ...
9 years, 4 months ago (2011-08-03 18:08:29 UTC) #5
Paweł Hajdan Jr.
On 2011/08/03 18:08:29, Greg Billock wrote: > Basically they're conveniences. It's pretty wordy to make ...
9 years, 4 months ago (2011-08-03 19:13:09 UTC) #6
Greg Billock
On 2011/08/03 19:13:09, Paweł Hajdan Jr. wrote: > On 2011/08/03 18:08:29, Greg Billock wrote: > ...
9 years, 4 months ago (2011-08-03 23:08:12 UTC) #7
Paweł Hajdan Jr.
LGTM with comments, thanks a lot for this work! http://codereview.chromium.org/7489019/diff/15001/chrome/browser/sidebar/sidebar_browsertest.cc File chrome/browser/sidebar/sidebar_browsertest.cc (right): http://codereview.chromium.org/7489019/diff/15001/chrome/browser/sidebar/sidebar_browsertest.cc#newcode75 chrome/browser/sidebar/sidebar_browsertest.cc:75: ...
9 years, 4 months ago (2011-08-04 17:56:48 UTC) #8
Greg Billock
http://codereview.chromium.org/7489019/diff/15001/chrome/browser/sidebar/sidebar_browsertest.cc File chrome/browser/sidebar/sidebar_browsertest.cc (right): http://codereview.chromium.org/7489019/diff/15001/chrome/browser/sidebar/sidebar_browsertest.cc#newcode75 chrome/browser/sidebar/sidebar_browsertest.cc:75: ui_test_utils::WindowedNotificationObserver observer(tab->controller()); On 2011/08/04 17:56:48, Paweł Hajdan Jr. wrote: ...
9 years, 4 months ago (2011-08-11 22:57:45 UTC) #9
Paweł Hajdan Jr.
http://codereview.chromium.org/7489019/diff/15001/chrome/test/base/ui_test_utils.cc File chrome/test/base/ui_test_utils.cc (right): http://codereview.chromium.org/7489019/diff/15001/chrome/test/base/ui_test_utils.cc#newcode60 chrome/test/base/ui_test_utils.cc:60: // TODO(gbillock): this should be merged with TestNavigationObserver On ...
9 years, 4 months ago (2011-08-11 23:03:02 UTC) #10
commit-bot: I haz the power
9 years, 4 months ago (2011-08-12 19:17:52 UTC) #11
Change committed as 96593

Powered by Google App Engine
This is Rietveld 408576698