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