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

Issue 12209016: Allow macros in parametrized browser tests (IN_PROCESS_BROWSER_TEST_P). (Closed)

Created:
7 years, 10 months ago by Bernhard Bauer
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Allow macros in parametrized browser tests (IN_PROCESS_BROWSER_TEST_P). Adding one additional #define layer correctly expands the macro arguments. This allows the MAYBE_ prefix trick to conditionally disable tests on some platforms. Then, with this newly-acquired ability, fix encrypted_media_browsertest.cc to use the right style for disabling tests. BUG=174294 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180984

Patch Set 1 #

Patch Set 2 : tests #

Patch Set 3 : merge with 12221018 #

Patch Set 4 : . #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M content/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M content/public/test/browser_test.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
vabr (Chromium)
Nice! Thanks, LGTM.
7 years, 10 months ago (2013-02-05 16:31:43 UTC) #1
Bernhard Bauer
Paweł, Shadi: Please review.
7 years, 10 months ago (2013-02-05 18:22:17 UTC) #2
shadi
Why are we changing encrypted media tests with this CL? For allowing _Maybe in parametrized ...
7 years, 10 months ago (2013-02-05 18:55:18 UTC) #3
vabr (Chromium)
On 2013/02/05 18:55:18, shadi wrote: > Why are we changing encrypted media tests with this ...
7 years, 10 months ago (2013-02-05 19:01:37 UTC) #4
Bernhard Bauer
On 2013/02/05 18:55:18, shadi wrote: > Why are we changing encrypted media tests with this ...
7 years, 10 months ago (2013-02-05 19:07:19 UTC) #5
shadi
On 2013/02/05 19:07:19, Bernhard Bauer wrote: > On 2013/02/05 18:55:18, shadi wrote: > > Why ...
7 years, 10 months ago (2013-02-05 19:13:20 UTC) #6
Paweł Hajdan Jr.
LGTM
7 years, 10 months ago (2013-02-06 08:29:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/12209016/10001
7 years, 10 months ago (2013-02-06 09:24:24 UTC) #8
commit-bot: I haz the power
Failed to apply patch for content/browser/media/encrypted_media_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-06 09:24:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/12209016/13001
7 years, 10 months ago (2013-02-06 09:45:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/12209016/13001
7 years, 10 months ago (2013-02-06 15:46:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/12209016/13001
7 years, 10 months ago (2013-02-06 16:05:54 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-06 16:29:28 UTC) #13
Message was sent while issue was closed.
Change committed as 180984

Powered by Google App Engine
This is Rietveld 408576698