diff options
Diffstat (limited to 'tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp')
-rw-r--r-- | tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp b/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp index 890c315bfb..95524830e8 100644 --- a/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp +++ b/tests/auto/corelib/animation/qparallelanimationgroup/tst_qparallelanimationgroup.cpp @@ -72,7 +72,7 @@ private slots: void autoAdd(); void pauseResume(); - void QTBUG8910_crashWhenRemovingUncontrolledAnimation(); + void crashWhenRemovingUncontrolledAnimation(); }; void tst_QParallelAnimationGroup::initTestCase() @@ -991,8 +991,9 @@ void tst_QParallelAnimationGroup::pauseResume() QCOMPARE(spy.count(), 2); //this shouldn't have changed } - -void tst_QParallelAnimationGroup::QTBUG8910_crashWhenRemovingUncontrolledAnimation() +// This is a regression test for QTBUG-8910, where a crash occurred when the +// last animation was removed from a group. +void tst_QParallelAnimationGroup::crashWhenRemovingUncontrolledAnimation() { QParallelAnimationGroup group; TestAnimation *anim = new TestAnimation; |