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

Unified Diff: Source/core/dom/RangeTest.cpp

Issue 1171323003: Fix unit test style in core/{dom,editing,html}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whitespace fix 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/core/dom/NthIndexCacheTest.cpp ('k') | Source/core/dom/TreeScopeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/RangeTest.cpp
diff --git a/Source/core/dom/RangeTest.cpp b/Source/core/dom/RangeTest.cpp
index dca0f366772a7dc8ecba1e5f555e8c185a6027e8..58629bd3485312634c73781af571447ecdaeae7d 100644
--- a/Source/core/dom/RangeTest.cpp
+++ b/Source/core/dom/RangeTest.cpp
@@ -19,13 +19,11 @@
#include "wtf/text/AtomicString.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class RangeTest : public ::testing::Test {
protected:
- virtual void SetUp() override;
+ void SetUp() override;
HTMLDocument& document() const;
@@ -141,4 +139,4 @@ TEST_F(RangeTest, SplitTextNodeRangeOutsideText)
EXPECT_EQ(4, rangeFromTextToMiddleOfElement->endOffset());
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/dom/NthIndexCacheTest.cpp ('k') | Source/core/dom/TreeScopeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698