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

Unified Diff: Source/wtf/StringHasherTest.cpp

Issue 1184043002: Fix unit test style in Source/wtf/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/wtf/StringHasherTest.cpp
diff --git a/Source/wtf/StringHasherTest.cpp b/Source/wtf/StringHasherTest.cpp
index f7557b6c6f6ec3aee8a5bb7515df7f4312a7178b..f862bd4808e253a466d9e174bab1e02e880b7179 100644
--- a/Source/wtf/StringHasherTest.cpp
+++ b/Source/wtf/StringHasherTest.cpp
@@ -24,11 +24,11 @@
*/
#include "config.h"
-
#include "wtf/StringHasher.h"
+
#include <gtest/gtest.h>
-namespace {
+namespace WTF {
static const LChar nullLChars[2] = { 0, 0 };
kochi 2015/06/15 03:34:22 How about using anonymous namespace to remove all
tkent 2015/06/15 04:45:57 Done.
static const UChar nullUChars[2] = { 0, 0 };
@@ -406,4 +406,4 @@ TEST(StringHasherTest, StringHasher_hashMemory)
EXPECT_EQ(testBHash5 & 0xFFFFFF, StringHasher::hashMemory<10>(testBUChars));
}
-} // namespace
+} // namespace WTF

Powered by Google App Engine
This is Rietveld 408576698