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

Unified Diff: Source/wtf/text/StringBufferTest.cpp

Issue 1184043002: Fix unit test style in Source/wtf/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: apply review comments 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/wtf/text/CStringTest.cpp ('k') | Source/wtf/text/StringBuilderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/StringBufferTest.cpp
diff --git a/Source/wtf/text/StringBufferTest.cpp b/Source/wtf/text/StringBufferTest.cpp
index 4a309732619128636896058c3eb1772a74b1261b..cf3775d711ca5c11867c0529795d50a0f2002ca5 100644
--- a/Source/wtf/text/StringBufferTest.cpp
+++ b/Source/wtf/text/StringBufferTest.cpp
@@ -5,15 +5,13 @@
*/
#include "config.h"
-
#include "wtf/text/StringBuffer.h"
#include <gtest/gtest.h>
-namespace {
-
+namespace WTF {
-TEST(StringBuffer, Initial)
+TEST(StringBufferTest, Initial)
{
StringBuffer<LChar> buf1;
EXPECT_EQ(0u, buf1.length());
@@ -28,7 +26,7 @@ TEST(StringBuffer, Initial)
EXPECT_TRUE(buf3.characters());
}
-TEST(StringBuffer, shrink)
+TEST(StringBufferTest, shrink)
{
StringBuffer<LChar> buf(2);
EXPECT_EQ(2u, buf.length());
@@ -43,4 +41,4 @@ TEST(StringBuffer, shrink)
EXPECT_EQ(0u, buf.length());
}
-} // namespace
+} // namespace WTF
« no previous file with comments | « Source/wtf/text/CStringTest.cpp ('k') | Source/wtf/text/StringBuilderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698