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

Unified Diff: Source/core/dom/shadow/ComposedTreeTraversalTest.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/TreeScopeTest.cpp ('k') | Source/core/editing/CompositionUnderlineRangeFilterTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/ComposedTreeTraversalTest.cpp
diff --git a/Source/core/dom/shadow/ComposedTreeTraversalTest.cpp b/Source/core/dom/shadow/ComposedTreeTraversalTest.cpp
index 265ad5ff57d5e38f67c4c73cc7bab96d516239d9..ffe0c560dd8725f3665b5476acfdea46c119156f 100644
--- a/Source/core/dom/shadow/ComposedTreeTraversalTest.cpp
+++ b/Source/core/dom/shadow/ComposedTreeTraversalTest.cpp
@@ -25,9 +25,7 @@
#include "wtf/testing/WTFTestHelpers.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class ComposedTreeTraversalTest : public ::testing::Test {
protected:
@@ -39,7 +37,7 @@ protected:
void setupSampleHTML(const char* mainHTML, const char* shadowHTML, unsigned);
private:
- virtual void SetUp() override;
+ void SetUp() override;
HTMLDocument* m_document;
OwnPtr<DummyPageHolder> m_dummyPageHolder;
@@ -327,4 +325,4 @@ TEST_F(ComposedTreeTraversalTest, lastWithin)
EXPECT_EQ(*m10->firstChild(), ComposedTreeTraversal::lastWithinOrSelf(*s12));
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/core/dom/TreeScopeTest.cpp ('k') | Source/core/editing/CompositionUnderlineRangeFilterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698