| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | QSequentialAnimationGroupJob::QSequentialAnimationGroupJob() | - |
| 5 | : QAnimationGroupJob() | - |
| 6 | , m_currentAnimation(nullptr) | - |
| 7 | , m_previousLoop(0) | - |
| 8 | { | - |
| 9 | }executed 12778 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12778 |
| 10 | | - |
| 11 | QSequentialAnimationGroupJob::~QSequentialAnimationGroupJob() | - |
| 12 | { | - |
| 13 | } | - |
| 14 | | - |
| 15 | bool QSequentialAnimationGroupJob::atEnd() const | - |
| 16 | { | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | const int animTotalCurrentTime = m_currentAnimation->currentTime(); | - |
| 25 | returnexecuted 47230 times by 15 tests: return (m_currentLoop == m_loopCount - 1 && m_direction == Forward && !m_currentAnimation->nextSibling() && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
(m_currentLoop == m_loopCount - 1executed 47230 times by 15 tests: return (m_currentLoop == m_loopCount - 1 && m_direction == Forward && !m_currentAnimation->nextSibling() && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47230 |
| 26 | && m_direction == Forwardexecuted 47230 times by 15 tests: return (m_currentLoop == m_loopCount - 1 && m_direction == Forward && !m_currentAnimation->nextSibling() && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47230 |
| 27 | && !m_currentAnimation->nextSibling()executed 47230 times by 15 tests: return (m_currentLoop == m_loopCount - 1 && m_direction == Forward && !m_currentAnimation->nextSibling() && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47230 |
| 28 | && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));executed 47230 times by 15 tests: return (m_currentLoop == m_loopCount - 1 && m_direction == Forward && !m_currentAnimation->nextSibling() && animTotalCurrentTime == animationActualTotalDuration(m_currentAnimation));Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47230 |
| 29 | } | - |
| 30 | | - |
| 31 | int QSequentialAnimationGroupJob::animationActualTotalDuration(QAbstractAnimationJob *anim) const | - |
| 32 | { | - |
| 33 | int ret = anim->totalDuration(); | - |
| 34 | if (ret == -1| TRUE | evaluated 339 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 147885 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { | 339-147885 |
| 35 | int done = uncontrolledAnimationFinishTime(anim); | - |
| 36 | | - |
| 37 | if (done >= 0| TRUE | evaluated 114 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 225 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
|
&& (anim->loopCount() - 1 == anim->currentLoop()| TRUE | evaluated 47 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 67 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
|| anim->state() == Stopped| TRUE | evaluated 67 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
)) | 0-225 |
| 38 | returnexecuted 114 times by 1 test: return done;Executed by:- tst_qsequentialanimationgroupjob
done;executed 114 times by 1 test: return done;Executed by:- tst_qsequentialanimationgroupjob
| 114 |
| 39 | }executed 225 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qsequentialanimationgroupjob
| 225 |
| 40 | returnexecuted 148110 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
ret;executed 148110 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 148110 |
| 41 | } | - |
| 42 | | - |
| 43 | QSequentialAnimationGroupJob::AnimationIndex QSequentialAnimationGroupJob::indexForCurrentTime() const | - |
| 44 | { | - |
| 45 | ((firstChild()) ? static_cast<void>(0) : qt_assert("firstChild()", __FILE__, 87)); | - |
| 46 | | - |
| 47 | AnimationIndex ret; | - |
| 48 | QAbstractAnimationJob *anim = nullptr; | - |
| 49 | int duration = 0; | - |
| 50 | | - |
| 51 | for (anim = firstChild(); anim| TRUE | evaluated 112400 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 8900 times by 10 testsEvaluated by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
; anim = anim->nextSibling()) { | 8900-112400 |
| 52 | duration = animationActualTotalDuration(anim); | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | | - |
| 59 | if (duration == -1| TRUE | evaluated 152 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 112248 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
|| m_currentTime < (ret.timeOffset + duration)| TRUE | evaluated 38160 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 74088 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
| 152-112248 |
| 60 | || (m_currentTime == (ret.timeOffset + duration)| TRUE | evaluated 28069 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 46019 times by 12 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
&& m_direction == QAbstractAnimationJob::Backward| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 28065 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
)) { | 4-46019 |
| 61 | ret.animation = anim; | - |
| 62 | returnexecuted 38316 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
ret;executed 38316 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 38316 |
| 63 | } | - |
| 64 | | - |
| 65 | if (anim == m_currentAnimation| TRUE | evaluated 22804 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 51280 times by 14 testsEvaluated by:- tst_examples
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { | 22804-51280 |
| 66 | ret.afterCurrent = true; | - |
| 67 | }executed 22804 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 22804 |
| 68 | | - |
| 69 | | - |
| 70 | ret.timeOffset += duration; | - |
| 71 | }executed 74084 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 74084 |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | ret.timeOffset -= duration; | - |
| 77 | ret.animation = lastChild(); | - |
| 78 | returnexecuted 8900 times by 10 tests: return ret;Executed by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
ret;executed 8900 times by 10 tests: return ret;Executed by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 8900 |
| 79 | } | - |
| 80 | | - |
| 81 | void QSequentialAnimationGroupJob::restart() | - |
| 82 | { | - |
| 83 | | - |
| 84 | if (m_direction == Forward| TRUE | evaluated 12748 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-12748 |
| 85 | m_previousLoop = 0; | - |
| 86 | if (m_currentAnimation == firstChild()| TRUE | evaluated 12724 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qpauseanimationjob
- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
) | 24-12724 |
| 87 | activateCurrentAnimation();executed 12724 times by 14 tests: activateCurrentAnimation();Executed by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12724 |
| 88 | else | - |
| 89 | setCurrentAnimation(firstChild());executed 24 times by 3 tests: setCurrentAnimation(firstChild());Executed by:- tst_qpauseanimationjob
- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| 24 |
| 90 | } | - |
| 91 | else { | - |
| 92 | m_previousLoop = m_loopCount - 1; | - |
| 93 | if (m_currentAnimation == lastChild()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 94 | activateCurrentAnimation(); never executed: activateCurrentAnimation(); | 0 |
| 95 | else | - |
| 96 | setCurrentAnimation(lastChild()); never executed: setCurrentAnimation(lastChild()); | 0 |
| 97 | } | - |
| 98 | } | - |
| 99 | | - |
| 100 | void QSequentialAnimationGroupJob::advanceForwards(const AnimationIndex &newAnimationIndex) | - |
| 101 | { | - |
| 102 | if (m_previousLoop < m_currentLoop| TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 22604 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { | 28-22604 |
| 103 | | - |
| 104 | for (QAbstractAnimationJob *anim = m_currentAnimation; anim| TRUE | evaluated 38 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 28 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
|
; anim = anim->nextSibling()) { | 28-38 |
| 105 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(anim, true); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 38 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-38 |
| 106 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; anim->setCurrentTime(animationActualTotalDuration(anim)); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 38 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-38 |
| 107 | }executed 38 times by 3 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| 38 |
| 108 | | - |
| 109 | if (firstChild()| TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
&& !firstChild()->nextSibling()| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
|
) { | 0-28 |
| 110 | | - |
| 111 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; activateCurrentAnimation(); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-4 |
| 112 | }executed 4 times by 1 test: end of blockExecuted by:- tst_qsequentialanimationgroupjob
else { | 4 |
| 113 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(firstChild(), true); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-24 |
| 114 | }executed 24 times by 3 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| 24 |
| 115 | } | - |
| 116 | | - |
| 117 | | - |
| 118 | for (QAbstractAnimationJob *anim = m_currentAnimation; anim| TRUE | evaluated 48589 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | never evaluated |
&& anim != newAnimationIndex.animation| TRUE | evaluated 25957 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 22632 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
; anim = anim->nextSibling()) { | 0-48589 |
| 119 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(anim, true); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 25957 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-25957 |
| 120 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; anim->setCurrentTime(animationActualTotalDuration(anim)); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 25957 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-25957 |
| 121 | }executed 25957 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 25957 |
| 122 | | - |
| 123 | }executed 22632 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 22632 |
| 124 | | - |
| 125 | void QSequentialAnimationGroupJob::rewindForwards(const AnimationIndex &newAnimationIndex) | - |
| 126 | { | - |
| 127 | if (m_previousLoop > m_currentLoop| TRUE | never evaluated | | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
) { | 0-14 |
| 128 | | - |
| 129 | for (QAbstractAnimationJob *anim = m_currentAnimation; anim| TRUE | never evaluated | | FALSE | never evaluated |
; anim = anim->previousSibling()) { | 0 |
| 130 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(anim, true); if (wasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0 |
| 131 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; anim->setCurrentTime(0); if (wasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0 |
| 132 | } never executed: end of block | 0 |
| 133 | | - |
| 134 | if (lastChild()| TRUE | never evaluated | | FALSE | never evaluated |
&& !lastChild()->previousSibling()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 135 | | - |
| 136 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; activateCurrentAnimation(); if (wasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0 |
| 137 | } never executed: end of block else { | 0 |
| 138 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(lastChild(), true); if (wasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0 |
| 139 | } never executed: end of block | 0 |
| 140 | } | - |
| 141 | | - |
| 142 | | - |
| 143 | for (QAbstractAnimationJob *anim = m_currentAnimation; anim| TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
&& anim != newAnimationIndex.animation| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
; anim = anim->previousSibling()) { | 0-34 |
| 144 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(anim, true); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-20 |
| 145 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; anim->setCurrentTime(0); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-20 |
| 146 | }executed 20 times by 2 tests: end of blockExecuted by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| 20 |
| 147 | | - |
| 148 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| 14 |
| 149 | | - |
| 150 | int QSequentialAnimationGroupJob::duration() const | - |
| 151 | { | - |
| 152 | int ret = 0; | - |
| 153 | | - |
| 154 | for (QAbstractAnimationJob *anim = firstChild(); anim| TRUE | evaluated 817192 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 228065 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
; anim = anim->nextSibling()) { | 228065-817192 |
| 155 | const int currentDuration = anim->totalDuration(); | - |
| 156 | if (currentDuration == -1| TRUE | evaluated 234 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 816958 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 234-816958 |
| 157 | returnexecuted 234 times by 2 tests: return -1;Executed by:- tst_examples
- tst_qsequentialanimationgroupjob
-1;executed 234 times by 2 tests: return -1;Executed by:- tst_examples
- tst_qsequentialanimationgroupjob
| 234 |
| 158 | | - |
| 159 | ret += currentDuration; | - |
| 160 | }executed 816958 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 816958 |
| 161 | | - |
| 162 | returnexecuted 228065 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
ret;executed 228065 times by 15 tests: return ret;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 228065 |
| 163 | } | - |
| 164 | | - |
| 165 | void QSequentialAnimationGroupJob::updateCurrentTime(int currentTime) | - |
| 166 | { | - |
| 167 | if (!m_currentAnimation| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 47216 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 4-47216 |
| 168 | return;executed 4 times by 1 test: return; | 4 |
| 169 | | - |
| 170 | const QSequentialAnimationGroupJob::AnimationIndex newAnimationIndex = indexForCurrentTime(); | - |
| 171 | | - |
| 172 | | - |
| 173 | if (m_previousLoop < m_currentLoop| TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickimage
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 47188 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
| 28-47188 |
| 174 | || (m_previousLoop == m_currentLoop| TRUE | evaluated 47188 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | never evaluated |
&& m_currentAnimation != newAnimationIndex.animation| TRUE | evaluated 22618 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 24570 times by 14 testsEvaluated by:- tst_examples
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
&& newAnimationIndex.afterCurrent| TRUE | evaluated 22604 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
)) { | 0-47188 |
| 175 | | - |
| 176 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; advanceForwards(newAnimationIndex); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 22632 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-22632 |
| 177 | | - |
| 178 | }executed 22632 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
else if (m_previousLoop > m_currentLoop| TRUE | never evaluated | | FALSE | evaluated 24584 times by 14 testsEvaluated by:- tst_examples
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
| 0-24584 |
| 179 | || (m_previousLoop == m_currentLoop| TRUE | evaluated 24584 times by 14 testsEvaluated by:- tst_examples
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | never evaluated |
&& m_currentAnimation != newAnimationIndex.animation| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 24570 times by 14 testsEvaluated by:- tst_examples
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
&& !newAnimationIndex.afterCurrent| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
)) { | 0-24584 |
| 180 | | - |
| 181 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; rewindForwards(newAnimationIndex); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-14 |
| 182 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| 14 |
| 183 | | - |
| 184 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; setCurrentAnimation(newAnimationIndex.animation); if (wasDeleted| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 47208 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) *executed 8 times by 1 test: *prevWasDeleted = true; prevWasDeleted = true;executed 8 times by 1 test: *prevWasDeleted = true; return;executed 8 times by 1 test: return; } m_wasDeleted = prevWasDeleted; }; | 0-47208 |
| 185 | | - |
| 186 | const int newCurrentTime = currentTime - newAnimationIndex.timeOffset; | - |
| 187 | | - |
| 188 | if (m_currentAnimation| TRUE | evaluated 47208 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-47208 |
| 189 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; m_currentAnimation->setCurrentTime(newCurrentTime); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 47208 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-47208 |
| 190 | if (atEnd()| TRUE | evaluated 8896 times by 10 testsEvaluated by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 38312 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { | 8896-38312 |
| 191 | | - |
| 192 | m_currentTime += m_currentAnimation->currentTime() - newCurrentTime; | - |
| 193 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; stop(); if (wasDeleted| TRUE | never evaluated | | FALSE | evaluated 8896 times by 10 testsEvaluated by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0-8896 |
| 194 | }executed 8896 times by 10 tests: end of blockExecuted by:- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 8896 |
| 195 | }executed 47208 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
else { | 47208 |
| 196 | | - |
| 197 | | - |
| 198 | ((!firstChild()) ? static_cast<void>(0) : qt_assert("!firstChild()", __FILE__, 240)); | - |
| 199 | m_currentTime = 0; | - |
| 200 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; stop(); if (wasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) { if (prevWasDeleted| TRUE | never evaluated | | FALSE | never evaluated |
) *never executed: *prevWasDeleted = true; prevWasDeleted = true;never executed: *prevWasDeleted = true; return;never executed: return; } m_wasDeleted = prevWasDeleted; }; | 0 |
| 201 | } never executed: end of block | 0 |
| 202 | | - |
| 203 | m_previousLoop = m_currentLoop; | - |
| 204 | }executed 47208 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47208 |
| 205 | | - |
| 206 | void QSequentialAnimationGroupJob::updateState(QAbstractAnimationJob::State newState, | - |
| 207 | QAbstractAnimationJob::State oldState) | - |
| 208 | { | - |
| 209 | QAnimationGroupJob::updateState(newState, oldState); | - |
| 210 | | - |
| 211 | if (!m_currentAnimation| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 22054 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 8-22054 |
| 212 | return;executed 8 times by 1 test: return; | 8 |
| 213 | | - |
| 214 | switch (newState) { | - |
| 215 | caseexecuted 9166 times by 11 tests: case Stopped:Executed by:- tst_examples
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
Stopped:executed 9166 times by 11 tests: case Stopped:Executed by:- tst_examples
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 9166 |
| 216 | m_currentAnimation->stop(); | - |
| 217 | break;executed 9166 times by 11 tests: break;Executed by:- tst_examples
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 9166 |
| 218 | caseexecuted 82 times by 3 tests: case Paused:Executed by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
Paused:executed 82 times by 3 tests: case Paused:Executed by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| 82 |
| 219 | if (oldState == m_currentAnimation->state()| TRUE | evaluated 82 times by 3 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
&& oldState == Running| TRUE | evaluated 82 times by 3 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
) | 0-82 |
| 220 | m_currentAnimation->pause();executed 82 times by 3 tests: m_currentAnimation->pause();Executed by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| 82 |
| 221 | else | - |
| 222 | restart(); never executed: restart(); | 0 |
| 223 | break;executed 82 times by 3 tests: break;Executed by:- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| 82 |
| 224 | caseexecuted 12806 times by 14 tests: case Running:Executed by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
Running:executed 12806 times by 14 tests: case Running:Executed by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12806 |
| 225 | if (oldState == m_currentAnimation->state()| TRUE | evaluated 12804 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
&& oldState == Paused| TRUE | evaluated 58 times by 2 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 12746 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 2-12804 |
| 226 | m_currentAnimation->start();executed 58 times by 2 tests: m_currentAnimation->start();Executed by:- tst_qquickanimationcontroller
- tst_qsequentialanimationgroupjob
| 58 |
| 227 | else | - |
| 228 | restart();executed 12748 times by 14 tests: restart();Executed by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12748 |
| 229 | break;executed 12806 times by 14 tests: break;Executed by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12806 |
| 230 | } | - |
| 231 | }executed 22054 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 22054 |
| 232 | | - |
| 233 | void QSequentialAnimationGroupJob::updateDirection(QAbstractAnimationJob::Direction direction) | - |
| 234 | { | - |
| 235 | | - |
| 236 | if (!isStopped()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
&& m_currentAnimation| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-2 |
| 237 | m_currentAnimation->setDirection(direction); never executed: m_currentAnimation->setDirection(direction); | 0 |
| 238 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qsequentialanimationgroupjob
| 2 |
| 239 | | - |
| 240 | void QSequentialAnimationGroupJob::setCurrentAnimation(QAbstractAnimationJob *anim, bool intermediate) | - |
| 241 | { | - |
| 242 | if (!anim| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 86095 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { | 32-86095 |
| 243 | ((!firstChild()) ? static_cast<void>(0) : qt_assert("!firstChild()", __FILE__, 285)); | - |
| 244 | m_currentAnimation = nullptr; | - |
| 245 | return;executed 32 times by 3 tests: return;Executed by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 32 |
| 246 | } | - |
| 247 | | - |
| 248 | if (anim == m_currentAnimation| TRUE | evaluated 47244 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 38851 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 38851-47244 |
| 249 | return;executed 47244 times by 15 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 47244 |
| 250 | | - |
| 251 | | - |
| 252 | if (m_currentAnimation| TRUE | evaluated 26077 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 12774 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 12774-26077 |
| 253 | m_currentAnimation->stop();executed 26077 times by 15 tests: m_currentAnimation->stop();Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 26077 |
| 254 | | - |
| 255 | m_currentAnimation = anim; | - |
| 256 | | - |
| 257 | activateCurrentAnimation(intermediate); | - |
| 258 | }executed 38851 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 38851 |
| 259 | | - |
| 260 | void QSequentialAnimationGroupJob::activateCurrentAnimation(bool intermediate) | - |
| 261 | { | - |
| 262 | if (!m_currentAnimation| TRUE | never evaluated | | FALSE | evaluated 51579 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
|| isStopped()| TRUE | evaluated 12852 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 38727 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 0-51579 |
| 263 | return;executed 12852 times by 15 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12852 |
| 264 | | - |
| 265 | m_currentAnimation->stop(); | - |
| 266 | | - |
| 267 | | - |
| 268 | m_currentAnimation->setDirection(m_direction); | - |
| 269 | | - |
| 270 | | - |
| 271 | if (m_currentAnimation->totalDuration() == -1| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 38705 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 22-38705 |
| 272 | resetUncontrolledAnimationFinishTime(m_currentAnimation);executed 22 times by 2 tests: resetUncontrolledAnimationFinishTime(m_currentAnimation);Executed by:- tst_examples
- tst_qsequentialanimationgroupjob
| 22 |
| 273 | | - |
| 274 | { bool *prevWasDeleted = m_wasDeleted; bool wasDeleted = false; m_wasDeleted = &wasDeleted; m_currentAnimation->start(); if (wasDeleted| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 38719 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) { if (prevWasDeleted| TRUE | evaluated 8 times by 1 test | | FALSE | never evaluated |
) *executed 8 times by 1 test: *prevWasDeleted = true; prevWasDeleted = true;executed 8 times by 1 test: *prevWasDeleted = true; return;executed 8 times by 1 test: return; } m_wasDeleted = prevWasDeleted; }; | 0-38719 |
| 275 | if (!intermediate| TRUE | evaluated 35356 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 3363 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qsequentialanimationgroupjob
|
&& isPaused()| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 35336 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 20-35356 |
| 276 | m_currentAnimation->pause();executed 20 times by 2 tests: m_currentAnimation->pause();Executed by:- tst_qquickanimations
- tst_qsequentialanimationgroupjob
| 20 |
| 277 | }executed 38719 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 38719 |
| 278 | | - |
| 279 | void QSequentialAnimationGroupJob::uncontrolledAnimationFinished(QAbstractAnimationJob *animation) | - |
| 280 | { | - |
| 281 | (void)animation;; | - |
| 282 | ((animation == m_currentAnimation) ? static_cast<void>(0) : qt_assert("animation == m_currentAnimation", __FILE__, 324)); | - |
| 283 | | - |
| 284 | setUncontrolledAnimationFinishTime(m_currentAnimation, m_currentAnimation->currentTime()); | - |
| 285 | | - |
| 286 | int totalTime = currentTime(); | - |
| 287 | if (m_direction == Forward| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
) { | 0-22 |
| 288 | | - |
| 289 | if (m_currentAnimation->nextSibling()| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
) | 10-12 |
| 290 | setCurrentAnimation(m_currentAnimation->nextSibling());executed 12 times by 2 tests: setCurrentAnimation(m_currentAnimation->nextSibling());Executed by:- tst_examples
- tst_qsequentialanimationgroupjob
| 12 |
| 291 | | - |
| 292 | for (QAbstractAnimationJob *a = animation->nextSibling(); a| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
|
; a = a->nextSibling()) { | 12-18 |
| 293 | int dur = a->duration(); | - |
| 294 | if (dur == -1| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
|
) { | 4-8 |
| 295 | totalTime = -1; | - |
| 296 | break;executed 4 times by 1 test: break;Executed by:- tst_qsequentialanimationgroupjob
| 4 |
| 297 | } else { | - |
| 298 | totalTime += dur; | - |
| 299 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qsequentialanimationgroupjob
| 8 |
| 300 | } | - |
| 301 | | - |
| 302 | }executed 22 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qsequentialanimationgroupjob
else { | 22 |
| 303 | | - |
| 304 | if (m_currentAnimation->previousSibling()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 305 | setCurrentAnimation(m_currentAnimation->previousSibling()); never executed: setCurrentAnimation(m_currentAnimation->previousSibling()); | 0 |
| 306 | | - |
| 307 | for (QAbstractAnimationJob *a = animation->previousSibling(); a| TRUE | never evaluated | | FALSE | never evaluated |
; a = a->previousSibling()) { | 0 |
| 308 | int dur = a->duration(); | - |
| 309 | if (dur == -1| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 310 | totalTime = -1; | - |
| 311 | break; never executed: break; | 0 |
| 312 | } else { | - |
| 313 | totalTime += dur; | - |
| 314 | } never executed: end of block | 0 |
| 315 | } | - |
| 316 | } never executed: end of block | 0 |
| 317 | if (totalTime >= 0| TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
) | 4-18 |
| 318 | setUncontrolledAnimationFinishTime(this, totalTime);executed 18 times by 2 tests: setUncontrolledAnimationFinishTime(this, totalTime);Executed by:- tst_examples
- tst_qsequentialanimationgroupjob
| 18 |
| 319 | if (atEnd()| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qsequentialanimationgroupjob
|
) | 8-14 |
| 320 | stop();executed 8 times by 1 test: stop();Executed by:- tst_qsequentialanimationgroupjob
| 8 |
| 321 | }executed 22 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qsequentialanimationgroupjob
| 22 |
| 322 | | - |
| 323 | void QSequentialAnimationGroupJob::animationInserted(QAbstractAnimationJob *anim) | - |
| 324 | { | - |
| 325 | if (m_currentAnimation == nullptr| TRUE | evaluated 12774 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| | FALSE | evaluated 34018 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
) | 12774-34018 |
| 326 | setCurrentAnimation(firstChild());executed 12774 times by 15 tests: setCurrentAnimation(firstChild());Executed by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 12774 |
| 327 | | - |
| 328 | if (m_currentAnimation == anim->nextSibling()| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 46788 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
|
| 4-46788 |
| 329 | && m_currentAnimation->currentTime() == 0| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
&& m_currentAnimation->currentLoop() == 0| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | never evaluated |
) { | 0-4 |
| 330 | | - |
| 331 | setCurrentAnimation(anim); | - |
| 332 | }executed 4 times by 1 test: end of blockExecuted by:- tst_qsequentialanimationgroupjob
| 4 |
| 333 | | - |
| 334 | | - |
| 335 | | - |
| 336 | | - |
| 337 | | - |
| 338 | | - |
| 339 | }executed 46792 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qsequentialanimationgroupjob
- tst_scenegraph
| 46792 |
| 340 | | - |
| 341 | void QSequentialAnimationGroupJob::animationRemoved(QAbstractAnimationJob *anim, QAbstractAnimationJob *prev, QAbstractAnimationJob *next) | - |
| 342 | { | - |
| 343 | QAnimationGroupJob::animationRemoved(anim, prev, next); | - |
| 344 | | - |
| 345 | ((m_currentAnimation) ? static_cast<void>(0) : qt_assert("m_currentAnimation", __FILE__, 387)); | - |
| 346 | | - |
| 347 | bool removingCurrent = anim == m_currentAnimation; | - |
| 348 | if (removingCurrent| TRUE | evaluated 58 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
|
) { | 12-58 |
| 349 | if (next| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qanimationgroupjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 54 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
|
) | 4-54 |
| 350 | setCurrentAnimation(next);executed 4 times by 2 tests: setCurrentAnimation(next);Executed by:- tst_qanimationgroupjob
- tst_qsequentialanimationgroupjob
| 4 |
| 351 | else if (prev| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
|
) | 22-32 |
| 352 | setCurrentAnimation(prev);executed 22 times by 2 tests: setCurrentAnimation(prev);Executed by:- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 22 |
| 353 | else | - |
| 354 | setCurrentAnimation(nullptr);executed 32 times by 3 tests: setCurrentAnimation(nullptr);Executed by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 32 |
| 355 | } | - |
| 356 | | - |
| 357 | | - |
| 358 | m_currentTime = 0; | - |
| 359 | for (QAbstractAnimationJob *job = firstChild(); job| TRUE | evaluated 52 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
|
; job = job->nextSibling()) { | 32-52 |
| 360 | if (job == m_currentAnimation| TRUE | evaluated 38 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
|
) | 14-38 |
| 361 | break;executed 38 times by 3 tests: break;Executed by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 38 |
| 362 | m_currentTime += animationActualTotalDuration(job); | - |
| 363 | | - |
| 364 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 14 |
| 365 | | - |
| 366 | if (!removingCurrent| TRUE | evaluated 12 times by 1 testEvaluated by:- tst_qsequentialanimationgroupjob
| | FALSE | evaluated 58 times by 3 testsEvaluated by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
|
) { | 12-58 |
| 367 | | - |
| 368 | | - |
| 369 | m_currentTime += m_currentAnimation->currentTime(); | - |
| 370 | }executed 12 times by 1 test: end of blockExecuted by:- tst_qsequentialanimationgroupjob
| 12 |
| 371 | | - |
| 372 | | - |
| 373 | m_totalCurrentTime = m_currentTime + m_loopCount * duration(); | - |
| 374 | }executed 70 times by 3 tests: end of blockExecuted by:- tst_qanimationgroupjob
- tst_qpauseanimationjob
- tst_qsequentialanimationgroupjob
| 70 |
| 375 | | - |
| 376 | void QSequentialAnimationGroupJob::debugAnimation(QDebug d) const | - |
| 377 | { | - |
| 378 | d << "SequentialAnimationGroupJob(" << hex << (const void *) this << dec << ")" << "currentAnimation:" << (void *)m_currentAnimation; | - |
| 379 | | - |
| 380 | debugChildren(d); | - |
| 381 | } never executed: end of block | 0 |
| 382 | | - |
| 383 | | - |
| | |