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

Unified Diff: ash/display/extended_mouse_warp_controller_unittest.cc

Issue 2653593004: chromeos: Remove AshTestBase::SupportsMultipleDisplays (Closed)
Patch Set: Created 3 years, 11 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 | « ash/display/display_util_unittest.cc ('k') | ash/display/mouse_cursor_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/extended_mouse_warp_controller_unittest.cc
diff --git a/ash/display/extended_mouse_warp_controller_unittest.cc b/ash/display/extended_mouse_warp_controller_unittest.cc
index 61214ac187afbbec1d48918c9cadc980dca80d80..ccc276a21ddfd2765eb8e12aef4348166479d042 100644
--- a/ash/display/extended_mouse_warp_controller_unittest.cc
+++ b/ash/display/extended_mouse_warp_controller_unittest.cc
@@ -50,9 +50,6 @@ class ExtendedMouseWarpControllerTest : public test::AshTestBase {
// Verifies if MouseCursorEventFilter's bounds calculation works correctly.
TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnRight) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("360x360,700x700");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
int64_t display_0_id = display::Screen::GetScreen()
@@ -123,9 +120,6 @@ TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnRight) {
}
TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnLeft) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("360x360,700x700");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
@@ -167,9 +161,6 @@ TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnLeft) {
}
TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnTopBottom) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("360x360,700x700");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
int64_t display_0_id = display::Screen::GetScreen()
@@ -223,9 +214,6 @@ TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestOnTopBottom) {
// Verify indicators show up as expected with 3+ displays.
TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestThreeDisplays) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("360x360,700x700,1000x1000");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
display::Screen* screen = display::Screen::GetScreen();
@@ -280,8 +268,6 @@ TEST_F(ExtendedMouseWarpControllerTest, IndicatorBoundsTestThreeDisplays) {
TEST_F(ExtendedMouseWarpControllerTest,
IndicatorBoundsTestThreeDisplaysWithLayout) {
- if (!SupportsMultipleDisplays())
- return;
UpdateDisplay("700x500,500x500,1000x1000");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
display::Screen* screen = display::Screen::GetScreen();
@@ -330,8 +316,6 @@ TEST_F(ExtendedMouseWarpControllerTest,
TEST_F(ExtendedMouseWarpControllerTest,
IndicatorBoundsTestThreeDisplaysWithLayout2) {
- if (!SupportsMultipleDisplays())
- return;
UpdateDisplay("700x500,500x500,1000x1000");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
display::Screen* screen = display::Screen::GetScreen();
« no previous file with comments | « ash/display/display_util_unittest.cc ('k') | ash/display/mouse_cursor_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698