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

Issue 7060003: Register parameterized tests. (Closed)

Created:
9 years, 7 months ago by Sheridan Rawlins
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., Lei Zhang, David Tseng
Visibility:
Public.

Description

Register parameterized tests. BUG=83563 R=phajdan.jr@chromium.org TEST=browser_tests --gtest_filter=IPBTP/*.* // ensure that IPBTP/InProcessBrowserTestP.TestP/0 runs. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86456

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added IN_PROC_BROWSER_TEST_P, and sample browsertest. Call InitGoogleTest #

Patch Set 3 : EXPECT_EQ(0 instead of EXPECT_FALSE. #

Total comments: 2

Patch Set 4 : Addressed nit to comment namespace end. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/in_process_browser_test.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/in_process_browser_test_browsertest.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/test/out_of_proc_test_runner.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sheridan Rawlins
Allow use of TEST_P and INSTANTIATE_TEST_CASE_P
9 years, 7 months ago (2011-05-23 06:50:17 UTC) #1
Paweł Hajdan Jr.
Thank you for catching the problem, just one comment about fixing it. http://codereview.chromium.org/7060003/diff/1/chrome/test/out_of_proc_test_runner.cc File chrome/test/out_of_proc_test_runner.cc ...
9 years, 7 months ago (2011-05-23 19:11:24 UTC) #2
Sheridan Rawlins
Yep that works. I also added IN_PROC_BROWSER_TEST_P in this CL, along with simplistic parameterized browsertest. ...
9 years, 7 months ago (2011-05-23 20:37:07 UTC) #3
Paweł Hajdan Jr.
LGTM with a nit. Thanks! http://codereview.chromium.org/7060003/diff/6001/chrome/test/in_process_browser_test_browsertest.cc File chrome/test/in_process_browser_test_browsertest.cc (right): http://codereview.chromium.org/7060003/diff/6001/chrome/test/in_process_browser_test_browsertest.cc#newcode26 chrome/test/in_process_browser_test_browsertest.cc:26: } nit: // namespace
9 years, 7 months ago (2011-05-24 10:04:42 UTC) #4
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 7 months ago (2011-05-24 15:04:26 UTC) #5
Sheridan Rawlins
http://codereview.chromium.org/7060003/diff/6001/chrome/test/in_process_browser_test_browsertest.cc File chrome/test/in_process_browser_test_browsertest.cc (right): http://codereview.chromium.org/7060003/diff/6001/chrome/test/in_process_browser_test_browsertest.cc#newcode26 chrome/test/in_process_browser_test_browsertest.cc:26: } On 2011/05/24 10:04:42, Paweł Hajdan Jr. wrote: > ...
9 years, 7 months ago (2011-05-24 15:04:29 UTC) #6
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 7 months ago (2011-05-24 15:05:31 UTC) #7
Sheridan Rawlins
Pawel - you appear to be in the owners file - do I need another ...
9 years, 7 months ago (2011-05-24 15:37:45 UTC) #8
Paweł Hajdan Jr.
9 years, 7 months ago (2011-05-24 15:52:15 UTC) #9
I think it wants a rubber stamp for chrome/chrome_tests.gypi . My OWNERship is
only valid for chrome/test.

Powered by Google App Engine
This is Rietveld 408576698