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

Unified Diff: ash/screen_util_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/root_window_controller_unittest.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_util_unittest.cc
diff --git a/ash/screen_util_unittest.cc b/ash/screen_util_unittest.cc
index 13c23631bddb76e10512eece077135475e7665e2..3d5850ee2b6741bb5d0dd0d2e728fca1bf43e5a8 100644
--- a/ash/screen_util_unittest.cc
+++ b/ash/screen_util_unittest.cc
@@ -30,8 +30,6 @@ INSTANTIATE_TEST_CASE_P(
MaterialDesignController::MATERIAL_EXPERIMENTAL));
TEST_P(ScreenUtilTest, Bounds) {
- if (!SupportsMultipleDisplays())
- return;
const int height_offset = GetMdMaximizedWindowHeightOffset();
UpdateDisplay("600x600,500x500");
@@ -74,9 +72,6 @@ TEST_P(ScreenUtilTest, Bounds) {
// Test verifies a stable handling of secondary screen widget changes
// (crbug.com/226132).
TEST_P(ScreenUtilTest, StabilityTest) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x600,500x500");
views::Widget* secondary = views::Widget::CreateWindowWithContextAndBounds(
NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100));
@@ -91,9 +86,6 @@ TEST_P(ScreenUtilTest, StabilityTest) {
}
TEST_P(ScreenUtilTest, ConvertRect) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x600,500x500");
views::Widget* primary = views::Widget::CreateWindowWithContextAndBounds(
@@ -123,9 +115,6 @@ TEST_P(ScreenUtilTest, ConvertRect) {
}
TEST_P(ScreenUtilTest, ShelfDisplayBoundsInUnifiedDesktop) {
- if (!SupportsMultipleDisplays())
- return;
-
display_manager()->SetUnifiedDesktopEnabled(true);
views::Widget* widget = views::Widget::CreateWindowWithContextAndBounds(
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698