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

Unified Diff: Source/web/tests/ViewportTest.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/TouchActionTest.cpp ('k') | Source/web/tests/WebDocumentTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/ViewportTest.cpp
diff --git a/Source/web/tests/ViewportTest.cpp b/Source/web/tests/ViewportTest.cpp
index f922c30d3fd191ca2a12ca0e68a58b27f4c55f95..9d1352eaf7857fbb007537d73b58920a6f884259 100644
--- a/Source/web/tests/ViewportTest.cpp
+++ b/Source/web/tests/ViewportTest.cpp
@@ -51,14 +51,12 @@
#include "public/web/WebViewClient.h"
#include "web/tests/FrameTestHelpers.h"
#include <gtest/gtest.h>
-
#include <vector>
-namespace {
+namespace blink {
using blink::FrameTestHelpers::UseMockScrollbarSettings;
using blink::testing::runPendingTasks;
-using namespace blink;
class ViewportTest : public ::testing::Test {
protected:
@@ -68,7 +66,7 @@ protected:
{
}
- virtual ~ViewportTest()
+ ~ViewportTest() override
{
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
}
@@ -3156,4 +3154,4 @@ TEST_F(ViewportTest, viewportWarnings7)
EXPECT_EQ(0U, webFrameClient.messages.size());
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/web/tests/TouchActionTest.cpp ('k') | Source/web/tests/WebDocumentTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698