Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | extern __attribute__((visibility("default"))) QString qDBusGenerateMetaObjectXml(QString interface, const QMetaObject *mo, | - |
9 | const QMetaObject *base, int flags); | - |
10 | | - |
11 | static inline QString typeNameToXml(const char *typeName) | - |
12 | { | - |
13 | | - |
14 | | - |
15 | QString plain = QLatin1String(typeName); | - |
16 | QString rich; | - |
17 | rich.reserve(int(plain.length() * 1.1)); | - |
18 | for (int i = 0; i < plain.length()TRUE | evaluated 20705 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 2591 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
; ++i) { | 2591-20705 |
19 | if (plain.at(i) == QLatin1Char('<')TRUE | evaluated 720 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 19985 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) | 720-19985 |
20 | rich += QLatin1String("<");executed 720 times by 1 test: rich += QLatin1String("<"); Executed by:- tst_qdbuscpp2xml - unknown status
| 720 |
21 | else if (plain.at(i) == QLatin1Char('>')TRUE | evaluated 720 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 19265 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) | 720-19265 |
22 | rich += QLatin1String(">");executed 720 times by 1 test: rich += QLatin1String(">"); Executed by:- tst_qdbuscpp2xml - unknown status
| 720 |
23 | else if (plain.at(i) == QLatin1Char('&')TRUE | never evaluated | FALSE | evaluated 19265 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) | 0-19265 |
24 | rich += QLatin1String("&"); never executed: rich += QLatin1String("&"); | 0 |
25 | else | - |
26 | rich += plain.at(i);executed 19265 times by 9 tests: rich += plain.at(i); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 19265 |
27 | } | - |
28 | returnexecuted 2591 times by 9 tests: return rich; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
rich;executed 2591 times by 9 tests: return rich; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 2591 |
29 | } | - |
30 | | - |
31 | static inline QLatin1String accessAsString(bool read, bool write) | - |
32 | { | - |
33 | if (readTRUE | evaluated 175 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
) | 0-175 |
34 | returnexecuted 175 times by 3 tests: return write ? QLatin1String("readwrite") : QLatin1String("read") ; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
write ? QLatin1String("readwrite") : QLatin1String("read") ;executed 175 times by 3 tests: return write ? QLatin1String("readwrite") : QLatin1String("read") ; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| 175 |
35 | else | - |
36 | return never executed: return write ? QLatin1String("write") : QLatin1String("") ; write ? QLatin1String("write") : QLatin1String("") ;never executed: return write ? QLatin1String("write") : QLatin1String("") ; | 0 |
37 | } | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | static QString generateInterfaceXml(const QMetaObject *mo, int flags, int methodOffset, int propOffset) | - |
43 | { | - |
44 | QString retval; | - |
45 | | - |
46 | | - |
47 | if (flags & (QDBusConnection::ExportScriptableProperties |TRUE | evaluated 146 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 30 times by 3 testsEvaluated by:- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
| 30-146 |
48 | QDBusConnection::ExportNonScriptableProperties)TRUE | evaluated 146 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 30 times by 3 testsEvaluated by:- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
) { | 30-146 |
49 | for (int i = propOffset; i < mo->propertyCount()TRUE | evaluated 187 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 146 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 146-187 |
50 | | - |
51 | QMetaProperty mp = mo->property(i); | - |
52 | | - |
53 | if (!((mp.isScriptable()TRUE | evaluated 187 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
&& (TRUE | evaluated 187 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
flags & QDBusConnection::ExportScriptableProperties)TRUE | evaluated 187 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
) || | 0-187 |
54 | (!mp.isScriptable()TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
flags & QDBusConnection::ExportNonScriptableProperties)TRUE | never evaluated | FALSE | never evaluated |
))) | 0 |
55 | continue; never executed: continue; | 0 |
56 | | - |
57 | int typeId = mp.userType(); | - |
58 | if (!typeIdTRUE | never evaluated | FALSE | evaluated 187 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
|
) | 0-187 |
59 | continue; never executed: continue; | 0 |
60 | const char *signature = QDBusMetaType::typeToSignature(typeId); | - |
61 | if (!signatureTRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | evaluated 175 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
|
) | 12-175 |
62 | continue;executed 12 times by 1 test: continue; Executed by:- tst_qdbusabstractadaptor - unknown status
| 12 |
63 | | - |
64 | retval += QString::fromLatin1(" <property name=\"%1\" type=\"%2\" access=\"%3\"") | - |
65 | .arg(QLatin1String(mp.name()), | - |
66 | QLatin1String(signature), | - |
67 | accessAsString(mp.isReadable(), mp.isWritable())); | - |
68 | | - |
69 | if (QDBusMetaType::signatureToType(signature) == QVariant::InvalidTRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 174 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
|
) { | 1-174 |
70 | const char *typeName = QMetaType::typeName(typeId); | - |
71 | retval += QString::fromLatin1(">\n <annotation name=\"org.qtproject.QtDBus.QtTypeName\" value=\"%3\"/>\n </property>\n") | - |
72 | .arg(typeNameToXml(typeName)); | - |
73 | }executed 1 time by 1 test: end of block Executed by:- tst_qdbusabstractinterface - unknown status
else { | 1 |
74 | retval += QLatin1String("/>\n"); | - |
75 | }executed 174 times by 3 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| 174 |
76 | } | - |
77 | }executed 146 times by 10 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 146 |
78 | | - |
79 | | - |
80 | for (int i = methodOffset; i < mo->methodCount()TRUE | evaluated 3923 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 176 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 176-3923 |
81 | QMetaMethod mm = mo->method(i); | - |
82 | | - |
83 | bool isSignal; | - |
84 | if (mm.methodType() == QMetaMethod::SignalTRUE | evaluated 1641 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 2282 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 1641-2282 |
85 | | - |
86 | isSignal = true;executed 1641 times by 4 tests: isSignal = true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| 1641 |
87 | else if (mm.access() == QMetaMethod::PublicTRUE | evaluated 1334 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 948 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
|
&& (mm.methodType() == QMetaMethod::SlotTRUE | evaluated 1176 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 158 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
|
|| mm.methodType() == QMetaMethod::MethodTRUE | evaluated 158 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
)) | 0-1334 |
88 | isSignal = false;executed 1334 times by 11 tests: isSignal = false; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1334 |
89 | else | - |
90 | continue;executed 948 times by 1 test: continue; Executed by:- tst_qdbuscpp2xml - unknown status
| 948 |
91 | | - |
92 | if (isSignalTRUE | evaluated 1641 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1334 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
&& !(flags & (QDBusConnection::ExportScriptableSignals |TRUE | evaluated 520 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 1121 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
| 520-1641 |
93 | QDBusConnection::ExportNonScriptableSignals))TRUE | evaluated 520 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 1121 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
) | 520-1121 |
94 | continue;executed 520 times by 1 test: continue; Executed by:- tst_qdbuscpp2xml - unknown status
| 520 |
95 | if (!isSignalTRUE | evaluated 1334 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1121 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
&& (!(flags & (QDBusConnection::ExportScriptableSlots | QDBusConnection::ExportNonScriptableSlots))TRUE | evaluated 48 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 1286 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
&& | 48-1334 |
96 | !(flags & (QDBusConnection::ExportScriptableInvokables | QDBusConnection::ExportNonScriptableInvokables))TRUE | evaluated 48 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | never evaluated |
)) | 0-48 |
97 | continue;executed 48 times by 1 test: continue; Executed by:- tst_qdbuscpp2xml - unknown status
| 48 |
98 | | - |
99 | | - |
100 | | - |
101 | bool isScriptable = mm.attributes() & QMetaMethod::Scriptable; | - |
102 | if (!isScriptableTRUE | evaluated 1573 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 834 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
|
&& !(flags & (isSignal ? QDBusConnection::ExportNonScriptableSignals : QDBusConnection::ExportNonScriptableInvokables | QDBusConnection::ExportNonScriptableSlots))TRUE | evaluated 312 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 1261 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 312-1573 |
103 | continue;executed 312 times by 1 test: continue; Executed by:- tst_qdbuscpp2xml - unknown status
| 312 |
104 | | - |
105 | QString xml = QString::fromLatin1(" <%1 name=\"%2\">\n") | - |
106 | .arg(isSignal ? QLatin1String("signal") : QLatin1String("method")) | - |
107 | .arg(QString::fromLatin1(mm.name())); | - |
108 | | - |
109 | | - |
110 | int typeId = mm.returnType(); | - |
111 | if (typeId != QMetaType::UnknownTypeTRUE | evaluated 2091 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
&& typeId != QMetaType::VoidTRUE | evaluated 681 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1410 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
|
) { | 4-2091 |
112 | const char *typeName = QDBusMetaType::typeToSignature(typeId); | - |
113 | if (typeNameTRUE | evaluated 681 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | never evaluated |
) { | 0-681 |
114 | xml += QString::fromLatin1(" <arg type=\"%1\" direction=\"out\"/>\n") | - |
115 | .arg(typeNameToXml(typeName)); | - |
116 | | - |
117 | | - |
118 | if (QDBusMetaType::signatureToType(typeName) == QVariant::InvalidTRUE | evaluated 75 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 606 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) | 75-606 |
119 | xml += QString::fromLatin1(" <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out0\" value=\"%1\"/>\n")executed 75 times by 4 tests: xml += QString::fromLatin1(" <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out0\" value=\"%1\"/>\n") .arg(typeNameToXml(QMetaType::typeName(typeId))); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 75 |
120 | .arg(typeNameToXml(QMetaType::typeName(typeId)));executed 75 times by 4 tests: xml += QString::fromLatin1(" <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out0\" value=\"%1\"/>\n") .arg(typeNameToXml(QMetaType::typeName(typeId))); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 75 |
121 | }executed 681 times by 9 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
else { | 681 |
122 | QMessageLogger(__FILE__, 169, __PRETTY_FUNCTION__).warning() << "Unsupported return type" << typeId << QMetaType::typeName(typeId) << "in method" << mm.name(); | - |
123 | continue; never executed: continue; | 0 |
124 | } | - |
125 | } | - |
126 | else if (typeId == QMetaType::UnknownTypeTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1410 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
|
) { | 4-1410 |
127 | QMessageLogger(__FILE__, 174, __PRETTY_FUNCTION__).warning() << "Invalid return type in method" << mm.name(); | - |
128 | continue;executed 4 times by 2 tests: continue; Executed by:- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 4 |
129 | } | - |
130 | | - |
131 | QList<QByteArray> names = mm.parameterNames(); | - |
132 | QVector<int> types; | - |
133 | QString errorMsg; | - |
134 | int inputCount = qDBusParametersForMethod(mm, types, errorMsg); | - |
135 | if (inputCount == -1TRUE | never evaluated | FALSE | evaluated 2091 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) { | 0-2091 |
136 | QMessageLogger(__FILE__, 183, __PRETTY_FUNCTION__).warning() << "Skipped method" << mm.name() << ":" << QString(errorMsg).toLocal8Bit().constData(); | - |
137 | continue; never executed: continue; | 0 |
138 | } | - |
139 | if (isSignalTRUE | evaluated 861 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1230 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
&& inputCount + 1 != types.count()TRUE | never evaluated | FALSE | evaluated 861 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-1230 |
140 | continue; never executed: continue; | 0 |
141 | if (isSignalTRUE | evaluated 861 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1230 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
&& types.at(inputCount) == QDBusMetaTypeId::message()TRUE | never evaluated | FALSE | evaluated 861 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-1230 |
142 | continue; never executed: continue; | 0 |
143 | if (isSignalTRUE | evaluated 861 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1230 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
&& mm.attributes() & QMetaMethod::ClonedTRUE | evaluated 80 times by 1 testEvaluated by:- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 781 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
|
) | 80-1230 |
144 | continue;executed 80 times by 1 test: continue; Executed by:- tst_qdbuscpp2xml - unknown status
| 80 |
145 | | - |
146 | int j; | - |
147 | for (j = 1; j < types.count()TRUE | evaluated 3487 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 2011 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++j) { | 2011-3487 |
148 | | - |
149 | if (types.at(j) == QDBusMetaTypeId::message()TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 3485 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingreply - unknown status
|
) { | 2-3485 |
150 | isScriptable = true; | - |
151 | continue;executed 2 times by 2 tests: continue; Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 2 |
152 | } | - |
153 | | - |
154 | QString name; | - |
155 | if (!names.at(j - 1).isEmpty()TRUE | evaluated 3426 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 59 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
|
) | 59-3426 |
156 | name = QString::fromLatin1("name=\"%1\" ").arg(QLatin1String(names.at(j - 1)));executed 3426 times by 7 tests: name = QString::fromLatin1("name=\"%1\" ").arg(QLatin1String(names.at(j - 1))); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingreply - unknown status
| 3426 |
157 | | - |
158 | bool isOutput = isSignalTRUE | evaluated 3070 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 415 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuspendingreply - unknown status
|
|| j > inputCountTRUE | evaluated 11 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 404 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
; | 11-3070 |
159 | | - |
160 | const char *signature = QDBusMetaType::typeToSignature(types.at(j)); | - |
161 | xml += QString::fromLatin1(" <arg %1type=\"%2\" direction=\"%3\"/>\n") | - |
162 | .arg(name) | - |
163 | .arg(QLatin1String(signature)) | - |
164 | .arg(isOutput ? QLatin1String("out") : QLatin1String("in")); | - |
165 | | - |
166 | | - |
167 | if (QDBusMetaType::signatureToType(signature) == QVariant::InvalidTRUE | evaluated 1834 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 1651 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingreply - unknown status
|
) { | 1651-1834 |
168 | const char *typeName = QMetaType::typeName(types.at(j)); | - |
169 | xml += QString::fromLatin1(" <annotation name=\"org.qtproject.QtDBus.QtTypeName.%1%2\" value=\"%3\"/>\n") | - |
170 | .arg(isOutput ? QLatin1String("Out") : QLatin1String("In")) | - |
171 | .arg(isOutput && !isSignal ? j - inputCount : j - 1) | - |
172 | .arg(typeNameToXml(typeName)); | - |
173 | }executed 1834 times by 3 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| 1834 |
174 | }executed 3485 times by 7 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingreply - unknown status
| 3485 |
175 | | - |
176 | int wantedMask; | - |
177 | if (isScriptableTRUE | evaluated 783 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 1228 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 783-1228 |
178 | wantedMask = isSignalTRUE | evaluated 480 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 303 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
|
? QDBusConnection::ExportScriptableSignalsexecuted 783 times by 5 tests: wantedMask = isSignal ? QDBusConnection::ExportScriptableSignals : QDBusConnection::ExportScriptableSlots; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 303-783 |
179 | : QDBusConnection::ExportScriptableSlots;executed 783 times by 5 tests: wantedMask = isSignal ? QDBusConnection::ExportScriptableSignals : QDBusConnection::ExportScriptableSlots; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 783 |
180 | else | - |
181 | wantedMask = isSignalTRUE | evaluated 301 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 927 times by 10 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
? QDBusConnection::ExportNonScriptableSignalsexecuted 1228 times by 10 tests: wantedMask = isSignal ? QDBusConnection::ExportNonScriptableSignals : QDBusConnection::ExportNonScriptableSlots; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 301-1228 |
182 | : QDBusConnection::ExportNonScriptableSlots;executed 1228 times by 10 tests: wantedMask = isSignal ? QDBusConnection::ExportNonScriptableSignals : QDBusConnection::ExportNonScriptableSlots; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1228 |
183 | if ((TRUE | never evaluated | FALSE | evaluated 2011 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
flags & wantedMask) != wantedMaskTRUE | never evaluated | FALSE | evaluated 2011 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-2011 |
184 | continue; never executed: continue; | 0 |
185 | | - |
186 | if (qDBusCheckAsyncTag(mm.tag())TRUE | never evaluated | FALSE | evaluated 2011 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-2011 |
187 | | - |
188 | xml += QLatin1String(" <annotation name=\"" "org.freedesktop.DBus.Method.NoReply" "\"" never executed: xml += QLatin1String(" <annotation name=\"" "org.freedesktop.DBus.Method.NoReply" "\"" " value=\"true\"/>\n"); | 0 |
189 | " value=\"true\"/>\n"); never executed: xml += QLatin1String(" <annotation name=\"" "org.freedesktop.DBus.Method.NoReply" "\"" " value=\"true\"/>\n"); | 0 |
190 | | - |
191 | retval += xml; | - |
192 | retval += QString::fromLatin1(" </%1>\n") | - |
193 | .arg(isSignal ? QLatin1String("signal") : QLatin1String("method")); | - |
194 | }executed 2011 times by 11 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 2011 |
195 | | - |
196 | returnexecuted 176 times by 11 tests: return retval; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
retval;executed 176 times by 11 tests: return retval; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 176 |
197 | } | - |
198 | | - |
199 | QString qDBusGenerateMetaObjectXml(QString interface, const QMetaObject *mo, | - |
200 | const QMetaObject *base, int flags) | - |
201 | { | - |
202 | if (interface.TRUE | evaluated 91 times by 8 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 89 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
isEmpty()TRUE | evaluated 91 times by 8 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 89 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 89-91 |
203 | | - |
204 | interfaceexecuted 91 times by 8 tests: interface = qDBusInterfaceFromMetaObject(mo); Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
= qDBusInterfaceFromMetaObject(mo);executed 91 times by 8 tests: interface = qDBusInterfaceFromMetaObject(mo); Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| 91 |
205 | | - |
206 | QString xml; | - |
207 | int idx = mo->indexOfClassInfo("D-Bus Introspection"); | - |
208 | if (idx >= mo->classInfoOffset()TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | evaluated 176 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 4-176 |
209 | returnexecuted 4 times by 1 test: return QString::fromUtf8(mo->classInfo(idx).value()); Executed by:- tst_qdbusinterface - unknown status
QString::fromUtf8(mo->classInfo(idx).value());executed 4 times by 1 test: return QString::fromUtf8(mo->classInfo(idx).value()); Executed by:- tst_qdbusinterface - unknown status
| 4 |
210 | else | - |
211 | xml = generateInterfaceXml(mo, flags, base->methodCount(), base->propertyCount());executed 176 times by 11 tests: xml = generateInterfaceXml(mo, flags, base->methodCount(), base->propertyCount()); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 176 |
212 | | - |
213 | if (xml.isEmpty()TRUE | evaluated 41 times by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | evaluated 135 times by 11 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 41-135 |
214 | returnexecuted 41 times by 1 test: return QString(); Executed by:- tst_qdbusabstractadaptor - unknown status
QString();executed 41 times by 1 test: return QString(); Executed by:- tst_qdbusabstractadaptor - unknown status
| 41 |
215 | returnexecuted 135 times by 11 tests: return QString::fromLatin1(" <interface name=\"%1\">\n%2 </interface>\n") .arg(interface, xml); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
QString::fromLatin1(" <interface name=\"%1\">\n%2 </interface>\n")executed 135 times by 11 tests: return QString::fromLatin1(" <interface name=\"%1\">\n%2 </interface>\n") .arg(interface, xml); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 135 |
216 | .arg(interface, xml);executed 135 times by 11 tests: return QString::fromLatin1(" <interface name=\"%1\">\n%2 </interface>\n") .arg(interface, xml); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 135 |
217 | } | - |
218 | | - |
| | |