summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 17:35:27 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 17:35:27 +0000
commit0eb0e37e234c2fa5d4b82d7147bcb782a03b6452 (patch)
treeca0bde70b906089d79930c38892ec1f95ec5368c /views
parentb12350654488c041c407d7aefd4d016e97c3e204 (diff)
downloadchromium_src-0eb0e37e234c2fa5d4b82d7147bcb782a03b6452.zip
chromium_src-0eb0e37e234c2fa5d4b82d7147bcb782a03b6452.tar.gz
chromium_src-0eb0e37e234c2fa5d4b82d7147bcb782a03b6452.tar.bz2
Reenabling some unit-tests on Linux, they seem to work fine now,
even with the screen locked. BUG=23394 TEST=Run the tests. Review URL: http://codereview.chromium.org/1286005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/focus/focus_manager_unittest.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/views/focus/focus_manager_unittest.cc b/views/focus/focus_manager_unittest.cc
index c1fbdcf..9d71ea1 100644
--- a/views/focus/focus_manager_unittest.cc
+++ b/views/focus/focus_manager_unittest.cc
@@ -758,7 +758,6 @@ class TestRadioButton : public RadioButton {
}
};
-#if defined(OS_WIN)
class TestTextfield : public Textfield {
public:
TestTextfield() { }
@@ -788,13 +787,9 @@ class TestTabbedPane : public TabbedPane {
return native_tabbed_pane_->GetTestingHandle();
}
};
-#endif
// Tests that NativeControls do set the focus View appropriately on the
// FocusManager.
-// TODO(jcampan): make these tests work on the Linux build-bot. They don't work
-// when the screen is locked.
-#if defined(OS_WIN)
TEST_F(FocusManagerTest, FocusNativeControls) {
TestNativeButton* button = new TestNativeButton(L"Press me");
TestCheckbox* checkbox = new TestCheckbox(L"Checkbox");
@@ -834,7 +829,6 @@ TEST_F(FocusManagerTest, FocusNativeControls) {
FocusNativeView(tab_button->TestGetNativeControlView());
EXPECT_EQ(tab_button, GetFocusManager()->GetFocusedView());
}
-#endif
// Test that when activating/deactivating the top window, the focus is stored/
// restored properly.