##// END OF EJS Templates
added SKIP_IF_CANNOT_TEST_MOUSE_EVENTS macro to barseries tests
sauimone -
r2066:a059066f2901
parent child
Show More
@@ -349,6 +349,8 void tst_QBarSeries::mouseclicked_data()
349
349
350 void tst_QBarSeries::mouseclicked()
350 void tst_QBarSeries::mouseclicked()
351 {
351 {
352 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
353
352 QBarSeries* series = new QBarSeries();
354 QBarSeries* series = new QBarSeries();
353
355
354 QBarSet* set1 = new QBarSet(QString("set 1"));
356 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -485,6 +487,8 void tst_QBarSeries::mousehovered_data()
485
487
486 void tst_QBarSeries::mousehovered()
488 void tst_QBarSeries::mousehovered()
487 {
489 {
490 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
491
488 QBarSeries* series = new QBarSeries();
492 QBarSeries* series = new QBarSeries();
489
493
490 QBarSet* set1 = new QBarSet(QString("set 1"));
494 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -315,6 +315,8 void tst_QHorizontalBarSeries::mouseclicked_data()
315
315
316 void tst_QHorizontalBarSeries::mouseclicked()
316 void tst_QHorizontalBarSeries::mouseclicked()
317 {
317 {
318 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
319
318 QHorizontalBarSeries* series = new QHorizontalBarSeries();
320 QHorizontalBarSeries* series = new QHorizontalBarSeries();
319
321
320 QBarSet* set1 = new QBarSet(QString("set 1"));
322 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -451,6 +453,8 void tst_QHorizontalBarSeries::mousehovered_data()
451
453
452 void tst_QHorizontalBarSeries::mousehovered()
454 void tst_QHorizontalBarSeries::mousehovered()
453 {
455 {
456 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
457
454 QHorizontalBarSeries* series = new QHorizontalBarSeries();
458 QHorizontalBarSeries* series = new QHorizontalBarSeries();
455
459
456 QBarSet* set1 = new QBarSet(QString("set 1"));
460 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -100,6 +100,8 void tst_QHorizontalPercentBarSeries::mouseclicked_data()
100
100
101 void tst_QHorizontalPercentBarSeries::mouseclicked()
101 void tst_QHorizontalPercentBarSeries::mouseclicked()
102 {
102 {
103 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
104
103 QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries();
105 QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries();
104
106
105 QBarSet* set1 = new QBarSet(QString("set 1"));
107 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -198,6 +200,8 void tst_QHorizontalPercentBarSeries::mousehovered_data()
198
200
199 void tst_QHorizontalPercentBarSeries::mousehovered()
201 void tst_QHorizontalPercentBarSeries::mousehovered()
200 {
202 {
203 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
204
201 QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries();
205 QHorizontalPercentBarSeries* series = new QHorizontalPercentBarSeries();
202
206
203 QBarSet* set1 = new QBarSet(QString("set 1"));
207 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -100,6 +100,8 void tst_QHorizontalStackedBarSeries::mouseclicked_data()
100
100
101 void tst_QHorizontalStackedBarSeries::mouseclicked()
101 void tst_QHorizontalStackedBarSeries::mouseclicked()
102 {
102 {
103 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
104
103 QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries();
105 QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries();
104
106
105 QBarSet* set1 = new QBarSet(QString("set 1"));
107 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -198,6 +200,8 void tst_QHorizontalStackedBarSeries::mousehovered_data()
198
200
199 void tst_QHorizontalStackedBarSeries::mousehovered()
201 void tst_QHorizontalStackedBarSeries::mousehovered()
200 {
202 {
203 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
204
201 QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries();
205 QHorizontalStackedBarSeries* series = new QHorizontalStackedBarSeries();
202
206
203 QBarSet* set1 = new QBarSet(QString("set 1"));
207 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -100,6 +100,8 void tst_QPercentBarSeries::mouseclicked_data()
100
100
101 void tst_QPercentBarSeries::mouseclicked()
101 void tst_QPercentBarSeries::mouseclicked()
102 {
102 {
103 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
104
103 QPercentBarSeries* series = new QPercentBarSeries();
105 QPercentBarSeries* series = new QPercentBarSeries();
104
106
105 QBarSet* set1 = new QBarSet(QString("set 1"));
107 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -198,6 +200,8 void tst_QPercentBarSeries::mousehovered_data()
198
200
199 void tst_QPercentBarSeries::mousehovered()
201 void tst_QPercentBarSeries::mousehovered()
200 {
202 {
203 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
204
201 QPercentBarSeries* series = new QPercentBarSeries();
205 QPercentBarSeries* series = new QPercentBarSeries();
202
206
203 QBarSet* set1 = new QBarSet(QString("set 1"));
207 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -100,6 +100,8 void tst_QStackedBarSeries::mouseclicked_data()
100
100
101 void tst_QStackedBarSeries::mouseclicked()
101 void tst_QStackedBarSeries::mouseclicked()
102 {
102 {
103 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
104
103 QStackedBarSeries* series = new QStackedBarSeries();
105 QStackedBarSeries* series = new QStackedBarSeries();
104
106
105 QBarSet* set1 = new QBarSet(QString("set 1"));
107 QBarSet* set1 = new QBarSet(QString("set 1"));
@@ -198,6 +200,8 void tst_QStackedBarSeries::mousehovered_data()
198
200
199 void tst_QStackedBarSeries::mousehovered()
201 void tst_QStackedBarSeries::mousehovered()
200 {
202 {
203 SKIP_IF_CANNOT_TEST_MOUSE_EVENTS();
204
201 QStackedBarSeries* series = new QStackedBarSeries();
205 QStackedBarSeries* series = new QStackedBarSeries();
202
206
203 QBarSet* set1 = new QBarSet(QString("set 1"));
207 QBarSet* set1 = new QBarSet(QString("set 1"));
General Comments 0
You need to be logged in to leave comments. Login now