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::InitializedTRUE | 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 block 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 9689 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 9689 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-9689 |
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 block 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
- ...
| 26 |
27 | | - |
28 | | - |
29 | QUnifiedTimer *QUnifiedTimer::instance(bool create) | - |
30 | { | - |
31 | QUnifiedTimer *inst; | - |
32 | | - |
33 | if (createTRUE | evaluated 2373 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 1298 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 2347 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-2373 |
34 | inst = new QUnifiedTimer; | - |
35 | unifiedTimer()->setLocalData(inst); | - |
36 | }executed 26 times by 26 tests: end of block 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
- ...
else { | 26 |
37 | inst = unifiedTimer()TRUE | evaluated 3645 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-3645 |
38 | }executed 3645 times by 54 tests: end of block 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
- ...
| 3645 |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | returnexecuted 3671 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 3671 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
- ...
| 3671 |
44 | } | - |
45 | | - |
46 | QUnifiedTimer *QUnifiedTimer::instance() | - |
47 | { | - |
48 | returnexecuted 2251 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 2251 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
- ...
| 2251 |
49 | } | - |
50 | | - |
51 | void QUnifiedTimer::maybeUpdateAnimationsToCurrentTime() | - |
52 | { | - |
53 | if (elapsed() - lastTick > 50TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QAbstractAnimation
- tst_QMainWindow
| 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
- ...
|
) | 3-283 |
54 | updateAnimationTimers(-1);executed 3 times by 2 tests: updateAnimationTimers(-1); Executed by:- tst_QAbstractAnimation
- tst_QMainWindow
| 3 |
55 | }executed 286 times by 26 tests: end of block 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
- ...
| 286 |
56 | | - |
57 | qint64 QUnifiedTimer::elapsed() const | - |
58 | { | - |
59 | if (driver->isRunning()TRUE | evaluated 2072 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 398 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
- ...
|
) | 398-2072 |
60 | returnexecuted 2072 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 2072 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
| 2072 |
61 | else if (time.isValid()TRUE | evaluated 148 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
- ...
|
) | 148-250 |
62 | returnexecuted 148 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 148 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
| 148 |
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 124 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-124 |
73 | QMessageLogger(__FILE__, 278, __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 124 times by 12 tests: end of block 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
| 124 |
82 | | - |
83 | void QUnifiedTimer::stopAnimationDriver() | - |
84 | { | - |
85 | if (!driver->isRunning()TRUE | never evaluated | FALSE | evaluated 119 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-119 |
86 | QMessageLogger(__FILE__, 291, __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 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
95 | | - |
96 | void QUnifiedTimer::updateAnimationTimers(qint64) | - |
97 | { | - |
98 | | - |
99 | if(insideTickTRUE | never evaluated | FALSE | evaluated 1941 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-1941 |
100 | return; never executed: return; | 0 |
101 | | - |
102 | qint64 totalElapsed = elapsed(); | - |
103 | | - |
104 | | - |
105 | qint64 delta = (consistentTimingTRUE | evaluated 97 times by 1 test | FALSE | evaluated 1844 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 79 times by 1 test | FALSE | evaluated 18 times by 1 test |
) ? | 18-1844 |
106 | timingInterval : totalElapsed - lastTick; | - |
107 | if (slowModeTRUE | never evaluated | FALSE | evaluated 1941 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-1941 |
108 | if (slowdownFactor > 0TRUE | 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 > 0TRUE | evaluated 1939 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-1939 |
122 | insideTick = true; | - |
123 | if (profilerCallbackTRUE | never evaluated | FALSE | evaluated 1939 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-1939 |
124 | profilerCallback(delta); never executed: profilerCallback(delta); | 0 |
125 | for (currentAnimationIdx = 0; currentAnimationIdx < animationTimers.count()TRUE | evaluated 1918 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 1939 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) { | 1918-1939 |
126 | QAbstractAnimationTimer *animation = animationTimers.at(currentAnimationIdx); | - |
127 | animation->updateAnimationsTime(delta); | - |
128 | }executed 1918 times by 12 tests: end of block 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
| 1918 |
129 | insideTick = false; | - |
130 | currentAnimationIdx = 0; | - |
131 | }executed 1939 times by 12 tests: end of block 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
| 1939 |
132 | }executed 1941 times by 12 tests: end of block 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
| 1941 |
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 (insideRestartTRUE | evaluated 21 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2069 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-2069 |
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 2038 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-2038 |
153 | driver->stop(); | - |
154 | int closestTimeToFinish = closestPausedAnimationTimerTimeToFinish(); | - |
155 | | - |
156 | Qt::TimerType timerType = closestTimeToFinish < 2000TRUE | 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 block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
else if (!driver->isRunning()TRUE | evaluated 124 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 1914 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-1914 |
159 | if (pauseTimer.isActive()TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 113 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-113 |
160 | pauseTimer.stop();executed 11 times by 2 tests: pauseTimer.stop(); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
161 | startAnimationDriver(); | - |
162 | }executed 124 times by 12 tests: end of block 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
| 124 |
163 | | - |
164 | }executed 2069 times by 12 tests: end of block 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
| 2069 |
165 | | - |
166 | void QUnifiedTimer::restart() | - |
167 | { | - |
168 | insideRestart = true; | - |
169 | for (int i = 0; i < animationTimers.count()TRUE | evaluated 1915 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 1935 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) | 1915-1935 |
170 | animationTimers.at(i)->restartAnimationTimer();executed 1915 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
| 1915 |
171 | insideRestart = false; | - |
172 | | - |
173 | localRestart(); | - |
174 | }executed 1935 times by 12 tests: end of block 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
| 1935 |
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 122 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-122 |
195 | if (!time.isValid()TRUE | evaluated 122 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-122 |
196 | lastTick = 0; | - |
197 | time.start(); | - |
198 | temporalDrift = 0; | - |
199 | driverStartTime = 0; | - |
200 | }executed 122 times by 12 tests: end of block 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
| 122 |
201 | localRestart(); | - |
202 | }executed 122 times by 12 tests: end of block 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
| 122 |
203 | }executed 122 times by 12 tests: end of block 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
| 122 |
204 | | - |
205 | void QUnifiedTimer::stopTimer() | - |
206 | { | - |
207 | stopTimerPending = false; | - |
208 | if (animationTimers.isEmpty()TRUE | evaluated 119 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-119 |
209 | stopAnimationDriver(); | - |
210 | pauseTimer.stop(); | - |
211 | | - |
212 | time.invalidate(); | - |
213 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
214 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
215 | | - |
216 | void QUnifiedTimer::timerEvent(QTimerEvent *event) | - |
217 | { | - |
218 | | - |
219 | | - |
220 | if (consistentTimingTRUE | evaluated 16 times by 1 test | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
) { | 3-16 |
221 | if (stopTimerPendingTRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
222 | stopTimer(); never executed: stopTimer(); | 0 |
223 | if (startTimersPendingTRUE | 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 block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
232 | }executed 19 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
233 | | - |
234 | void QUnifiedTimer::startAnimationTimer(QAbstractAnimationTimer *timer) | - |
235 | { | - |
236 | if (timer->isRegisteredTRUE | never evaluated | FALSE | evaluated 122 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-122 |
237 | return; never executed: return; | 0 |
238 | timer->isRegistered = true; | - |
239 | | - |
240 | QUnifiedTimer *inst = instance(true); | - |
241 | inst->animationTimersToStart << timer; | - |
242 | if (!inst->startTimersPendingTRUE | evaluated 122 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-122 |
243 | inst->startTimersPending = true; | - |
244 | QMetaObject::invokeMethod(inst, "startTimers", Qt::QueuedConnection); | - |
245 | }executed 122 times by 12 tests: end of block 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
| 122 |
246 | }executed 122 times by 12 tests: end of block 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
| 122 |
247 | | - |
248 | void QUnifiedTimer::stopAnimationTimer(QAbstractAnimationTimer *timer) | - |
249 | { | - |
250 | QUnifiedTimer *inst = QUnifiedTimer::instance(false); | - |
251 | if (instTRUE | evaluated 119 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-119 |
252 | | - |
253 | | - |
254 | | - |
255 | if (!timer->isRegisteredTRUE | never evaluated | FALSE | evaluated 119 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-119 |
256 | return; never executed: return; | 0 |
257 | timer->isRegistered = false; | - |
258 | | - |
259 | int idx = inst->animationTimers.indexOf(timer); | - |
260 | if (idx != -1TRUE | evaluated 119 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-119 |
261 | inst->animationTimers.removeAt(idx); | - |
262 | | - |
263 | if (idx <= inst->currentAnimationIdxTRUE | 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 1 time by 1 test |
) | 1-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 119 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->stopTimerPendingTRUE | evaluated 119 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-119 |
267 | inst->stopTimerPending = true; | - |
268 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
269 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
270 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
else { | 119 |
271 | inst->animationTimersToStart.removeOne(timer); | - |
272 | } never executed: end of block | 0 |
273 | } | - |
274 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
275 | | - |
276 | void QUnifiedTimer::pauseAnimationTimer(QAbstractAnimationTimer *timer, int duration) | - |
277 | { | - |
278 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - |
279 | if (!timer->isRegisteredTRUE | 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 (!timerWasPausedTRUE | 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 block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
289 | | - |
290 | void QUnifiedTimer::resumeAnimationTimer(QAbstractAnimationTimer *timer) | - |
291 | { | - |
292 | if (!timer->isPausedTRUE | evaluated 119 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-119 |
293 | return;executed 119 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
| 119 |
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 block Executed 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 != cendTRUE | 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 < closestTimeToFinishTRUE | 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 block Executed 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 != &defaultDriverTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
315 | QMessageLogger(__FILE__, 520, __PRETTY_FUNCTION__).warning("QUnifiedTimer: animation driver already installed..."); | - |
316 | return; never executed: return; | 0 |
317 | } | - |
318 | | - |
319 | bool running = driver->isRunning(); | - |
320 | if (runningTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
321 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
322 | driver = d; | - |
323 | if (runningTRUE | 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 != dTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
330 | QMessageLogger(__FILE__, 535, __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 (runningTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
336 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
337 | driver = &defaultDriver; | - |
338 | if (runningTRUE | 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 && driver != &defaultDriver;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::InitializedTRUE | 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 block 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 9988 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 9988 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-9988 |
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 block 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
- ...
| 28 |
362 | | - |
363 | QAnimationTimer *QAnimationTimer::instance(bool create) | - |
364 | { | - |
365 | QAnimationTimer *inst; | - |
366 | | - |
367 | if (createTRUE | evaluated 1538 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 2701 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 1510 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-2701 |
368 | inst = new QAnimationTimer; | - |
369 | animationTimer()->setLocalData(inst); | - |
370 | }executed 28 times by 28 tests: end of block 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
- ...
else { | 28 |
371 | inst = animationTimer()TRUE | evaluated 4211 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-4211 |
372 | }executed 4211 times by 28 tests: end of block 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
- ...
| 4211 |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | returnexecuted 4239 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 4239 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
- ...
| 4239 |
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 (instUTRUE | evaluated 760 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
- ...
|
&& instTRUE | evaluated 760 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->isPausedTRUE | evaluated 3 times by 1 test | FALSE | evaluated 757 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-760 |
390 | instU->updateAnimationTimers(-1);executed 3 times by 1 test: instU->updateAnimationTimers(-1); | 3 |
391 | }executed 1153 times by 28 tests: end of block 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
- ...
| 1153 |
392 | | - |
393 | void QAnimationTimer::updateAnimationsTime(qint64 delta) | - |
394 | { | - |
395 | | - |
396 | if (insideTickTRUE | never evaluated | FALSE | evaluated 1918 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-1918 |
397 | return; never executed: return; | 0 |
398 | | - |
399 | lastTick += delta; | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | if (deltaTRUE | evaluated 1918 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-1918 |
405 | insideTick = true; | - |
406 | for (currentAnimationIdx = 0; currentAnimationIdx < animations.count()TRUE | evaluated 2102 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 1918 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) { | 1918-2102 |
407 | QAbstractAnimation *animation = animations.at(currentAnimationIdx); | - |
408 | int elapsed = QAbstractAnimationPrivate::get(animation)->totalCurrentTime | - |
409 | + (animation->direction() == QAbstractAnimation::ForwardTRUE | evaluated 2047 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-2047 |
410 | animation->setCurrentTime(elapsed); | - |
411 | }executed 2102 times by 12 tests: end of block 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
| 2102 |
412 | insideTick = false; | - |
413 | currentAnimationIdx = 0; | - |
414 | }executed 1918 times by 12 tests: end of block 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
| 1918 |
415 | }executed 1918 times by 12 tests: end of block 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
| 1918 |
416 | | - |
417 | void QAnimationTimer::updateAnimationTimer() | - |
418 | { | - |
419 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
420 | if (instTRUE | 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 block Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
423 | | - |
424 | void QAnimationTimer::restartAnimationTimer() | - |
425 | { | - |
426 | if (runningLeafAnimations == 0TRUE | evaluated 139 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 1929 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 117 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
) | 22-1929 |
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 (isPausedTRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2035 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-2035 |
429 | QUnifiedTimer::resumeAnimationTimer(this);executed 11 times by 2 tests: QUnifiedTimer::resumeAnimationTimer(this); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
430 | else if (!isRegisteredTRUE | evaluated 113 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 1922 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
|
) | 113-1922 |
431 | QUnifiedTimer::startAnimationTimer(this);executed 113 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
| 113 |
432 | }executed 2068 times by 12 tests: end of block 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
| 2068 |
433 | | - |
434 | void QAnimationTimer::startAnimations() | - |
435 | { | - |
436 | if (!startAnimationPendingTRUE | never evaluated | FALSE | evaluated 286 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-286 |
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 143 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
|
) | 143 |
447 | restartAnimationTimer();executed 143 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
| 143 |
448 | }executed 286 times by 26 tests: end of block 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
- ...
| 286 |
449 | | - |
450 | void QAnimationTimer::stopTimer() | - |
451 | { | - |
452 | stopTimerPending = false; | - |
453 | bool pendingStart = startAnimationPendingTRUE | evaluated 32 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() > 0TRUE | evaluated 18 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QMainWindow
- tst_QStateMachine
|
; | 14-106 |
454 | if (animations.isEmpty()TRUE | evaluated 137 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 |
&& !pendingStartTRUE | evaluated 119 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-137 |
455 | QUnifiedTimer::resumeAnimationTimer(this); | - |
456 | QUnifiedTimer::stopAnimationTimer(this); | - |
457 | | - |
458 | lastTick = 0; | - |
459 | }executed 119 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 119 |
460 | }executed 138 times by 12 tests: end of block 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
| 138 |
461 | | - |
462 | void QAnimationTimer::registerAnimation(QAbstractAnimation *animation, bool isTopLevel) | - |
463 | { | - |
464 | QAnimationTimer *inst = instance(true); | - |
465 | inst->registerRunningAnimation(animation); | - |
466 | if (isTopLevelTRUE | evaluated 1121 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-1121 |
467 | ((!(!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer)) ? qt_assert("!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer",__FILE__,672) : qt_noop()); | - |
468 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = true; | - |
469 | inst->animationsToStart << animation; | - |
470 | if (!inst->startAnimationPendingTRUE | evaluated 291 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
|
) { | 291-830 |
471 | inst->startAnimationPending = true; | - |
472 | QMetaObject::invokeMethod(inst, "startAnimations", Qt::QueuedConnection); | - |
473 | }executed 291 times by 28 tests: end of block 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
- ...
| 291 |
474 | }executed 1121 times by 28 tests: end of block 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
- ...
| 1121 |
475 | }executed 1538 times by 28 tests: end of block 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
- ...
| 1538 |
476 | | - |
477 | void QAnimationTimer::unregisterAnimation(QAbstractAnimation *animation) | - |
478 | { | - |
479 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
480 | if (instTRUE | evaluated 1538 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-1538 |
481 | | - |
482 | | - |
483 | | - |
484 | inst->unregisterRunningAnimation(animation); | - |
485 | | - |
486 | if (!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimerTRUE | evaluated 417 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1121 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-1121 |
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 != -1TRUE | evaluated 157 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
|
) { | 157-964 |
491 | inst->animations.removeAt(idx); | - |
492 | | - |
493 | if (idx <= inst->currentAnimationIdxTRUE | evaluated 150 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-150 |
494 | --executed 150 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 150 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
| 150 |
495 | | - |
496 | if (inst->animations.isEmpty()TRUE | evaluated 141 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->stopTimerPendingTRUE | evaluated 141 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-141 |
497 | inst->stopTimerPending = true; | - |
498 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
499 | }executed 141 times by 12 tests: end of block 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
| 141 |
500 | }executed 157 times by 12 tests: end of block 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
else { | 157 |
501 | inst->animationsToStart.removeOne(animation); | - |
502 | }executed 964 times by 23 tests: end of block Executed 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 1121 times by 28 tests: end of block 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
- ...
| 1121 |
506 | | - |
507 | void QAnimationTimer::registerRunningAnimation(QAbstractAnimation *animation) | - |
508 | { | - |
509 | if (QAbstractAnimationPrivate::get(animation)->isGroupTRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1426 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-1426 |
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)->isPauseTRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1399 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-1399 |
513 | runningPauseAnimations << animation; | - |
514 | }executed 27 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
else | 27 |
515 | runningLeafAnimations++;executed 1399 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
- ...
| 1399 |
516 | } | - |
517 | | - |
518 | void QAnimationTimer::unregisterRunningAnimation(QAbstractAnimation *animation) | - |
519 | { | - |
520 | if (QAbstractAnimationPrivate::get(animation)->isGroupTRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1426 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-1426 |
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)->isPauseTRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1399 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-1399 |
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 1399 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
- ...
| 1399 |
527 | ((!(runningLeafAnimations >= 0)) ? qt_assert("runningLeafAnimations >= 0",__FILE__,732) : qt_noop()); | - |
528 | }executed 1426 times by 28 tests: end of block 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
- ...
| 1426 |
529 | | - |
530 | int QAnimationTimer::closestPauseAnimationTimeToFinish() | - |
531 | { | - |
532 | int closestTimeToFinish = 2147483647; | - |
533 | for (AnimationListConstIt it = runningPauseAnimations.constBegin(), cend = runningPauseAnimations.constEnd(); it != cendTRUE | 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::ForwardTRUE | 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 < closestTimeToFinishTRUE | 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 block Executed 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 block 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
- ...
| 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 (timerTRUE | 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 block Executed 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 1916 times by 12 tests: end of block 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
| 1916 |
578 | void QAnimationDriver::advance() | - |
579 | { | - |
580 | advanceAnimation(-1); | - |
581 | }executed 1916 times by 12 tests: end of block 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
| 1916 |
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 4751 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 4751 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
- ...
| 4751 |
603 | } | - |
604 | | - |
605 | | - |
606 | void QAnimationDriver::start() | - |
607 | { | - |
608 | QAnimationDriverPrivate * const d = d_func(); | - |
609 | if (!d->runningTRUE | evaluated 124 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-124 |
610 | d->running = true; | - |
611 | d->timer.start(); | - |
612 | started(); | - |
613 | }executed 124 times by 12 tests: end of block 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
| 124 |
614 | }executed 124 times by 12 tests: end of block 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
| 124 |
615 | | - |
616 | | - |
617 | void QAnimationDriver::stop() | - |
618 | { | - |
619 | QAnimationDriverPrivate * const d = d_func(); | - |
620 | if (d->runningTRUE | evaluated 121 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-121 |
621 | d->running = false; | - |
622 | stopped(); | - |
623 | }executed 121 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
624 | }executed 150 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 150 |
625 | qint64 QAnimationDriver::elapsed() const | - |
626 | { | - |
627 | const QAnimationDriverPrivate * const d = d_func(); | - |
628 | returnexecuted 2072 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 ? d->timer.elapsed() : 0;executed 2072 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
| 2072 |
629 | } | - |
630 | QDefaultAnimationDriver::QDefaultAnimationDriver(QUnifiedTimer *timer) | - |
631 | : QAnimationDriver(0), m_unified_timer(timer) | - |
632 | { | - |
633 | connect(this, qFlagLocation("2""started()" "\0" __FILE__ ":" "933"), this, qFlagLocation("1""startTimer()" "\0" __FILE__ ":" "933")); | - |
634 | connect(this, qFlagLocation("2""stopped()" "\0" __FILE__ ":" "934"), this, qFlagLocation("1""stopTimer()" "\0" __FILE__ ":" "934")); | - |
635 | }executed 26 times by 26 tests: end of block 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
- ...
| 26 |
636 | | - |
637 | void QDefaultAnimationDriver::timerEvent(QTimerEvent *e) | - |
638 | { | - |
639 | ((!(e->timerId() == m_timer.timerId())) ? qt_assert("e->timerId() == m_timer.timerId()",__FILE__,939) : qt_noop()); | - |
640 | (void)e;; | - |
641 | advance(); | - |
642 | }executed 1916 times by 12 tests: end of block 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
| 1916 |
643 | | - |
644 | void QDefaultAnimationDriver::startTimer() | - |
645 | { | - |
646 | | - |
647 | m_timer.start(m_unified_timer->timingInterval, Qt::PreciseTimer, this); | - |
648 | }executed 124 times by 12 tests: end of block 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
| 124 |
649 | | - |
650 | void QDefaultAnimationDriver::stopTimer() | - |
651 | { | - |
652 | m_timer.stop(); | - |
653 | }executed 121 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
654 | | - |
655 | | - |
656 | | - |
657 | void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState) | - |
658 | { | - |
659 | QAbstractAnimation * const q = q_func(); | - |
660 | if (state == newStateTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3037 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-3037 |
661 | return;executed 1 time by 1 test: return; | 1 |
662 | | - |
663 | if (loopCount == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3036 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-3036 |
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::PausedTRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2978 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::RunningTRUE | evaluated 1538 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 1440 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-2978 |
673 | && oldState == QAbstractAnimation::StoppedTRUE | evaluated 1526 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-1526 |
674 | | - |
675 | | - |
676 | | - |
677 | totalCurrentTime = currentTime = (TRUE | evaluated 1407 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 1407 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-1407 |
678 | 0 : (loopCount == -1TRUE | 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 1526 times by 28 tests: end of block 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
- ...
| 1526 |
680 | | - |
681 | state = newState; | - |
682 | QPointer<QAbstractAnimation> guard(q); | - |
683 | | - |
684 | | - |
685 | | - |
686 | bool isTopLevel = !groupTRUE | evaluated 2218 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::StoppedTRUE | 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-2218 |
687 | if (oldState == QAbstractAnimation::RunningTRUE | evaluated 1456 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 1580 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
- ...
|
) { | 1456-1580 |
688 | if (newState == QAbstractAnimation::PausedTRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1398 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
- ...
|
&& hasRegisteredTimerTRUE | 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-1398 |
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 1456 times by 26 tests: end of block 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
- ...
else if (newState == QAbstractAnimation::RunningTRUE | evaluated 1538 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-1538 |
693 | QAnimationTimer::registerAnimation(q, isTopLevel); | - |
694 | }executed 1538 times by 28 tests: end of block 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
- ...
| 1538 |
695 | | - |
696 | q->updateState(newState, oldState); | - |
697 | if (!guardTRUE | never evaluated | FALSE | evaluated 3036 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 != stateTRUE | never evaluated | FALSE | evaluated 3036 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-3036 |
698 | return; never executed: return; | 0 |
699 | | - |
700 | | - |
701 | q->stateChanged(newState, oldState); | - |
702 | if (!guardTRUE | never evaluated | FALSE | evaluated 3036 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 != stateTRUE | never evaluated | FALSE | evaluated 3036 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-3036 |
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 1538 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 1538 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
- ...
| 1538 |
709 | { | - |
710 | | - |
711 | | - |
712 | if (oldState == QAbstractAnimation::StoppedTRUE | evaluated 1526 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-1526 |
713 | if (isTopLevelTRUE | evaluated 1114 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-1114 |
714 | | - |
715 | QAnimationTimer::ensureTimerUpdate(); | - |
716 | q->setCurrentTime(totalCurrentTime); | - |
717 | }executed 1114 times by 28 tests: end of block 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
- ...
| 1114 |
718 | }executed 1526 times by 28 tests: end of block 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
- ...
| 1526 |
719 | } | - |
720 | break;executed 1538 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
- ...
| 1538 |
721 | caseexecuted 1440 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 1440 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
- ...
| 1440 |
722 | | - |
723 | int dura = q->duration(); | - |
724 | | - |
725 | if (deleteWhenStoppedTRUE | evaluated 855 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-855 |
726 | q->deleteLater();executed 855 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
| 855 |
727 | | - |
728 | if (dura == -1TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QScroller
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1424 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 < 0TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1415 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-1424 |
729 | || (oldDirection == QAbstractAnimation::ForwardTRUE | evaluated 1323 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 101 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QMainWindow
- 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 101 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) | 92-1323 |
730 | || (oldDirection == QAbstractAnimation::BackwardTRUE | evaluated 92 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
| FALSE | evaluated 101 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
&& oldCurrentTime == 0TRUE | 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-101 |
731 | q->finished(); | - |
732 | }executed 1334 times by 25 tests: end of block Executed 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 1440 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
- ...
| 1440 |
734 | } | - |
735 | }executed 3036 times by 28 tests: end of block 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
- ...
| 3036 |
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 block Executed 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 2166 times by 43 tests: end of block Executed 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
- ...
| 2166 |
759 | | - |
760 | | - |
761 | | - |
762 | | - |
763 | | - |
764 | | - |
765 | QAbstractAnimation::~QAbstractAnimation() | - |
766 | { | - |
767 | QAbstractAnimationPrivate * const d = d_func(); | - |
768 | | - |
769 | if (d->state != StoppedTRUE | evaluated 86 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| FALSE | evaluated 1982 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-1982 |
770 | QAbstractAnimation::State oldState = d->state; | - |
771 | d->state = Stopped; | - |
772 | stateChanged(oldState, d->state); | - |
773 | if (oldState == QAbstractAnimation::RunningTRUE | 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 block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 86 |
776 | }executed 2068 times by 45 tests: end of block Executed 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
- ...
| 2068 |
777 | QAbstractAnimation::State QAbstractAnimation::state() const | - |
778 | { | - |
779 | const QAbstractAnimationPrivate * const d = d_func(); | - |
780 | returnexecuted 3997 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 3997 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
| 3997 |
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 2165 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 2165 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
| 2165 |
798 | } | - |
799 | void QAbstractAnimation::setDirection(Direction direction) | - |
800 | { | - |
801 | QAbstractAnimationPrivate * const d = d_func(); | - |
802 | if (d->direction == directionTRUE | 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() == StoppedTRUE | 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 == BackwardTRUE | 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 block Executed 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 block Executed by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
| 2 |
813 | } | - |
814 | | - |
815 | | - |
816 | | - |
817 | if (d->hasRegisteredTimerTRUE | 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->hasRegisteredTimerTRUE | 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 block Executed 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 8171 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 8171 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
| 8171 |
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 block Executed 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 <= 0TRUE | evaluated 1192 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 8001 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
) | 1192-8001 |
848 | returnexecuted 1192 times by 5 tests: return dura; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
dura;executed 1192 times by 5 tests: return dura; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 1192 |
849 | int loopcount = loopCount(); | - |
850 | if (loopcount < 0TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 7969 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
) | 32-7969 |
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 7969 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 7969 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
| 7969 |
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 <= 0TRUE | evaluated 1306 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 3855 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 3818 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 3818 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-3855 |
879 | if (totalDura != -1TRUE | evaluated 4819 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 342 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
|
) | 342-4819 |
880 | msecs = qMin(totalDura, msecs);executed 4819 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
- ...
| 4819 |
881 | d->totalCurrentTime = msecs; | - |
882 | | - |
883 | | - |
884 | int oldLoop = d->currentLoop; | - |
885 | d->currentLoop = ((TRUE | evaluated 1306 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 3855 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 1306 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 3855 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)); | 1306-3855 |
886 | if (d->currentLoop == d->loopCountTRUE | 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 4746 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-4746 |
887 | | - |
888 | d->currentTime = qMax(0, dura); | - |
889 | d->currentLoop = qMax(0, d->loopCount - 1); | - |
890 | }executed 415 times by 11 tests: end of block Executed 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 == ForwardTRUE | evaluated 4513 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-4513 |
892 | d->currentTime = (TRUE | evaluated 1276 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 3237 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 1276 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 3237 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); | 1276-3237 |
893 | }executed 4513 times by 27 tests: end of block 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_QWidget
- ...
else { | 4513 |
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 == duraTRUE | 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 block Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
| 233 |
898 | } | - |
899 | | - |
900 | updateCurrentTime(d->currentTime); | - |
901 | if (d->currentLoop != oldLoopTRUE | evaluated 237 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 4924 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-4924 |
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 == ForwardTRUE | evaluated 4851 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 == totalDuraTRUE | 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 3544 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-4851 |
908 | || (d->direction == BackwardTRUE | evaluated 310 times by 6 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| FALSE | evaluated 3544 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 == 0TRUE | 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-3544 |
909 | stop(); | - |
910 | }executed 1381 times by 25 tests: end of block 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_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1381 |
911 | }executed 5161 times by 28 tests: end of block 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
- ...
| 5161 |
912 | void QAbstractAnimation::start(DeletionPolicy policy) | - |
913 | { | - |
914 | QAbstractAnimationPrivate * const d = d_func(); | - |
915 | if (d->state == RunningTRUE | evaluated 476 times by 7 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1534 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-1534 |
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 1534 times by 28 tests: end of block 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
- ...
| 1534 |
920 | void QAbstractAnimation::stop() | - |
921 | { | - |
922 | QAbstractAnimationPrivate * const d = d_func(); | - |
923 | | - |
924 | if (d->state == StoppedTRUE | 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 1440 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
- ...
|
) | 1440-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 1440 times by 26 tests: end of block 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
- ...
| 1440 |
929 | void QAbstractAnimation::pause() | - |
930 | { | - |
931 | QAbstractAnimationPrivate * const d = d_func(); | - |
932 | if (d->state == StoppedTRUE | 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__, 1399, __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 block Executed 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 != PausedTRUE | 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__, 1417, __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 block Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 5 |
950 | | - |
951 | | - |
952 | | - |
953 | | - |
954 | | - |
955 | | - |
956 | | - |
957 | void QAbstractAnimation::setPaused(bool paused) | - |
958 | { | - |
959 | if (pausedTRUE | 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 block Executed 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 block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
- tst_QTreeWidget
| 79 |
990 | | - |
991 | | - |
992 | | - |
993 | | - |
| | |