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

Unified Diff: Source/web/tests/WebPageSerializerTest.cpp

Issue 1174283002: Fix unit test style in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove static 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/web/tests/WebInputEventConversionTest.cpp ('k') | Source/web/tests/WebPluginContainerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebPageSerializerTest.cpp
diff --git a/Source/web/tests/WebPageSerializerTest.cpp b/Source/web/tests/WebPageSerializerTest.cpp
index 4a89ec2022a9cff4f580808f97cf7ac161e6f432..3ab3b47b6c8698fb3c87ab0a97ff675e8fc9ff70 100644
--- a/Source/web/tests/WebPageSerializerTest.cpp
+++ b/Source/web/tests/WebPageSerializerTest.cpp
@@ -42,14 +42,12 @@
#include "public/web/WebFrame.h"
#include "public/web/WebView.h"
#include "web/tests/FrameTestHelpers.h"
-
#include <gtest/gtest.h>
-using namespace blink;
using blink::Document;
using blink::URLTestHelpers::toKURL;
-namespace {
+namespace blink {
class WebPageSerializerTest : public testing::Test {
public:
@@ -61,12 +59,12 @@ public:
}
protected:
- virtual void SetUp()
+ void SetUp() override
{
m_helper.initialize();
}
- virtual void TearDown()
+ void TearDown() override
{
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
}
@@ -179,4 +177,4 @@ TEST_F(WebPageSerializerTest, MultipleFrames)
EXPECT_TRUE(webVectorContains(resources, "http://www.test.com/embed.png"));
}
-}
+} // namespace blink
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | Source/web/tests/WebPluginContainerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698