##// END OF EJS Templates
Fix pie hover tests in ubuntu
Jani Honkonen -
r2074:36a8d99cbda3
parent child
Show More
@@ -574,6 +574,7 void tst_qpieseries::hoverSignal()
574 QTest::mouseMove(m_view->viewport(), points.at(2));
574 QTest::mouseMove(m_view->viewport(), points.at(2));
575 QTest::mouseMove(m_view->viewport(), points.at(3));
575 QTest::mouseMove(m_view->viewport(), points.at(3));
576 QTest::mouseMove(m_view->viewport(), pieRect.topLeft().toPoint());
576 QTest::mouseMove(m_view->viewport(), pieRect.topLeft().toPoint());
577 QApplication::processEvents();
577
578
578 // check
579 // check
579 QCOMPARE(hoverSpy.count(), 8);
580 QCOMPARE(hoverSpy.count(), 8);
@@ -295,6 +295,7 void tst_qpieslice::hoverSignal()
295 QTest::mouseMove(view.viewport(), points.at(2));
295 QTest::mouseMove(view.viewport(), points.at(2));
296 QTest::mouseMove(view.viewport(), points.at(3));
296 QTest::mouseMove(view.viewport(), points.at(3));
297 QTest::mouseMove(view.viewport(), pieRect.topLeft().toPoint());
297 QTest::mouseMove(view.viewport(), pieRect.topLeft().toPoint());
298 QApplication::processEvents();
298
299
299 // check
300 // check
300 QCOMPARE(hoverSpy1.count(), 2);
301 QCOMPARE(hoverSpy1.count(), 2);
General Comments 0
You need to be logged in to leave comments. Login now