##// END OF EJS Templates
Add dealy to tst_qchartview
Michal Klocek -
r911:131b52731487
parent child
Show More
@@ -151,12 +151,12 void tst_QChartView::rubberBand()
151 151 QSignalSpy spy1(axisX, SIGNAL(rangeChanged(qreal, qreal)));
152 152
153 153 QTest::qWaitForWindowShown(m_view);
154 QTest::qWait(500);
154 155 QTest::mouseMove(m_view->viewport(), QPoint(minX, minY) + padding.topLeft().toPoint());
155 156 QTest::mousePress(m_view->viewport(), Qt::LeftButton, 0, QPoint(minX, minY) + padding.topLeft().toPoint());
156 157 QTest::mouseMove(m_view->viewport(), QPoint(maxX, maxY) + padding.topLeft().toPoint());
157 158 QTest::mouseRelease(m_view->viewport(), Qt::LeftButton, 0, QPoint(maxX, maxY)+ padding.topLeft().toPoint());
158 159
159
160 160 QCOMPARE(spy0.count(), Xcount);
161 161 QCOMPARE(spy1.count(), Ycount);
162 162
General Comments 0
You need to be logged in to leave comments. Login now