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

Unified Diff: ash/drag_drop/drag_drop_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/window_tree_host_manager_unittest.cc ('k') | ash/drag_drop/drag_drop_interactive_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index dba9ef0ca31dc9329fc7cf312251a3a38d36e671..5218187d75f75b367705b3adbb70de06a7a45344 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -936,9 +936,6 @@ class DragImageWindowObserver : public aura::WindowObserver {
// Verifies the drag image moves back to the position where drag is started
// across displays when drag is cancelled.
TEST_F(DragDropControllerTest, DragCancelAcrossDisplays) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("400x400,400x400");
aura::Window::Windows root_windows =
Shell::GetInstance()->GetAllRootWindows();
@@ -1017,9 +1014,6 @@ TEST_F(DragDropControllerTest, DragCancelAcrossDisplays) {
// Verifies that a drag is aborted if a display is disconnected during the drag.
TEST_F(DragDropControllerTest, DragCancelOnDisplayDisconnect) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("400x400,400x400");
for (aura::Window* root : Shell::GetInstance()->GetAllRootWindows()) {
aura::client::SetDragDropClient(root, drag_drop_controller_.get());
« no previous file with comments | « ash/display/window_tree_host_manager_unittest.cc ('k') | ash/drag_drop/drag_drop_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698