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

Unified Diff: Source/web/tests/FrameLoaderClientImplTest.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/CustomEventTest.cpp ('k') | Source/web/tests/ImeOnFocusTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/FrameLoaderClientImplTest.cpp
diff --git a/Source/web/tests/FrameLoaderClientImplTest.cpp b/Source/web/tests/FrameLoaderClientImplTest.cpp
index c46da3d7f342be4b1731bfd373ce537dd2751ab8..e41062f3849016891920538a7b17eb8172a8adaf 100644
--- a/Source/web/tests/FrameLoaderClientImplTest.cpp
+++ b/Source/web/tests/FrameLoaderClientImplTest.cpp
@@ -29,7 +29,6 @@
*/
#include "config.h"
-
#include "web/FrameLoaderClientImpl.h"
#include "core/loader/FrameLoader.h"
@@ -56,7 +55,7 @@ namespace {
class MockWebFrameClient : public WebFrameClient {
public:
- virtual ~MockWebFrameClient() { }
+ ~MockWebFrameClient() override { }
MOCK_METHOD2(userAgentOverride, WebString(WebLocalFrame*, const WebURL&));
MOCK_METHOD2(createPluginPlaceholder, WebPluginPlaceholder*(WebLocalFrame*, const WebPluginParams&));
@@ -64,7 +63,7 @@ public:
class FrameLoaderClientImplTest : public ::testing::Test {
protected:
- virtual void SetUp() override
+ void SetUp() override
{
ON_CALL(m_webFrameClient, userAgentOverride(_, _)).WillByDefault(Return(WebString()));
@@ -78,7 +77,7 @@ protected:
m_frameLoaderClientImpl = toFrameLoaderClientImpl(toWebLocalFrameImpl(m_webView->mainFrame())->frame()->loader().client());
}
- virtual void TearDown() override
+ void TearDown() override
{
m_webView->close();
m_mainFrame->close();
« no previous file with comments | « Source/web/tests/CustomEventTest.cpp ('k') | Source/web/tests/ImeOnFocusTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698