| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | typedef QList<QAbstractAnimationTimer*>::ConstIterator TimerListConstIt; | - |
| 13 | typedef QList<QAbstractAnimation*>::ConstIterator AnimationListConstIt; | - |
| 14 | namespace { namespace Q_QGS_unifiedTimer { typedef QThreadStorage<QUnifiedTimer *> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 28 times by 28 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
}executed 28 times by 28 tests: end of blockExecuted by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 9634 times by 54 tests: return &holder.value;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
&holder.value;executed 9634 times by 54 tests: return &holder.value;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
} } } static QGlobalStatic<QThreadStorage<QUnifiedTimer *>, Q_QGS_unifiedTimer::innerFunction, Q_QGS_unifiedTimer::guard> unifiedTimer; | 0-9634 |
| 15 | | - |
| 16 | | - |
| 17 | QUnifiedTimer::QUnifiedTimer() : | - |
| 18 | QObject(), defaultDriver(this), lastTick(0), timingInterval(16), | - |
| 19 | currentAnimationIdx(0), insideTick(false), insideRestart(false), consistentTiming(false), slowMode(false), | - |
| 20 | startTimersPending(false), stopTimerPending(false), | - |
| 21 | slowdownFactor(5.0f), profilerCallback(0), | - |
| 22 | driverStartTime(0), temporalDrift(0) | - |
| 23 | { | - |
| 24 | time.invalidate(); | - |
| 25 | driver = &defaultDriver; | - |
| 26 | }executed 26 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
| 27 | | - |
| 28 | | - |
| 29 | QUnifiedTimer *QUnifiedTimer::instance(bool create) | - |
| 30 | { | - |
| 31 | QUnifiedTimer *inst; | - |
| 32 | | - |
| 33 | if (create| TRUE | evaluated 2356 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| | FALSE | evaluated 1296 times by 54 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
&& !unifiedTimer()->hasLocalData()| TRUE | evaluated 26 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| | FALSE | evaluated 2330 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
|
) { | 26-2356 |
| 34 | inst = new QUnifiedTimer; | - |
| 35 | unifiedTimer()->setLocalData(inst); | - |
| 36 | }executed 26 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
else { | 26 |
| 37 | inst = unifiedTimer()| TRUE | evaluated 3626 times by 54 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | never evaluated |
? unifiedTimer()->localData() : 0; | 0-3626 |
| 38 | }executed 3626 times by 54 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3626 |
| 39 | | - |
| 40 | | - |
| 41 | | - |
| 42 | | - |
| 43 | returnexecuted 3652 times by 54 tests: return inst;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
inst;executed 3652 times by 54 tests: return inst;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3652 |
| 44 | } | - |
| 45 | | - |
| 46 | QUnifiedTimer *QUnifiedTimer::instance() | - |
| 47 | { | - |
| 48 | returnexecuted 2235 times by 26 tests: return instance(true);Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
instance(true);executed 2235 times by 26 tests: return instance(true);Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 2235 |
| 49 | } | - |
| 50 | | - |
| 51 | void QUnifiedTimer::maybeUpdateAnimationsToCurrentTime() | - |
| 52 | { | - |
| 53 | if (elapsed() - lastTick > 50| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 283 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 2-283 |
| 54 | updateAnimationTimers(-1);executed 2 times by 1 test: updateAnimationTimers(-1); | 2 |
| 55 | }executed 285 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 285 |
| 56 | | - |
| 57 | qint64 QUnifiedTimer::elapsed() const | - |
| 58 | { | - |
| 59 | if (driver->isRunning()| TRUE | evaluated 2054 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 397 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 397-2054 |
| 60 | returnexecuted 2054 times by 12 tests: return driverStartTime + driver->elapsed();Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
driverStartTime + driver->elapsed();executed 2054 times by 12 tests: return driverStartTime + driver->elapsed();Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2054 |
| 61 | else if (time.isValid()| TRUE | evaluated 147 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 250 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 147-250 |
| 62 | returnexecuted 147 times by 12 tests: return time.elapsed() + temporalDrift;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
time.elapsed() + temporalDrift;executed 147 times by 12 tests: return time.elapsed() + temporalDrift;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 147 |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | | - |
| 67 | returnexecuted 250 times by 26 tests: return 0;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
0;executed 250 times by 26 tests: return 0;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 250 |
| 68 | } | - |
| 69 | | - |
| 70 | void QUnifiedTimer::startAnimationDriver() | - |
| 71 | { | - |
| 72 | if (driver->isRunning()| TRUE | never evaluated | | FALSE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-123 |
| 73 | QMessageLogger(__FILE__, 272, __PRETTY_FUNCTION__).warning("QUnifiedTimer::startAnimationDriver: driver is already running..."); | - |
| 74 | return; never executed: return; | 0 |
| 75 | } | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | driverStartTime = elapsed(); | - |
| 80 | driver->start(); | - |
| 81 | }executed 123 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
| 82 | | - |
| 83 | void QUnifiedTimer::stopAnimationDriver() | - |
| 84 | { | - |
| 85 | if (!driver->isRunning()| TRUE | never evaluated | | FALSE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-118 |
| 86 | QMessageLogger(__FILE__, 285, __PRETTY_FUNCTION__).warning("QUnifiedTimer::stopAnimationDriver: driver is not running"); | - |
| 87 | return; never executed: return; | 0 |
| 88 | } | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | temporalDrift = elapsed() - time.elapsed(); | - |
| 93 | driver->stop(); | - |
| 94 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 95 | | - |
| 96 | void QUnifiedTimer::updateAnimationTimers(qint64) | - |
| 97 | { | - |
| 98 | | - |
| 99 | if(insideTick| TRUE | never evaluated | | FALSE | evaluated 1925 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 0-1925 |
| 100 | return; never executed: return; | 0 |
| 101 | | - |
| 102 | qint64 totalElapsed = elapsed(); | - |
| 103 | | - |
| 104 | | - |
| 105 | qint64 delta = (consistentTiming| TRUE | evaluated 96 times by 1 test | | FALSE | evaluated 1829 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
&& !pauseTimer.isActive()| TRUE | evaluated 78 times by 1 test | | FALSE | evaluated 18 times by 1 test |
) ? | 18-1829 |
| 106 | timingInterval : totalElapsed - lastTick; | - |
| 107 | if (slowMode| TRUE | never evaluated | | FALSE | evaluated 1925 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 0-1925 |
| 108 | if (slowdownFactor > 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 109 | delta = qRound(delta / slowdownFactor); never executed: delta = qRound(delta / slowdownFactor); | 0 |
| 110 | else | - |
| 111 | delta = 0; never executed: delta = 0; | 0 |
| 112 | } | - |
| 113 | | - |
| 114 | lastTick = totalElapsed; | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | if (delta > 0| TRUE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 2 times by 1 test |
) { | 2-1923 |
| 122 | insideTick = true; | - |
| 123 | if (profilerCallback| TRUE | never evaluated | | FALSE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 0-1923 |
| 124 | profilerCallback(delta); never executed: profilerCallback(delta); | 0 |
| 125 | for (currentAnimationIdx = 0; currentAnimationIdx < animationTimers.count()| TRUE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
; ++currentAnimationIdx) { | 1905-1923 |
| 126 | QAbstractAnimationTimer *animation = animationTimers.at(currentAnimationIdx); | - |
| 127 | animation->updateAnimationsTime(delta); | - |
| 128 | }executed 1905 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
| 129 | insideTick = false; | - |
| 130 | currentAnimationIdx = 0; | - |
| 131 | }executed 1923 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1923 |
| 132 | }executed 1925 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1925 |
| 133 | | - |
| 134 | int QUnifiedTimer::runningAnimationCount() | - |
| 135 | { | - |
| 136 | int count = 0; | - |
| 137 | for (int i = 0; i < animationTimers.count()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) | 0 |
| 138 | count += animationTimers.at(i)->runningAnimationCount(); never executed: count += animationTimers.at(i)->runningAnimationCount(); | 0 |
| 139 | return never executed: return count; count;never executed: return count; | 0 |
| 140 | } | - |
| 141 | | - |
| 142 | void QUnifiedTimer::registerProfilerCallback(void (*cb)(qint64)) | - |
| 143 | { | - |
| 144 | profilerCallback = cb; | - |
| 145 | } never executed: end of block | 0 |
| 146 | | - |
| 147 | void QUnifiedTimer::localRestart() | - |
| 148 | { | - |
| 149 | if (insideRestart| TRUE | evaluated 21 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 2053 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 21-2053 |
| 150 | return;executed 21 times by 2 tests: return;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 21 |
| 151 | | - |
| 152 | if (!pausedAnimationTimers.isEmpty()| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 2022 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
&& (| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
animationTimers.count() + animationTimersToStart.count() == pausedAnimationTimers.count())| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
) { | 0-2022 |
| 153 | driver->stop(); | - |
| 154 | int closestTimeToFinish = closestPausedAnimationTimerTimeToFinish(); | - |
| 155 | | - |
| 156 | Qt::TimerType timerType = closestTimeToFinish < 2000| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
? Qt::PreciseTimer : Qt::CoarseTimer; | 0-31 |
| 157 | pauseTimer.start(closestTimeToFinish, timerType, this); | - |
| 158 | }executed 31 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
else if (!driver->isRunning()| TRUE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1899 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) { | 31-1899 |
| 159 | if (pauseTimer.isActive()| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 112 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 11-112 |
| 160 | pauseTimer.stop();executed 11 times by 2 tests: pauseTimer.stop();Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
| 161 | startAnimationDriver(); | - |
| 162 | }executed 123 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
| 163 | | - |
| 164 | }executed 2053 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2053 |
| 165 | | - |
| 166 | void QUnifiedTimer::restart() | - |
| 167 | { | - |
| 168 | insideRestart = true; | - |
| 169 | for (int i = 0; i < animationTimers.count()| TRUE | evaluated 1902 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1920 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
; ++i) | 1902-1920 |
| 170 | animationTimers.at(i)->restartAnimationTimer();executed 1902 times by 12 tests: animationTimers.at(i)->restartAnimationTimer();Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1902 |
| 171 | insideRestart = false; | - |
| 172 | | - |
| 173 | localRestart(); | - |
| 174 | }executed 1920 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1920 |
| 175 | | - |
| 176 | void QUnifiedTimer::setTimingInterval(int interval) | - |
| 177 | { | - |
| 178 | timingInterval = interval; | - |
| 179 | | - |
| 180 | if (driver->isRunning()| TRUE | never evaluated | | FALSE | never evaluated |
&& !pauseTimer.isActive()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 181 | | - |
| 182 | stopAnimationDriver(); | - |
| 183 | startAnimationDriver(); | - |
| 184 | } never executed: end of block | 0 |
| 185 | } never executed: end of block | 0 |
| 186 | | - |
| 187 | void QUnifiedTimer::startTimers() | - |
| 188 | { | - |
| 189 | startTimersPending = false; | - |
| 190 | | - |
| 191 | | - |
| 192 | animationTimers += animationTimersToStart; | - |
| 193 | animationTimersToStart.clear(); | - |
| 194 | if (!animationTimers.isEmpty()| TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-121 |
| 195 | if (!time.isValid()| TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-121 |
| 196 | lastTick = 0; | - |
| 197 | time.start(); | - |
| 198 | temporalDrift = 0; | - |
| 199 | driverStartTime = 0; | - |
| 200 | }executed 121 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
| 201 | localRestart(); | - |
| 202 | }executed 121 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
| 203 | }executed 121 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
| 204 | | - |
| 205 | void QUnifiedTimer::stopTimer() | - |
| 206 | { | - |
| 207 | stopTimerPending = false; | - |
| 208 | if (animationTimers.isEmpty()| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-118 |
| 209 | stopAnimationDriver(); | - |
| 210 | pauseTimer.stop(); | - |
| 211 | | - |
| 212 | time.invalidate(); | - |
| 213 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 214 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 215 | | - |
| 216 | void QUnifiedTimer::timerEvent(QTimerEvent *event) | - |
| 217 | { | - |
| 218 | | - |
| 219 | | - |
| 220 | if (consistentTiming| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) { | 3-16 |
| 221 | if (stopTimerPending| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
| 222 | stopTimer(); never executed: stopTimer(); | 0 |
| 223 | if (startTimersPending| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
| 224 | startTimers(); never executed: startTimers(); | 0 |
| 225 | }executed 16 times by 1 test: end of block | 16 |
| 226 | | - |
| 227 | if (event->timerId() == pauseTimer.timerId()| TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
) { | 0-19 |
| 228 | | - |
| 229 | updateAnimationTimers(-1); | - |
| 230 | restart(); | - |
| 231 | }executed 19 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
| 232 | }executed 19 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
| 233 | | - |
| 234 | void QUnifiedTimer::startAnimationTimer(QAbstractAnimationTimer *timer) | - |
| 235 | { | - |
| 236 | if (timer->isRegistered| TRUE | never evaluated | | FALSE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 0-121 |
| 237 | return; never executed: return; | 0 |
| 238 | timer->isRegistered = true; | - |
| 239 | | - |
| 240 | QUnifiedTimer *inst = instance(true); | - |
| 241 | inst->animationTimersToStart << timer; | - |
| 242 | if (!inst->startTimersPending| TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-121 |
| 243 | inst->startTimersPending = true; | - |
| 244 | QMetaObject::invokeMethod(inst, "startTimers", Qt::QueuedConnection); | - |
| 245 | }executed 121 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
| 246 | }executed 121 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
| 247 | | - |
| 248 | void QUnifiedTimer::stopAnimationTimer(QAbstractAnimationTimer *timer) | - |
| 249 | { | - |
| 250 | QUnifiedTimer *inst = QUnifiedTimer::instance(false); | - |
| 251 | if (inst| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-118 |
| 252 | | - |
| 253 | | - |
| 254 | | - |
| 255 | if (!timer->isRegistered| TRUE | never evaluated | | FALSE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 0-118 |
| 256 | return; never executed: return; | 0 |
| 257 | timer->isRegistered = false; | - |
| 258 | | - |
| 259 | int idx = inst->animationTimers.indexOf(timer); | - |
| 260 | if (idx != -1| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-118 |
| 261 | inst->animationTimers.removeAt(idx); | - |
| 262 | | - |
| 263 | if (idx <= inst->currentAnimationIdx| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) | 0-118 |
| 264 | --executed 118 times by 10 tests: --inst->currentAnimationIdx;Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
inst->currentAnimationIdx;executed 118 times by 10 tests: --inst->currentAnimationIdx;Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 265 | | - |
| 266 | if (inst->animationTimers.isEmpty()| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
&& !inst->stopTimerPending| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-118 |
| 267 | inst->stopTimerPending = true; | - |
| 268 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
| 269 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 270 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
else { | 118 |
| 271 | inst->animationTimersToStart.removeOne(timer); | - |
| 272 | } never executed: end of block | 0 |
| 273 | } | - |
| 274 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 275 | | - |
| 276 | void QUnifiedTimer::pauseAnimationTimer(QAbstractAnimationTimer *timer, int duration) | - |
| 277 | { | - |
| 278 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - |
| 279 | if (!timer->isRegistered| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) | 9-13 |
| 280 | inst->startAnimationTimer(timer);executed 9 times by 2 tests: inst->startAnimationTimer(timer);Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 9 |
| 281 | | - |
| 282 | bool timerWasPaused = timer->isPaused; | - |
| 283 | timer->isPaused = true; | - |
| 284 | timer->pauseDuration = duration; | - |
| 285 | if (!timerWasPaused| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) | 11 |
| 286 | inst->pausedAnimationTimers << timer;executed 11 times by 2 tests: inst->pausedAnimationTimers << timer;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
| 287 | inst->localRestart(); | - |
| 288 | }executed 22 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
| 289 | | - |
| 290 | void QUnifiedTimer::resumeAnimationTimer(QAbstractAnimationTimer *timer) | - |
| 291 | { | - |
| 292 | if (!timer->isPaused| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) | 11-118 |
| 293 | return;executed 118 times by 10 tests: return;Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 294 | | - |
| 295 | timer->isPaused = false; | - |
| 296 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - |
| 297 | inst->pausedAnimationTimers.removeOne(timer); | - |
| 298 | inst->localRestart(); | - |
| 299 | }executed 11 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
| 300 | | - |
| 301 | int QUnifiedTimer::closestPausedAnimationTimerTimeToFinish() | - |
| 302 | { | - |
| 303 | int closestTimeToFinish = 2147483647; | - |
| 304 | for (TimerListConstIt it = pausedAnimationTimers.constBegin(), cend = pausedAnimationTimers.constEnd(); it != cend| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
; ++it) { | 31 |
| 305 | const int timeToFinish = (*it)->pauseDuration; | - |
| 306 | if (timeToFinish < closestTimeToFinish| TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | never evaluated |
) | 0-31 |
| 307 | closestTimeToFinish = timeToFinish;executed 31 times by 2 tests: closestTimeToFinish = timeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
| 308 | }executed 31 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
| 309 | returnexecuted 31 times by 2 tests: return closestTimeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
closestTimeToFinish;executed 31 times by 2 tests: return closestTimeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
| 310 | } | - |
| 311 | | - |
| 312 | void QUnifiedTimer::installAnimationDriver(QAnimationDriver *d) | - |
| 313 | { | - |
| 314 | if (driver != &defaultDriver| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 315 | QMessageLogger(__FILE__, 514, __PRETTY_FUNCTION__).warning("QUnifiedTimer: animation driver already installed..."); | - |
| 316 | return; never executed: return; | 0 |
| 317 | } | - |
| 318 | | - |
| 319 | bool running = driver->isRunning(); | - |
| 320 | if (running| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 321 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
| 322 | driver = d; | - |
| 323 | if (running| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 324 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 |
| 325 | } never executed: end of block | 0 |
| 326 | | - |
| 327 | void QUnifiedTimer::uninstallAnimationDriver(QAnimationDriver *d) | - |
| 328 | { | - |
| 329 | if (driver != d| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 330 | QMessageLogger(__FILE__, 529, __PRETTY_FUNCTION__).warning("QUnifiedTimer: trying to uninstall a driver that is not installed..."); | - |
| 331 | return; never executed: return; | 0 |
| 332 | } | - |
| 333 | | - |
| 334 | bool running = driver->isRunning(); | - |
| 335 | if (running| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 336 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
| 337 | driver = &defaultDriver; | - |
| 338 | if (running| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 339 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 |
| 340 | } never executed: end of block | 0 |
| 341 | | - |
| 342 | | - |
| 343 | | - |
| 344 | | - |
| 345 | | - |
| 346 | bool QUnifiedTimer::canUninstallAnimationDriver(QAnimationDriver *d) | - |
| 347 | { | - |
| 348 | return never executed: return d == driver && driver != &defaultDriver; d == driver| TRUE | never evaluated | | FALSE | never evaluated |
&& driver != &defaultDriver| TRUE | never evaluated | | FALSE | never evaluated |
;never executed: return d == driver && driver != &defaultDriver; | 0 |
| 349 | } | - |
| 350 | | - |
| 351 | | - |
| 352 | namespace { namespace Q_QGS_animationTimer { typedef QThreadStorage<QAnimationTimer *> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 28 times by 28 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
}executed 28 times by 28 tests: end of blockExecuted by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 9981 times by 28 tests: return &holder.value;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
&holder.value;executed 9981 times by 28 tests: return &holder.value;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
} } } static QGlobalStatic<QThreadStorage<QAnimationTimer *>, Q_QGS_animationTimer::innerFunction, Q_QGS_animationTimer::guard> animationTimer; | 0-9981 |
| 353 | | - |
| 354 | | - |
| 355 | QAnimationTimer::QAnimationTimer() : | - |
| 356 | QAbstractAnimationTimer(), lastTick(0), | - |
| 357 | currentAnimationIdx(0), insideTick(false), | - |
| 358 | startAnimationPending(false), stopTimerPending(false), | - |
| 359 | runningLeafAnimations(0) | - |
| 360 | { | - |
| 361 | }executed 28 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 28 |
| 362 | | - |
| 363 | QAnimationTimer *QAnimationTimer::instance(bool create) | - |
| 364 | { | - |
| 365 | QAnimationTimer *inst; | - |
| 366 | | - |
| 367 | if (create| TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 2699 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
&& !animationTimer()->hasLocalData()| TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 1509 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
|
) { | 28-2699 |
| 368 | inst = new QAnimationTimer; | - |
| 369 | animationTimer()->setLocalData(inst); | - |
| 370 | }executed 28 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
else { | 28 |
| 371 | inst = animationTimer()| TRUE | evaluated 4208 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | never evaluated |
? animationTimer()->localData() : 0; | 0-4208 |
| 372 | }executed 4208 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 4208 |
| 373 | | - |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | returnexecuted 4236 times by 28 tests: return inst;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
inst;executed 4236 times by 28 tests: return inst;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 4236 |
| 378 | } | - |
| 379 | | - |
| 380 | QAnimationTimer *QAnimationTimer::instance() | - |
| 381 | { | - |
| 382 | return never executed: return instance(true); instance(true);never executed: return instance(true); | 0 |
| 383 | } | - |
| 384 | | - |
| 385 | void QAnimationTimer::ensureTimerUpdate() | - |
| 386 | { | - |
| 387 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
| 388 | QUnifiedTimer *instU = QUnifiedTimer::instance(false); | - |
| 389 | if (instU| TRUE | evaluated 759 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
| | FALSE | evaluated 393 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- ...
|
&& inst| TRUE | evaluated 759 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
| | FALSE | never evaluated |
&& inst->isPaused| TRUE | evaluated 3 times by 1 test | | FALSE | evaluated 756 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
|
) | 0-759 |
| 390 | instU->updateAnimationTimers(-1);executed 3 times by 1 test: instU->updateAnimationTimers(-1); | 3 |
| 391 | }executed 1152 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1152 |
| 392 | | - |
| 393 | void QAnimationTimer::updateAnimationsTime(qint64 delta) | - |
| 394 | { | - |
| 395 | | - |
| 396 | if (insideTick| TRUE | never evaluated | | FALSE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 0-1905 |
| 397 | return; never executed: return; | 0 |
| 398 | | - |
| 399 | lastTick += delta; | - |
| 400 | | - |
| 401 | | - |
| 402 | | - |
| 403 | | - |
| 404 | if (delta| TRUE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-1905 |
| 405 | insideTick = true; | - |
| 406 | for (currentAnimationIdx = 0; currentAnimationIdx < animations.count()| TRUE | evaluated 2091 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
; ++currentAnimationIdx) { | 1905-2091 |
| 407 | QAbstractAnimation *animation = animations.at(currentAnimationIdx); | - |
| 408 | int elapsed = QAbstractAnimationPrivate::get(animation)->totalCurrentTime | - |
| 409 | + (animation->direction() == QAbstractAnimation::Forward| TRUE | evaluated 2036 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 55 times by 3 testsEvaluated by:- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
|
? delta : -delta); | 55-2036 |
| 410 | animation->setCurrentTime(elapsed); | - |
| 411 | }executed 2091 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2091 |
| 412 | insideTick = false; | - |
| 413 | currentAnimationIdx = 0; | - |
| 414 | }executed 1905 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
| 415 | }executed 1905 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
| 416 | | - |
| 417 | void QAnimationTimer::updateAnimationTimer() | - |
| 418 | { | - |
| 419 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
| 420 | if (inst| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| | FALSE | never evaluated |
) | 0-10 |
| 421 | inst->restartAnimationTimer();executed 10 times by 2 tests: inst->restartAnimationTimer();Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
| 422 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
| 423 | | - |
| 424 | void QAnimationTimer::restartAnimationTimer() | - |
| 425 | { | - |
| 426 | if (runningLeafAnimations == 0| TRUE | evaluated 138 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1916 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
&& !runningPauseAnimations.isEmpty()| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 116 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 22-1916 |
| 427 | QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());executed 22 times by 2 tests: QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
| 428 | else if (isPaused| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 2021 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 11-2021 |
| 429 | QUnifiedTimer::resumeAnimationTimer(this);executed 11 times by 2 tests: QUnifiedTimer::resumeAnimationTimer(this);Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
| 430 | else if (!isRegistered| TRUE | evaluated 112 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1909 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 112-1909 |
| 431 | QUnifiedTimer::startAnimationTimer(this);executed 112 times by 12 tests: QUnifiedTimer::startAnimationTimer(this);Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 112 |
| 432 | }executed 2054 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2054 |
| 433 | | - |
| 434 | void QAnimationTimer::startAnimations() | - |
| 435 | { | - |
| 436 | if (!startAnimationPending| TRUE | never evaluated | | FALSE | evaluated 285 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 0-285 |
| 437 | return; never executed: return; | 0 |
| 438 | startAnimationPending = false; | - |
| 439 | | - |
| 440 | | - |
| 441 | QUnifiedTimer::instance()->maybeUpdateAnimationsToCurrentTime(); | - |
| 442 | | - |
| 443 | | - |
| 444 | animations += animationsToStart; | - |
| 445 | animationsToStart.clear(); | - |
| 446 | if (!animations.isEmpty()| TRUE | evaluated 142 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 143 times by 18 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPauseAnimation
- tst_QPrinter
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) | 142-143 |
| 447 | restartAnimationTimer();executed 142 times by 12 tests: restartAnimationTimer();Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 142 |
| 448 | }executed 285 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 285 |
| 449 | | - |
| 450 | void QAnimationTimer::stopTimer() | - |
| 451 | { | - |
| 452 | stopTimerPending = false; | - |
| 453 | bool pendingStart = startAnimationPending| TRUE | evaluated 31 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 106 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
&& animationsToStart.size() > 0| TRUE | evaluated 18 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMainWindow
- tst_QStateMachine
|
; | 13-106 |
| 454 | if (animations.isEmpty()| TRUE | evaluated 136 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1 time by 1 test |
&& !pendingStart| TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 18 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) { | 1-136 |
| 455 | QUnifiedTimer::resumeAnimationTimer(this); | - |
| 456 | QUnifiedTimer::stopAnimationTimer(this); | - |
| 457 | | - |
| 458 | lastTick = 0; | - |
| 459 | }executed 118 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
| 460 | }executed 137 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 137 |
| 461 | | - |
| 462 | void QAnimationTimer::registerAnimation(QAbstractAnimation *animation, bool isTopLevel) | - |
| 463 | { | - |
| 464 | QAnimationTimer *inst = instance(true); | - |
| 465 | inst->registerRunningAnimation(animation); | - |
| 466 | if (isTopLevel| TRUE | evaluated 1120 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 417 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) { | 417-1120 |
| 467 | ((!(!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer)) ? qt_assert("!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer",__FILE__,666) : qt_noop()); | - |
| 468 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = true; | - |
| 469 | inst->animationsToStart << animation; | - |
| 470 | if (!inst->startAnimationPending| TRUE | evaluated 290 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 830 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 290-830 |
| 471 | inst->startAnimationPending = true; | - |
| 472 | QMetaObject::invokeMethod(inst, "startAnimations", Qt::QueuedConnection); | - |
| 473 | }executed 290 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 290 |
| 474 | }executed 1120 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1120 |
| 475 | }executed 1537 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
| 476 | | - |
| 477 | void QAnimationTimer::unregisterAnimation(QAbstractAnimation *animation) | - |
| 478 | { | - |
| 479 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
| 480 | if (inst| TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | never evaluated |
) { | 0-1537 |
| 481 | | - |
| 482 | | - |
| 483 | | - |
| 484 | inst->unregisterRunningAnimation(animation); | - |
| 485 | | - |
| 486 | if (!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer| TRUE | evaluated 417 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 1120 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 417-1120 |
| 487 | return;executed 417 times by 6 tests: return;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 417 |
| 488 | | - |
| 489 | int idx = inst->animations.indexOf(animation); | - |
| 490 | if (idx != -1| TRUE | evaluated 156 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 964 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 156-964 |
| 491 | inst->animations.removeAt(idx); | - |
| 492 | | - |
| 493 | if (idx <= inst->currentAnimationIdx| TRUE | evaluated 149 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
- tst_QStateMachine
|
) | 7-149 |
| 494 | --executed 149 times by 12 tests: --inst->currentAnimationIdx;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
inst->currentAnimationIdx;executed 149 times by 12 tests: --inst->currentAnimationIdx;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 149 |
| 495 | | - |
| 496 | if (inst->animations.isEmpty()| TRUE | evaluated 140 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QStateMachine
|
&& !inst->stopTimerPending| TRUE | evaluated 140 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-140 |
| 497 | inst->stopTimerPending = true; | - |
| 498 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
| 499 | }executed 140 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 140 |
| 500 | }executed 156 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
else { | 156 |
| 501 | inst->animationsToStart.removeOne(animation); | - |
| 502 | }executed 964 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 964 |
| 503 | } | - |
| 504 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = false; | - |
| 505 | }executed 1120 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1120 |
| 506 | | - |
| 507 | void QAnimationTimer::registerRunningAnimation(QAbstractAnimation *animation) | - |
| 508 | { | - |
| 509 | if (QAbstractAnimationPrivate::get(animation)->isGroup| TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 1425 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 112-1425 |
| 510 | return;executed 112 times by 6 tests: return;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 112 |
| 511 | | - |
| 512 | if (QAbstractAnimationPrivate::get(animation)->isPause| TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1398 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) { | 27-1398 |
| 513 | runningPauseAnimations << animation; | - |
| 514 | }executed 27 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
else | 27 |
| 515 | runningLeafAnimations++;executed 1398 times by 28 tests: runningLeafAnimations++;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1398 |
| 516 | } | - |
| 517 | | - |
| 518 | void QAnimationTimer::unregisterRunningAnimation(QAbstractAnimation *animation) | - |
| 519 | { | - |
| 520 | if (QAbstractAnimationPrivate::get(animation)->isGroup| TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 1425 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 112-1425 |
| 521 | return;executed 112 times by 6 tests: return;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 112 |
| 522 | | - |
| 523 | if (QAbstractAnimationPrivate::get(animation)->isPause| TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1398 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 27-1398 |
| 524 | runningPauseAnimations.removeOne(animation);executed 27 times by 2 tests: runningPauseAnimations.removeOne(animation);Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 27 |
| 525 | else | - |
| 526 | runningLeafAnimations--;executed 1398 times by 28 tests: runningLeafAnimations--;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1398 |
| 527 | ((!(runningLeafAnimations >= 0)) ? qt_assert("runningLeafAnimations >= 0",__FILE__,726) : qt_noop()); | - |
| 528 | }executed 1425 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1425 |
| 529 | | - |
| 530 | int QAnimationTimer::closestPauseAnimationTimeToFinish() | - |
| 531 | { | - |
| 532 | int closestTimeToFinish = 2147483647; | - |
| 533 | for (AnimationListConstIt it = runningPauseAnimations.constBegin(), cend = runningPauseAnimations.constEnd(); it != cend| TRUE | evaluated 39 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
; ++it) { | 22-39 |
| 534 | const QAbstractAnimation *animation = *it; | - |
| 535 | int timeToFinish; | - |
| 536 | | - |
| 537 | if (animation->direction() == QAbstractAnimation::Forward| TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1 time by 1 test |
) | 1-38 |
| 538 | timeToFinish = animation->duration() - animation->currentLoopTime();executed 38 times by 2 tests: timeToFinish = animation->duration() - animation->currentLoopTime();Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 38 |
| 539 | else | - |
| 540 | timeToFinish = animation->currentLoopTime();executed 1 time by 1 test: timeToFinish = animation->currentLoopTime(); | 1 |
| 541 | | - |
| 542 | if (timeToFinish < closestTimeToFinish| TRUE | evaluated 26 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 13 times by 1 test |
) | 13-26 |
| 543 | closestTimeToFinish = timeToFinish;executed 26 times by 2 tests: closestTimeToFinish = timeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 26 |
| 544 | }executed 39 times by 2 tests: end of blockExecuted by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 39 |
| 545 | returnexecuted 22 times by 2 tests: return closestTimeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
closestTimeToFinish;executed 22 times by 2 tests: return closestTimeToFinish;Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
| 546 | } | - |
| 547 | QAnimationDriver::QAnimationDriver(QObject *parent) | - |
| 548 | : QObject(*(new QAnimationDriverPrivate), parent) | - |
| 549 | { | - |
| 550 | }executed 26 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
| 551 | | - |
| 552 | QAnimationDriver::QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent) | - |
| 553 | : QObject(dd, parent) | - |
| 554 | { | - |
| 555 | } never executed: end of block | 0 |
| 556 | | - |
| 557 | QAnimationDriver::~QAnimationDriver() | - |
| 558 | { | - |
| 559 | QUnifiedTimer *timer = QUnifiedTimer::instance(false); | - |
| 560 | if (timer| TRUE | never evaluated | | FALSE | evaluated 26 times by 26 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
- ...
|
&& timer->canUninstallAnimationDriver(this)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-26 |
| 561 | uninstall(); never executed: uninstall(); | 0 |
| 562 | }executed 26 times by 26 tests: end of blockExecuted by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
- ...
| 26 |
| 563 | void QAnimationDriver::setStartTime(qint64) | - |
| 564 | { | - |
| 565 | } | - |
| 566 | qint64 QAnimationDriver::startTime() const | - |
| 567 | { | - |
| 568 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 569 | } | - |
| 570 | void QAnimationDriver::advanceAnimation(qint64 timeStep) | - |
| 571 | { | - |
| 572 | QUnifiedTimer *instance = QUnifiedTimer::instance(); | - |
| 573 | | - |
| 574 | | - |
| 575 | instance->updateAnimationTimers(timeStep); | - |
| 576 | instance->restart(); | - |
| 577 | }executed 1901 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
| 578 | void QAnimationDriver::advance() | - |
| 579 | { | - |
| 580 | advanceAnimation(-1); | - |
| 581 | }executed 1901 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
| 582 | void QAnimationDriver::install() | - |
| 583 | { | - |
| 584 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - |
| 585 | timer->installAnimationDriver(this); | - |
| 586 | } never executed: end of block | 0 |
| 587 | | - |
| 588 | | - |
| 589 | | - |
| 590 | | - |
| 591 | | - |
| 592 | | - |
| 593 | | - |
| 594 | void QAnimationDriver::uninstall() | - |
| 595 | { | - |
| 596 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - |
| 597 | timer->uninstallAnimationDriver(this); | - |
| 598 | } never executed: end of block | 0 |
| 599 | | - |
| 600 | bool QAnimationDriver::isRunning() const | - |
| 601 | { | - |
| 602 | returnexecuted 4714 times by 26 tests: return d_func()->running;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
d_func()->running;executed 4714 times by 26 tests: return d_func()->running;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 4714 |
| 603 | } | - |
| 604 | | - |
| 605 | | - |
| 606 | void QAnimationDriver::start() | - |
| 607 | { | - |
| 608 | QAnimationDriverPrivate * const d = d_func(); | - |
| 609 | if (!d->running| TRUE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
) { | 0-123 |
| 610 | d->running = true; | - |
| 611 | d->timer.start(); | - |
| 612 | started(); | - |
| 613 | }executed 123 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
| 614 | }executed 123 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
| 615 | | - |
| 616 | | - |
| 617 | void QAnimationDriver::stop() | - |
| 618 | { | - |
| 619 | QAnimationDriverPrivate * const d = d_func(); | - |
| 620 | if (d->running| TRUE | evaluated 120 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) { | 29-120 |
| 621 | d->running = false; | - |
| 622 | stopped(); | - |
| 623 | }executed 120 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 120 |
| 624 | }executed 149 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 149 |
| 625 | qint64 QAnimationDriver::elapsed() const | - |
| 626 | { | - |
| 627 | const QAnimationDriverPrivate * const d = d_func(); | - |
| 628 | returnexecuted 2054 times by 12 tests: return d->running ? d->timer.elapsed() : 0;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
d->running| TRUE | evaluated 2054 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | never evaluated |
? d->timer.elapsed() : 0;executed 2054 times by 12 tests: return d->running ? d->timer.elapsed() : 0;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 0-2054 |
| 629 | } | - |
| 630 | QDefaultAnimationDriver::QDefaultAnimationDriver(QUnifiedTimer *timer) | - |
| 631 | : QAnimationDriver(0), m_unified_timer(timer) | - |
| 632 | { | - |
| 633 | connect(this, qFlagLocation("2""started()" "\0" __FILE__ ":" "927"), this, qFlagLocation("1""startTimer()" "\0" __FILE__ ":" "927")); | - |
| 634 | connect(this, qFlagLocation("2""stopped()" "\0" __FILE__ ":" "928"), this, qFlagLocation("1""stopTimer()" "\0" __FILE__ ":" "928")); | - |
| 635 | }executed 26 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
| 636 | | - |
| 637 | void QDefaultAnimationDriver::timerEvent(QTimerEvent *e) | - |
| 638 | { | - |
| 639 | ((!(e->timerId() == m_timer.timerId())) ? qt_assert("e->timerId() == m_timer.timerId()",__FILE__,933) : qt_noop()); | - |
| 640 | (void)e;; | - |
| 641 | advance(); | - |
| 642 | }executed 1901 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
| 643 | | - |
| 644 | void QDefaultAnimationDriver::startTimer() | - |
| 645 | { | - |
| 646 | | - |
| 647 | m_timer.start(m_unified_timer->timingInterval, Qt::PreciseTimer, this); | - |
| 648 | }executed 123 times by 12 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
| 649 | | - |
| 650 | void QDefaultAnimationDriver::stopTimer() | - |
| 651 | { | - |
| 652 | m_timer.stop(); | - |
| 653 | }executed 120 times by 10 tests: end of blockExecuted by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 120 |
| 654 | | - |
| 655 | | - |
| 656 | | - |
| 657 | void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState) | - |
| 658 | { | - |
| 659 | QAbstractAnimation * const q = q_func(); | - |
| 660 | if (state == newState| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3035 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 1-3035 |
| 661 | return;executed 1 time by 1 test: return; | 1 |
| 662 | | - |
| 663 | if (loopCount == 0| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 1-3034 |
| 664 | return;executed 1 time by 1 test: return; | 1 |
| 665 | | - |
| 666 | QAbstractAnimation::State oldState = state; | - |
| 667 | int oldCurrentTime = currentTime; | - |
| 668 | int oldCurrentLoop = currentLoop; | - |
| 669 | QAbstractAnimation::Direction oldDirection = direction; | - |
| 670 | | - |
| 671 | | - |
| 672 | if ((newState == QAbstractAnimation::Paused| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 2976 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
|| newState == QAbstractAnimation::Running| TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 1439 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 58-2976 |
| 673 | && oldState == QAbstractAnimation::Stopped| TRUE | evaluated 1525 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 70 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 70-1525 |
| 674 | | - |
| 675 | | - |
| 676 | | - |
| 677 | totalCurrentTime = currentTime = (| TRUE | evaluated 1406 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| | FALSE | evaluated 119 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeWidget
|
direction == QAbstractAnimation::Forward)| TRUE | evaluated 1406 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| | FALSE | evaluated 119 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeWidget
|
? | 119-1406 |
| 678 | 0 : (loopCount == -1| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_QParallelAnimationGroup
| | FALSE | evaluated 116 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeWidget
|
? q->duration() : q->totalDuration()); | 3-116 |
| 679 | }executed 1525 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1525 |
| 680 | | - |
| 681 | state = newState; | - |
| 682 | QPointer<QAbstractAnimation> guard(q); | - |
| 683 | | - |
| 684 | | - |
| 685 | | - |
| 686 | bool isTopLevel = !group| TRUE | evaluated 2216 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 818 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
|| group->state() == QAbstractAnimation::Stopped| TRUE | evaluated 37 times by 3 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 781 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
; | 37-2216 |
| 687 | if (oldState == QAbstractAnimation::Running| TRUE | evaluated 1455 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| | FALSE | evaluated 1579 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) { | 1455-1579 |
| 688 | if (newState == QAbstractAnimation::Paused| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1397 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
&& hasRegisteredTimer| TRUE | evaluated 29 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
|
) | 29-1397 |
| 689 | QAnimationTimer::ensureTimerUpdate();executed 29 times by 4 tests: QAnimationTimer::ensureTimerUpdate();Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 29 |
| 690 | | - |
| 691 | QAnimationTimer::unregisterAnimation(q); | - |
| 692 | }executed 1455 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
else if (newState == QAbstractAnimation::Running| TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 42 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 42-1537 |
| 693 | QAnimationTimer::registerAnimation(q, isTopLevel); | - |
| 694 | }executed 1537 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
| 695 | | - |
| 696 | q->updateState(newState, oldState); | - |
| 697 | if (!guard| TRUE | never evaluated | | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
|| newState != state| TRUE | never evaluated | | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 0-3034 |
| 698 | return; never executed: return; | 0 |
| 699 | | - |
| 700 | | - |
| 701 | q->stateChanged(newState, oldState); | - |
| 702 | if (!guard| TRUE | never evaluated | | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
|| newState != state| TRUE | never evaluated | | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 0-3034 |
| 703 | return; never executed: return; | 0 |
| 704 | | - |
| 705 | switch (state) { | - |
| 706 | caseexecuted 58 times by 4 tests: case QAbstractAnimation::Paused:Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
QAbstractAnimation::Paused:executed 58 times by 4 tests: case QAbstractAnimation::Paused:Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 58 |
| 707 | break;executed 58 times by 4 tests: break;Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 58 |
| 708 | caseexecuted 1537 times by 28 tests: case QAbstractAnimation::Running:Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
QAbstractAnimation::Running:executed 1537 times by 28 tests: case QAbstractAnimation::Running:Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
| 709 | { | - |
| 710 | | - |
| 711 | | - |
| 712 | if (oldState == QAbstractAnimation::Stopped| TRUE | evaluated 1525 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 12-1525 |
| 713 | if (isTopLevel| TRUE | evaluated 1113 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| | FALSE | evaluated 412 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) { | 412-1113 |
| 714 | | - |
| 715 | QAnimationTimer::ensureTimerUpdate(); | - |
| 716 | q->setCurrentTime(totalCurrentTime); | - |
| 717 | }executed 1113 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1113 |
| 718 | }executed 1525 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1525 |
| 719 | } | - |
| 720 | break;executed 1537 times by 28 tests: break;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
| 721 | caseexecuted 1439 times by 26 tests: case QAbstractAnimation::Stopped:Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
QAbstractAnimation::Stopped:executed 1439 times by 26 tests: case QAbstractAnimation::Stopped:Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
| 722 | | - |
| 723 | int dura = q->duration(); | - |
| 724 | | - |
| 725 | if (deleteWhenStopped| TRUE | evaluated 854 times by 17 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 585 times by 10 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 585-854 |
| 726 | q->deleteLater();executed 854 times by 17 tests: q->deleteLater();Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 854 |
| 727 | | - |
| 728 | if (dura == -1| TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QScroller
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1423 times by 25 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
|| loopCount < 0| TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 1414 times by 25 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
| 9-1423 |
| 729 | || (oldDirection == QAbstractAnimation::Forward| TRUE | evaluated 1322 times by 24 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
|
&& (| TRUE | evaluated 1222 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
oldCurrentTime * (oldCurrentLoop + 1)) == (dura * loopCount)| TRUE | evaluated 1222 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) | 92-1322 |
| 730 | || (oldDirection == QAbstractAnimation::Backward| TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
| | FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
&& oldCurrentTime == 0| TRUE | evaluated 87 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
| | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
|
)) { | 5-100 |
| 731 | q->finished(); | - |
| 732 | }executed 1334 times by 25 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1334 |
| 733 | break;executed 1439 times by 26 tests: break;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
| 734 | } | - |
| 735 | }executed 3034 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3034 |
| 736 | | - |
| 737 | | - |
| 738 | | - |
| 739 | | - |
| 740 | | - |
| 741 | | - |
| 742 | | - |
| 743 | QAbstractAnimation::QAbstractAnimation(QObject *parent) | - |
| 744 | : QObject(*new QAbstractAnimationPrivate, 0) | - |
| 745 | { | - |
| 746 | | - |
| 747 | setParent(parent); | - |
| 748 | }executed 27 times by 3 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QProgressBar
- tst_QScroller
| 27 |
| 749 | | - |
| 750 | | - |
| 751 | | - |
| 752 | | - |
| 753 | QAbstractAnimation::QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent) | - |
| 754 | : QObject(dd, 0) | - |
| 755 | { | - |
| 756 | | - |
| 757 | setParent(parent); | - |
| 758 | }executed 2163 times by 43 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- ...
| 2163 |
| 759 | | - |
| 760 | | - |
| 761 | | - |
| 762 | | - |
| 763 | | - |
| 764 | | - |
| 765 | QAbstractAnimation::~QAbstractAnimation() | - |
| 766 | { | - |
| 767 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 768 | | - |
| 769 | if (d->state != Stopped| TRUE | evaluated 86 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| | FALSE | evaluated 1979 times by 44 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- ...
|
) { | 86-1979 |
| 770 | QAbstractAnimation::State oldState = d->state; | - |
| 771 | d->state = Stopped; | - |
| 772 | stateChanged(oldState, d->state); | - |
| 773 | if (oldState == QAbstractAnimation::Running| TRUE | evaluated 82 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
|
) | 4-82 |
| 774 | QAnimationTimer::unregisterAnimation(this);executed 82 times by 6 tests: QAnimationTimer::unregisterAnimation(this);Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 82 |
| 775 | }executed 86 times by 6 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 86 |
| 776 | }executed 2065 times by 45 tests: end of blockExecuted by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- ...
| 2065 |
| 777 | QAbstractAnimation::State QAbstractAnimation::state() const | - |
| 778 | { | - |
| 779 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 780 | returnexecuted 3985 times by 10 tests: return d->state;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
d->state;executed 3985 times by 10 tests: return d->state;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
| 3985 |
| 781 | } | - |
| 782 | | - |
| 783 | | - |
| 784 | | - |
| 785 | | - |
| 786 | | - |
| 787 | | - |
| 788 | | - |
| 789 | QAnimationGroup *QAbstractAnimation::group() const | - |
| 790 | { | - |
| 791 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 792 | returnexecuted 701 times by 7 tests: return d->group;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
d->group;executed 701 times by 7 tests: return d->group;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 701 |
| 793 | } | - |
| 794 | QAbstractAnimation::Direction QAbstractAnimation::direction() const | - |
| 795 | { | - |
| 796 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 797 | returnexecuted 2154 times by 13 tests: return d->direction;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
d->direction;executed 2154 times by 13 tests: return d->direction;Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
| 2154 |
| 798 | } | - |
| 799 | void QAbstractAnimation::setDirection(Direction direction) | - |
| 800 | { | - |
| 801 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 802 | if (d->direction == direction| TRUE | evaluated 232 times by 7 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
|
) | 100-232 |
| 803 | return;executed 232 times by 7 tests: return;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 232 |
| 804 | | - |
| 805 | if (state() == Stopped| TRUE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
|
) { | 10-90 |
| 806 | if (direction == Backward| TRUE | evaluated 88 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
| | FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
|
) { | 2-88 |
| 807 | d->currentTime = duration(); | - |
| 808 | d->currentLoop = d->loopCount - 1; | - |
| 809 | }executed 88 times by 5 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
else { | 88 |
| 810 | d->currentTime = 0; | - |
| 811 | d->currentLoop = 0; | - |
| 812 | }executed 2 times by 2 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
| 2 |
| 813 | } | - |
| 814 | | - |
| 815 | | - |
| 816 | | - |
| 817 | if (d->hasRegisteredTimer| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| | FALSE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
) | 10-90 |
| 818 | QAnimationTimer::ensureTimerUpdate();executed 10 times by 2 tests: QAnimationTimer::ensureTimerUpdate();Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
| 819 | | - |
| 820 | d->direction = direction; | - |
| 821 | updateDirection(direction); | - |
| 822 | | - |
| 823 | if (d->hasRegisteredTimer| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| | FALSE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
) | 10-90 |
| 824 | | - |
| 825 | QAnimationTimer::updateAnimationTimer();executed 10 times by 2 tests: QAnimationTimer::updateAnimationTimer();Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
| 826 | | - |
| 827 | directionChanged(direction); | - |
| 828 | }executed 100 times by 7 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 100 |
| 829 | int QAbstractAnimation::loopCount() const | - |
| 830 | { | - |
| 831 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 832 | returnexecuted 8125 times by 8 tests: return d->loopCount;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
d->loopCount;executed 8125 times by 8 tests: return d->loopCount;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| 8125 |
| 833 | } | - |
| 834 | void QAbstractAnimation::setLoopCount(int loopCount) | - |
| 835 | { | - |
| 836 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 837 | d->loopCount = loopCount; | - |
| 838 | }executed 146 times by 6 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 146 |
| 839 | int QAbstractAnimation::currentLoop() const | - |
| 840 | { | - |
| 841 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 842 | returnexecuted 138 times by 7 tests: return d->currentLoop;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
d->currentLoop;executed 138 times by 7 tests: return d->currentLoop;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 138 |
| 843 | } | - |
| 844 | int QAbstractAnimation::totalDuration() const | - |
| 845 | { | - |
| 846 | int dura = duration(); | - |
| 847 | if (dura <= 0| TRUE | evaluated 1190 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 7955 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
) | 1190-7955 |
| 848 | returnexecuted 1190 times by 5 tests: return dura;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
dura;executed 1190 times by 5 tests: return dura;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 1190 |
| 849 | int loopcount = loopCount(); | - |
| 850 | if (loopcount < 0| TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 7923 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
) | 32-7923 |
| 851 | returnexecuted 32 times by 4 tests: return -1;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
-1;executed 32 times by 4 tests: return -1;Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 32 |
| 852 | returnexecuted 7923 times by 8 tests: return dura * loopcount;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
dura * loopcount;executed 7923 times by 8 tests: return dura * loopcount;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| 7923 |
| 853 | } | - |
| 854 | | - |
| 855 | | - |
| 856 | | - |
| 857 | | - |
| 858 | | - |
| 859 | | - |
| 860 | | - |
| 861 | int QAbstractAnimation::currentLoopTime() const | - |
| 862 | { | - |
| 863 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 864 | returnexecuted 483 times by 6 tests: return d->currentTime;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
d->currentTime;executed 483 times by 6 tests: return d->currentTime;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 483 |
| 865 | } | - |
| 866 | int QAbstractAnimation::currentTime() const | - |
| 867 | { | - |
| 868 | const QAbstractAnimationPrivate * const d = d_func(); | - |
| 869 | returnexecuted 142 times by 8 tests: return d->totalCurrentTime;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
d->totalCurrentTime;executed 142 times by 8 tests: return d->totalCurrentTime;Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 142 |
| 870 | } | - |
| 871 | void QAbstractAnimation::setCurrentTime(int msecs) | - |
| 872 | { | - |
| 873 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 874 | msecs = qMax(msecs, 0); | - |
| 875 | | - |
| 876 | | - |
| 877 | int dura = duration(); | - |
| 878 | int totalDura = dura <= 0| TRUE | evaluated 1305 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3845 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
? dura : ((| TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 3808 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
d->loopCount < 0)| TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 3808 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
? -1 : dura * d->loopCount); | 37-3845 |
| 879 | if (totalDura != -1| TRUE | evaluated 4809 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- ...
| | FALSE | evaluated 341 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
|
) | 341-4809 |
| 880 | msecs = qMin(totalDura, msecs);executed 4809 times by 26 tests: msecs = qMin(totalDura, msecs);Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- ...
| 4809 |
| 881 | d->totalCurrentTime = msecs; | - |
| 882 | | - |
| 883 | | - |
| 884 | int oldLoop = d->currentLoop; | - |
| 885 | d->currentLoop = ((| TRUE | evaluated 1305 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3845 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
dura <= 0)| TRUE | evaluated 1305 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3845 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
? 0 : (msecs / dura)); | 1305-3845 |
| 886 | if (d->currentLoop == d->loopCount| TRUE | evaluated 415 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| | FALSE | evaluated 4735 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
|
) { | 415-4735 |
| 887 | | - |
| 888 | d->currentTime = qMax(0, dura); | - |
| 889 | d->currentLoop = qMax(0, d->loopCount - 1); | - |
| 890 | }executed 415 times by 11 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
else { | 415 |
| 891 | if (d->direction == Forward| TRUE | evaluated 4502 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| | FALSE | evaluated 233 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
) { | 233-4502 |
| 892 | d->currentTime = (| TRUE | evaluated 1275 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3227 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
dura <= 0)| TRUE | evaluated 1275 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3227 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
? msecs : (msecs % dura); | 1275-3227 |
| 893 | }executed 4502 times by 27 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
else { | 4502 |
| 894 | d->currentTime = (| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| | FALSE | evaluated 203 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
dura <= 0)| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| | FALSE | evaluated 203 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
? msecs : ((msecs - 1) % dura) + 1; | 30-203 |
| 895 | if (d->currentTime == dura| TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| | FALSE | evaluated 187 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
) | 46-187 |
| 896 | --executed 46 times by 2 tests: --d->currentLoop;Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
d->currentLoop;executed 46 times by 2 tests: --d->currentLoop;Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| 46 |
| 897 | }executed 233 times by 5 tests: end of blockExecuted by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
| 233 |
| 898 | } | - |
| 899 | | - |
| 900 | updateCurrentTime(d->currentTime); | - |
| 901 | if (d->currentLoop != oldLoop| TRUE | evaluated 237 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| | FALSE | evaluated 4913 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 237-4913 |
| 902 | currentLoopChanged(d->currentLoop);executed 237 times by 5 tests: currentLoopChanged(d->currentLoop);Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 237 |
| 903 | | - |
| 904 | | - |
| 905 | | - |
| 906 | | - |
| 907 | if ((d->direction == Forward| TRUE | evaluated 4840 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| | FALSE | evaluated 310 times by 6 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
|
&& d->totalCurrentTime == totalDura| TRUE | evaluated 1307 times by 24 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 3533 times by 13 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 310-4840 |
| 908 | || (d->direction == Backward| TRUE | evaluated 310 times by 6 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| | FALSE | evaluated 3533 times by 13 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
&& d->totalCurrentTime == 0| TRUE | evaluated 74 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
| | FALSE | evaluated 236 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
)) { | 74-3533 |
| 909 | stop(); | - |
| 910 | }executed 1381 times by 25 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1381 |
| 911 | }executed 5150 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 5150 |
| 912 | void QAbstractAnimation::start(DeletionPolicy policy) | - |
| 913 | { | - |
| 914 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 915 | if (d->state == Running| TRUE | evaluated 476 times by 7 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| | FALSE | evaluated 1533 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
) | 476-1533 |
| 916 | return;executed 476 times by 7 tests: return;Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 476 |
| 917 | d->deleteWhenStopped = policy; | - |
| 918 | d->setState(Running); | - |
| 919 | }executed 1533 times by 28 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1533 |
| 920 | void QAbstractAnimation::stop() | - |
| 921 | { | - |
| 922 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 923 | | - |
| 924 | if (d->state == Stopped| TRUE | evaluated 2742 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
- ...
| | FALSE | evaluated 1439 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 1439-2742 |
| 925 | return;executed 2742 times by 26 tests: return;Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
- ...
| 2742 |
| 926 | | - |
| 927 | d->setState(Stopped); | - |
| 928 | }executed 1439 times by 26 tests: end of blockExecuted by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
| 929 | void QAbstractAnimation::pause() | - |
| 930 | { | - |
| 931 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 932 | if (d->state == Stopped| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QAnimationGroup
- tst_QPropertyAnimation
| | FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 2-59 |
| 933 | QMessageLogger(__FILE__, 1393, __PRETTY_FUNCTION__).warning("QAbstractAnimation::pause: Cannot pause a stopped animation"); | - |
| 934 | return;executed 2 times by 2 tests: return;Executed by:- tst_QAnimationGroup
- tst_QPropertyAnimation
| 2 |
| 935 | } | - |
| 936 | | - |
| 937 | d->setState(Paused); | - |
| 938 | }executed 59 times by 4 tests: end of blockExecuted by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 59 |
| 939 | void QAbstractAnimation::resume() | - |
| 940 | { | - |
| 941 | QAbstractAnimationPrivate * const d = d_func(); | - |
| 942 | if (d->state != Paused| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 2-5 |
| 943 | QMessageLogger(__FILE__, 1411, __PRETTY_FUNCTION__).warning("QAbstractAnimation::resume: " | - |
| 944 | "Cannot resume an animation that is not paused"); | - |
| 945 | return;executed 2 times by 1 test: return; | 2 |
| 946 | } | - |
| 947 | | - |
| 948 | d->setState(Running); | - |
| 949 | }executed 5 times by 3 tests: end of blockExecuted by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 5 |
| 950 | | - |
| 951 | | - |
| 952 | | - |
| 953 | | - |
| 954 | | - |
| 955 | | - |
| 956 | | - |
| 957 | void QAbstractAnimation::setPaused(bool paused) | - |
| 958 | { | - |
| 959 | if (paused| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 960 | pause(); never executed: pause(); | 0 |
| 961 | else | - |
| 962 | resume(); never executed: resume(); | 0 |
| 963 | } | - |
| 964 | | - |
| 965 | | - |
| 966 | | - |
| 967 | | - |
| 968 | | - |
| 969 | bool QAbstractAnimation::event(QEvent *event) | - |
| 970 | { | - |
| 971 | returnexecuted 1235 times by 23 tests: return QObject::event(event);Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
QObject::event(event);executed 1235 times by 23 tests: return QObject::event(event);Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1235 |
| 972 | } | - |
| 973 | void QAbstractAnimation::updateState(QAbstractAnimation::State newState, | - |
| 974 | QAbstractAnimation::State oldState) | - |
| 975 | { | - |
| 976 | (void)oldState;; | - |
| 977 | (void)newState;; | - |
| 978 | }executed 304 times by 9 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 304 |
| 979 | | - |
| 980 | | - |
| 981 | | - |
| 982 | | - |
| 983 | | - |
| 984 | | - |
| 985 | | - |
| 986 | void QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction) | - |
| 987 | { | - |
| 988 | (void)direction;; | - |
| 989 | }executed 79 times by 6 tests: end of blockExecuted by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
- tst_QTreeWidget
| 79 |
| 990 | | - |
| 991 | | - |
| 992 | | - |
| 993 | | - |
| | |