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

Issue 7501004: Add test to each OptionsPage to open that page (Closed)

Created:
9 years, 5 months ago by Sheridan Rawlins
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., Evan Stade
Visibility:
Public.

Description

Add test to each OptionsPage to open that page. Browse to the page and test that the url is correct for the page. R=jhawkins@chromium.org BUG=90420 TEST=browser_tests --gtest_filter=*OptionsWebUITest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107017

Patch Set 1 #

Patch Set 2 : Added separate file for each option test. #

Total comments: 3

Patch Set 3 : recreated after new git workflow and moved files to directory near source. #

Patch Set 4 : Corrected names of options page browsertests. #

Patch Set 5 : Sorted options tests. #

Patch Set 6 : Corrected comments. #

Total comments: 12

Patch Set 7 : Addressing James' renames. #

Patch Set 8 : Made test fixture names better/agree with the filenames. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -15 lines) Patch
A chrome/browser/ui/webui/options/advanced_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/autofill_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/browser_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/certificate_manager_browsertest.js View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/content_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/content_settings_exception_area_browsertest.js View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/cookies_view_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/font_settings_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/language_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest.js View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
A chrome/browser/ui/webui/options/password_manager_browsertest.js View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/personal_options_browsertest.js View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/search_engine_manager_browsertest.js View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Sheridan Rawlins
9 years, 5 months ago (2011-07-26 01:25:31 UTC) #1
James Hawkins
http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi#newcode2622 chrome/chrome_tests.gypi:2622: 'test/data/webui/options.js', mkdir test/data/webui/options
9 years, 5 months ago (2011-07-26 01:26:24 UTC) #2
Sheridan Rawlins
http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi#newcode2622 chrome/chrome_tests.gypi:2622: 'test/data/webui/options.js', I can do that, but, know that the ...
9 years, 5 months ago (2011-07-26 01:37:17 UTC) #3
Sheridan Rawlins
http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi#newcode2622 chrome/chrome_tests.gypi:2622: 'test/data/webui/options.js', On 2011/07/26 01:26:24, James Hawkins wrote: > mkdir ...
9 years, 4 months ago (2011-08-03 16:06:42 UTC) #4
James Hawkins
On 2011/08/03 16:06:42, Sheridan Rawlins wrote: > http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi > File chrome/chrome_tests.gypi (right): > > http://codereview.chromium.org/7501004/diff/2001/chrome/chrome_tests.gypi#newcode2622 ...
9 years, 4 months ago (2011-08-03 17:32:27 UTC) #5
Sheridan Rawlins
On 2011/08/03 17:32:27, James Hawkins wrote: > On 2011/08/03 16:06:42, Sheridan Rawlins wrote: > > ...
9 years, 4 months ago (2011-08-03 17:55:58 UTC) #6
James Hawkins
What is the status of this CL?
9 years, 3 months ago (2011-09-20 00:49:38 UTC) #7
Sheridan Rawlins
It's got all the tests split out, but they're all under chrome/test/data/webui and we decided ...
9 years, 3 months ago (2011-09-20 01:13:44 UTC) #8
Sheridan Rawlins
Moved page-tests into the source directory and suffixed with _browsertest.js
9 years, 2 months ago (2011-10-22 16:52:27 UTC) #9
James Hawkins
Get rid of the "options_page_" prefixes. If a page is, e.g., autofill_options.js, then the test ...
9 years, 2 months ago (2011-10-22 17:19:26 UTC) #10
Sheridan Rawlins
On 2011/10/22 17:19:26, James Hawkins wrote: > Get rid of the "options_page_" prefixes. If a ...
9 years, 2 months ago (2011-10-22 18:27:49 UTC) #11
James Hawkins
http://codereview.chromium.org/7501004/diff/25001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7501004/diff/25001/chrome/chrome_tests.gypi#newcode2515 chrome/chrome_tests.gypi:2515: 'browser/ui/webui/options/certificates_options_browsertest.js', content_settings_browsertest.js http://codereview.chromium.org/7501004/diff/25001/chrome/chrome_tests.gypi#newcode2517 chrome/chrome_tests.gypi:2517: 'browser/ui/webui/options/contentexceptions_options_browsertest.js', content_settings_exception_area_browsertest.js http://codereview.chromium.org/7501004/diff/25001/chrome/chrome_tests.gypi#newcode2518 chrome/chrome_tests.gypi:2518: 'browser/ui/webui/options/cookies_options_browsertest.js', ...
9 years, 2 months ago (2011-10-22 19:24:52 UTC) #12
Sheridan Rawlins
James - what's your take on the test fixtures containing OptionsWebUITest - should the Options ...
9 years, 2 months ago (2011-10-22 20:51:40 UTC) #13
James Hawkins
On 2011/10/22 20:51:40, Sheridan Rawlins wrote: > James - what's your take on the test ...
9 years, 2 months ago (2011-10-24 00:27:34 UTC) #14
Sheridan Rawlins
Done. On 2011/10/24 00:27:34, James Hawkins wrote: > On 2011/10/22 20:51:40, Sheridan Rawlins wrote: > ...
9 years, 2 months ago (2011-10-24 18:01:28 UTC) #15
James Hawkins
lgtm
9 years, 2 months ago (2011-10-24 22:12:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scr@chromium.org/7501004/27001
9 years, 2 months ago (2011-10-24 22:14:50 UTC) #17
commit-bot: I haz the power
9 years, 2 months ago (2011-10-24 23:51:41 UTC) #18
Change committed as 107017

Powered by Google App Engine
This is Rietveld 408576698