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

Unified Diff: Source/web/tests/ScrollingCoordinatorTest.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/ScrollAnimatorNoneTest.cpp ('k') | Source/web/tests/SpinLockTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/ScrollingCoordinatorTest.cpp
diff --git a/Source/web/tests/ScrollingCoordinatorTest.cpp b/Source/web/tests/ScrollingCoordinatorTest.cpp
index 59c5cf87b57a8b38bf44df8cb8d23512c0c47a45..da6206df48d23c0695e614c9cbd78c8a66991c80 100644
--- a/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -23,7 +23,6 @@
*/
#include "config.h"
-
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/layout/LayoutPart.h"
@@ -45,9 +44,7 @@
#include "web/tests/FrameTestHelpers.h"
#include <gtest/gtest.h>
-using namespace blink;
-
-namespace {
+namespace blink {
class ScrollingCoordinatorTest : public testing::Test {
public:
@@ -64,7 +61,7 @@ public:
webViewImpl()->mainFrameImpl()->frame()->view()->layoutView()->compositor()->rootGraphicsLayer());
}
- virtual ~ScrollingCoordinatorTest()
+ ~ScrollingCoordinatorTest() override
{
Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
}
@@ -608,4 +605,4 @@ TEST_F(ScrollingCoordinatorTest, FixedPositionLosingBackingShouldTriggerMainThre
EXPECT_TRUE(scrollLayer->shouldScrollOnMainThread());
}
-} // namespace
+} // namespace blink
« no previous file with comments | « Source/web/tests/ScrollAnimatorNoneTest.cpp ('k') | Source/web/tests/SpinLockTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698