OpenCoverage

moc_quicktestresult_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmltest/.moc/moc_quicktestresult_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'quicktestresult_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../quicktestresult_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'quicktestresult_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QuickTestResult_t {-
24 QByteArrayData data[72];-
25 char stringdata0[805];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QuickTestResult_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QuickTestResult_t qt_meta_stringdata_QuickTestResult = {-
33 {-
34QT_MOC_LITERAL(0, 0, 15), // "QuickTestResult"-
35QT_MOC_LITERAL(1, 16, 18), // "programNameChanged"-
36QT_MOC_LITERAL(2, 35, 0), // ""-
37QT_MOC_LITERAL(3, 36, 19), // "testCaseNameChanged"-
38QT_MOC_LITERAL(4, 56, 19), // "functionNameChanged"-
39QT_MOC_LITERAL(5, 76, 14), // "dataTagChanged"-
40QT_MOC_LITERAL(6, 91, 14), // "skippedChanged"-
41QT_MOC_LITERAL(7, 106, 5), // "reset"-
42QT_MOC_LITERAL(8, 112, 12), // "startLogging"-
43QT_MOC_LITERAL(9, 125, 11), // "stopLogging"-
44QT_MOC_LITERAL(10, 137, 13), // "initTestTable"-
45QT_MOC_LITERAL(11, 151, 14), // "clearTestTable"-
46QT_MOC_LITERAL(12, 166, 14), // "finishTestData"-
47QT_MOC_LITERAL(13, 181, 21), // "finishTestDataCleanup"-
48QT_MOC_LITERAL(14, 203, 18), // "finishTestFunction"-
49QT_MOC_LITERAL(15, 222, 9), // "stringify"-
50QT_MOC_LITERAL(16, 232, 15), // "QQmlV4Function*"-
51QT_MOC_LITERAL(17, 248, 4), // "args"-
52QT_MOC_LITERAL(18, 253, 4), // "fail"-
53QT_MOC_LITERAL(19, 258, 7), // "message"-
54QT_MOC_LITERAL(20, 266, 8), // "location"-
55QT_MOC_LITERAL(21, 275, 4), // "line"-
56QT_MOC_LITERAL(22, 280, 6), // "verify"-
57QT_MOC_LITERAL(23, 287, 7), // "success"-
58QT_MOC_LITERAL(24, 295, 7), // "compare"-
59QT_MOC_LITERAL(25, 303, 4), // "val1"-
60QT_MOC_LITERAL(26, 308, 4), // "val2"-
61QT_MOC_LITERAL(27, 313, 12), // "fuzzyCompare"-
62QT_MOC_LITERAL(28, 326, 6), // "actual"-
63QT_MOC_LITERAL(29, 333, 8), // "expected"-
64QT_MOC_LITERAL(30, 342, 5), // "delta"-
65QT_MOC_LITERAL(31, 348, 4), // "skip"-
66QT_MOC_LITERAL(32, 353, 10), // "expectFail"-
67QT_MOC_LITERAL(33, 364, 3), // "tag"-
68QT_MOC_LITERAL(34, 368, 7), // "comment"-
69QT_MOC_LITERAL(35, 376, 18), // "expectFailContinue"-
70QT_MOC_LITERAL(36, 395, 4), // "warn"-
71QT_MOC_LITERAL(37, 400, 13), // "ignoreWarning"-
72QT_MOC_LITERAL(38, 414, 8), // "QJSValue"-
73QT_MOC_LITERAL(39, 423, 4), // "wait"-
74QT_MOC_LITERAL(40, 428, 2), // "ms"-
75QT_MOC_LITERAL(41, 431, 5), // "sleep"-
76QT_MOC_LITERAL(42, 437, 16), // "waitForRendering"-
77QT_MOC_LITERAL(43, 454, 11), // "QQuickItem*"-
78QT_MOC_LITERAL(44, 466, 4), // "item"-
79QT_MOC_LITERAL(45, 471, 7), // "timeout"-
80QT_MOC_LITERAL(46, 479, 16), // "startMeasurement"-
81QT_MOC_LITERAL(47, 496, 12), // "beginDataRun"-
82QT_MOC_LITERAL(48, 509, 10), // "endDataRun"-
83QT_MOC_LITERAL(49, 520, 19), // "measurementAccepted"-
84QT_MOC_LITERAL(50, 540, 21), // "needsMoreMeasurements"-
85QT_MOC_LITERAL(51, 562, 14), // "startBenchmark"-
86QT_MOC_LITERAL(52, 577, 7), // "RunMode"-
87QT_MOC_LITERAL(53, 585, 7), // "runMode"-
88QT_MOC_LITERAL(54, 593, 15), // "isBenchmarkDone"-
89QT_MOC_LITERAL(55, 609, 13), // "nextBenchmark"-
90QT_MOC_LITERAL(56, 623, 13), // "stopBenchmark"-
91QT_MOC_LITERAL(57, 637, 9), // "grabImage"-
92QT_MOC_LITERAL(58, 647, 9), // "findChild"-
93QT_MOC_LITERAL(59, 657, 6), // "parent"-
94QT_MOC_LITERAL(60, 664, 10), // "objectName"-
95QT_MOC_LITERAL(61, 675, 12), // "testCaseName"-
96QT_MOC_LITERAL(62, 688, 12), // "functionName"-
97QT_MOC_LITERAL(63, 701, 7), // "dataTag"-
98QT_MOC_LITERAL(64, 709, 6), // "failed"-
99QT_MOC_LITERAL(65, 716, 7), // "skipped"-
100QT_MOC_LITERAL(66, 724, 9), // "passCount"-
101QT_MOC_LITERAL(67, 734, 9), // "failCount"-
102QT_MOC_LITERAL(68, 744, 9), // "skipCount"-
103QT_MOC_LITERAL(69, 754, 14), // "functionsToRun"-
104QT_MOC_LITERAL(70, 769, 27), // "RepeatUntilValidMeasurement"-
105QT_MOC_LITERAL(71, 797, 7) // "RunOnce"-
106-
107 },-
108 "QuickTestResult\0programNameChanged\0\0"-
109 "testCaseNameChanged\0functionNameChanged\0"-
110 "dataTagChanged\0skippedChanged\0reset\0"-
111 "startLogging\0stopLogging\0initTestTable\0"-
112 "clearTestTable\0finishTestData\0"-
113 "finishTestDataCleanup\0finishTestFunction\0"-
114 "stringify\0QQmlV4Function*\0args\0fail\0"-
115 "message\0location\0line\0verify\0success\0"-
116 "compare\0val1\0val2\0fuzzyCompare\0actual\0"-
117 "expected\0delta\0skip\0expectFail\0tag\0"-
118 "comment\0expectFailContinue\0warn\0"-
119 "ignoreWarning\0QJSValue\0wait\0ms\0sleep\0"-
120 "waitForRendering\0QQuickItem*\0item\0"-
121 "timeout\0startMeasurement\0beginDataRun\0"-
122 "endDataRun\0measurementAccepted\0"-
123 "needsMoreMeasurements\0startBenchmark\0"-
124 "RunMode\0runMode\0isBenchmarkDone\0"-
125 "nextBenchmark\0stopBenchmark\0grabImage\0"-
126 "findChild\0parent\0objectName\0testCaseName\0"-
127 "functionName\0dataTag\0failed\0skipped\0"-
128 "passCount\0failCount\0skipCount\0"-
129 "functionsToRun\0RepeatUntilValidMeasurement\0"-
130 "RunOnce"-
131};-
132#undef QT_MOC_LITERAL-
133-
134static const uint qt_meta_data_QuickTestResult[] = {-
135-
136 // content:-
137 7, // revision-
138 0, // classname-
139 0, 0, // classinfo-
140 38, 14, // methods-
141 9, 364, // properties-
142 1, 400, // enums/sets-
143 0, 0, // constructors-
144 0, // flags-
145 5, // signalCount-
146-
147 // signals: name, argc, parameters, tag, flags-
148 1, 0, 242, 2, 0x06 /* Public */,-
149 3, 0, 243, 2, 0x06 /* Public */,-
150 4, 0, 244, 2, 0x06 /* Public */,-
151 5, 0, 245, 2, 0x06 /* Public */,-
152 6, 0, 246, 2, 0x06 /* Public */,-
153-
154 // slots: name, argc, parameters, tag, flags-
155 7, 0, 247, 2, 0x0a /* Public */,-
156 8, 0, 248, 2, 0x0a /* Public */,-
157 9, 0, 249, 2, 0x0a /* Public */,-
158 10, 0, 250, 2, 0x0a /* Public */,-
159 11, 0, 251, 2, 0x0a /* Public */,-
160 12, 0, 252, 2, 0x0a /* Public */,-
161 13, 0, 253, 2, 0x0a /* Public */,-
162 14, 0, 254, 2, 0x0a /* Public */,-
163 15, 1, 255, 2, 0x0a /* Public */,-
164 18, 3, 258, 2, 0x0a /* Public */,-
165 22, 4, 265, 2, 0x0a /* Public */,-
166 24, 6, 274, 2, 0x0a /* Public */,-
167 27, 3, 287, 2, 0x0a /* Public */,-
168 31, 3, 294, 2, 0x0a /* Public */,-
169 32, 4, 301, 2, 0x0a /* Public */,-
170 35, 4, 310, 2, 0x0a /* Public */,-
171 36, 3, 319, 2, 0x0a /* Public */,-
172 37, 1, 326, 2, 0x0a /* Public */,-
173 39, 1, 329, 2, 0x0a /* Public */,-
174 41, 1, 332, 2, 0x0a /* Public */,-
175 42, 2, 335, 2, 0x0a /* Public */,-
176 42, 1, 340, 2, 0x2a /* Public | MethodCloned */,-
177 46, 0, 343, 2, 0x0a /* Public */,-
178 47, 0, 344, 2, 0x0a /* Public */,-
179 48, 0, 345, 2, 0x0a /* Public */,-
180 49, 0, 346, 2, 0x0a /* Public */,-
181 50, 0, 347, 2, 0x0a /* Public */,-
182 51, 2, 348, 2, 0x0a /* Public */,-
183 54, 0, 353, 2, 0x0a /* Public */,-
184 55, 0, 354, 2, 0x0a /* Public */,-
185 56, 0, 355, 2, 0x0a /* Public */,-
186 57, 1, 356, 2, 0x0a /* Public */,-
187 58, 2, 359, 2, 0x8a /* Public | MethodRevisioned */,-
188-
189 // signals: revision-
190 0,-
191 0,-
192 0,-
193 0,-
194 0,-
195-
196 // slots: revision-
197 0,-
198 0,-
199 0,-
200 0,-
201 0,-
202 0,-
203 0,-
204 0,-
205 0,-
206 0,-
207 0,-
208 0,-
209 0,-
210 0,-
211 0,-
212 0,-
213 0,-
214 0,-
215 0,-
216 0,-
217 0,-
218 0,-
219 0,-
220 0,-
221 0,-
222 0,-
223 0,-
224 0,-
225 0,-
226 0,-
227 0,-
228 0,-
229 1,-
230-
231 // signals: parameters-
232 QMetaType::Void,-
233 QMetaType::Void,-
234 QMetaType::Void,-
235 QMetaType::Void,-
236 QMetaType::Void,-
237-
238 // slots: parameters-
239 QMetaType::Void,-
240 QMetaType::Void,-
241 QMetaType::Void,-
242 QMetaType::Void,-
243 QMetaType::Void,-
244 QMetaType::Void,-
245 QMetaType::Void,-
246 QMetaType::Void,-
247 QMetaType::Void, 0x80000000 | 16, 17,-
248 QMetaType::Void, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 19, 20, 21,-
249 QMetaType::Bool, QMetaType::Bool, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 23, 19, 20, 21,-
250 QMetaType::Bool, QMetaType::Bool, QMetaType::QString, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QUrl, QMetaType::Int, 23, 19, 25, 26, 20, 21,-
251 QMetaType::Bool, QMetaType::QVariant, QMetaType::QVariant, QMetaType::QReal, 28, 29, 30,-
252 QMetaType::Void, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 19, 20, 21,-
253 QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 33, 34, 20, 21,-
254 QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 33, 34, 20, 21,-
255 QMetaType::Void, QMetaType::QString, QMetaType::QUrl, QMetaType::Int, 19, 20, 21,-
256 QMetaType::Void, 0x80000000 | 38, 19,-
257 QMetaType::Void, QMetaType::Int, 40,-
258 QMetaType::Void, QMetaType::Int, 40,-
259 QMetaType::Bool, 0x80000000 | 43, QMetaType::Int, 44, 45,-
260 QMetaType::Bool, 0x80000000 | 43, 44,-
261 QMetaType::Void,-
262 QMetaType::Void,-
263 QMetaType::Void,-
264 QMetaType::Bool,-
265 QMetaType::Bool,-
266 QMetaType::Void, 0x80000000 | 52, QMetaType::QString, 53, 33,-
267 QMetaType::Bool,-
268 QMetaType::Void,-
269 QMetaType::Void,-
270 QMetaType::QObjectStar, 0x80000000 | 43, 44,-
271 QMetaType::QObjectStar, QMetaType::QObjectStar, QMetaType::QString, 59, 60,-
272-
273 // properties: name, type, flags-
274 61, QMetaType::QString, 0x00495103,-
275 62, QMetaType::QString, 0x00495103,-
276 63, QMetaType::QString, 0x00495103,-
277 64, QMetaType::Bool, 0x00095001,-
278 65, QMetaType::Bool, 0x00495103,-
279 66, QMetaType::Int, 0x00095001,-
280 67, QMetaType::Int, 0x00095001,-
281 68, QMetaType::Int, 0x00095001,-
282 69, QMetaType::QStringList, 0x00095001,-
283-
284 // properties: notify_signal_id-
285 1,-
286 2,-
287 3,-
288 0,-
289 4,-
290 0,-
291 0,-
292 0,-
293 0,-
294-
295 // enums: name, flags, count, data-
296 52, 0x0, 2, 404,-
297-
298 // enum data: key, value-
299 70, uint(QuickTestResult::RepeatUntilValidMeasurement),-
300 71, uint(QuickTestResult::RunOnce),-
301-
302 0 // eod-
303};-
304-
305void QuickTestResult::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
306{-
307 if (_c == QMetaObject::InvokeMetaMethod) {-
308 QuickTestResult *_t = static_cast<QuickTestResult *>(_o);-
309 Q_UNUSED(_t)-
310 switch (_id) {-
311 case 0: _t->programNameChanged(); break;-
312 case 1: _t->testCaseNameChanged(); break;-
313 case 2: _t->functionNameChanged(); break;-
314 case 3: _t->dataTagChanged(); break;-
315 case 4: _t->skippedChanged(); break;-
316 case 5: _t->reset(); break;-
317 case 6: _t->startLogging(); break;-
318 case 7: _t->stopLogging(); break;-
319 case 8: _t->initTestTable(); break;-
320 case 9: _t->clearTestTable(); break;-
321 case 10: _t->finishTestData(); break;-
322 case 11: _t->finishTestDataCleanup(); break;-
323 case 12: _t->finishTestFunction(); break;-
324 case 13: _t->stringify((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break;-
325 case 14: _t->fail((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;-
326 case 15: { bool _r = _t->verify((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QUrl(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));-
327 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
328 case 16: { bool _r = _t->compare((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariant(*)>(_a[3])),(*reinterpret_cast< const QVariant(*)>(_a[4])),(*reinterpret_cast< const QUrl(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6])));-
329 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
330 case 17: { bool _r = _t->fuzzyCompare((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])));-
331 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
332 case 18: _t->skip((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;-
333 case 19: { bool _r = _t->expectFail((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QUrl(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));-
334 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
335 case 20: { bool _r = _t->expectFailContinue((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QUrl(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));-
336 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
337 case 21: _t->warn((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;-
338 case 22: _t->ignoreWarning((*reinterpret_cast< const QJSValue(*)>(_a[1]))); break;-
339 case 23: _t->wait((*reinterpret_cast< int(*)>(_a[1]))); break;-
340 case 24: _t->sleep((*reinterpret_cast< int(*)>(_a[1]))); break;-
341 case 25: { bool _r = _t->waitForRendering((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));-
342 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
343 case 26: { bool _r = _t->waitForRendering((*reinterpret_cast< QQuickItem*(*)>(_a[1])));-
344 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
345 case 27: _t->startMeasurement(); break;-
346 case 28: _t->beginDataRun(); break;-
347 case 29: _t->endDataRun(); break;-
348 case 30: { bool _r = _t->measurementAccepted();-
349 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
350 case 31: { bool _r = _t->needsMoreMeasurements();-
351 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
352 case 32: _t->startBenchmark((*reinterpret_cast< RunMode(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
353 case 33: { bool _r = _t->isBenchmarkDone();-
354 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;-
355 case 34: _t->nextBenchmark(); break;-
356 case 35: _t->stopBenchmark(); break;-
357 case 36: { QObject* _r = _t->grabImage((*reinterpret_cast< QQuickItem*(*)>(_a[1])));-
358 if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); } break;-
359 case 37: { QObject* _r = _t->findChild((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));-
360 if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); } break;-
361 default: ;-
362 }-
363 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
364 switch (_id) {-
365 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
366 case 22:-
367 switch (*reinterpret_cast<int*>(_a[1])) {-
368 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
369 case 0:-
370 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;-
371 }-
372 break;-
373 case 25:-
374 switch (*reinterpret_cast<int*>(_a[1])) {-
375 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
376 case 0:-
377 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
378 }-
379 break;-
380 case 26:-
381 switch (*reinterpret_cast<int*>(_a[1])) {-
382 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
383 case 0:-
384 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
385 }-
386 break;-
387 case 36:-
388 switch (*reinterpret_cast<int*>(_a[1])) {-
389 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
390 case 0:-
391 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
392 }-
393 break;-
394 }-
395 } else if (_c == QMetaObject::IndexOfMethod) {-
396 int *result = reinterpret_cast<int *>(_a[0]);-
397 {-
398 using _t = void (QuickTestResult::*)();-
399 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickTestResult::programNameChanged)) {-
400 *result = 0;-
401 return;-
402 }-
403 }-
404 {-
405 using _t = void (QuickTestResult::*)();-
406 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickTestResult::testCaseNameChanged)) {-
407 *result = 1;-
408 return;-
409 }-
410 }-
411 {-
412 using _t = void (QuickTestResult::*)();-
413 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickTestResult::functionNameChanged)) {-
414 *result = 2;-
415 return;-
416 }-
417 }-
418 {-
419 using _t = void (QuickTestResult::*)();-
420 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickTestResult::dataTagChanged)) {-
421 *result = 3;-
422 return;-
423 }-
424 }-
425 {-
426 using _t = void (QuickTestResult::*)();-
427 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickTestResult::skippedChanged)) {-
428 *result = 4;-
429 return;-
430 }-
431 }-
432 }-
433#ifndef QT_NO_PROPERTIES-
434 else if (_c == QMetaObject::ReadProperty) {-
435 QuickTestResult *_t = static_cast<QuickTestResult *>(_o);-
436 Q_UNUSED(_t)-
437 void *_v = _a[0];-
438 switch (_id) {-
439 case 0: *reinterpret_cast< QString*>(_v) = _t->testCaseName(); break;-
440 case 1: *reinterpret_cast< QString*>(_v) = _t->functionName(); break;-
441 case 2: *reinterpret_cast< QString*>(_v) = _t->dataTag(); break;-
442 case 3: *reinterpret_cast< bool*>(_v) = _t->isFailed(); break;-
443 case 4: *reinterpret_cast< bool*>(_v) = _t->isSkipped(); break;-
444 case 5: *reinterpret_cast< int*>(_v) = _t->passCount(); break;-
445 case 6: *reinterpret_cast< int*>(_v) = _t->failCount(); break;-
446 case 7: *reinterpret_cast< int*>(_v) = _t->skipCount(); break;-
447 case 8: *reinterpret_cast< QStringList*>(_v) = _t->functionsToRun(); break;-
448 default: break;-
449 }-
450 } else if (_c == QMetaObject::WriteProperty) {-
451 QuickTestResult *_t = static_cast<QuickTestResult *>(_o);-
452 Q_UNUSED(_t)-
453 void *_v = _a[0];-
454 switch (_id) {-
455 case 0: _t->setTestCaseName(*reinterpret_cast< QString*>(_v)); break;-
456 case 1: _t->setFunctionName(*reinterpret_cast< QString*>(_v)); break;-
457 case 2: _t->setDataTag(*reinterpret_cast< QString*>(_v)); break;-
458 case 4: _t->setSkipped(*reinterpret_cast< bool*>(_v)); break;-
459 default: break;-
460 }-
461 } else if (_c == QMetaObject::ResetProperty) {-
462 }-
463#endif // QT_NO_PROPERTIES-
464}-
465-
466QT_INIT_METAOBJECT const QMetaObject QuickTestResult::staticMetaObject = {-
467 { &QObject::staticMetaObject, qt_meta_stringdata_QuickTestResult.data,-
468 qt_meta_data_QuickTestResult, qt_static_metacall, nullptr, nullptr}-
469};-
470-
471-
472const QMetaObject *QuickTestResult::metaObject() const-
473{-
474 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
475}-
476-
477void *QuickTestResult::qt_metacast(const char *_clname)-
478{-
479 if (!_clname) return nullptr;-
480 if (!strcmp(_clname, qt_meta_stringdata_QuickTestResult.stringdata0))-
481 return static_cast<void*>(this);-
482 return QObject::qt_metacast(_clname);-
483}-
484-
485int QuickTestResult::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
486{-
487 _id = QObject::qt_metacall(_c, _id, _a);-
488 if (_id < 0)-
489 return _id;-
490 if (_c == QMetaObject::InvokeMetaMethod) {-
491 if (_id < 38)-
492 qt_static_metacall(this, _c, _id, _a);-
493 _id -= 38;-
494 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
495 if (_id < 38)-
496 qt_static_metacall(this, _c, _id, _a);-
497 _id -= 38;-
498 }-
499#ifndef QT_NO_PROPERTIES-
500 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
501 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
502 qt_static_metacall(this, _c, _id, _a);-
503 _id -= 9;-
504 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
505 _id -= 9;-
506 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
507 _id -= 9;-
508 } else if (_c == QMetaObject::QueryPropertyStored) {-
509 _id -= 9;-
510 } else if (_c == QMetaObject::QueryPropertyEditable) {-
511 _id -= 9;-
512 } else if (_c == QMetaObject::QueryPropertyUser) {-
513 _id -= 9;-
514 }-
515#endif // QT_NO_PROPERTIES-
516 return _id;-
517}-
518-
519// SIGNAL 0-
520void QuickTestResult::programNameChanged()-
521{-
522 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
523}
never executed: end of block
0
524-
525// SIGNAL 1-
526void QuickTestResult::testCaseNameChanged()-
527{-
528 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
529}
executed 64 times by 4 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
64
530-
531// SIGNAL 2-
532void QuickTestResult::functionNameChanged()-
533{-
534 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
535}
executed 220 times by 4 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
220
536-
537// SIGNAL 3-
538void QuickTestResult::dataTagChanged()-
539{-
540 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
541}
executed 192 times by 2 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
192
542-
543// SIGNAL 4-
544void QuickTestResult::skippedChanged()-
545{-
546 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
547}
executed 156 times by 4 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
156
548QT_WARNING_POP-
549QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0