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

Issue 4724004: Group commandline settings in UI test and in process browser test. (Closed)

Created:
10 years, 1 month ago by lzheng
Modified:
5 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Group cmdline settings in UI test and in_process_browser_test. BUG=none TEST=all UI tests and browser tests stays green. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66202

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 5

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : sync to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -74 lines) Patch
M chrome/test/in_process_browser_test.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/in_process_browser_test.cc View 1 2 3 4 5 6 3 chunks +47 lines, -40 lines 0 comments Download
M chrome/test/ui/ui_test.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 2 3 4 5 6 3 chunks +39 lines, -34 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
lzheng
This will disable safebrowsing autoupdate in UI/browser tests. I also refactored the commandline setups in ...
10 years, 1 month ago (2010-11-10 18:14:33 UTC) #1
Scott Hess - ex-Googler
http://codereview.chromium.org/4724004/diff/1/chrome/test/in_process_browser_test.cc File chrome/test/in_process_browser_test.cc (right): http://codereview.chromium.org/4724004/diff/1/chrome/test/in_process_browser_test.cc#newcode147 chrome/test/in_process_browser_test.cc:147: RenderProcessHost::set_run_renderer_in_process(true); Previous code stored the original value in original_single_process_ ...
10 years, 1 month ago (2010-11-10 18:27:05 UTC) #2
Paweł Hajdan Jr.
I think it would be cleaner to do move and cleanup in separate CLs. It ...
10 years, 1 month ago (2010-11-10 21:01:22 UTC) #3
Scott Hess - ex-Googler
lgtm. http://codereview.chromium.org/4724004/diff/34001/chrome/test/in_process_browser_test.cc File chrome/test/in_process_browser_test.cc (right): http://codereview.chromium.org/4724004/diff/34001/chrome/test/in_process_browser_test.cc#newcode241 chrome/test/in_process_browser_test.cc:241: subprocess_path.Append(chrome::kHelperProcessExecutablePath); Wow, this Mac-specific code is messed up.
10 years, 1 month ago (2010-11-10 23:29:31 UTC) #4
Paweł Hajdan Jr.
http://codereview.chromium.org/4724004/diff/40001/chrome/test/in_process_browser_test.h File chrome/test/in_process_browser_test.h (right): http://codereview.chromium.org/4724004/diff/40001/chrome/test/in_process_browser_test.h#newcode153 chrome/test/in_process_browser_test.h:153: void PrepareCommonInProcessBrowserTestCommandLine(CommandLine* arguments); nit: InProcessBrowserTest is already the class ...
10 years, 1 month ago (2010-11-11 10:15:25 UTC) #5
lzheng1
On Thu, Nov 11, 2010 at 2:15 AM, <phajdan.jr@chromium.org> wrote: > > > http://codereview.chromium.org/4724004/diff/40001/chrome/test/in_process_browser_test.h > ...
10 years, 1 month ago (2010-11-12 06:29:20 UTC) #6
Paweł Hajdan Jr.
On Fri, Nov 12, 2010 at 07:29, Lei Zheng <lzheng@google.com> wrote: > My intention was ...
10 years, 1 month ago (2010-11-12 09:11:07 UTC) #7
lzheng
I guess different people have different taste. We all agree that we could move the ...
10 years, 1 month ago (2010-11-12 19:08:14 UTC) #8
Paweł Hajdan Jr.
LGTM with comments. http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_browser_test.cc File chrome/test/in_process_browser_test.cc (right): http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_browser_test.cc#newcode209 chrome/test/in_process_browser_test.cc:209: // Propagate commandline settings from test_launcher_utils ...
10 years, 1 month ago (2010-11-13 11:55:08 UTC) #9
lzheng
10 years, 1 month ago (2010-11-16 00:39:27 UTC) #10
All done and committed.

Thanks for your review!

Lei


On 2010/11/13 11:55:08, Paweł Hajdan Jr. wrote:
> LGTM with comments.
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_brow...
> File chrome/test/in_process_browser_test.cc (right):
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_brow...
> chrome/test/in_process_browser_test.cc:209: // Propagate commandline settings
> from test_launcher_utils which should be
> nit: Remove "which should be used by browser".
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_brow...
> File chrome/test/in_process_browser_test.h (right):
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_brow...
> chrome/test/in_process_browser_test.h:152: // Config commandlines that are
used
> in InProcessBrowserTests.
> nit: How about: prepare command line that will be used to launch the child
> browser process with an in-process test?
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/in_process_brow...
> chrome/test/in_process_browser_test.h:153: void
> PrepareTestCommandLine(CommandLine* arguments);
> nit: arguments -> command_line for accuracy
> 
> http://codereview.chromium.org/4724004/diff/48001/chrome/test/ui/ui_test.cc
> File chrome/test/ui/ui_test.cc (right):
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/ui/ui_test.cc#n...
> chrome/test/ui/ui_test.cc:665: // Propagate commandline settings from
> test_launcher_utils which should be
> nit: Same comment as in in_process_browser_test.cc
> 
> http://codereview.chromium.org/4724004/diff/48001/chrome/test/ui/ui_test.h
> File chrome/test/ui/ui_test.h (right):
> 
>
http://codereview.chromium.org/4724004/diff/48001/chrome/test/ui/ui_test.h#ne...
> chrome/test/ui/ui_test.h:426: // Config commandlines that are used in UI
tests.
> nit: Same comment as in in_process_borwser_test.h.

Powered by Google App Engine
This is Rietveld 408576698