summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2016-10-03 17:58:09 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-10-06 13:21:30 +0000
commit25a7f3a6e747ff06b9fd1b759255b455baa85c77 (patch)
tree6ef61d3e9d8e7022b2b4b32ea5b8a89a0f5046ed /tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp
parent0f471b6a71038f86a7ae4c420c9caaa3713e575e (diff)
Fix autotests
Hover signal tests: Hover signals are randomly failing on various platforms when run on virtual machines, so we skip them for now. When tested manually with an actual mouse, hover signals work just fine, but synthetic mouse move generation doesn't seem to be reliable. QAreaSeries: Hide axes so they don't confuse pixel color checks. QPieSeries: Removed unnecessary window activation check that had nothing to do with the test case and was causing it to fail on some systems. Changed the button size in mouse event skip test to get rid of a warning of minimum size in Windows. Also added processEvents calls to the skip test to minimize impact on the test case. Change-Id: Ia5914c547cbe58facb3a96c448cbbf3998d4a757 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp')
-rw-r--r--tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp
index cb22a106..eed7fe16 100644
--- a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp
+++ b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp
@@ -317,6 +317,7 @@ void tst_QStackedBarSeries::mousehovered_data()
void tst_QStackedBarSeries::mousehovered()
{
SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
+ SKIP_IF_FLAKY_MOUSE_MOVE();
QStackedBarSeries* series = new QStackedBarSeries();