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

Issue 149281: Sprinkle some defensiveness into the UI tests so that they don't explode if t... (Closed)

Created:
11 years, 5 months ago by stuartmorgan
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, Paul Godavari, Ben Goodger (Google)
Visibility:
Public.

Description

Sprinkle some defensiveness into the UI tests so that they don't explode if the proxy doesn't respond (e.g., due to a timeout). BUG=none TEST=Hopefully the Mac valgrind bots will more reliably run all their tests (although there are likely more issues like this lurking). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20096

Patch Set 1 #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -34 lines) Patch
M chrome/browser/browser_uitest.cc View 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/crash_recovery_uitest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/download/download_uitest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/download/save_page_uitest.cc View 5 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host_uitest.cc View 7 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_restore_uitest.cc View 1 2 8 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/view_source_uitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_restore_uitest.cc View 1 2 3 16 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/unload_uitest.cc View 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/views/find_bar_win_uitest.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_test_base.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/test/automated_ui_tests/automated_ui_test_test.cc View 10 chunks +17 lines, -17 lines 0 comments Download
M chrome/test/page_cycler/page_cycler_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/ui/dom_checker_uitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/ui/sunspider_uitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/worker/worker_uitest.cc View 4 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
stuartmorgan
11 years, 5 months ago (2009-07-07 20:53:50 UTC) #1
Mark Mentovai
LG othewrise http://codereview.chromium.org/149281/diff/1/8 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/149281/diff/1/8#newcode205 Line 205: scoped_refptr<TabProxy> tab_proxy(browser_proxy->GetTab(0)); We never use the ...
11 years, 5 months ago (2009-07-07 21:11:12 UTC) #2
stuartmorgan
http://codereview.chromium.org/149281/diff/1/8 File chrome/browser/sessions/session_restore_uitest.cc (right): http://codereview.chromium.org/149281/diff/1/8#newcode205 Line 205: scoped_refptr<TabProxy> tab_proxy(browser_proxy->GetTab(0)); On 2009/07/07 21:11:12, Mark Mentovai wrote: ...
11 years, 5 months ago (2009-07-07 21:55:05 UTC) #3
Mark Mentovai
11 years, 5 months ago (2009-07-07 22:31:26 UTC) #4
Looks excellent to me

Powered by Google App Engine
This is Rietveld 408576698