Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | void QVariantAnimation::updateCurrentValue(const QVariant &) {} | - |
9 | | - |
10 | static bool animationValueLessThan(const QVariantAnimation::KeyValue &p1, const QVariantAnimation::KeyValue &p2) | - |
11 | { | - |
12 | returnexecuted 6706 times by 26 tests: return p1.first < p2.first; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
p1.first < p2.first;executed 6706 times by 26 tests: return p1.first < p2.first; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 6706 |
13 | } | - |
14 | | - |
15 | static QVariant defaultInterpolator(const void *, const void *, qreal) | - |
16 | { | - |
17 | returnexecuted 2 times by 1 test: return QVariant(); QVariant();executed 2 times by 1 test: return QVariant(); | 2 |
18 | } | - |
19 | | - |
20 | template<> inline QRect _q_interpolate(const QRect &f, const QRect &t, qreal progress) | - |
21 | { | - |
22 | QRect ret; | - |
23 | ret.setCoords(_q_interpolate(f.left(), t.left(), progress), | - |
24 | _q_interpolate(f.top(), t.top(), progress), | - |
25 | _q_interpolate(f.right(), t.right(), progress), | - |
26 | _q_interpolate(f.bottom(), t.bottom(), progress)); | - |
27 | returnexecuted 1846 times by 15 tests: return ret; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
ret;executed 1846 times by 15 tests: return ret; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1846 |
28 | } | - |
29 | | - |
30 | template<> inline QRectF _q_interpolate(const QRectF &f, const QRectF &t, qreal progress) | - |
31 | { | - |
32 | qreal x1, y1, w1, h1; | - |
33 | f.getRect(&x1, &y1, &w1, &h1); | - |
34 | qreal x2, y2, w2, h2; | - |
35 | t.getRect(&x2, &y2, &w2, &h2); | - |
36 | return never executed: return QRectF(_q_interpolate(x1, x2, progress), _q_interpolate(y1, y2, progress), _q_interpolate(w1, w2, progress), _q_interpolate(h1, h2, progress)); QRectF(_q_interpolate(x1, x2, progress), _q_interpolate(y1, y2, progress),never executed: return QRectF(_q_interpolate(x1, x2, progress), _q_interpolate(y1, y2, progress), _q_interpolate(w1, w2, progress), _q_interpolate(h1, h2, progress)); | 0 |
37 | _q_interpolate(w1, w2, progress), _q_interpolate(h1, h2, progress)); never executed: return QRectF(_q_interpolate(x1, x2, progress), _q_interpolate(y1, y2, progress), _q_interpolate(w1, w2, progress), _q_interpolate(h1, h2, progress)); | 0 |
38 | } | - |
39 | | - |
40 | template<> inline QLine _q_interpolate(const QLine &f, const QLine &t, qreal progress) | - |
41 | { | - |
42 | return never executed: return QLine( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress)); QLine( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress));never executed: return QLine( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress)); | 0 |
43 | } | - |
44 | | - |
45 | template<> inline QLineF _q_interpolate(const QLineF &f, const QLineF &t, qreal progress) | - |
46 | { | - |
47 | return never executed: return QLineF( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress)); QLineF( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress));never executed: return QLineF( _q_interpolate(f.p1(), t.p1(), progress), _q_interpolate(f.p2(), t.p2(), progress)); | 0 |
48 | } | - |
49 | | - |
50 | QVariantAnimationPrivate::QVariantAnimationPrivate() : duration(250), interpolator(&defaultInterpolator) | - |
51 | { }executed 1979 times by 42 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- 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
- tst_QPropertyAnimation
- ...
| 1979 |
52 | | - |
53 | void QVariantAnimationPrivate::convertValues(int t) | - |
54 | { | - |
55 | | - |
56 | for (int i = 0; i < keyValues.count()TRUE | evaluated 1109 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 2110 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
|
; ++i) { | 1109-2110 |
57 | QVariantAnimation::KeyValue &pair = keyValues[i]; | - |
58 | pair.second.convert(t); | - |
59 | }executed 1109 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1109 |
60 | | - |
61 | currentInterval.start.second.convert(t); | - |
62 | currentInterval.end.second.convert(t); | - |
63 | | - |
64 | | - |
65 | updateInterpolator(); | - |
66 | }executed 2110 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 2110 |
67 | | - |
68 | void QVariantAnimationPrivate::updateInterpolator() | - |
69 | { | - |
70 | int type = currentInterval.start.second.userType(); | - |
71 | if (type == currentInterval.end.second.userType()TRUE | evaluated 3452 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 2 times by 1 test |
) | 2-3452 |
72 | interpolator = getInterpolator(type);executed 3452 times by 26 tests: interpolator = getInterpolator(type); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 3452 |
73 | else | - |
74 | interpolator = 0;executed 2 times by 1 test: interpolator = 0; | 2 |
75 | | - |
76 | | - |
77 | if (!interpolatorTRUE | evaluated 1997 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 1457 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 1457-1997 |
78 | interpolator = &defaultInterpolator;executed 1997 times by 23 tests: interpolator = &defaultInterpolator; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1997 |
79 | }executed 3454 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 3454 |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | void QVariantAnimationPrivate::recalculateCurrentInterval(bool force ) | - |
88 | { | - |
89 | | - |
90 | if ((TRUE | evaluated 3920 times by 42 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- 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
- tst_QPropertyAnimation
- ...
| FALSE | evaluated 5163 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
keyValues.count() + (defaultStartEndValue.isValid()TRUE | evaluated 4109 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 4974 times by 42 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- 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
- tst_QPropertyAnimation
- ...
|
? 1 : 0)) < 2TRUE | evaluated 3920 times by 42 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- 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
- tst_QPropertyAnimation
- ...
| FALSE | evaluated 5163 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
) | 3920-5163 |
91 | return;executed 3920 times by 42 tests: return; Executed by:- tst_Gestures
- tst_ModelTest
- 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
- tst_QPropertyAnimation
- ...
| 3920 |
92 | | - |
93 | const qreal endProgress = (TRUE | evaluated 4899 times by 25 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_QTreeView
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 264 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeView
- tst_QTreeWidget
|
direction == QAbstractAnimation::Forward)TRUE | evaluated 4899 times by 25 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_QTreeView
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 264 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeView
- tst_QTreeWidget
|
? qreal(1) : qreal(0); | 264-4899 |
94 | const qreal progress = easing.valueForProgress(((duration == 0) ? endProgress : qreal(currentTime) / qreal(duration))); | - |
95 | | - |
96 | | - |
97 | if (forceTRUE | evaluated 1344 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 3819 times by 25 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
|| (currentInterval.start.first > 0TRUE | never evaluated | FALSE | evaluated 3819 times by 25 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
&& progress < currentInterval.start.firstTRUE | never evaluated | FALSE | never evaluated |
) | 0-3819 |
98 | || (currentInterval.end.first < 1TRUE | never evaluated | FALSE | evaluated 3819 times by 25 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
&& progress > currentInterval.end.firstTRUE | never evaluated | FALSE | never evaluated |
)) { | 0-3819 |
99 | | - |
100 | QVariantAnimation::KeyValues::const_iterator it = std::lower_bound(keyValues.constBegin(), | - |
101 | keyValues.constEnd(), | - |
102 | qMakePair(progress, QVariant()), | - |
103 | animationValueLessThan); | - |
104 | if (it == keyValues.constBegin()TRUE | evaluated 1325 times by 25 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_QTreeView
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 19 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QTreeWidget
|
) { | 19-1325 |
105 | | - |
106 | if (it->first == 0TRUE | evaluated 239 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
| FALSE | evaluated 1086 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
|
&& keyValues.count() > 1TRUE | evaluated 238 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
| FALSE | evaluated 1 time by 1 test |
) { | 1-1086 |
107 | currentInterval.start = *it; | - |
108 | currentInterval.end = *(it+1); | - |
109 | }executed 238 times by 5 tests: end of block Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
else { | 238 |
110 | currentInterval.start = qMakePair(qreal(0), defaultStartEndValue); | - |
111 | currentInterval.end = *it; | - |
112 | }executed 1087 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1087 |
113 | } else if (it == keyValues.constEnd()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QTreeWidget
|
) { | 2-17 |
114 | --it; | - |
115 | if (it->first == 1TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
&& keyValues.count() > 1TRUE | never evaluated | FALSE | never evaluated |
) { | 0-2 |
116 | | - |
117 | currentInterval.start = *(it-1); | - |
118 | currentInterval.end = *it; | - |
119 | } never executed: end of block else { | 0 |
120 | | - |
121 | currentInterval.start = *it; | - |
122 | currentInterval.end = qMakePair(qreal(1), defaultStartEndValue); | - |
123 | }executed 2 times by 1 test: end of block | 2 |
124 | } else { | - |
125 | currentInterval.start = *(it-1); | - |
126 | currentInterval.end = *it; | - |
127 | }executed 17 times by 2 tests: end of block Executed by:- tst_QPropertyAnimation
- tst_QTreeWidget
| 17 |
128 | | - |
129 | | - |
130 | updateInterpolator(); | - |
131 | }executed 1344 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1344 |
132 | setCurrentValueForProgress(progress); | - |
133 | }executed 5163 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 5163 |
134 | | - |
135 | void QVariantAnimationPrivate::setCurrentValueForProgress(const qreal progress) | - |
136 | { | - |
137 | QVariantAnimation * const q = q_func(); | - |
138 | | - |
139 | const qreal startProgress = currentInterval.start.first; | - |
140 | const qreal endProgress = currentInterval.end.first; | - |
141 | const qreal localProgress = (progress - startProgress) / (endProgress - startProgress); | - |
142 | | - |
143 | QVariant ret = q->interpolated(currentInterval.start.second, | - |
144 | currentInterval.end.second, | - |
145 | localProgress); | - |
146 | qSwap(currentValue, ret); | - |
147 | q->updateCurrentValue(currentValue); | - |
148 | static QBasicAtomicInt changedSignalIndex = { 0 }; | - |
149 | if (!changedSignalIndex.load()TRUE | evaluated 26 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 5137 times by 25 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 26-5137 |
150 | | - |
151 | changedSignalIndex.testAndSetRelaxed(0, signalIndex("valueChanged(QVariant)")); | - |
152 | }executed 26 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
153 | if (isSignalConnected(changedSignalIndex.load())TRUE | evaluated 65 times by 1 test | FALSE | evaluated 5098 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
&& currentValue != retTRUE | evaluated 6 times by 1 test | FALSE | evaluated 59 times by 1 test |
) { | 6-5098 |
154 | | - |
155 | q->valueChanged(currentValue); | - |
156 | }executed 6 times by 1 test: end of block | 6 |
157 | }executed 5163 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 5163 |
158 | | - |
159 | QVariant QVariantAnimationPrivate::valueAt(qreal step) const | - |
160 | { | - |
161 | QVariantAnimation::KeyValues::const_iterator result = | - |
162 | std::lower_bound(keyValues.constBegin(), keyValues.constEnd(), qMakePair(step, QVariant()), animationValueLessThan); | - |
163 | if (result != keyValues.constEnd()TRUE | evaluated 2293 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 39 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QStateMachine
|
&& !animationValueLessThan(qMakePair(step, QVariant()), *result)TRUE | evaluated 1255 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 1038 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
|
) | 39-2293 |
164 | returnexecuted 1255 times by 26 tests: return result->second; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
result->second;executed 1255 times by 26 tests: return result->second; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1255 |
165 | | - |
166 | returnexecuted 1077 times by 23 tests: return QVariant(); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
QVariant();executed 1077 times by 23 tests: return QVariant(); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1077 |
167 | } | - |
168 | | - |
169 | void QVariantAnimationPrivate::setValueAt(qreal step, const QVariant &value) | - |
170 | { | - |
171 | if (step < qreal(0.0)TRUE | never evaluated | FALSE | evaluated 1471 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
|| step > qreal(1.0)TRUE | never evaluated | FALSE | evaluated 1471 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
|
) { | 0-1471 |
172 | QMessageLogger(__FILE__, 319, __PRETTY_FUNCTION__).warning("QVariantAnimation::setValueAt: invalid step = %f", step); | - |
173 | return; never executed: return; | 0 |
174 | } | - |
175 | | - |
176 | QVariantAnimation::KeyValue pair(step, value); | - |
177 | | - |
178 | QVariantAnimation::KeyValues::iterator result = std::lower_bound(keyValues.begin(), keyValues.end(), pair, animationValueLessThan); | - |
179 | if (result == keyValues.end()TRUE | evaluated 1341 times by 26 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_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 130 times by 7 testsEvaluated by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
|
|| result->first != stepTRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QTreeWidget
| FALSE | evaluated 125 times by 6 testsEvaluated by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QVariantAnimation
|
) { | 5-1341 |
180 | keyValues.insert(result, pair); | - |
181 | }executed 1346 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
else { | 1346 |
182 | if (value.isValid()TRUE | evaluated 88 times by 5 testsEvaluated by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
| FALSE | evaluated 37 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QStateMachine
|
) | 37-88 |
183 | result->second = value;executed 88 times by 5 tests: result->second = value; Executed by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
| 88 |
184 | else | - |
185 | keyValues.erase(result);executed 37 times by 2 tests: keyValues.erase(result); Executed by:- tst_QPropertyAnimation
- tst_QStateMachine
| 37 |
186 | } | - |
187 | | - |
188 | recalculateCurrentInterval( true); | - |
189 | }executed 1471 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1471 |
190 | | - |
191 | void QVariantAnimationPrivate::setDefaultStartEndValue(const QVariant &value) | - |
192 | { | - |
193 | defaultStartEndValue = value; | - |
194 | recalculateCurrentInterval( true); | - |
195 | }executed 1071 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1071 |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | QVariantAnimation::QVariantAnimation(QObject *parent) : QAbstractAnimation(*new QVariantAnimationPrivate, parent) | - |
202 | { | - |
203 | }executed 904 times by 25 tests: end of block Executed by:- tst_ModelTest
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QComboBox
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemView
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
- tst_QSortFilterProxyModel
- tst_QSplitter
- tst_QStandardItemModel
- tst_QStyleSheetStyle
- tst_QTreeView
- tst_QTreeWidget
- tst_QTreeWidgetItemIterator
- tst_QVariantAnimation
- tst_QWidget
- tst_QWizard
- tst_languageChange
| 904 |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | QVariantAnimation::QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent) : QAbstractAnimation(dd, parent) | - |
209 | { | - |
210 | }executed 1075 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1075 |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | QVariantAnimation::~QVariantAnimation() | - |
216 | { | - |
217 | } | - |
218 | QEasingCurve QVariantAnimation::easingCurve() const | - |
219 | { | - |
220 | const QVariantAnimationPrivate * const d = d_func(); | - |
221 | returnexecuted 2 times by 1 test: return d->easing; d->easing;executed 2 times by 1 test: return d->easing; | 2 |
222 | } | - |
223 | | - |
224 | void QVariantAnimation::setEasingCurve(const QEasingCurve &easing) | - |
225 | { | - |
226 | QVariantAnimationPrivate * const d = d_func(); | - |
227 | d->easing = easing; | - |
228 | d->recalculateCurrentInterval(); | - |
229 | }executed 1614 times by 36 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QSortFilterProxyModel
- tst_QSplitter
- tst_QStandardItemModel
- ...
| 1614 |
230 | | - |
231 | typedef QVector<QVariantAnimation::Interpolator> QInterpolatorVector; | - |
232 | namespace { namespace Q_QGS_registeredInterpolators { typedef QInterpolatorVector Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 5 times by 5 testsEvaluated by:- tst_qanimationgroup - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qvariantanimation - unknown status
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 5 times by 5 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_qanimationgroup - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qvariantanimation - unknown status
}executed 5 times by 5 tests: end of block Executed by:- tst_qanimationgroup - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qvariantanimation - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 5595 times by 263 tests: return &holder.value; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- 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_QVariantAnimation
- ...
&holder.value;executed 5595 times by 263 tests: return &holder.value; Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- 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_QVariantAnimation
- ...
} } } static QGlobalStatic<QInterpolatorVector, Q_QGS_registeredInterpolators::innerFunction, Q_QGS_registeredInterpolators::guard> registeredInterpolators; | 0-5595 |
233 | static QBasicMutex registeredInterpolatorsMutex; | - |
234 | void QVariantAnimation::registerInterpolator(QVariantAnimation::Interpolator func, int interpolationType) | - |
235 | { | - |
236 | | - |
237 | QInterpolatorVector *interpolators = registeredInterpolators(); | - |
238 | | - |
239 | | - |
240 | | - |
241 | if (interpolatorsTRUE | evaluated 2143 times by 238 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QPropertyAnimation
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- ...
| FALSE | never evaluated |
) { | 0-2143 |
242 | QMutexLocker locker(®isteredInterpolatorsMutex); | - |
243 | if (int(interpolationType) >= interpolators->count()TRUE | evaluated 161 times by 4 testsEvaluated by:- tst_QPropertyAnimation
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 1982 times by 238 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
- tst_QPropertyAnimation
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- ...
|
) | 161-1982 |
244 | interpolators->resize(int(interpolationType) + 1);executed 161 times by 4 tests: interpolators->resize(int(interpolationType) + 1); Executed by:- tst_QPropertyAnimation
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 161 |
245 | interpolators->replace(interpolationType, func); | - |
246 | }executed 2143 times by 238 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_QPropertyAnimation
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- ...
| 2143 |
247 | }executed 2143 times by 238 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_QPropertyAnimation
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuttongroup - unknown status
- tst_qcalendarwidget - unknown status
- tst_qcheckbox - unknown status
- ...
| 2143 |
248 | | - |
249 | | - |
250 | template<typename T> static inline QVariantAnimation::Interpolator castToInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) | - |
251 | { | - |
252 | returnexecuted 1451 times by 26 tests: return reinterpret_cast<QVariantAnimation::Interpolator>(func); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
reinterpret_cast<QVariantAnimation::Interpolator>(func);executed 1451 times by 26 tests: return reinterpret_cast<QVariantAnimation::Interpolator>(func); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1451 |
253 | } | - |
254 | | - |
255 | QVariantAnimation::Interpolator QVariantAnimationPrivate::getInterpolator(int interpolationType) | - |
256 | { | - |
257 | { | - |
258 | QInterpolatorVector *interpolators = registeredInterpolators(); | - |
259 | QMutexLocker locker(®isteredInterpolatorsMutex); | - |
260 | QVariantAnimation::Interpolator ret = 0; | - |
261 | if (interpolationType < interpolators->count()TRUE | evaluated 3088 times by 21 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 364 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
- tst_QVariantAnimation
|
) { | 364-3088 |
262 | ret = interpolators->at(interpolationType); | - |
263 | if (retTRUE | evaluated 6 times by 1 test | FALSE | evaluated 3082 times by 21 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) returnexecuted 6 times by 1 test: return ret; ret;executed 6 times by 1 test: return ret; | 6-3082 |
264 | }executed 3082 times by 21 tests: end of block Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 3082 |
265 | } | - |
266 | | - |
267 | switch(interpolationType) | - |
268 | { | - |
269 | caseexecuted 529 times by 10 tests: case QMetaType::Int: Executed by:- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
QMetaType::Int:executed 529 times by 10 tests: case QMetaType::Int: Executed by:- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
| 529 |
270 | returnexecuted 529 times by 10 tests: return castToInterpolator(_q_interpolateVariant<int>); Executed by:- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
castToInterpolator(_q_interpolateVariant<int>);executed 529 times by 10 tests: return castToInterpolator(_q_interpolateVariant<int>); Executed by:- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
| 529 |
271 | case never executed: case QMetaType::UInt: QMetaType::UInt:never executed: case QMetaType::UInt: | 0 |
272 | return never executed: return castToInterpolator(_q_interpolateVariant<uint>); castToInterpolator(_q_interpolateVariant<uint>);never executed: return castToInterpolator(_q_interpolateVariant<uint>); | 0 |
273 | caseexecuted 71 times by 3 tests: case QMetaType::Double: Executed by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QStateMachine
QMetaType::Double:executed 71 times by 3 tests: case QMetaType::Double: Executed by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QStateMachine
| 71 |
274 | returnexecuted 71 times by 3 tests: return castToInterpolator(_q_interpolateVariant<double>); Executed by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QStateMachine
castToInterpolator(_q_interpolateVariant<double>);executed 71 times by 3 tests: return castToInterpolator(_q_interpolateVariant<double>); Executed by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QStateMachine
| 71 |
275 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
276 | return never executed: return castToInterpolator(_q_interpolateVariant<float>); castToInterpolator(_q_interpolateVariant<float>);never executed: return castToInterpolator(_q_interpolateVariant<float>); | 0 |
277 | case never executed: case QMetaType::QLine: QMetaType::QLine:never executed: case QMetaType::QLine: | 0 |
278 | return never executed: return castToInterpolator(_q_interpolateVariant<QLine>); castToInterpolator(_q_interpolateVariant<QLine>);never executed: return castToInterpolator(_q_interpolateVariant<QLine>); | 0 |
279 | case never executed: case QMetaType::QLineF: QMetaType::QLineF:never executed: case QMetaType::QLineF: | 0 |
280 | return never executed: return castToInterpolator(_q_interpolateVariant<QLineF>); castToInterpolator(_q_interpolateVariant<QLineF>);never executed: return castToInterpolator(_q_interpolateVariant<QLineF>); | 0 |
281 | case never executed: case QMetaType::QPoint: QMetaType::QPoint:never executed: case QMetaType::QPoint: | 0 |
282 | return never executed: return castToInterpolator(_q_interpolateVariant<QPoint>); castToInterpolator(_q_interpolateVariant<QPoint>);never executed: return castToInterpolator(_q_interpolateVariant<QPoint>); | 0 |
283 | caseexecuted 3 times by 1 test: case QMetaType::QPointF: QMetaType::QPointF:executed 3 times by 1 test: case QMetaType::QPointF: | 3 |
284 | returnexecuted 3 times by 1 test: return castToInterpolator(_q_interpolateVariant<QPointF>); castToInterpolator(_q_interpolateVariant<QPointF>);executed 3 times by 1 test: return castToInterpolator(_q_interpolateVariant<QPointF>); | 3 |
285 | case never executed: case QMetaType::QSize: QMetaType::QSize:never executed: case QMetaType::QSize: | 0 |
286 | return never executed: return castToInterpolator(_q_interpolateVariant<QSize>); castToInterpolator(_q_interpolateVariant<QSize>);never executed: return castToInterpolator(_q_interpolateVariant<QSize>); | 0 |
287 | case never executed: case QMetaType::QSizeF: QMetaType::QSizeF:never executed: case QMetaType::QSizeF: | 0 |
288 | return never executed: return castToInterpolator(_q_interpolateVariant<QSizeF>); castToInterpolator(_q_interpolateVariant<QSizeF>);never executed: return castToInterpolator(_q_interpolateVariant<QSizeF>); | 0 |
289 | caseexecuted 848 times by 15 tests: case QMetaType::QRect: Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
QMetaType::QRect:executed 848 times by 15 tests: case QMetaType::QRect: Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 848 |
290 | returnexecuted 848 times by 15 tests: return castToInterpolator(_q_interpolateVariant<QRect>); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
castToInterpolator(_q_interpolateVariant<QRect>);executed 848 times by 15 tests: return castToInterpolator(_q_interpolateVariant<QRect>); Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 848 |
291 | case never executed: case QMetaType::QRectF: QMetaType::QRectF:never executed: case QMetaType::QRectF: | 0 |
292 | return never executed: return castToInterpolator(_q_interpolateVariant<QRectF>); castToInterpolator(_q_interpolateVariant<QRectF>);never executed: return castToInterpolator(_q_interpolateVariant<QRectF>); | 0 |
293 | defaultexecuted 1995 times by 23 tests: default: 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
:executed 1995 times by 23 tests: default: 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1995 |
294 | returnexecuted 1995 times by 23 tests: return 0; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
0;executed 1995 times by 23 tests: return 0; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1995 |
295 | } | - |
296 | } | - |
297 | int QVariantAnimation::duration() const | - |
298 | { | - |
299 | const QVariantAnimationPrivate * const d = d_func(); | - |
300 | returnexecuted 11191 times by 26 tests: return d->duration; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
d->duration;executed 11191 times by 26 tests: return d->duration; 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 11191 |
301 | } | - |
302 | | - |
303 | void QVariantAnimation::setDuration(int msecs) | - |
304 | { | - |
305 | QVariantAnimationPrivate * const d = d_func(); | - |
306 | if (msecs < 0TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QVariantAnimation
| FALSE | evaluated 1134 times by 24 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_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 2-1134 |
307 | QMessageLogger(__FILE__, 516, __PRETTY_FUNCTION__).warning("QVariantAnimation::setDuration: cannot set a negative duration"); | - |
308 | return;executed 2 times by 2 tests: return; Executed by:- tst_QPropertyAnimation
- tst_QVariantAnimation
| 2 |
309 | } | - |
310 | if (d->duration == msecsTRUE | evaluated 13 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1121 times by 24 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_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) | 13-1121 |
311 | return;executed 13 times by 5 tests: return; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 13 |
312 | d->duration = msecs; | - |
313 | d->recalculateCurrentInterval(); | - |
314 | }executed 1121 times by 24 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1121 |
315 | QVariant QVariantAnimation::startValue() const | - |
316 | { | - |
317 | returnexecuted 1156 times by 26 tests: return keyValueAt(0); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
keyValueAt(0);executed 1156 times by 26 tests: return keyValueAt(0); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1156 |
318 | } | - |
319 | | - |
320 | void QVariantAnimation::setStartValue(const QVariant &value) | - |
321 | { | - |
322 | setKeyValueAt(0, value); | - |
323 | }executed 206 times by 6 tests: end of block Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
| 206 |
324 | QVariant QVariantAnimation::endValue() const | - |
325 | { | - |
326 | returnexecuted 1165 times by 25 tests: return keyValueAt(1); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
keyValueAt(1);executed 1165 times by 25 tests: return keyValueAt(1); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1165 |
327 | } | - |
328 | | - |
329 | void QVariantAnimation::setEndValue(const QVariant &value) | - |
330 | { | - |
331 | setKeyValueAt(1, value); | - |
332 | }executed 1252 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1252 |
333 | QVariant QVariantAnimation::keyValueAt(qreal step) const | - |
334 | { | - |
335 | returnexecuted 2332 times by 26 tests: return d_func()->valueAt(step); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
d_func()->valueAt(step);executed 2332 times by 26 tests: return d_func()->valueAt(step); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 2332 |
336 | } | - |
337 | void QVariantAnimation::setKeyValueAt(qreal step, const QVariant &value) | - |
338 | { | - |
339 | d_func()->setValueAt(step, value); | - |
340 | }executed 1471 times by 26 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 1471 |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | QVariantAnimation::KeyValues QVariantAnimation::keyValues() const | - |
348 | { | - |
349 | returnexecuted 9 times by 2 tests: return d_func()->keyValues; Executed by:- tst_QPropertyAnimation
- tst_QVariantAnimation
d_func()->keyValues;executed 9 times by 2 tests: return d_func()->keyValues; Executed by:- tst_QPropertyAnimation
- tst_QVariantAnimation
| 9 |
350 | } | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
357 | | - |
358 | void QVariantAnimation::setKeyValues(const KeyValues &keyValues) | - |
359 | { | - |
360 | QVariantAnimationPrivate * const d = d_func(); | - |
361 | d->keyValues = keyValues; | - |
362 | std::sort(d->keyValues.begin(), d->keyValues.end(), animationValueLessThan); | - |
363 | d->recalculateCurrentInterval( true); | - |
364 | }executed 3 times by 2 tests: end of block Executed by:- tst_QPropertyAnimation
- tst_QVariantAnimation
| 3 |
365 | QVariant QVariantAnimation::currentValue() const | - |
366 | { | - |
367 | const QVariantAnimationPrivate * const d = d_func(); | - |
368 | if (!d->currentValue.isValid()TRUE | evaluated 7 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QVariantAnimation
| FALSE | evaluated 31 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
) | 7-31 |
369 | const_cast<executed 7 times by 4 tests: const_cast<QVariantAnimationPrivate*>(d)->recalculateCurrentInterval(); Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QVariantAnimation
QVariantAnimationPrivate*>(d)->recalculateCurrentInterval();executed 7 times by 4 tests: const_cast<QVariantAnimationPrivate*>(d)->recalculateCurrentInterval(); Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QVariantAnimation
| 7 |
370 | returnexecuted 38 times by 6 tests: return d->currentValue; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
d->currentValue;executed 38 times by 6 tests: return d->currentValue; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QVariantAnimation
| 38 |
371 | } | - |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | bool QVariantAnimation::event(QEvent *event) | - |
377 | { | - |
378 | returnexecuted 448 times by 17 tests: return QAbstractAnimation::event(event); 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
QAbstractAnimation::event(event);executed 448 times by 17 tests: return QAbstractAnimation::event(event); 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
| 448 |
379 | } | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | void QVariantAnimation::updateState(QAbstractAnimation::State newState, | - |
385 | QAbstractAnimation::State oldState) | - |
386 | { | - |
387 | (void)oldState;; | - |
388 | (void)newState;; | - |
389 | }executed 2175 times by 23 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 2175 |
390 | QVariant QVariantAnimation::interpolated(const QVariant &from, const QVariant &to, qreal progress) const | - |
391 | { | - |
392 | returnexecuted 5163 times by 26 tests: return d_func()->interpolator(from.constData(), to.constData(), progress); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
d_func()->interpolator(from.constData(), to.constData(), progress);executed 5163 times by 26 tests: return d_func()->interpolator(from.constData(), to.constData(), progress); 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QVariantAnimation
- tst_QWidget
- tst_QWidget_window
- ...
| 5163 |
393 | } | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | void QVariantAnimation::updateCurrentTime(int) | - |
399 | { | - |
400 | d_func()->recalculateCurrentInterval(); | - |
401 | }executed 3796 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_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 3796 |
402 | | - |
403 | | - |
404 | | - |
| | |