| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | static bool stateChangeDebug() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown| TRUE | evaluated 40 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 594 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("STATECHANGE_DEBUG")), false)| TRUE | never evaluated | | FALSE | evaluated 40 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { const QByteArray v = qgetenv("STATECHANGE_DEBUG"); if (v != "0"| TRUE | never evaluated | | FALSE | never evaluated |
&& v != "false"| TRUE | never evaluated | | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 40 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
returnexecuted 634 times by 20 tests: return status == Yes;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
status == Yes;executed 634 times by 20 tests: return status == Yes;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
}; | 0-634 |
| 9 | | - |
| 10 | class QQuickStateGroupPrivate : public QObjectPrivate | - |
| 11 | { | - |
| 12 | inline QQuickStateGroup* q_func() { return static_cast<QQuickStateGroup *>(q_ptr); } inline const QQuickStateGroup* q_func() const { return static_cast<const QQuickStateGroup *>(q_ptr); } friend class QQuickStateGroup; | - |
| 13 | public: | - |
| 14 | QQuickStateGroupPrivate() | - |
| 15 | : nullState(nullptr), componentComplete(true), | - |
| 16 | ignoreTrans(false), applyingState(false), unnamedCount(0) {}executed 1070 times by 25 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1070 |
| 17 | | - |
| 18 | QString currentState; | - |
| 19 | QQuickState *nullState; | - |
| 20 | | - |
| 21 | static void append_state(QQmlListProperty<QQuickState> *list, QQuickState *state); | - |
| 22 | static int count_state(QQmlListProperty<QQuickState> *list); | - |
| 23 | static QQuickState *at_state(QQmlListProperty<QQuickState> *list, int index); | - |
| 24 | static void clear_states(QQmlListProperty<QQuickState> *list); | - |
| 25 | | - |
| 26 | static void append_transition(QQmlListProperty<QQuickTransition> *list, QQuickTransition *state); | - |
| 27 | static int count_transitions(QQmlListProperty<QQuickTransition> *list); | - |
| 28 | static QQuickTransition *at_transition(QQmlListProperty<QQuickTransition> *list, int index); | - |
| 29 | static void clear_transitions(QQmlListProperty<QQuickTransition> *list); | - |
| 30 | | - |
| 31 | QList<QQuickState *> states; | - |
| 32 | QList<QQuickTransition *> transitions; | - |
| 33 | | - |
| 34 | bool componentComplete; | - |
| 35 | bool ignoreTrans; | - |
| 36 | bool applyingState; | - |
| 37 | int unnamedCount; | - |
| 38 | | - |
| 39 | QQuickTransition *findTransition(const QString &from, const QString &to); | - |
| 40 | void setCurrentStateInternal(const QString &state, bool = false); | - |
| 41 | bool updateAutoState(); | - |
| 42 | }; | - |
| 43 | QQuickStateGroup::QQuickStateGroup(QObject *parent) | - |
| 44 | : QObject(*(new QQuickStateGroupPrivate), parent) | - |
| 45 | { | - |
| 46 | }executed 1070 times by 25 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1070 |
| 47 | | - |
| 48 | QQuickStateGroup::~QQuickStateGroup() | - |
| 49 | { | - |
| 50 | const QQuickStateGroupPrivate * const d = d_func(); | - |
| 51 | for (int i = 0; i < d->states.count()| TRUE | evaluated 1040 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 958 times by 25 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++i) | 958-1040 |
| 52 | d->states.at(i)->setStateGroup(nullptr);executed 1040 times by 19 tests: d->states.at(i)->setStateGroup(nullptr);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1040 |
| 53 | }executed 958 times by 25 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 958 |
| 54 | | - |
| 55 | QList<QQuickState *> QQuickStateGroup::states() const | - |
| 56 | { | - |
| 57 | const QQuickStateGroupPrivate * const d = d_func(); | - |
| 58 | returnexecuted 26 times by 2 tests: return d->states;Executed by:- tst_qquickdesignersupport
- tst_qquickstates
d->states;executed 26 times by 2 tests: return d->states;Executed by:- tst_qquickdesignersupport
- tst_qquickstates
| 26 |
| 59 | } | - |
| 60 | QQmlListProperty<QQuickState> QQuickStateGroup::statesProperty() | - |
| 61 | { | - |
| 62 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 63 | returnexecuted 1208 times by 24 tests: return QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state, &QQuickStateGroupPrivate::count_state, &QQuickStateGroupPrivate::at_state, &QQuickStateGroupPrivate::clear_states);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state,executed 1208 times by 24 tests: return QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state, &QQuickStateGroupPrivate::count_state, &QQuickStateGroupPrivate::at_state, &QQuickStateGroupPrivate::clear_states);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1208 |
| 64 | &QQuickStateGroupPrivate::count_state,executed 1208 times by 24 tests: return QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state, &QQuickStateGroupPrivate::count_state, &QQuickStateGroupPrivate::at_state, &QQuickStateGroupPrivate::clear_states);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1208 |
| 65 | &QQuickStateGroupPrivate::at_state,executed 1208 times by 24 tests: return QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state, &QQuickStateGroupPrivate::count_state, &QQuickStateGroupPrivate::at_state, &QQuickStateGroupPrivate::clear_states);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1208 |
| 66 | &QQuickStateGroupPrivate::clear_states);executed 1208 times by 24 tests: return QQmlListProperty<QQuickState>(this, &d->states, &QQuickStateGroupPrivate::append_state, &QQuickStateGroupPrivate::count_state, &QQuickStateGroupPrivate::at_state, &QQuickStateGroupPrivate::clear_states);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1208 |
| 67 | } | - |
| 68 | | - |
| 69 | void QQuickStateGroupPrivate::append_state(QQmlListProperty<QQuickState> *list, QQuickState *state) | - |
| 70 | { | - |
| 71 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 72 | if (state| TRUE | evaluated 1170 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-1170 |
| 73 | _this->d_func()->states.append(state); | - |
| 74 | state->setStateGroup(_this); | - |
| 75 | }executed 1170 times by 19 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1170 |
| 76 | | - |
| 77 | }executed 1170 times by 19 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1170 |
| 78 | | - |
| 79 | int QQuickStateGroupPrivate::count_state(QQmlListProperty<QQuickState> *list) | - |
| 80 | { | - |
| 81 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 82 | returnexecuted 10 times by 3 tests: return _this->d_func()->states.count();Executed by:- tst_examples
- tst_qqmllistreference
- tst_qquickdesignersupport
_this->d_func()->states.count();executed 10 times by 3 tests: return _this->d_func()->states.count();Executed by:- tst_examples
- tst_qqmllistreference
- tst_qquickdesignersupport
| 10 |
| 83 | } | - |
| 84 | | - |
| 85 | QQuickState *QQuickStateGroupPrivate::at_state(QQmlListProperty<QQuickState> *list, int index) | - |
| 86 | { | - |
| 87 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 88 | returnexecuted 22 times by 3 tests: return _this->d_func()->states.at(index);Executed by:- tst_examples
- tst_qqmllistreference
- tst_qquickstates
_this->d_func()->states.at(index);executed 22 times by 3 tests: return _this->d_func()->states.at(index);Executed by:- tst_examples
- tst_qqmllistreference
- tst_qquickstates
| 22 |
| 89 | } | - |
| 90 | | - |
| 91 | void QQuickStateGroupPrivate::clear_states(QQmlListProperty<QQuickState> *list) | - |
| 92 | { | - |
| 93 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 94 | _this->d_func()->setCurrentStateInternal(QString(), true); | - |
| 95 | for (int i = 0; i < _this->d_func()->states.count()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 96 | _this->d_func()->states.at(i)->setStateGroup(nullptr); | - |
| 97 | } never executed: end of block | 0 |
| 98 | _this->d_func()->states.clear(); | - |
| 99 | } never executed: end of block | 0 |
| 100 | QQmlListProperty<QQuickTransition> QQuickStateGroup::transitionsProperty() | - |
| 101 | { | - |
| 102 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 103 | returnexecuted 598 times by 10 tests: return QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition, &QQuickStateGroupPrivate::count_transitions, &QQuickStateGroupPrivate::at_transition, &QQuickStateGroupPrivate::clear_transitions);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition,executed 598 times by 10 tests: return QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition, &QQuickStateGroupPrivate::count_transitions, &QQuickStateGroupPrivate::at_transition, &QQuickStateGroupPrivate::clear_transitions);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 598 |
| 104 | &QQuickStateGroupPrivate::count_transitions,executed 598 times by 10 tests: return QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition, &QQuickStateGroupPrivate::count_transitions, &QQuickStateGroupPrivate::at_transition, &QQuickStateGroupPrivate::clear_transitions);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 598 |
| 105 | &QQuickStateGroupPrivate::at_transition,executed 598 times by 10 tests: return QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition, &QQuickStateGroupPrivate::count_transitions, &QQuickStateGroupPrivate::at_transition, &QQuickStateGroupPrivate::clear_transitions);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 598 |
| 106 | &QQuickStateGroupPrivate::clear_transitions);executed 598 times by 10 tests: return QQmlListProperty<QQuickTransition>(this, &d->transitions, &QQuickStateGroupPrivate::append_transition, &QQuickStateGroupPrivate::count_transitions, &QQuickStateGroupPrivate::at_transition, &QQuickStateGroupPrivate::clear_transitions);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 598 |
| 107 | } | - |
| 108 | | - |
| 109 | void QQuickStateGroupPrivate::append_transition(QQmlListProperty<QQuickTransition> *list, QQuickTransition *trans) | - |
| 110 | { | - |
| 111 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 112 | if (trans| TRUE | evaluated 426 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | never evaluated |
) | 0-426 |
| 113 | _this->d_func()->transitions.append(trans);executed 426 times by 4 tests: _this->d_func()->transitions.append(trans);Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflipable
| 426 |
| 114 | }executed 426 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickflipable
| 426 |
| 115 | | - |
| 116 | int QQuickStateGroupPrivate::count_transitions(QQmlListProperty<QQuickTransition> *list) | - |
| 117 | { | - |
| 118 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 119 | returnexecuted 10 times by 2 tests: return _this->d_func()->transitions.count();Executed by:- tst_qquickanimations
- tst_qquickdesignersupport
_this->d_func()->transitions.count();executed 10 times by 2 tests: return _this->d_func()->transitions.count();Executed by:- tst_qquickanimations
- tst_qquickdesignersupport
| 10 |
| 120 | } | - |
| 121 | | - |
| 122 | QQuickTransition *QQuickStateGroupPrivate::at_transition(QQmlListProperty<QQuickTransition> *list, int index) | - |
| 123 | { | - |
| 124 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 125 | returnexecuted 2 times by 1 test: return _this->d_func()->transitions.at(index); _this->d_func()->transitions.at(index);executed 2 times by 1 test: return _this->d_func()->transitions.at(index); | 2 |
| 126 | } | - |
| 127 | | - |
| 128 | void QQuickStateGroupPrivate::clear_transitions(QQmlListProperty<QQuickTransition> *list) | - |
| 129 | { | - |
| 130 | QQuickStateGroup *_this = static_cast<QQuickStateGroup *>(list->object); | - |
| 131 | _this->d_func()->transitions.clear(); | - |
| 132 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmlenginedebugservice
- tst_qquickanimations
| 4 |
| 133 | QString QQuickStateGroup::state() const | - |
| 134 | { | - |
| 135 | const QQuickStateGroupPrivate * const d = d_func(); | - |
| 136 | returnexecuted 360 times by 14 tests: return d->currentState;Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
d->currentState;executed 360 times by 14 tests: return d->currentState;Executed by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickstates
- tst_quicktestmainwithsetup
- tst_testfiltering
| 360 |
| 137 | } | - |
| 138 | | - |
| 139 | void QQuickStateGroup::setState(const QString &state) | - |
| 140 | { | - |
| 141 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 142 | if (d->currentState == state| TRUE | never evaluated | | FALSE | evaluated 590 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) | 0-590 |
| 143 | return; never executed: return; | 0 |
| 144 | | - |
| 145 | d->setCurrentStateInternal(state); | - |
| 146 | }executed 590 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 590 |
| 147 | | - |
| 148 | void QQuickStateGroup::classBegin() | - |
| 149 | { | - |
| 150 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 151 | d->componentComplete = false; | - |
| 152 | }executed 1016 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1016 |
| 153 | | - |
| 154 | void QQuickStateGroup::componentComplete() | - |
| 155 | { | - |
| 156 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 157 | d->componentComplete = true; | - |
| 158 | | - |
| 159 | for (int ii = 0; ii < d->states.count()| TRUE | evaluated 1166 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 1014 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
; ++ii) { | 1014-1166 |
| 160 | QQuickState *state = d->states.at(ii); | - |
| 161 | if (!state->isNamed()| TRUE | evaluated 352 times by 3 testsEvaluated by:- tst_examples
- tst_qquicklistview
- tst_qquickstates
| | FALSE | evaluated 814 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) | 352-814 |
| 162 | state->setName(QLatin1String("anonymousState") + QString::number(++d->unnamedCount));executed 352 times by 3 tests: state->setName(QLatin1String("anonymousState") + QString::number(++d->unnamedCount));Executed by:- tst_examples
- tst_qquicklistview
- tst_qquickstates
| 352 |
| 163 | }executed 1166 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1166 |
| 164 | | - |
| 165 | if (d->updateAutoState()| TRUE | evaluated 8 times by 4 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickfontloader
- tst_qquickstates
| | FALSE | evaluated 1006 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 8-1006 |
| 166 | return;executed 8 times by 4 tests: return;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickfontloader
- tst_qquickstates
| 8 |
| 167 | } else if (!d->currentState.isEmpty()| TRUE | evaluated 118 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 888 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) { | 118-888 |
| 168 | QString cs = d->currentState; | - |
| 169 | d->currentState.clear(); | - |
| 170 | d->setCurrentStateInternal(cs, true); | - |
| 171 | }executed 118 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 118 |
| 172 | }executed 1006 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1006 |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | bool QQuickStateGroup::updateAutoState() | - |
| 178 | { | - |
| 179 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 180 | returnexecuted 624 times by 8 tests: return d->updateAutoState();Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
d->updateAutoState();executed 624 times by 8 tests: return d->updateAutoState();Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 624 |
| 181 | } | - |
| 182 | | - |
| 183 | bool QQuickStateGroupPrivate::updateAutoState() | - |
| 184 | { | - |
| 185 | QQuickStateGroup * const q = q_func(); | - |
| 186 | if (!componentComplete| TRUE | evaluated 574 times by 8 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 1064 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) | 574-1064 |
| 187 | returnexecuted 574 times by 8 tests: return false;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
false;executed 574 times by 8 tests: return false;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 574 |
| 188 | | - |
| 189 | bool revert = false; | - |
| 190 | for (int ii = 0; ii < states.count()| TRUE | evaluated 1224 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 1018 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
; ++ii) { | 1018-1224 |
| 191 | QQuickState *state = states.at(ii); | - |
| 192 | if (state->isWhenKnown()| TRUE | evaluated 630 times by 8 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 594 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 594-630 |
| 193 | if (state->isNamed()| TRUE | evaluated 630 times by 8 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | never evaluated |
) { | 0-630 |
| 194 | if (state->when()| TRUE | evaluated 630 times by 8 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | never evaluated |
&& state->when()->evaluate().toBool()| TRUE | evaluated 46 times by 7 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 584 times by 7 testsEvaluated by:- tst_examples
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) { | 0-630 |
| 195 | if (stateChangeDebug()| TRUE | never evaluated | | FALSE | evaluated 46 times by 7 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) | 0-46 |
| 196 | QMessageLogger(__FILE__, 342, __PRETTY_FUNCTION__).warning() << "Setting auto state due to:" never executed: QMessageLogger(__FILE__, 342, __PRETTY_FUNCTION__).warning() << "Setting auto state due to:" << state->when()->expression(); | 0 |
| 197 | << state->when()->expression(); never executed: QMessageLogger(__FILE__, 342, __PRETTY_FUNCTION__).warning() << "Setting auto state due to:" << state->when()->expression(); | 0 |
| 198 | if (currentState != state->name()| TRUE | evaluated 36 times by 7 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltranslation
- tst_qquickstates
|
) { | 10-36 |
| 199 | q->setState(state->name()); | - |
| 200 | returnexecuted 36 times by 7 tests: return true;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
true;executed 36 times by 7 tests: return true;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 36 |
| 201 | } else { | - |
| 202 | returnexecuted 10 times by 3 tests: return false;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickstates
false;executed 10 times by 3 tests: return false;Executed by:- tst_examples
- tst_qqmltranslation
- tst_qquickstates
| 10 |
| 203 | } | - |
| 204 | } else if (state->name() == currentState| TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 566 times by 6 testsEvaluated by:- tst_examples
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) { | 18-566 |
| 205 | revert = true; | - |
| 206 | }executed 18 times by 4 tests: end of blockExecuted by:- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 18 |
| 207 | }executed 584 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 584 |
| 208 | }executed 584 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 584 |
| 209 | }executed 1178 times by 17 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1178 |
| 210 | if (revert| TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 1004 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 14-1004 |
| 211 | bool rv = !currentState.isEmpty(); | - |
| 212 | q->setState(QString()); | - |
| 213 | returnexecuted 14 times by 3 tests: return rv;Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
rv;executed 14 times by 3 tests: return rv;Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 14 |
| 214 | } else { | - |
| 215 | returnexecuted 1004 times by 16 tests: return false;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
false;executed 1004 times by 16 tests: return false;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 1004 |
| 216 | } | - |
| 217 | } | - |
| 218 | | - |
| 219 | QQuickTransition *QQuickStateGroupPrivate::findTransition(const QString &from, const QString &to) | - |
| 220 | { | - |
| 221 | QQuickTransition *highest = nullptr; | - |
| 222 | int score = 0; | - |
| 223 | bool reversed = false; | - |
| 224 | bool done = false; | - |
| 225 | | - |
| 226 | for (int ii = 0; !done| TRUE | evaluated 552 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | never evaluated |
&& ii < transitions.count()| TRUE | evaluated 82 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 470 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
|
; ++ii) { | 0-552 |
| 227 | QQuickTransition *t = transitions.at(ii); | - |
| 228 | if (!t->enabled()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 80 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) | 2-80 |
| 229 | continue;executed 2 times by 1 test: continue; | 2 |
| 230 | for (int ii = 0; ii < 2| TRUE | evaluated 160 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 6 times by 1 test |
; ++ii) | 6-160 |
| 231 | { | - |
| 232 | if (ii| TRUE | evaluated 80 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 80 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
&& (!t->reversible()| TRUE | evaluated 74 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 6 times by 1 test |
|| | 6-80 |
| 233 | (t->fromState() == QLatin1String("*")| TRUE | evaluated 6 times by 1 test | | FALSE | never evaluated |
&& | 0-6 |
| 234 | t->toState() == QLatin1String("*")| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
))) | 0-6 |
| 235 | break;executed 74 times by 3 tests: break;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 74 |
| 236 | const QString fromStateStr = t->fromState(); | - |
| 237 | const QString toStateStr = t->toState(); | - |
| 238 | | - |
| 239 | QVector<QStringRef> fromState = fromStateStr.splitRef(QLatin1Char(',')); | - |
| 240 | for (int jj = 0; jj < fromState.count()| TRUE | evaluated 86 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 86 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
; ++jj) | 86 |
| 241 | fromState[jj] = fromState.at(jj).trimmed();executed 86 times by 3 tests: fromState[jj] = fromState.at(jj).trimmed();Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 86 |
| 242 | QVector<QStringRef> toState = toStateStr.splitRef(QLatin1Char(',')); | - |
| 243 | for (int jj = 0; jj < toState.count()| TRUE | evaluated 86 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 86 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
; ++jj) | 86 |
| 244 | toState[jj] = toState.at(jj).trimmed();executed 86 times by 3 tests: toState[jj] = toState.at(jj).trimmed();Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 86 |
| 245 | if (ii == 1| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 80 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) | 6-80 |
| 246 | qSwap(fromState, toState);executed 6 times by 1 test: qSwap(fromState, toState); | 6 |
| 247 | int tScore = 0; | - |
| 248 | const QString asterisk = ([]() noexcept -> QString { enum { Size = sizeof(u"" "*")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "*" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | - |
| 249 | if (fromState.contains(QStringRef(&from))| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 84 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) | 2-84 |
| 250 | tScore += 2;executed 2 times by 1 test: tScore += 2; | 2 |
| 251 | else if (fromState.contains(QStringRef(&asterisk))| TRUE | evaluated 80 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 4 times by 1 test |
) | 4-80 |
| 252 | tScore += 1;executed 80 times by 3 tests: tScore += 1;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 80 |
| 253 | else | - |
| 254 | continue;executed 4 times by 1 test: continue; | 4 |
| 255 | | - |
| 256 | if (toState.contains(QStringRef(&to))| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 66 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) | 16-66 |
| 257 | tScore += 2;executed 16 times by 1 test: tScore += 2; | 16 |
| 258 | else if (toState.contains(QStringRef(&asterisk))| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 10 times by 1 test |
) | 10-56 |
| 259 | tScore += 1;executed 56 times by 3 tests: tScore += 1;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 56 |
| 260 | else | - |
| 261 | continue;executed 10 times by 1 test: continue; | 10 |
| 262 | | - |
| 263 | if (ii == 1| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 70 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) | 2-70 |
| 264 | reversed = true;executed 2 times by 1 test: reversed = true; | 2 |
| 265 | else | - |
| 266 | reversed = false;executed 70 times by 3 tests: reversed = false;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 70 |
| 267 | | - |
| 268 | if (tScore == 4| TRUE | never evaluated | | FALSE | evaluated 72 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
|
) { | 0-72 |
| 269 | highest = t; | - |
| 270 | done = true; | - |
| 271 | break; never executed: break; | 0 |
| 272 | } else if (tScore > score| TRUE | evaluated 72 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | never evaluated |
) { | 0-72 |
| 273 | score = tScore; | - |
| 274 | highest = t; | - |
| 275 | }executed 72 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 72 |
| 276 | }executed 72 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 72 |
| 277 | }executed 80 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 80 |
| 278 | | - |
| 279 | if (highest| TRUE | evaluated 72 times by 3 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| | FALSE | evaluated 398 times by 17 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
|
) | 72-398 |
| 280 | highest->setReversed(reversed);executed 72 times by 3 tests: highest->setReversed(reversed);Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickflipable
| 72 |
| 281 | | - |
| 282 | returnexecuted 470 times by 19 tests: return highest;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
highest;executed 470 times by 19 tests: return highest;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| 470 |
| 283 | } | - |
| 284 | | - |
| 285 | void QQuickStateGroupPrivate::setCurrentStateInternal(const QString &state, | - |
| 286 | bool ignoreTrans) | - |
| 287 | { | - |
| 288 | QQuickStateGroup * const q = q_func(); | - |
| 289 | if (!componentComplete| TRUE | evaluated 118 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 590 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 118-590 |
| 290 | currentState = state; | - |
| 291 | return;executed 118 times by 4 tests: return;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| 118 |
| 292 | } | - |
| 293 | | - |
| 294 | if (applyingState| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 588 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 2-588 |
| 295 | qmlWarning(q) << "Can't apply a state change as part of a state definition."; | - |
| 296 | return;executed 2 times by 1 test: return; | 2 |
| 297 | } | - |
| 298 | | - |
| 299 | applyingState = true; | - |
| 300 | | - |
| 301 | QQuickTransition *transition = ignoreTrans| TRUE | evaluated 118 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 470 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
|
? nullptr : findTransition(currentState, state); | 118-470 |
| 302 | if (stateChangeDebug()| TRUE | never evaluated | | FALSE | evaluated 588 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 0-588 |
| 303 | QMessageLogger(__FILE__, 449, __PRETTY_FUNCTION__).warning() << this << "Changing state. From" << currentState << ". To" << state; | - |
| 304 | if (transition| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 305 | QMessageLogger(__FILE__, 451, __PRETTY_FUNCTION__).warning() << " using transition" << transition->fromState() never executed: QMessageLogger(__FILE__, 451, __PRETTY_FUNCTION__).warning() << " using transition" << transition->fromState() << transition->toState(); | 0 |
| 306 | << transition->toState(); never executed: QMessageLogger(__FILE__, 451, __PRETTY_FUNCTION__).warning() << " using transition" << transition->fromState() << transition->toState(); | 0 |
| 307 | } never executed: end of block | 0 |
| 308 | | - |
| 309 | QQuickState *oldState = nullptr; | - |
| 310 | if (!currentState.isEmpty()| TRUE | evaluated 186 times by 13 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 402 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 186-402 |
| 311 | for (int ii = 0; ii < states.count()| TRUE | evaluated 224 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 2 times by 1 test |
; ++ii) { | 2-224 |
| 312 | if (states.at(ii)->name() == currentState| TRUE | evaluated 184 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickstates
|
) { | 40-184 |
| 313 | oldState = states.at(ii); | - |
| 314 | break;executed 184 times by 12 tests: break;Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 184 |
| 315 | } | - |
| 316 | }executed 40 times by 3 tests: end of blockExecuted by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickstates
| 40 |
| 317 | }executed 186 times by 13 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| 186 |
| 318 | | - |
| 319 | currentState = state; | - |
| 320 | q->stateChanged(currentState); | - |
| 321 | | - |
| 322 | QQuickState *newState = nullptr; | - |
| 323 | for (int ii = 0; ii < states.count()| TRUE | evaluated 744 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 138 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
|
; ++ii) { | 138-744 |
| 324 | if (states.at(ii)->name() == currentState| TRUE | evaluated 450 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 294 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) { | 294-450 |
| 325 | newState = states.at(ii); | - |
| 326 | break;executed 450 times by 19 tests: break;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 450 |
| 327 | } | - |
| 328 | }executed 294 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 294 |
| 329 | | - |
| 330 | if (oldState == nullptr| TRUE | evaluated 404 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 184 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
|| newState == nullptr| TRUE | evaluated 130 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 54 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickstates
|
) { | 54-404 |
| 331 | if (!nullState| TRUE | evaluated 346 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 188 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
|
) { | 188-346 |
| 332 | nullState = new QQuickState; | - |
| 333 | QQml_setParent_noEvent(nullState, q); | - |
| 334 | nullState->setStateGroup(q); | - |
| 335 | }executed 346 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 346 |
| 336 | if (!oldState| TRUE | evaluated 404 times by 20 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| | FALSE | evaluated 130 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) oldState = nullState;executed 404 times by 20 tests: oldState = nullState;Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 130-404 |
| 337 | if (!newState| TRUE | evaluated 138 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| | FALSE | evaluated 396 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) newState = nullState;executed 138 times by 13 tests: newState = nullState;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickstates
| 138-396 |
| 338 | }executed 534 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 534 |
| 339 | | - |
| 340 | newState->apply(transition, oldState); | - |
| 341 | applyingState = false; | - |
| 342 | }executed 588 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 588 |
| 343 | | - |
| 344 | QQuickState *QQuickStateGroup::findState(const QString &name) const | - |
| 345 | { | - |
| 346 | const QQuickStateGroupPrivate * const d = d_func(); | - |
| 347 | for (int i = 0; i < d->states.count()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 2 times by 1 test |
; ++i) { | 2-8 |
| 348 | QQuickState *state = d->states.at(i); | - |
| 349 | if (state->name() == name| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-6 |
| 350 | returnexecuted 6 times by 1 test: return state; state;executed 6 times by 1 test: return state; | 6 |
| 351 | }executed 2 times by 1 test: end of block | 2 |
| 352 | | - |
| 353 | returnexecuted 2 times by 1 test: return nullptr; nullptr;executed 2 times by 1 test: return nullptr; | 2 |
| 354 | } | - |
| 355 | | - |
| 356 | void QQuickStateGroup::removeState(QQuickState *state) | - |
| 357 | { | - |
| 358 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 359 | d->states.removeOne(state); | - |
| 360 | }executed 244 times by 20 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 244 |
| 361 | | - |
| 362 | void QQuickStateGroup::stateAboutToComplete() | - |
| 363 | { | - |
| 364 | QQuickStateGroupPrivate * const d = d_func(); | - |
| 365 | d->applyingState = false; | - |
| 366 | }executed 574 times by 19 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 574 |
| 367 | | - |
| 368 | | - |
| 369 | | - |
| 370 | | - |
| | |