From 3803430919724e41fedbfe5da36205279f6db5e0 2012-08-21 07:09:43 From: Jani Honkonen Date: 2012-08-21 07:09:43 Subject: [PATCH] tst_qpieseries: the xxxAnimated tests did not test anything (oops) --- diff --git a/tests/auto/qpieseries/tst_qpieseries.cpp b/tests/auto/qpieseries/tst_qpieseries.cpp index e44e07c..9e8df0f 100644 --- a/tests/auto/qpieseries/tst_qpieseries.cpp +++ b/tests/auto/qpieseries/tst_qpieseries.cpp @@ -78,6 +78,9 @@ void tst_qpieseries::init() { m_view = new QChartView(); m_series = new QPieSeries(m_view); + m_view->show(); + QTest::qWaitForWindowShown(m_view); + } void tst_qpieseries::cleanup() @@ -234,6 +237,7 @@ void tst_qpieseries::append() void tst_qpieseries::appendAnimated() { m_view->chart()->setAnimationOptions(QChart::AllAnimations); + append(); } void tst_qpieseries::insert() @@ -291,6 +295,7 @@ void tst_qpieseries::insert() void tst_qpieseries::insertAnimated() { m_view->chart()->setAnimationOptions(QChart::AllAnimations); + insert(); } void tst_qpieseries::remove() @@ -340,6 +345,7 @@ void tst_qpieseries::remove() void tst_qpieseries::removeAnimated() { m_view->chart()->setAnimationOptions(QChart::AllAnimations); + remove(); } void tst_qpieseries::calculatedValues()