Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #ifndef QQMLLISTCOMPOSITOR_P_H | - |
41 | #define QQMLLISTCOMPOSITOR_P_H | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | #include <QtCore/qglobal.h> | - |
55 | #include <QtCore/qvector.h> | - |
56 | | - |
57 | #include <private/qqmlchangeset_p.h> | - |
58 | | - |
59 | #include <QtCore/qdebug.h> | - |
60 | | - |
61 | QT_BEGIN_NAMESPACE | - |
62 | | - |
63 | class Q_AUTOTEST_EXPORT QQmlListCompositor | - |
64 | { | - |
65 | public: | - |
66 | enum { MinimumGroupCount = 3, MaximumGroupCount = 11 }; | - |
67 | | - |
68 | enum Group | - |
69 | { | - |
70 | Cache = 0, | - |
71 | Default = 1, | - |
72 | Persisted = 2 | - |
73 | }; | - |
74 | | - |
75 | enum Flag | - |
76 | { | - |
77 | CacheFlag = 1 << Cache, | - |
78 | DefaultFlag = 1 << Default, | - |
79 | PersistedFlag = 1 << Persisted, | - |
80 | PrependFlag = 0x10000000, | - |
81 | AppendFlag = 0x20000000, | - |
82 | UnresolvedFlag = 0x40000000, | - |
83 | MovedFlag = 0x80000000, | - |
84 | GroupMask = ~(PrependFlag | AppendFlag | UnresolvedFlag | MovedFlag | CacheFlag) | - |
85 | }; | - |
86 | | - |
87 | class Range | - |
88 | { | - |
89 | public: | - |
90 | Range() : next(this), previous(this) {}executed 5774 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 5774 |
91 | Range(Range *next, void *list, int index, int count, uint flags) | - |
92 | : next(next), previous(next->previous), list(list), index(index), count(count), flags(flags) { | - |
93 | next->previous = this; previous->next = this; }executed 35765 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 35765 |
94 | | - |
95 | Range *next; | - |
96 | Range *previous; | - |
97 | void *list = nullptr; | - |
98 | int index = 0; | - |
99 | int count = 0; | - |
100 | uint flags = 0; | - |
101 | | - |
102 | inline int start() const { return index; } never executed: return index; | 0 |
103 | inline int end() const { return index + count; }executed 204313 times by 24 tests: return index + count; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 204313 |
104 | | - |
105 | inline int groups() const { return flags & GroupMask; } never executed: return flags & GroupMask; | 0 |
106 | | - |
107 | inline bool inGroup() const { return flags & GroupMask; }executed 552 times by 4 tests: return flags & GroupMask; Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 552 |
108 | inline bool inCache() const { return flags & CacheFlag; }executed 141828 times by 26 tests: return flags & CacheFlag; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 141828 |
109 | inline bool inGroup(int group) const { return flags & (1 << group); }executed 270498 times by 26 tests: return flags & (1 << group); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 270498 |
110 | inline bool isUnresolved() const { return flags & UnresolvedFlag; }executed 160 times by 2 tests: return flags & UnresolvedFlag; Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 160 |
111 | | - |
112 | inline bool prepend() const { return flags & PrependFlag; }executed 14151 times by 14 tests: return flags & PrependFlag; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 14151 |
113 | inline bool append() const { return flags & AppendFlag; }executed 14962 times by 24 tests: return flags & AppendFlag; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 14962 |
114 | }; | - |
115 | | - |
116 | class Q_AUTOTEST_EXPORT iterator | - |
117 | { | - |
118 | public: | - |
119 | inline iterator(); | - |
120 | inline iterator(const iterator &it); | - |
121 | inline iterator(Range *range, int offset, Group group, int groupCount); | - |
122 | inline ~iterator() {} | - |
123 | | - |
124 | bool operator ==(const iterator &it) const { return range == it.range && offset == it.offset; }executed 228516 times by 26 tests: return range == it.range && offset == it.offset; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 228516 |
125 | bool operator !=(const iterator &it) const { return range != it.range || offset != it.offset; } never executed: return range != it.range || offset != it.offset; | 0 |
126 | | - |
127 | bool operator ==(Group group) const { return range->flags & (1 << group); }executed 108 times by 3 tests: return range->flags & (1 << group); Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 108 |
128 | bool operator !=(Group group) const { return !(range->flags & (1 << group)); }executed 222958 times by 26 tests: return !(range->flags & (1 << group)); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 222958 |
129 | | - |
130 | Range *&operator *() { return range; }executed 255111 times by 28 tests: return range; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 255111 |
131 | Range * const &operator *() const { return range; } never executed: return range; | 0 |
132 | Range *operator ->() { return range; }executed 3283642 times by 26 tests: return range; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 3283642 |
133 | const Range *operator ->() const { return range; } never executed: return range; | 0 |
134 | | - |
135 | iterator &operator +=(int difference); | - |
136 | | - |
137 | template<typename T> T *list() const { return static_cast<T *>(range->list); }executed 7752 times by 5 tests: return static_cast<T *>(range->list); Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 7752 |
138 | int modelIndex() const { return range->index + offset; }executed 97407 times by 26 tests: return range->index + offset; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 97407 |
139 | | - |
140 | void incrementIndexes(int difference) { incrementIndexes(difference, range->flags); }executed 399473 times by 26 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 399473 |
141 | void decrementIndexes(int difference) { decrementIndexes(difference, range->flags); }executed 350722 times by 26 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 350722 |
142 | | - |
143 | inline void incrementIndexes(int difference, uint flags); | - |
144 | inline void decrementIndexes(int difference, uint flags); | - |
145 | | - |
146 | void setGroup(Group g) { group = g; groupFlag = 1 << g; }executed 209866 times by 26 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 209866 |
147 | | - |
148 | Range *range = nullptr; | - |
149 | int offset = 0; | - |
150 | Group group = Default; | - |
151 | int groupFlag; | - |
152 | int groupCount = 0; | - |
153 | union { | - |
154 | struct { | - |
155 | int cacheIndex; | - |
156 | }; | - |
157 | int index[MaximumGroupCount]; | - |
158 | }; | - |
159 | }; | - |
160 | | - |
161 | class Q_AUTOTEST_EXPORT insert_iterator : public iterator | - |
162 | { | - |
163 | public: | - |
164 | inline insert_iterator() {} | - |
165 | inline insert_iterator(const iterator &it) : iterator(it) {}executed 1282 times by 4 tests: end of block Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1282 |
166 | inline insert_iterator(Range *, int, Group, int); | - |
167 | inline ~insert_iterator() {} | - |
168 | | - |
169 | insert_iterator &operator +=(int difference); | - |
170 | }; | - |
171 | | - |
172 | struct Change | - |
173 | { | - |
174 | inline Change() {} | - |
175 | inline Change(const iterator &it, int count, uint flags, int moveId = -1); | - |
176 | int count; | - |
177 | uint flags; | - |
178 | int moveId; | - |
179 | union { | - |
180 | struct { | - |
181 | int cacheIndex; | - |
182 | }; | - |
183 | int index[MaximumGroupCount]; | - |
184 | }; | - |
185 | | - |
186 | inline bool isMove() const { return moveId >= 0; }executed 2080 times by 6 tests: return moveId >= 0; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2080 |
187 | inline bool inCache() const { return flags & CacheFlag; }executed 20874 times by 28 tests: return flags & CacheFlag; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 20874 |
188 | inline bool inGroup() const { return flags & GroupMask; }executed 1608 times by 6 tests: return flags & GroupMask; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1608 |
189 | inline bool inGroup(int group) const { return flags & (CacheFlag << group); }executed 52346 times by 28 tests: return flags & (CacheFlag << group); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 52346 |
190 | | - |
191 | inline int groups() const { return flags & GroupMask; }executed 5486 times by 9 tests: return flags & GroupMask; Executed by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 5486 |
192 | }; | - |
193 | | - |
194 | struct Insert : public Change | - |
195 | { | - |
196 | Insert() {} | - |
197 | Insert(const iterator &it, int count, uint flags, int moveId = -1) | - |
198 | : Change(it, count, flags, moveId) {}executed 16128 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 16128 |
199 | }; | - |
200 | | - |
201 | struct Remove : public Change | - |
202 | { | - |
203 | Remove() {} | - |
204 | Remove(const iterator &it, int count, uint flags, int moveId = -1) | - |
205 | : Change(it, count, flags, moveId) {}executed 4568 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 4568 |
206 | }; | - |
207 | | - |
208 | QQmlListCompositor(); | - |
209 | ~QQmlListCompositor(); | - |
210 | | - |
211 | int defaultGroups() const { return m_defaultFlags & ~PrependFlag; } never executed: return m_defaultFlags & ~PrependFlag; | 0 |
212 | void setDefaultGroups(int groups) { m_defaultFlags = groups | PrependFlag; }executed 5712 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 5712 |
213 | void setDefaultGroup(Group group) { m_defaultFlags |= (1 << group); }executed 5624 times by 27 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| 5624 |
214 | void clearDefaultGroup(Group group) { m_defaultFlags &= ~(1 << group); }executed 4 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquickvisualdatamodel
| 4 |
215 | void setRemoveGroups(int groups) { m_removeFlags = PrependFlag | AppendFlag | groups; }executed 5622 times by 27 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| 5622 |
216 | void setGroupCount(int count); | - |
217 | | - |
218 | int count(Group group) const; | - |
219 | iterator find(Group group, int index); | - |
220 | iterator find(Group group, int index) const; | - |
221 | insert_iterator findInsertPosition(Group group, int index); | - |
222 | | - |
223 | const iterator &end() { return m_end; }executed 100 times by 1 test: return m_end; Executed by:- tst_qquickvisualdatamodel
| 100 |
224 | | - |
225 | void append(void *list, int index, int count, uint flags, QVector<Insert> *inserts = nullptr); | - |
226 | void insert(Group group, int before, void *list, int index, int count, uint flags, QVector<Insert> *inserts = nullptr); | - |
227 | iterator insert(iterator before, void *list, int index, int count, uint flags, QVector<Insert> *inserts = nullptr); | - |
228 | | - |
229 | void setFlags(Group fromGroup, int from, int count, Group group, int flags, QVector<Insert> *inserts = nullptr); | - |
230 | void setFlags(iterator from, int count, Group group, uint flags, QVector<Insert> *inserts = nullptr); | - |
231 | void setFlags(Group fromGroup, int from, int count, uint flags, QVector<Insert> *inserts = nullptr) { | - |
232 | setFlags(fromGroup, from, count, fromGroup, flags, inserts); }executed 144 times by 2 tests: end of block Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 144 |
233 | void setFlags(const iterator from, int count, uint flags, QVector<Insert> *inserts = nullptr) { | - |
234 | setFlags(from, count, from.group, flags, inserts); }executed 88039 times by 25 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 88039 |
235 | | - |
236 | void clearFlags(Group fromGroup, int from, int count, Group group, uint flags, QVector<Remove> *removals = nullptr); | - |
237 | void clearFlags(iterator from, int count, Group group, uint flags, QVector<Remove> *removals = nullptr); | - |
238 | void clearFlags(Group fromGroup, int from, int count, uint flags, QVector<Remove> *removals = nullptr) { | - |
239 | clearFlags(fromGroup, from, count, fromGroup, flags, removals); }executed 22472 times by 13 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 22472 |
240 | void clearFlags(const iterator &from, int count, uint flags, QVector<Remove> *removals = nullptr) { | - |
241 | clearFlags(from, count, from.group, flags, removals); } never executed: end of block | 0 |
242 | | - |
243 | bool verifyMoveTo(Group fromGroup, int from, Group toGroup, int to, int count, Group group) const; | - |
244 | | - |
245 | void move( | - |
246 | Group fromGroup, | - |
247 | int from, | - |
248 | Group toGroup, | - |
249 | int to, | - |
250 | int count, | - |
251 | Group group, | - |
252 | QVector<Remove> *removals = nullptr, | - |
253 | QVector<Insert> *inserts = nullptr); | - |
254 | void clear(); | - |
255 | | - |
256 | void listItemsInserted(void *list, int index, int count, QVector<Insert> *inserts); | - |
257 | void listItemsRemoved(void *list, int index, int count, QVector<Remove> *removals); | - |
258 | void listItemsMoved(void *list, int from, int to, int count, QVector<Remove> *removals, QVector<Insert> *inserts); | - |
259 | void listItemsChanged(void *list, int index, int count, QVector<Change> *changes); | - |
260 | | - |
261 | void transition( | - |
262 | Group from, | - |
263 | Group to, | - |
264 | QVector<QQmlChangeSet::Change> *removes, | - |
265 | QVector<QQmlChangeSet::Change> *inserts); | - |
266 | | - |
267 | private: | - |
268 | Range m_ranges; | - |
269 | iterator m_end; | - |
270 | iterator m_cacheIt; | - |
271 | int m_groupCount; | - |
272 | int m_defaultFlags; | - |
273 | int m_removeFlags; | - |
274 | int m_moveId; | - |
275 | | - |
276 | inline Range *insert(Range *before, void *list, int index, int count, uint flags); | - |
277 | inline Range *erase(Range *range); | - |
278 | | - |
279 | struct MovedFlags | - |
280 | { | - |
281 | MovedFlags() {} | - |
282 | MovedFlags(int moveId, uint flags) : moveId(moveId), flags(flags) {}executed 1172 times by 6 tests: end of block Executed by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1172 |
283 | | - |
284 | int moveId; | - |
285 | uint flags; | - |
286 | }; | - |
287 | | - |
288 | void listItemsRemoved( | - |
289 | QVector<Remove> *translatedRemovals, | - |
290 | void *list, | - |
291 | QVector<QQmlChangeSet::Change> *removals, | - |
292 | QVector<QQmlChangeSet::Change> *insertions = nullptr, | - |
293 | QVector<MovedFlags> *movedFlags = nullptr); | - |
294 | void listItemsInserted( | - |
295 | QVector<Insert> *translatedInsertions, | - |
296 | void *list, | - |
297 | const QVector<QQmlChangeSet::Change> &insertions, | - |
298 | const QVector<MovedFlags> *movedFlags = nullptr); | - |
299 | void listItemsChanged( | - |
300 | QVector<Change> *translatedChanges, | - |
301 | void *list, | - |
302 | const QVector<QQmlChangeSet::Change> &changes); | - |
303 | | - |
304 | friend Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor &list); | - |
305 | }; | - |
306 | | - |
307 | Q_DECLARE_TYPEINFO(QQmlListCompositor::Change, Q_PRIMITIVE_TYPE); | - |
308 | Q_DECLARE_TYPEINFO(QQmlListCompositor::Remove, Q_PRIMITIVE_TYPE); | - |
309 | Q_DECLARE_TYPEINFO(QQmlListCompositor::Insert, Q_PRIMITIVE_TYPE); | - |
310 | | - |
311 | inline QQmlListCompositor::iterator::iterator() {} | - |
312 | inline QQmlListCompositor::iterator::iterator(const iterator &it) | - |
313 | : range(it.range) | - |
314 | , offset(it.offset) | - |
315 | , group(it.group) | - |
316 | , groupFlag(it.groupFlag) | - |
317 | , groupCount(it.groupCount) | - |
318 | { | - |
319 | for (int i = 0; i < groupCount; ++i)TRUE | evaluated 1645787 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| FALSE | evaluated 513495 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
| 513495-1645787 |
320 | index[i] = it.index[i];executed 1645787 times by 28 tests: index[i] = it.index[i]; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 1645787 |
321 | }executed 513495 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 513495 |
322 | | - |
323 | inline QQmlListCompositor::iterator::iterator( | - |
324 | Range *range, int offset, Group group, int groupCount) | - |
325 | : range(range) | - |
326 | , offset(offset) | - |
327 | , group(group) | - |
328 | , groupFlag(1 << group) | - |
329 | , groupCount(groupCount) | - |
330 | { | - |
331 | for (int i = 0; i < groupCount; ++i)TRUE | evaluated 147052 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| FALSE | evaluated 49142 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
| 49142-147052 |
332 | index[i] = 0;executed 147052 times by 28 tests: index[i] = 0; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 147052 |
333 | }executed 49142 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 49142 |
334 | | - |
335 | inline void QQmlListCompositor::iterator::incrementIndexes(int difference, uint flags) | - |
336 | { | - |
337 | for (int i = 0; i < groupCount; ++i) {TRUE | evaluated 1991669 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| FALSE | evaluated 618939 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
| 618939-1991669 |
338 | if (flags & (1 << i))TRUE | evaluated 1030310 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| FALSE | evaluated 961359 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
| 961359-1030310 |
339 | index[i] += difference;executed 1030310 times by 28 tests: index[i] += difference; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 1030310 |
340 | }executed 1991669 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 1991669 |
341 | }executed 618939 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 618939 |
342 | | - |
343 | inline void QQmlListCompositor::iterator::decrementIndexes(int difference, uint flags) | - |
344 | { | - |
345 | for (int i = 0; i < groupCount; ++i) {TRUE | evaluated 1249264 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| FALSE | evaluated 377468 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
| 377468-1249264 |
346 | if (flags & (1 << i))TRUE | evaluated 669109 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| FALSE | evaluated 580155 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
| 580155-669109 |
347 | index[i] -= difference;executed 669109 times by 26 tests: index[i] -= difference; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 669109 |
348 | }executed 1249264 times by 26 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 1249264 |
349 | }executed 377468 times by 26 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 377468 |
350 | | - |
351 | inline QQmlListCompositor::insert_iterator::insert_iterator( | - |
352 | Range *range, int offset, Group group, int groupCount) | - |
353 | : iterator(range, offset, group, groupCount) {} never executed: end of block | 0 |
354 | | - |
355 | inline QQmlListCompositor::Change::Change(const iterator &it, int count, uint flags, int moveId) | - |
356 | : count(count), flags(flags), moveId(moveId) | - |
357 | { | - |
358 | for (int i = 0; i < MaximumGroupCount; ++i)TRUE | evaluated 232430 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| FALSE | evaluated 21130 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
| 21130-232430 |
359 | index[i] = it.index[i];executed 232430 times by 28 tests: index[i] = it.index[i]; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 232430 |
360 | }executed 21130 times by 28 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 21130 |
361 | | - |
362 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::Group &group); | - |
363 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::Range &range); | - |
364 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::iterator &it); | - |
365 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::Change &change); | - |
366 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::Remove &remove); | - |
367 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor::Insert &insert); | - |
368 | Q_AUTOTEST_EXPORT QDebug operator <<(QDebug debug, const QQmlListCompositor &list); | - |
369 | | - |
370 | QT_END_NAMESPACE | - |
371 | | - |
372 | #endif | - |
| | |