@@ -78,6 +78,9 void tst_qpieseries::init() | |||
|
78 | 78 | { |
|
79 | 79 | m_view = new QChartView(); |
|
80 | 80 | m_series = new QPieSeries(m_view); |
|
81 | m_view->show(); | |
|
82 | QTest::qWaitForWindowShown(m_view); | |
|
83 | ||
|
81 | 84 | } |
|
82 | 85 | |
|
83 | 86 | void tst_qpieseries::cleanup() |
@@ -234,6 +237,7 void tst_qpieseries::append() | |||
|
234 | 237 | void tst_qpieseries::appendAnimated() |
|
235 | 238 | { |
|
236 | 239 | m_view->chart()->setAnimationOptions(QChart::AllAnimations); |
|
240 | append(); | |
|
237 | 241 | } |
|
238 | 242 | |
|
239 | 243 | void tst_qpieseries::insert() |
@@ -291,6 +295,7 void tst_qpieseries::insert() | |||
|
291 | 295 | void tst_qpieseries::insertAnimated() |
|
292 | 296 | { |
|
293 | 297 | m_view->chart()->setAnimationOptions(QChart::AllAnimations); |
|
298 | insert(); | |
|
294 | 299 | } |
|
295 | 300 | |
|
296 | 301 | void tst_qpieseries::remove() |
@@ -340,6 +345,7 void tst_qpieseries::remove() | |||
|
340 | 345 | void tst_qpieseries::removeAnimated() |
|
341 | 346 | { |
|
342 | 347 | m_view->chart()->setAnimationOptions(QChart::AllAnimations); |
|
348 | remove(); | |
|
343 | 349 | } |
|
344 | 350 | |
|
345 | 351 | void tst_qpieseries::calculatedValues() |
General Comments 0
You need to be logged in to leave comments.
Login now