@@ -77,7 +77,7 private: | |||||
77 | void tst_QBarSeries::initTestCase() |
|
77 | void tst_QBarSeries::initTestCase() | |
78 | { |
|
78 | { | |
79 | qRegisterMetaType<QBarSet*>("QBarSet*"); |
|
79 | qRegisterMetaType<QBarSet*>("QBarSet*"); | |
80 | qRegisterMetaType<QList<QBarSet*>>("QList<QBarSet*>"); |
|
80 | qRegisterMetaType<QList<QBarSet*> >("QList<QBarSet*>"); | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | void tst_QBarSeries::cleanupTestCase() |
|
83 | void tst_QBarSeries::cleanupTestCase() | |
@@ -231,7 +231,7 void tst_QBarSeries::take() | |||||
231 | TRY_COMPARE(removedSpy.count(),1); |
|
231 | TRY_COMPARE(removedSpy.count(),1); | |
232 |
|
232 | |||
233 | QList<QVariant> removedSpyArg = removedSpy.takeFirst(); |
|
233 | QList<QVariant> removedSpyArg = removedSpy.takeFirst(); | |
234 | QList<QBarSet*> removedSets = qvariant_cast<QList<QBarSet*>> (removedSpyArg.at(0)); |
|
234 | QList<QBarSet*> removedSets = qvariant_cast<QList<QBarSet*> > (removedSpyArg.at(0)); | |
235 | QCOMPARE(removedSets.at(0), m_testSets.at(i)); |
|
235 | QCOMPARE(removedSets.at(0), m_testSets.at(i)); | |
236 | countSpy.takeFirst(); |
|
236 | countSpy.takeFirst(); | |
237 | } |
|
237 | } |
General Comments 0
You need to be logged in to leave comments.
Login now