Commit b2a068a8 authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

Split general scrolling tests out of scrolling_coordinator_test.cc

All tests in renderer/core/page/scrolling/scrolling_coordinator_test.cc
except for the UMA test testing ScrollingCoordinatorTest::UpdateAfterPaint
are moved into renderer/core/page/scrolling/scrolling_test.cc.

To avoid naming conflict, rename renderer/core/scroll/scrolling_test.cc
to renderer/core/scroll/scroll_test.cc.

Change-Id: Ic5ee1250e2396600eed33b4de724412cdd0fccef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1952543
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#722740}
parent 80cfe20d
...@@ -1443,6 +1443,7 @@ jumbo_source_set("unit_tests") { ...@@ -1443,6 +1443,7 @@ jumbo_source_set("unit_tests") {
"page/scrolling/scroll_metrics_test.cc", "page/scrolling/scroll_metrics_test.cc",
"page/scrolling/scroll_state_test.cc", "page/scrolling/scroll_state_test.cc",
"page/scrolling/scrolling_coordinator_test.cc", "page/scrolling/scrolling_coordinator_test.cc",
"page/scrolling/scrolling_test.cc",
"page/scrolling/snap_coordinator_test.cc", "page/scrolling/snap_coordinator_test.cc",
"page/scrolling/text_fragment_anchor_metrics_test.cc", "page/scrolling/text_fragment_anchor_metrics_test.cc",
"page/scrolling/text_fragment_anchor_test.cc", "page/scrolling/text_fragment_anchor_test.cc",
...@@ -1609,7 +1610,7 @@ jumbo_source_set("unit_tests") { ...@@ -1609,7 +1610,7 @@ jumbo_source_set("unit_tests") {
if (!is_mac) { if (!is_mac) {
sources += [ sources += [
"scroll/scroll_animator_test.cc", "scroll/scroll_animator_test.cc",
"scroll/scrolling_test.cc", "scroll/scroll_test.cc",
] ]
} }
......
...@@ -3,3 +3,9 @@ include_rules = [ ...@@ -3,3 +3,9 @@ include_rules = [
"+cc/layers/painted_scrollbar_layer.h", "+cc/layers/painted_scrollbar_layer.h",
"+cc/layers/solid_color_scrollbar_layer.h", "+cc/layers/solid_color_scrollbar_layer.h",
] ]
specific_include_rules = {
"scrolling_test.cc": [
"+third_party/blink/renderer/core/exported/web_plugin_container_impl.h"
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment