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

Unified Diff: Source/core/html/LinkRelAttributeTest.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/html/HTMLTextFormControlElementTest.cpp ('k') | Source/core/html/TimeRangesTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LinkRelAttributeTest.cpp
diff --git a/Source/core/html/LinkRelAttributeTest.cpp b/Source/core/html/LinkRelAttributeTest.cpp
index 3825d0e39d0be02ade6b3020e27fc017df170384..eec087bfeb0e7d665996e2f34df394853428c476 100644
--- a/Source/core/html/LinkRelAttributeTest.cpp
+++ b/Source/core/html/LinkRelAttributeTest.cpp
@@ -30,24 +30,22 @@
#include "config.h"
#include "core/html/LinkRelAttribute.h"
-#include "platform/RuntimeEnabledFeatures.h"
+#include "platform/RuntimeEnabledFeatures.h"
#include "wtf/text/CString.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class LinkRelAttributeTest : public testing::Test {
protected:
- virtual void SetUp()
+ void SetUp() override
{
m_touchIconLoadingEnabled = RuntimeEnabledFeatures::touchIconLoadingEnabled();
m_presentationEnabled = RuntimeEnabledFeatures::presentationEnabled();
}
- virtual void TearDown()
+ void TearDown() override
{
RuntimeEnabledFeatures::setTouchIconLoadingEnabled(m_touchIconLoadingEnabled);
RuntimeEnabledFeatures::setPresentationEnabled(m_presentationEnabled);
@@ -155,4 +153,4 @@ TEST_F(LinkRelAttributeTest, ConstructorDefaultPresentation)
EXPECT_TRUE(LinkRelAttribute("default-presentation").isDefaultPresentation());
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | Source/core/html/TimeRangesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698