on xenial help sign in
and the same workaround for the DDA test
commit3f742a4168b300f80198dba1c9d82965f2b822b2 authorAlbert Astals <albert.astals@canonical.com> dateFri 7 Mar 2014, 11:38 (13 years ago) parent3b6eb67
1 file changed+3
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp+3
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp+3
@@ -102,6 +102,9 @@ tst_DirectionalDragArea::tst_DirectionalDragArea()
102102void tst_DirectionalDragArea::init()
103103{
104104 GestureTest::init();
105+ m_view->resize(m_view->rootObject()->width(), m_view->rootObject()->height());
106+ QTRY_COMPARE(m_view->width(), (int)m_view->rootObject()->width());
107+ QTRY_COMPARE(m_view->height(), (int)m_view->rootObject()->height());
105108
106109 fakeTimeSource.reset(new FakeTimeSource);
107110 fakeTimer = new FakeTimer(fakeTimeSource);