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