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

Unified Diff: Source/web/tests/WebSelectorTest.cpp

Issue 1174283002: Fix unit test style in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove static Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/WebSearchableFormDataTest.cpp ('k') | Source/web/tests/WebURLRequestTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebSelectorTest.cpp
diff --git a/Source/web/tests/WebSelectorTest.cpp b/Source/web/tests/WebSelectorTest.cpp
index c0a5193a33f532b223c802d21301ae1c1a488c2a..28b8f7adf51b08af3d251c9d027bde83a596e818 100644
--- a/Source/web/tests/WebSelectorTest.cpp
+++ b/Source/web/tests/WebSelectorTest.cpp
@@ -35,9 +35,7 @@
#include "public/platform/WebUnitTestSupport.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
TEST(WebSelectorTest, Canonicalizes)
{
@@ -57,4 +55,4 @@ TEST(WebSelectorTest, Restricts)
EXPECT_EQ("h1, h2[style=\"foobar\"].cls", canonicalizeSelector("h1,h2[style=\"foobar\"].cls", WebSelectorTypeCompound).utf8());
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/web/tests/WebSearchableFormDataTest.cpp ('k') | Source/web/tests/WebURLRequestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698