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

Unified Diff: Source/web/tests/LayoutGeometryMapTest.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/KeyboardTest.cpp ('k') | Source/web/tests/LinkHighlightTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/LayoutGeometryMapTest.cpp
diff --git a/Source/web/tests/LayoutGeometryMapTest.cpp b/Source/web/tests/LayoutGeometryMapTest.cpp
index 648204f75fd6739793d3ccb2e4b1082fbb406a1b..b88e9d96b9a65e406668b20d962b270f49d28abd 100644
--- a/Source/web/tests/LayoutGeometryMapTest.cpp
+++ b/Source/web/tests/LayoutGeometryMapTest.cpp
@@ -44,12 +44,10 @@
#include "web/tests/FrameTestHelpers.h"
#include <gtest/gtest.h>
-using namespace blink;
+namespace blink {
class MockWebFrameClient : public WebFrameClient {
};
-namespace {
-
class LayoutGeometryMapTest : public testing::Test {
public:
@@ -58,7 +56,7 @@ public:
{
}
- virtual void TearDown()
+ void TearDown() override
{
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
}
@@ -394,4 +392,5 @@ TEST_F(LayoutGeometryMapTest, ColumnTest)
EXPECT_EQ(3.0f, rectFromQuad(rgm.mapToContainer(rect, nullptr)).height());
}
-} // namespace ::
+
+} // namespace blink
« no previous file with comments | « Source/web/tests/KeyboardTest.cpp ('k') | Source/web/tests/LinkHighlightTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698