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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp

Issue 1438043011: Move ScrollAnimatorTest.cpp to Source/platform/scroll/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: provide zero for all WTF platform time functions Created 5 years, 1 month 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
Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
similarity index 99%
rename from third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
rename to third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
index d691c953a295f908a66bb41aad776341bf117076..39efe847a48dbe55faabbef0ed6e9b8594738bc3 100644
--- a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
@@ -42,6 +42,8 @@ using testing::AtLeast;
using testing::Return;
using testing::_;
+namespace {
+
class MockScrollableArea : public NoBaseWillBeGarbageCollectedFinalized<MockScrollableArea>, public ScrollableArea {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MockScrollableArea);
public:
@@ -122,6 +124,8 @@ private:
};
+} // namespace
+
TEST(ScrollAnimatorEnabled, Enabled)
{
OwnPtrWillBeRawPtr<MockScrollableArea> scrollableArea = MockScrollableArea::create(true);

Powered by Google App Engine
This is Rietveld 408576698