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

Unified Diff: ash/wm/window_positioner_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/wm/window_cycle_controller_unittest.cc ('k') | ash/wm/window_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_positioner_unittest.cc
diff --git a/ash/wm/window_positioner_unittest.cc b/ash/wm/window_positioner_unittest.cc
index 72ba0f234d357f5862e93fe9a87b10625def3c7e..c12721144871e20e873364589c7516d3bcc583f0 100644
--- a/ash/wm/window_positioner_unittest.cc
+++ b/ash/wm/window_positioner_unittest.cc
@@ -34,8 +34,6 @@ INSTANTIATE_TEST_CASE_P(
MaterialDesignController::MATERIAL_EXPERIMENTAL));
TEST_P(WindowPositionerTest, OpenMaximizedWindowOnSecondDisplay) {
- if (!SupportsMultipleDisplays())
- return;
const int height_offset = GetMdMaximizedWindowHeightOffset();
// Tests that for a screen that is narrower than kForceMaximizeWidthLimit
// a new window gets maximized.
@@ -51,9 +49,6 @@ TEST_P(WindowPositionerTest, OpenMaximizedWindowOnSecondDisplay) {
}
TEST_P(WindowPositionerTest, OpenDefaultWindowOnSecondDisplay) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("400x400,1400x900");
WmWindow* second_root_window = WmShell::Get()->GetAllRootWindows()[1];
ScopedRootWindowForNewWindows root_for_new_windows(second_root_window);
« no previous file with comments | « ash/wm/window_cycle_controller_unittest.cc ('k') | ash/wm/window_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698