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

Issue 8036044: Add (not yet working) content_browsertests target. (Closed)

Created:
9 years, 2 months ago by Paweł Hajdan Jr.
Modified:
9 years, 2 months ago
Reviewers:
Dirk Pranke, jam, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add (not yet working) content_browsertests target. This implements ContentBrowserTest and a transparent switch between content and chrome browser tests. BUG=90448 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103540

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 9

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 5

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1232 lines, -801 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 6 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 12 chunks +42 lines, -12 lines 0 comments Download
A chrome/test/base/chrome_test_launcher.cc View 1 2 3 4 5 6 7 1 chunk +132 lines, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.h View 1 2 3 4 5 6 7 8 7 chunks +8 lines, -98 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -22 lines 0 comments Download
D chrome/test/base/out_of_proc_test_runner.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -640 lines 0 comments Download
M chrome/test/base/test_launcher_utils.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/test/base/test_launcher_utils.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -23 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 2 chunks +47 lines, -0 lines 0 comments Download
A content/test/browser_test.h View 1 2 3 1 chunk +83 lines, -0 lines 0 comments Download
A content/test/browser_test_base.h View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
A content/test/browser_test_base.cc View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A content/test/content_browser_test.h View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A content/test/content_browser_test.cc View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
A content/test/content_test_launcher.cc View 1 2 3 4 5 6 7 1 chunk +54 lines, -0 lines 0 comments Download
A content/test/test_launcher.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A content/test/test_launcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +604 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Paweł Hajdan Jr.
9 years, 2 months ago (2011-09-26 23:19:38 UTC) #1
jam
(I believe Rietveld annoyingly autocompleted jam@ to simonjam@, switching to me. I'll look into why ...
9 years, 2 months ago (2011-09-26 23:45:19 UTC) #2
jam
very cool, thanks for working on this I'm not that familiar with how browsertests work, ...
9 years, 2 months ago (2011-09-27 01:07:19 UTC) #3
sky
http://codereview.chromium.org/8036044/diff/1/content/test/out_of_proc_test_runner.cc File content/test/out_of_proc_test_runner.cc (right): http://codereview.chromium.org/8036044/diff/1/content/test/out_of_proc_test_runner.cc#newcode24 content/test/out_of_proc_test_runner.cc:24: #include "content/test/browser_test.h" Are these classes landing separately?
9 years, 2 months ago (2011-09-27 15:31:52 UTC) #4
Paweł Hajdan Jr.
Oops no, I just forgot to svn the files. PTAL.
9 years, 2 months ago (2011-09-27 19:06:30 UTC) #5
jam
http://codereview.chromium.org/8036044/diff/6002/content/test/browser_test.h File content/test/browser_test.h (right): http://codereview.chromium.org/8036044/diff/6002/content/test/browser_test.h#newcode17 content/test/browser_test.h:17: #if defined(BROWSER_TESTS_USE_CONTENT) instead of having each test binary having ...
9 years, 2 months ago (2011-09-27 19:11:35 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/8036044/diff/6002/content/test/browser_test.h File content/test/browser_test.h (right): http://codereview.chromium.org/8036044/diff/6002/content/test/browser_test.h#newcode17 content/test/browser_test.h:17: #if defined(BROWSER_TESTS_USE_CONTENT) On 2011/09/27 19:11:35, John Abd-El-Malek wrote: > ...
9 years, 2 months ago (2011-09-27 20:05:18 UTC) #7
jam
On 2011/09/27 20:05:18, Paweł Hajdan Jr. wrote: > http://codereview.chromium.org/8036044/diff/6002/content/test/browser_test.h > File content/test/browser_test.h (right): > > ...
9 years, 2 months ago (2011-09-27 20:20:23 UTC) #8
jam
also our goal should be that we can get rid of chrome\test deps rule from ...
9 years, 2 months ago (2011-09-27 20:20:50 UTC) #9
Paweł Hajdan Jr.
PTAL, I've dropped the chrome dependency.
9 years, 2 months ago (2011-09-29 20:42:16 UTC) #10
jam
http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc File chrome/test/base/chrome_test_launcher.cc (right): http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc#newcode46 chrome/test/base/chrome_test_launcher.cc:46: // TODO(pkasting): This "single_process vs. single-process" design is terrible ...
9 years, 2 months ago (2011-09-29 21:21:36 UTC) #11
Paweł Hajdan Jr.
PTAL http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc File chrome/test/base/chrome_test_launcher.cc (right): http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc#newcode46 chrome/test/base/chrome_test_launcher.cc:46: // TODO(pkasting): This "single_process vs. single-process" design is ...
9 years, 2 months ago (2011-09-29 22:55:30 UTC) #12
Dirk Pranke
incidental review comment ... I'm "this close" to enabling component build for content (hopefully landing ...
9 years, 2 months ago (2011-09-29 22:58:53 UTC) #13
jam
http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc File chrome/test/base/chrome_test_launcher.cc (right): http://codereview.chromium.org/8036044/diff/13001/chrome/test/base/chrome_test_launcher.cc#newcode46 chrome/test/base/chrome_test_launcher.cc:46: // TODO(pkasting): This "single_process vs. single-process" design is terrible ...
9 years, 2 months ago (2011-09-29 23:07:06 UTC) #14
jam
nit: also please fix the cl description. not sure why it keeps getting newlines?
9 years, 2 months ago (2011-09-29 23:07:32 UTC) #15
Paweł Hajdan Jr.
About CL description: I already fixed it about 3 times. There seems to be a ...
9 years, 2 months ago (2011-09-29 23:21:47 UTC) #16
jam
lgtm
9 years, 2 months ago (2011-09-29 23:32:39 UTC) #17
jam
http://codereview.chromium.org/8036044/diff/13028/content/test/content_test_launcher.cc File content/test/content_test_launcher.cc (right): http://codereview.chromium.org/8036044/diff/13028/content/test/content_test_launcher.cc#newcode26 content/test/content_test_launcher.cc:26: // TODO(pkasting): This "single_process vs. single-process" design is terrible ...
9 years, 2 months ago (2011-09-29 23:33:58 UTC) #18
sky
9 years, 2 months ago (2011-09-29 23:40:20 UTC) #19
LGTM

Powered by Google App Engine
This is Rietveld 408576698