Commit 6e88e556 authored by sadrul@chromium.org's avatar sadrul@chromium.org

aura: Remove failing ScreenTest for aura.

BUG=none
TEST=gfx_unittets on linux_aura should go green

Review URL: http://codereview.chromium.org/8391006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107592 0039d316-1c4b-4281-b951-d872f2087c98
parent 85df55a4
...@@ -5,30 +5,9 @@ ...@@ -5,30 +5,9 @@
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/screen.h" #include "ui/gfx/screen.h"
#if defined(USE_AURA)
#include "base/message_loop.h"
#include "ui/aura/desktop.h"
#endif
namespace { namespace {
#if defined(USE_AURA)
class ScreenTest : public testing::Test {
public:
ScreenTest() {
aura::Desktop::GetInstance()->ShowDesktop();
}
virtual ~ScreenTest() {
aura::Desktop::GetInstance()->DeleteInstanceForTesting();
}
private:
MessageLoopForUI message_loop_;
};
#else
typedef testing::Test ScreenTest; typedef testing::Test ScreenTest;
#endif
TEST_F(ScreenTest, GetPrimaryMonitorSize) { TEST_F(ScreenTest, GetPrimaryMonitorSize) {
// We aren't actually testing that it's correct, just that it's sane. // We aren't actually testing that it's correct, just that it's sane.
......
...@@ -160,8 +160,8 @@ ...@@ -160,8 +160,8 @@
], ],
}], }],
['use_aura==1', { ['use_aura==1', {
'dependencies': [ 'sources!': [
'aura/aura.gyp:aura', 'gfx/screen_unittest.cc',
], ],
}], }],
], ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment