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

Unified Diff: Source/core/dom/NthIndexCacheTest.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/MainThreadTaskRunnerTest.cpp ('k') | Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NthIndexCacheTest.cpp
diff --git a/Source/core/dom/NthIndexCacheTest.cpp b/Source/core/dom/NthIndexCacheTest.cpp
index 520f759ebe46101b917d76c94b28c4d1601b42e8..34bbb4a9db96354af3b09bb58c8b3a674f2346a6 100644
--- a/Source/core/dom/NthIndexCacheTest.cpp
+++ b/Source/core/dom/NthIndexCacheTest.cpp
@@ -10,14 +10,11 @@
#include "core/testing/DummyPageHolder.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class NthIndexCacheTest : public ::testing::Test {
-
protected:
- virtual void SetUp() override;
+ void SetUp() override;
Document& document() const { return m_dummyPageHolder->document(); }
void setHtmlInnerHTML(const char* htmlContent);
@@ -49,4 +46,4 @@ TEST_F(NthIndexCacheTest, NthIndex)
EXPECT_EQ(nthIndexCache.nthLastChildIndex(*document().getElementById("nth-last-child")), 12U);
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/core/dom/MainThreadTaskRunnerTest.cpp ('k') | Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698