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

Issue 3697009: Fix broken trybot compiles by moving test cases inside the anonymous namespac... (Closed)

Created:
10 years, 2 months ago by rohitrao (ping after 24h)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix broken trybot compiles by moving test cases inside the anonymous namespace. BUG=None TEST=Happy trybots. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62351

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M chrome/browser/browser_navigator_browsertest.cc View 2 chunks +1 line, -2 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
Ilya Sherman
LGTM
10 years, 2 months ago (2010-10-12 22:49:29 UTC) #1
Marc-Antoine Ruel (Google)
http://codereview.chromium.org/3697009/diff/4001/5001 File chrome/browser/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/3697009/diff/4001/5001#newcode17 chrome/browser/browser_navigator_browsertest.cc:17: namespace { Test base classes shouldn't be in an ...
10 years, 2 months ago (2010-10-13 00:05:29 UTC) #2
rohitrao (ping after 24h)
On 2010/10/13 00:05:29, DO NOT USE!! wrote: > Test base classes shouldn't be in an ...
10 years, 2 months ago (2010-10-13 00:13:56 UTC) #3
rohitrao (ping after 24h)
That email came out completely unintelligibly. It was supposed to read: On 2010/10/13 00:05:29, DO ...
10 years, 2 months ago (2010-10-13 00:16:39 UTC) #4
Marc-Antoine Ruel (Google)
On 2010/10/13 00:16:39, rohitrao wrote: > That email came out completely unintelligibly. It was supposed ...
10 years, 2 months ago (2010-10-13 00:21:17 UTC) #5
rohitrao (ping after 24h)
10 years, 2 months ago (2010-10-13 00:25:37 UTC) #6
Ah, I see.  I don't think gcc on Mac complains about this, which is why all the
mac unittests have TEST_F inside the namespace.  This is probably also why I get
compile failures when I try to do the same thing in a cross-platform test :)

I'll go through and change all these tests when I get a chance.

Powered by Google App Engine
This is Rietveld 408576698