diff --git a/tests/auto/qbarseries/tst_qbarseries.cpp b/tests/auto/qbarseries/tst_qbarseries.cpp index 5419aaa..586b008 100644 --- a/tests/auto/qbarseries/tst_qbarseries.cpp +++ b/tests/auto/qbarseries/tst_qbarseries.cpp @@ -349,6 +349,8 @@ void tst_QBarSeries::mouseclicked_data() void tst_QBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QBarSeries* series = new QBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -485,6 +487,8 @@ void tst_QBarSeries::mousehovered_data() void tst_QBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QBarSeries* series = new QBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); diff --git a/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp b/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp index 49a174b..b14b369 100644 --- a/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp +++ b/tests/auto/qhorizontalbarseries/tst_qhorizontalbarseries.cpp @@ -315,6 +315,8 @@ void tst_QHorizontalBarSeries::mouseclicked_data() void tst_QHorizontalBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalBarSeries* series = new QHorizontalBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -451,6 +453,8 @@ void tst_QHorizontalBarSeries::mousehovered_data() void tst_QHorizontalBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalBarSeries* series = new QHorizontalBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); diff --git a/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp b/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp index 47e1d9b..9ac30e3 100644 --- a/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp +++ b/tests/auto/qhorizontalpercentbarseries/tst_qhorizontalpercentbarseries.cpp @@ -100,6 +100,8 @@ void tst_QHorizontalPercentBarSeries::mouseclicked_data() void tst_QHorizontalPercentBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -198,6 +200,8 @@ void tst_QHorizontalPercentBarSeries::mousehovered_data() void tst_QHorizontalPercentBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); diff --git a/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp b/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp index 39954c5..f7f1ff1 100644 --- a/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp +++ b/tests/auto/qhorizontalstackedbarseries/tst_qhorizontalstackedbarseries.cpp @@ -100,6 +100,8 @@ void tst_QHorizontalStackedBarSeries::mouseclicked_data() void tst_QHorizontalStackedBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -198,6 +200,8 @@ void tst_QHorizontalStackedBarSeries::mousehovered_data() void tst_QHorizontalStackedBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); diff --git a/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp b/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp index ecb08ae..792e3d3 100644 --- a/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp +++ b/tests/auto/qpercentbarseries/tst_qpercentbarseries.cpp @@ -100,6 +100,8 @@ void tst_QPercentBarSeries::mouseclicked_data() void tst_QPercentBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QPercentBarSeries* series = new QPercentBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -198,6 +200,8 @@ void tst_QPercentBarSeries::mousehovered_data() void tst_QPercentBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QPercentBarSeries* series = new QPercentBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); diff --git a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp index c5f037d..91a6999 100644 --- a/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp +++ b/tests/auto/qstackedbarseries/tst_qstackedbarseries.cpp @@ -100,6 +100,8 @@ void tst_QStackedBarSeries::mouseclicked_data() void tst_QStackedBarSeries::mouseclicked() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QStackedBarSeries* series = new QStackedBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1")); @@ -198,6 +200,8 @@ void tst_QStackedBarSeries::mousehovered_data() void tst_QStackedBarSeries::mousehovered() { + SKIP_IF_CANNOT_TEST_MOUSE_EVENTS(); + QStackedBarSeries* series = new QStackedBarSeries(); QBarSet* set1 = new QBarSet(QString("set 1"));