summaryrefslogtreecommitdiffstats
path: root/views/touchui
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 22:08:29 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 22:08:29 +0000
commitf641e73f63c4ee84ae7c412c7c225eb493539ce8 (patch)
tree8a61fd6ba2ef95867e88cf102e538553e8d756bc /views/touchui
parent578c696d2d820567eb0cd938476fedee4a892f56 (diff)
downloadchromium_src-f641e73f63c4ee84ae7c412c7c225eb493539ce8.zip
chromium_src-f641e73f63c4ee84ae7c412c7c225eb493539ce8.tar.gz
chromium_src-f641e73f63c4ee84ae7c412c7c225eb493539ce8.tar.bz2
Get views_unittests pass on touch build
* Changed views test to use ViewsTestBase. * Always calls ViewsTestBase::SetUp/TearDown. Added flags to check if this is enforced. * Excluded tests that does not make sense on touch/pure views build. BUG=none TEST=views_unittets now passes on touch build, with a few exceptions below. WidgetTest.GrabUngrab: assigned to sadrul NativeTextfieldViewsTest.DragAndDrop_XXX: msw will look into it. Review URL: http://codereview.chromium.org/7720020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui')
-rw-r--r--views/touchui/touch_selection_controller_impl_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/views/touchui/touch_selection_controller_impl_unittest.cc b/views/touchui/touch_selection_controller_impl_unittest.cc
index a7f6a15..780c69c 100644
--- a/views/touchui/touch_selection_controller_impl_unittest.cc
+++ b/views/touchui/touch_selection_controller_impl_unittest.cc
@@ -23,12 +23,7 @@ class TouchSelectionControllerImplTest : public ViewsTestBase {
textfield_view_(NULL) {
}
- virtual void SetUp() {
- Widget::SetPureViews(true);
- }
-
virtual void TearDown() {
- Widget::SetPureViews(false);
if (widget_)
widget_->Close();
ViewsTestBase::TearDown();