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

Unified Diff: ash/display/display_change_observer_x11_unittest.cc

Issue 21297003: Add ability to set resolution on external display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adraddressed comment, adjusted test Created 7 years, 5 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_change_observer_x11.cc ('k') | ash/display/display_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_change_observer_x11_unittest.cc
diff --git a/ash/display/display_change_observer_x11_unittest.cc b/ash/display/display_change_observer_x11_unittest.cc
deleted file mode 100644
index 8f81297a15c66e464f4def3632939d0e384a836e..0000000000000000000000000000000000000000
--- a/ash/display/display_change_observer_x11_unittest.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/display/display_change_observer_x11.h"
-
-// Undefine X's macros used in gtest.
-#undef Bool
-#undef None
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-typedef testing::Test DisplayChangeObserverX11Test;
-
-namespace ash {
-namespace internal {
-
-TEST_F(DisplayChangeObserverX11Test, TestBlackListedDisplay) {
- EXPECT_TRUE(ShouldIgnoreSize(10, 10));
- EXPECT_TRUE(ShouldIgnoreSize(40, 30));
- EXPECT_TRUE(ShouldIgnoreSize(50, 40));
- EXPECT_TRUE(ShouldIgnoreSize(160, 90));
- EXPECT_TRUE(ShouldIgnoreSize(160, 100));
-
- EXPECT_FALSE(ShouldIgnoreSize(50, 60));
- EXPECT_FALSE(ShouldIgnoreSize(100, 70));
- EXPECT_FALSE(ShouldIgnoreSize(272, 181));
-}
-
-} // namespace internal
-} // namespace ash
« no previous file with comments | « ash/display/display_change_observer_x11.cc ('k') | ash/display/display_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698