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

Unified Diff: Source/wtf/ListHashSetTest.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/HashSetTest.cpp ('k') | Source/wtf/MathExtrasTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ListHashSetTest.cpp
diff --git a/Source/wtf/ListHashSetTest.cpp b/Source/wtf/ListHashSetTest.cpp
index a980de357a9d6c433171229777ef980a9a98bdc4..f5c008950be643a626c93cbaa93967d3587c2a78 100644
--- a/Source/wtf/ListHashSetTest.cpp
+++ b/Source/wtf/ListHashSetTest.cpp
@@ -32,6 +32,8 @@
#include "wtf/RefPtr.h"
#include <gtest/gtest.h>
+namespace WTF {
+
namespace {
template<typename Set>
@@ -244,7 +246,7 @@ TEST(LinkedHashSetTest, PrependOrMoveToLastWithDuplicates)
prependOrMoveToLastWithDuplicates<LinkedHashSet<int>>();
}
-class DummyRefCounted: public WTF::RefCounted<DummyRefCounted> {
+class DummyRefCounted : public RefCounted<DummyRefCounted> {
public:
DummyRefCounted(bool& isDeleted) : m_isDeleted(isDeleted) { m_isDeleted = false; }
~DummyRefCounted() { m_isDeleted = true; }
@@ -718,4 +720,6 @@ TEST(LinkedHashSetTest, Swap)
swapTestHelper<LinkedHashSet<int>>();
}
-} // namespace
+} // anonymous namespace
+
+} // namespace WTF
« no previous file with comments | « Source/wtf/HashSetTest.cpp ('k') | Source/wtf/MathExtrasTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698