diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-12 17:21:18 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-12 17:21:18 +0000 |
commit | e75642a8f1dd697ee69dd4849f44d3ae85f51ca8 (patch) | |
tree | cd329f9f61d405dee5882e24953849fada6b0bd7 /ash/touch | |
parent | eb4b9550a3c201af19b51a648707cc1ffc04445d (diff) | |
download | chromium_src-e75642a8f1dd697ee69dd4849f44d3ae85f51ca8.zip chromium_src-e75642a8f1dd697ee69dd4849f44d3ae85f51ca8.tar.gz chromium_src-e75642a8f1dd697ee69dd4849f44d3ae85f51ca8.tar.bz2 |
Skip mulitple-display tests on win8
Re-enable tests that should pass on win7.
BUG=247427
Review URL: https://chromiumcodereview.appspot.com/16539005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/touch')
-rw-r--r-- | ash/touch/touch_observer_hud_unittest.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ash/touch/touch_observer_hud_unittest.cc b/ash/touch/touch_observer_hud_unittest.cc index c616f6f..7e8b91b 100644 --- a/ash/touch/touch_observer_hud_unittest.cc +++ b/ash/touch/touch_observer_hud_unittest.cc @@ -243,6 +243,9 @@ class TouchHudTest : public test::AshTestBase { // Checks if touch HUDs are correctly initialized for displays. TEST_F(TouchHudTest, Basic) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -254,6 +257,9 @@ TEST_F(TouchHudTest, Basic) { // Checks if touch HUDs are correctly handled when primary display is changed. TEST_F(TouchHudTest, SwapPrimaryDisplay) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -278,6 +284,9 @@ TEST_F(TouchHudTest, SwapPrimaryDisplay) { // Checks if touch HUDs are correctly handled when displays are mirrored. TEST_F(TouchHudTest, MirrorDisplays) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -301,6 +310,9 @@ TEST_F(TouchHudTest, MirrorDisplays) { // Checks if touch HUDs are correctly handled when displays are mirrored after // setting the external display as the primary one. TEST_F(TouchHudTest, SwapPrimaryThenMirrorDisplays) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -328,6 +340,9 @@ TEST_F(TouchHudTest, SwapPrimaryThenMirrorDisplays) { // Checks if touch HUDs are correctly handled when the external display, which // is the secondary one, is removed. TEST_F(TouchHudTest, RemoveSecondaryDisplay) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -351,6 +366,9 @@ TEST_F(TouchHudTest, RemoveSecondaryDisplay) { // Checks if touch HUDs are correctly handled when the external display, which // is set as the primary display, is removed. TEST_F(TouchHudTest, RemovePrimaryDisplay) { + if (!SupportsMultipleDisplays()) + return; + // Setup a dual display setting. SetupDualDisplays(); @@ -377,6 +395,9 @@ TEST_F(TouchHudTest, RemovePrimaryDisplay) { // Checks if touch HUDs are correctly handled when all displays are removed. TEST_F(TouchHudTest, Headless) { + if (!SupportsMultipleDisplays()) + return; + // Setup a single display setting. SetupSingleDisplay(); |