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

Issue 2848012: Add basic UI tests for dom_ui/options. (Closed)

Created:
10 years, 6 months ago by csilv
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Add basic UI tests for dom_ui/options. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50672

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 5

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 5

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -0 lines) Patch
M chrome/browser/automation/automation_provider_observers.cc View 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/dom_ui/options_ui_uitest.cc View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
csilv
Basic UI tests for options_ui.cc. Modeled after similar UI tests for the bookmarks manager.
10 years, 6 months ago (2010-06-21 17:38:55 UTC) #1
Paweł Hajdan Jr.
Drive-by. I remember reviewing a similar CL. I think that we should really handle IDC_OPTIONS ...
10 years, 6 months ago (2010-06-21 17:43:04 UTC) #2
Evan Stade
http://codereview.chromium.org/2848012/diff/5/4002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/5/4002#newcode57 chrome/browser/dom_ui/options_ui_uitest.cc:57: ASSERT_TRUE(browser->WaitForTabToBecomeActive(1, action_max_timeout_ms())); On 2010/06/21 17:43:04, Paweł Hajdan Jr. wrote: ...
10 years, 6 months ago (2010-06-21 19:39:22 UTC) #3
Paweł Hajdan Jr.
http://codereview.chromium.org/2848012/diff/5/4002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/5/4002#newcode57 chrome/browser/dom_ui/options_ui_uitest.cc:57: ASSERT_TRUE(browser->WaitForTabToBecomeActive(1, action_max_timeout_ms())); On 2010/06/21 19:39:22, Evan Stade wrote: > ...
10 years, 6 months ago (2010-06-21 19:42:41 UTC) #4
Evan Stade
http://codereview.chromium.org/2848012/diff/5/4002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/5/4002#newcode57 chrome/browser/dom_ui/options_ui_uitest.cc:57: ASSERT_TRUE(browser->WaitForTabToBecomeActive(1, action_max_timeout_ms())); On 2010/06/21 19:42:41, Paweł Hajdan Jr. wrote: ...
10 years, 6 months ago (2010-06-21 19:45:14 UTC) #5
Paweł Hajdan Jr.
http://codereview.chromium.org/2848012/diff/5/4002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/5/4002#newcode57 chrome/browser/dom_ui/options_ui_uitest.cc:57: ASSERT_TRUE(browser->WaitForTabToBecomeActive(1, action_max_timeout_ms())); On 2010/06/21 19:45:14, Evan Stade wrote: > ...
10 years, 6 months ago (2010-06-21 19:47:45 UTC) #6
csilv
I've made changes to the this CL that should be consistent with Pawel's request. Namely, ...
10 years, 6 months ago (2010-06-22 23:20:35 UTC) #7
James Hawkins
http://codereview.chromium.org/2848012/diff/12001/13002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/12001/13002#newcode5 chrome/browser/dom_ui/options_ui_uitest.cc:5: #include "chrome/test/ui/ui_test.h" nit: This should be inserted in the ...
10 years, 6 months ago (2010-06-22 23:31:43 UTC) #8
csilv
http://codereview.chromium.org/2848012/diff/12001/13002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/12001/13002#newcode5 chrome/browser/dom_ui/options_ui_uitest.cc:5: #include "chrome/test/ui/ui_test.h" On 2010/06/22 23:31:44, James Hawkins wrote: > ...
10 years, 6 months ago (2010-06-23 00:01:05 UTC) #9
James Hawkins
LGTM
10 years, 6 months ago (2010-06-23 00:42:57 UTC) #10
Paweł Hajdan Jr.
This looks much better now, thanks. Let's try to clean it up a bit more, ...
10 years, 6 months ago (2010-06-23 06:33:36 UTC) #11
csilv
http://codereview.chromium.org/2848012/diff/10002/24001 File chrome/browser/automation/automation_provider_observers.cc (right): http://codereview.chromium.org/2848012/diff/10002/24001#newcode687 chrome/browser/automation/automation_provider_observers.cc:687: {IDC_OPTIONS, NotificationType::TAB_CONTENTS_TITLE_UPDATED}, On 2010/06/23 06:33:37, Paweł Hajdan Jr. wrote: ...
10 years, 6 months ago (2010-06-23 17:45:14 UTC) #12
Paweł Hajdan Jr.
http://codereview.chromium.org/2848012/diff/10002/24002 File chrome/browser/dom_ui/options_ui_uitest.cc (right): http://codereview.chromium.org/2848012/diff/10002/24002#newcode25 chrome/browser/dom_ui/options_ui_uitest.cc:25: // tab->GetCurrentURL is not up to date. On 2010/06/23 ...
10 years, 6 months ago (2010-06-23 17:59:41 UTC) #13
csilv
Thx for the feedback. Changes made, please take a look.
10 years, 6 months ago (2010-06-23 18:34:18 UTC) #14
Paweł Hajdan Jr.
10 years, 6 months ago (2010-06-23 18:39:47 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld 408576698