| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | QQmlChangeSet::QQmlChangeSet() | - |
| 4 | : m_difference(0) | - |
| 5 | { | - |
| 6 | }executed 26258 times by 29 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| 26258 |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | QQmlChangeSet::QQmlChangeSet(const QQmlChangeSet &changeSet) | - |
| 13 | : m_removes(changeSet.m_removes) | - |
| 14 | , m_inserts(changeSet.m_inserts) | - |
| 15 | , m_changes(changeSet.m_changes) | - |
| 16 | , m_difference(changeSet.m_difference) | - |
| 17 | { | - |
| 18 | }executed 110 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qqmlobjectmodel
- tst_qquickvisualdatamodel
| 110 |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | QQmlChangeSet::~QQmlChangeSet() | - |
| 25 | { | - |
| 26 | } | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | QQmlChangeSet &QQmlChangeSet::operator =(const QQmlChangeSet &changeSet) | - |
| 33 | { | - |
| 34 | m_removes = changeSet.m_removes; | - |
| 35 | m_inserts = changeSet.m_inserts; | - |
| 36 | m_changes = changeSet.m_changes; | - |
| 37 | m_difference = changeSet.m_difference; | - |
| 38 | returnexecuted 28 times by 2 tests: return *this;Executed by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
*this;executed 28 times by 2 tests: return *this;Executed by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| 28 |
| 39 | } | - |
| 40 | | - |
| 41 | | - |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | void QQmlChangeSet::insert(int index, int count) | - |
| 46 | { | - |
| 47 | insert(QVector<Change>() << Change(index, count)); | - |
| 48 | }executed 810 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qqmlobjectmodel
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
| 810 |
| 49 | | - |
| 50 | | - |
| 51 | | - |
| 52 | | - |
| 53 | | - |
| 54 | void QQmlChangeSet::remove(int index, int count) | - |
| 55 | { | - |
| 56 | QVector<Change> removes; | - |
| 57 | removes.append(Change(index, count)); | - |
| 58 | remove(&removes, nullptr); | - |
| 59 | }executed 566 times by 7 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qqmlobjectmodel
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 566 |
| 60 | void QQmlChangeSet::move(int from, int to, int count, int moveId) | - |
| 61 | { | - |
| 62 | QVector<Change> removes; | - |
| 63 | removes.append(Change(from, count, moveId)); | - |
| 64 | QVector<Change> inserts; | - |
| 65 | inserts.append(Change(to, count, moveId)); | - |
| 66 | remove(&removes, &inserts); | - |
| 67 | insert(inserts); | - |
| 68 | }executed 794 times by 5 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qqmlobjectmodel
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
| 794 |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | void QQmlChangeSet::change(int index, int count) | - |
| 75 | { | - |
| 76 | QVector<Change> changes; | - |
| 77 | changes.append(Change(index, count)); | - |
| 78 | change(changes); | - |
| 79 | }executed 66 times by 1 test: end of block | 66 |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | void QQmlChangeSet::apply(const QQmlChangeSet &changeSet) | - |
| 86 | { | - |
| 87 | QVector<Change> r = changeSet.m_removes; | - |
| 88 | QVector<Change> i = changeSet.m_inserts; | - |
| 89 | QVector<Change> c = changeSet.m_changes; | - |
| 90 | remove(&r, &i); | - |
| 91 | insert(i); | - |
| 92 | change(c); | - |
| 93 | }executed 16970 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 16970 |
| 94 | void QQmlChangeSet::remove(const QVector<Change> &removes, QVector<Change> *inserts) | - |
| 95 | { | - |
| 96 | QVector<Change> r = removes; | - |
| 97 | remove(&r, inserts); | - |
| 98 | }executed 5944 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 5944 |
| 99 | | - |
| 100 | void QQmlChangeSet::remove(QVector<Change> *removes, QVector<Change> *inserts) | - |
| 101 | { | - |
| 102 | int removeCount = 0; | - |
| 103 | int insertCount = 0; | - |
| 104 | QVector<Change>::iterator insert = m_inserts.begin(); | - |
| 105 | QVector<Change>::iterator change = m_changes.begin(); | - |
| 106 | QVector<Change>::iterator rit = removes->begin(); | - |
| 107 | for (; rit != removes->end()| TRUE | evaluated 9708 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32876 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++rit) { | 9708-32876 |
| 108 | int index = rit->index + removeCount; | - |
| 109 | int count = rit->count; | - |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | for (; change != m_changes.end()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 9700 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& change->end() < rit->index| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
; ++change) | 0-9700 |
| 114 | change->index -= removeCount; never executed: change->index -= removeCount; | 0 |
| 115 | | - |
| 116 | for (; change != m_changes.end()| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 9702 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& change->index > rit->end()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
; ++change) { | 2-9702 |
| 117 | change->count -= qMin(change->end(), rit->end()) - qMax(change->index, rit->index); | - |
| 118 | if (change->count == 0| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 119 | change = m_changes.erase(change); | - |
| 120 | } never executed: end of block else if (rit->index < change->index| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 121 | change->index = rit->index; | - |
| 122 | }executed 2 times by 1 test: end of block | 2 |
| 123 | }executed 2 times by 1 test: end of block | 2 |
| 124 | | - |
| 125 | | - |
| 126 | | - |
| 127 | for (; insert != m_inserts.end()| TRUE | evaluated 2344 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8750 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& insert->end() <= index| TRUE | evaluated 1386 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| | FALSE | evaluated 958 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++insert) { | 958-8750 |
| 128 | insertCount += insert->count; | - |
| 129 | insert->index -= removeCount; | - |
| 130 | }executed 1386 times by 2 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| 1386 |
| 131 | | - |
| 132 | rit->index -= insertCount; | - |
| 133 | | - |
| 134 | | - |
| 135 | while (insert != m_inserts.end()| TRUE | evaluated 1146 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 9026 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& insert->index < index + count| TRUE | evaluated 876 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 270 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 270-9026 |
| 136 | int offset = index - insert->index; | - |
| 137 | const int difference = qMin(insert->end(), index + count) - qMax(insert->index, index); | - |
| 138 | | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | if (offset < 0| TRUE | evaluated 256 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
| | FALSE | evaluated 620 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& rit->moveId != -1| TRUE | evaluated 138 times by 1 test | | FALSE | evaluated 118 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
) { | 118-620 |
| 143 | rit = removes->insert(rit, Change( | - |
| 144 | rit->index, -offset, rit->moveId, rit->offset)); | - |
| 145 | ++rit; | - |
| 146 | rit->count -= -offset; | - |
| 147 | rit->offset += -offset; | - |
| 148 | index += -offset; | - |
| 149 | count -= -offset; | - |
| 150 | removeCount += -offset; | - |
| 151 | offset = 0; | - |
| 152 | }executed 138 times by 1 test: end of block else if (offset > 0| TRUE | evaluated 260 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 478 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& insert->moveId != -1| TRUE | evaluated 138 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 122 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 122-478 |
| 153 | insert = m_inserts.insert(insert, Change( | - |
| 154 | insert->index - removeCount, offset, insert->moveId, insert->offset)); | - |
| 155 | ++insert; | - |
| 156 | insert->index += offset; | - |
| 157 | insert->count -= offset; | - |
| 158 | insert->offset += offset; | - |
| 159 | rit->index -= offset; | - |
| 160 | insertCount += offset; | - |
| 161 | }executed 138 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 138 |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | if (rit->moveId != -1| TRUE | evaluated 548 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 328 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& difference > 0| TRUE | evaluated 548 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
&& inserts| TRUE | evaluated 548 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) { | 0-548 |
| 166 | for (QVector<Change>::iterator iit = inserts->begin(); iit != inserts->end()| TRUE | evaluated 1120 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 548 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++iit) { | 548-1120 |
| 167 | if (iit->moveId != rit->moveId| TRUE | evaluated 518 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 602 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 518-602 |
| 168 | || rit->offset > iit->offset + iit->count| TRUE | evaluated 42 times by 1 test | | FALSE | evaluated 560 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 42-560 |
| 169 | || iit->offset > rit->offset + difference| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 554 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 6-554 |
| 170 | continue;executed 566 times by 4 tests: continue;Executed by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 566 |
| 171 | } | - |
| 172 | | - |
| 173 | | - |
| 174 | const int overlapOffset = rit->offset - iit->offset; | - |
| 175 | if (overlapOffset > 0| TRUE | evaluated 140 times by 1 test | | FALSE | evaluated 414 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 140-414 |
| 176 | iit = inserts->insert(iit, Change( | - |
| 177 | iit->index, overlapOffset, iit->moveId, iit->offset)); | - |
| 178 | ++iit; | - |
| 179 | iit->index += overlapOffset; | - |
| 180 | iit->count -= overlapOffset; | - |
| 181 | iit->offset += overlapOffset; | - |
| 182 | }executed 140 times by 1 test: end of block | 140 |
| 183 | if (iit->offset >= rit->offset| TRUE | evaluated 554 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-554 |
| 184 | && iit->offset + iit->count <= rit->offset + difference| TRUE | evaluated 350 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 204 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 204-350 |
| 185 | | - |
| 186 | | - |
| 187 | iit->moveId = insert->moveId; | - |
| 188 | iit->offset = insert->offset + qMax(0, -overlapOffset); | - |
| 189 | }executed 350 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else { | 350 |
| 190 | | - |
| 191 | | - |
| 192 | const int count | - |
| 193 | = qMin(iit->offset + iit->count, rit->offset + difference) | - |
| 194 | - qMax(iit->offset, rit->offset); | - |
| 195 | iit = inserts->insert(iit, Change( | - |
| 196 | iit->index, | - |
| 197 | count, | - |
| 198 | insert->moveId, | - |
| 199 | insert->offset + qMax(0, -overlapOffset))); | - |
| 200 | ++iit; | - |
| 201 | iit->index += count; | - |
| 202 | iit->count -= count; | - |
| 203 | iit->offset += count; | - |
| 204 | }executed 204 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| 204 |
| 205 | } | - |
| 206 | }executed 548 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 548 |
| 207 | | - |
| 208 | | - |
| 209 | insert->count -= difference; | - |
| 210 | insert->offset += difference; | - |
| 211 | rit->count -= difference; | - |
| 212 | rit->offset += difference; | - |
| 213 | | - |
| 214 | index += difference; | - |
| 215 | count -= difference; | - |
| 216 | removeCount += difference; | - |
| 217 | | - |
| 218 | if (insert->count == 0| TRUE | evaluated 412 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 464 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 412-464 |
| 219 | insert = m_inserts.erase(insert); | - |
| 220 | }executed 412 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else if (rit->count == -offset| TRUE | evaluated 268 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
| | FALSE | evaluated 196 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
|| rit->count == 0| TRUE | evaluated 144 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| | FALSE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 52-412 |
| 221 | insert->index += difference; | - |
| 222 | break;executed 412 times by 3 tests: break;Executed by:- tst_examples
- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| 412 |
| 223 | } else { | - |
| 224 | insert->index -= removeCount - difference; | - |
| 225 | rit->index -= insert->count; | - |
| 226 | insertCount += insert->count; | - |
| 227 | ++insert; | - |
| 228 | }executed 52 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| 52 |
| 229 | } | - |
| 230 | removeCount += rit->count; | - |
| 231 | }executed 9708 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 9708 |
| 232 | for (; insert != m_inserts.end()| TRUE | evaluated 5730 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32876 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++insert) | 5730-32876 |
| 233 | insert->index -= removeCount;executed 5730 times by 5 tests: insert->index -= removeCount;Executed by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 5730 |
| 234 | | - |
| 235 | removeCount = 0; | - |
| 236 | QVector<Change>::iterator remove = m_removes.begin(); | - |
| 237 | for (rit = removes->begin(); rit != removes->end()| TRUE | evaluated 9506 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32876 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++rit) { | 9506-32876 |
| 238 | if (rit->count == 0| TRUE | evaluated 620 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8886 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 620-8886 |
| 239 | continue;executed 620 times by 7 tests: continue;Executed by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 620 |
| 240 | | - |
| 241 | for (QVector<Change>::iterator next = rit + 1; next != removes->end()| TRUE | evaluated 816 times by 5 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8410 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 816-8410 |
| 242 | && next->index == rit->index| TRUE | evaluated 762 times by 5 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 54 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
|
| 54-762 |
| 243 | && next->moveId == -1| TRUE | evaluated 416 times by 5 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 346 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 346-416 |
| 244 | && rit->moveId == -1| TRUE | evaluated 340 times by 5 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 76 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
|
; ++next) { | 76-340 |
| 245 | next->count += rit->count; | - |
| 246 | rit = next; | - |
| 247 | }executed 340 times by 5 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 340 |
| 248 | int index = rit->index + removeCount; | - |
| 249 | | - |
| 250 | | - |
| 251 | for (; remove != m_removes.end()| TRUE | evaluated 1797 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7614 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& index > remove->index| TRUE | evaluated 525 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1272 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++remove) | 525-7614 |
| 252 | remove->index -= removeCount;executed 525 times by 4 tests: remove->index -= removeCount;Executed by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 525 |
| 253 | while (remove != m_removes.end()| TRUE | evaluated 1483 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8464 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& index + rit->count >= remove->index| TRUE | evaluated 1061 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 422 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 422-8464 |
| 254 | int count = 0; | - |
| 255 | const int offset = remove->index - index; | - |
| 256 | QVector<Change>::iterator rend = remove; | - |
| 257 | for (; rend != m_removes.end()| TRUE | evaluated 1141 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 654 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 654-1141 |
| 258 | && rit->moveId == -1| TRUE | evaluated 913 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 228 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 228-913 |
| 259 | && rend->moveId == -1| TRUE | evaluated 789 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 124 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
|
| 124-789 |
| 260 | && index + rit->count >= rend->index| TRUE | evaluated 734 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 55 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
; ++rend) { | 55-734 |
| 261 | count += rend->count; | - |
| 262 | }executed 734 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 734 |
| 263 | if (remove != rend| TRUE | evaluated 715 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 346 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 346-715 |
| 264 | | - |
| 265 | | - |
| 266 | int difference = 0; | - |
| 267 | if (rend == m_removes.end()| TRUE | evaluated 654 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 61 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 61-654 |
| 268 | difference = rit->count; | - |
| 269 | }executed 654 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else if (rit->index + rit->count < rend->index - removeCount| TRUE | evaluated 57 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 4 times by 1 test |
) { | 4-654 |
| 270 | difference = rit->count; | - |
| 271 | }executed 57 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
else if (rend->moveId != -1| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) { | 0-57 |
| 272 | difference = rend->index - removeCount - rit->index; | - |
| 273 | index += difference; | - |
| 274 | }executed 4 times by 1 test: end of block | 4 |
| 275 | count += difference; | - |
| 276 | | - |
| 277 | rit->count -= difference; | - |
| 278 | removeCount += difference; | - |
| 279 | remove->index = rit->index; | - |
| 280 | remove->count = count; | - |
| 281 | remove = m_removes.erase(++remove, rend); | - |
| 282 | }executed 715 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else { | 715 |
| 283 | | - |
| 284 | | - |
| 285 | if (offset > 0| TRUE | evaluated 206 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| | FALSE | evaluated 140 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 140-206 |
| 286 | remove = m_removes.insert(remove, Change( | - |
| 287 | rit->index, offset, rit->moveId, rit->offset)); | - |
| 288 | ++remove; | - |
| 289 | rit->count -= offset; | - |
| 290 | rit->offset += offset; | - |
| 291 | removeCount += offset; | - |
| 292 | index += offset; | - |
| 293 | }executed 206 times by 2 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| 206 |
| 294 | remove->index = rit->index; | - |
| 295 | | - |
| 296 | ++remove; | - |
| 297 | }executed 346 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 346 |
| 298 | } | - |
| 299 | | - |
| 300 | if (rit->count > 0| TRUE | evaluated 8113 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 773 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 773-8113 |
| 301 | remove = m_removes.insert(remove, *rit); | - |
| 302 | ++remove; | - |
| 303 | }executed 8113 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8113 |
| 304 | removeCount += rit->count; | - |
| 305 | }executed 8886 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8886 |
| 306 | for (; remove != m_removes.end()| TRUE | evaluated 2931 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32876 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++remove) | 2931-32876 |
| 307 | remove->index -= removeCount;executed 2931 times by 4 tests: remove->index -= removeCount;Executed by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 2931 |
| 308 | m_difference -= removeCount; | - |
| 309 | }executed 32876 times by 29 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| 32876 |
| 310 | | - |
| 311 | | - |
| 312 | | - |
| 313 | | - |
| 314 | | - |
| 315 | void QQmlChangeSet::insert(const QVector<Change> &inserts) | - |
| 316 | { | - |
| 317 | int insertCount = 0; | - |
| 318 | QVector<Change>::iterator insert = m_inserts.begin(); | - |
| 319 | QVector<Change>::iterator change = m_changes.begin(); | - |
| 320 | for (QVector<Change>::const_iterator iit = inserts.begin(); iit != inserts.end()| TRUE | evaluated 29464 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| | FALSE | evaluated 60200 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++iit) { | 29464-60200 |
| 321 | if (iit->count == 0| TRUE | evaluated 1504 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktableview
| | FALSE | evaluated 27960 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
) | 1504-27960 |
| 322 | continue;executed 1504 times by 11 tests: continue;Executed by:- tst_examples
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktableview
| 1504 |
| 323 | int index = iit->index - insertCount; | - |
| 324 | | - |
| 325 | Change current = *iit; | - |
| 326 | | - |
| 327 | for (QVector<Change>::const_iterator next = iit + 1; next != inserts.end()| TRUE | evaluated 724 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 27268 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
| 724-27268 |
| 328 | && next->index == iit->index + iit->count| TRUE | evaluated 620 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 104 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
|
| 104-620 |
| 329 | && next->moveId == -1| TRUE | evaluated 172 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 448 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 172-448 |
| 330 | && iit->moveId == -1| TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
; ++next) { | 32-140 |
| 331 | current.count += next->count; | - |
| 332 | iit = next; | - |
| 333 | }executed 32 times by 2 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickvisualdatamodel
| 32 |
| 334 | | - |
| 335 | | - |
| 336 | | - |
| 337 | for (; change != m_changes.end()| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 27958 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
&& change->index >= index| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 2 times by 1 test |
; ++change) | 2-27958 |
| 338 | change->index += insertCount;executed 12 times by 1 test: change->index += insertCount; | 12 |
| 339 | | - |
| 340 | | - |
| 341 | if (change != m_changes.end()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 27958 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
&& change->index < index + iit->count| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-27958 |
| 342 | int offset = index - change->index; | - |
| 343 | change = m_changes.insert(change, Change(change->index + insertCount, offset)); | - |
| 344 | ++change; | - |
| 345 | change->index += iit->count + offset; | - |
| 346 | change->count -= offset; | - |
| 347 | }executed 2 times by 1 test: end of block | 2 |
| 348 | | - |
| 349 | | - |
| 350 | | - |
| 351 | for (; insert != m_inserts.end()| TRUE | evaluated 6384 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 22901 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
&& index > insert->index + insert->count| TRUE | evaluated 1325 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5059 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++insert) | 1325-22901 |
| 352 | insert->index += insertCount;executed 1325 times by 4 tests: insert->index += insertCount;Executed by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1325 |
| 353 | if (insert == m_inserts.end()| TRUE | evaluated 22901 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| | FALSE | evaluated 5059 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 5059-22901 |
| 354 | insert = m_inserts.insert(insert, current); | - |
| 355 | ++insert; | - |
| 356 | }executed 22901 times by 27 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
else { | 22901 |
| 357 | const int offset = index - insert->index; | - |
| 358 | | - |
| 359 | if (offset < 0| TRUE | evaluated 425 times by 4 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4634 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 425-4634 |
| 360 | | - |
| 361 | | - |
| 362 | insert = m_inserts.insert(insert, current); | - |
| 363 | ++insert; | - |
| 364 | }executed 425 times by 4 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else if (iit->moveId == -1| TRUE | evaluated 4480 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 154 times by 1 test |
&& insert->moveId == -1| TRUE | evaluated 4320 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 160 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 154-4480 |
| 365 | | - |
| 366 | | - |
| 367 | if (offset < insert->count| TRUE | evaluated 256 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 4064 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 256-4064 |
| 368 | insert->index -= current.count; | - |
| 369 | insert->count += current.count; | - |
| 370 | }executed 256 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
else { | 256 |
| 371 | insert->index += insertCount; | - |
| 372 | insert->count += current.count; | - |
| 373 | ++insert; | - |
| 374 | }executed 4064 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 4064 |
| 375 | } else if (offset < insert->count| TRUE | evaluated 288 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| | FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 26-288 |
| 376 | | - |
| 377 | | - |
| 378 | if (offset > 0| TRUE | evaluated 180 times by 1 test | | FALSE | evaluated 108 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
|
) { | 108-180 |
| 379 | insert = m_inserts.insert(insert, Change( | - |
| 380 | insert->index + insertCount, offset, insert->moveId, insert->offset)); | - |
| 381 | ++insert; | - |
| 382 | insert->index += offset; | - |
| 383 | insert->count -= offset; | - |
| 384 | insert->offset += offset; | - |
| 385 | }executed 180 times by 1 test: end of block | 180 |
| 386 | insert = m_inserts.insert(insert, current); | - |
| 387 | ++insert; | - |
| 388 | }executed 288 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
else { | 288 |
| 389 | insert->index += insertCount; | - |
| 390 | ++insert; | - |
| 391 | insert = m_inserts.insert(insert, current); | - |
| 392 | ++insert; | - |
| 393 | }executed 26 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
| 26 |
| 394 | } | - |
| 395 | insertCount += current.count; | - |
| 396 | }executed 27960 times by 27 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| 27960 |
| 397 | for (; insert != m_inserts.end()| TRUE | evaluated 1947 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 60200 times by 29 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
|
; ++insert) | 1947-60200 |
| 398 | insert->index += insertCount;executed 1947 times by 5 tests: insert->index += insertCount;Executed by:- tst_examples
- tst_qqmlhangeset
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1947 |
| 399 | m_difference += insertCount; | - |
| 400 | }executed 60200 times by 29 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlhangeset
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlobjectmodel
- 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
- ...
| 60200 |
| 401 | | - |
| 402 | | - |
| 403 | | - |
| 404 | | - |
| 405 | | - |
| 406 | | - |
| 407 | void QQmlChangeSet::move(const QVector<Change> &removes, const QVector<Change> &inserts) | - |
| 408 | { | - |
| 409 | QVector<Change> r = removes; | - |
| 410 | QVector<Change> i = inserts; | - |
| 411 | remove(&r, &i); | - |
| 412 | insert(i); | - |
| 413 | }executed 8602 times by 27 tests: end of blockExecuted 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
- ...
| 8602 |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | void QQmlChangeSet::change(const QVector<Change> &changes) | - |
| 420 | { | - |
| 421 | QVector<Change> c = changes; | - |
| 422 | change(&c); | - |
| 423 | }executed 17888 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 17888 |
| 424 | | - |
| 425 | void QQmlChangeSet::change(QVector<Change> *changes) | - |
| 426 | { | - |
| 427 | QVector<Change>::iterator insert = m_inserts.begin(); | - |
| 428 | QVector<Change>::iterator change = m_changes.begin(); | - |
| 429 | for (QVector<Change>::iterator cit = changes->begin(); cit != changes->end()| TRUE | evaluated 916 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 17888 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlhangeset
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
|
; ++cit) { | 916-17888 |
| 430 | for (; insert != m_inserts.end()| TRUE | evaluated 30 times by 1 test | | FALSE | evaluated 896 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& insert->end() < cit->index| TRUE | evaluated 10 times by 1 test | | FALSE | evaluated 20 times by 1 test |
; ++insert) {}executed 10 times by 1 test: end of block | 10-896 |
| 431 | for (; insert != m_inserts.end()| TRUE | evaluated 20 times by 1 test | | FALSE | evaluated 912 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& insert->index < cit->end()| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 4 times by 1 test |
; ++insert) { | 4-912 |
| 432 | const int offset = insert->index - cit->index; | - |
| 433 | const int count = cit->count + cit->index - insert->index - insert->count; | - |
| 434 | if (offset == 0| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 12 times by 1 test |
) { | 4-12 |
| 435 | cit->index = insert->index + insert->count; | - |
| 436 | cit->count = count; | - |
| 437 | }executed 4 times by 1 test: end of block else { | 4 |
| 438 | cit = changes->insert(++cit, Change(insert->index + insert->count, count)); | - |
| 439 | --cit; | - |
| 440 | cit->count = offset; | - |
| 441 | }executed 12 times by 1 test: end of block | 12 |
| 442 | } | - |
| 443 | | - |
| 444 | for (; change != m_changes.end()| TRUE | evaluated 220 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
| | FALSE | evaluated 700 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& change->index + change->count < cit->index| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 216 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
; ++change) {}executed 4 times by 1 test: end of block | 4-700 |
| 445 | if (change == m_changes.end()| TRUE | evaluated 700 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 216 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
|| change->index > cit->index + cit->count| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 214 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
) { | 2-700 |
| 446 | if (cit->count > 0| TRUE | evaluated 684 times by 3 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 18 times by 1 test |
) { | 18-684 |
| 447 | change = m_changes.insert(change, *cit); | - |
| 448 | ++change; | - |
| 449 | }executed 684 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 684 |
| 450 | }executed 702 times by 3 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquicklistview
- tst_qquickvisualdatamodel
else { | 702 |
| 451 | if (cit->index < change->index| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 206 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
) { | 8-206 |
| 452 | change->count += change->index - cit->index; | - |
| 453 | change->index = cit->index; | - |
| 454 | }executed 8 times by 1 test: end of block | 8 |
| 455 | | - |
| 456 | if (cit->index + cit->count > change->index + change->count| TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
| | FALSE | evaluated 168 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
) { | 46-168 |
| 457 | change->count = cit->index + cit->count - change->index; | - |
| 458 | QVector<Change>::iterator cbegin = change; | - |
| 459 | QVector<Change>::iterator cend = ++cbegin; | - |
| 460 | for (; cend != m_changes.end()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
&& cend->index <= change->index + change->count| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
; ++cend) { | 0-46 |
| 461 | if (cend->index + cend->count > change->index + change->count| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 462 | change->count = cend->index + cend->count - change->index;executed 2 times by 1 test: change->count = cend->index + cend->count - change->index; | 2 |
| 463 | }executed 2 times by 1 test: end of block | 2 |
| 464 | if (cbegin != cend| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 44 times by 2 testsEvaluated by:- tst_qqmlhangeset
- tst_qquicklistview
|
) { | 2-44 |
| 465 | change = m_changes.erase(cbegin, cend); | - |
| 466 | --change; | - |
| 467 | }executed 2 times by 1 test: end of block | 2 |
| 468 | }executed 46 times by 2 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquicklistview
| 46 |
| 469 | }executed 214 times by 2 tests: end of blockExecuted by:- tst_qqmlhangeset
- tst_qquicklistview
| 214 |
| 470 | } | - |
| 471 | }executed 17888 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qqmlhangeset
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
| 17888 |
| 472 | | - |
| 473 | | - |
| 474 | | - |
| 475 | | - |
| 476 | | - |
| 477 | QDebug operator <<(QDebug debug, const QQmlChangeSet &set) | - |
| 478 | { | - |
| 479 | debug.nospace() << "QQmlChangeSet("; | - |
| 480 | const QVector<QQmlChangeSet::Change> &removes = set.removes(); | - |
| 481 | for (const QQmlChangeSet::Change &remove : removes) | - |
| 482 | debug << remove;executed 6 times by 1 test: debug << remove; | 6 |
| 483 | const QVector<QQmlChangeSet::Change> &inserts = set.inserts(); | - |
| 484 | for (const QQmlChangeSet::Change &insert : inserts) | - |
| 485 | debug << insert;executed 6 times by 1 test: debug << insert; | 6 |
| 486 | const QVector<QQmlChangeSet::Change> &changes = set.changes(); | - |
| 487 | for (const QQmlChangeSet::Change &change : changes) | - |
| 488 | debug << change;executed 2 times by 1 test: debug << change; | 2 |
| 489 | returnexecuted 4 times by 1 test: return debug.nospace() << ')'; debug.nospace() << ')';executed 4 times by 1 test: return debug.nospace() << ')'; | 4 |
| 490 | } | - |
| 491 | | - |
| 492 | | - |
| 493 | | - |
| 494 | | - |
| 495 | | - |
| 496 | QDebug operator <<(QDebug debug, const QQmlChangeSet::Change &change) | - |
| 497 | { | - |
| 498 | returnexecuted 14 times by 1 test: return (debug.nospace() << "Change(" << change.index << ',' << change.count << ')').space(); (debug.nospace() << "Change(" << change.index << ',' << change.count << ')').space();executed 14 times by 1 test: return (debug.nospace() << "Change(" << change.index << ',' << change.count << ')').space(); | 14 |
| 499 | } | - |
| 500 | | - |
| 501 | | - |
| | |