Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | class QDBusMetaObjectGenerator | - |
10 | { | - |
11 | public: | - |
12 | QDBusMetaObjectGenerator(const QString &interface, | - |
13 | const QDBusIntrospection::Interface *parsedData); | - |
14 | void write(QDBusMetaObject *obj); | - |
15 | void writeWithoutXml(QDBusMetaObject *obj); | - |
16 | | - |
17 | private: | - |
18 | struct Method { | - |
19 | QList<QByteArray> parameterNames; | - |
20 | QByteArray tag; | - |
21 | QByteArray name; | - |
22 | QVarLengthArray<int, 4> inputTypes; | - |
23 | QVarLengthArray<int, 4> outputTypes; | - |
24 | QByteArray rawReturnType; | - |
25 | int flags; | - |
26 | }; | - |
27 | | - |
28 | struct Property { | - |
29 | QByteArray typeName; | - |
30 | QByteArray signature; | - |
31 | int type; | - |
32 | int flags; | - |
33 | }; | - |
34 | struct Type { | - |
35 | int id; | - |
36 | QByteArray name; | - |
37 | }; | - |
38 | | - |
39 | QMap<QByteArray, Method> signals_; | - |
40 | QMap<QByteArray, Method> methods; | - |
41 | QMap<QByteArray, Property> properties; | - |
42 | | - |
43 | const QDBusIntrospection::Interface *data; | - |
44 | QString interface; | - |
45 | | - |
46 | Type findType(const QByteArray &signature, | - |
47 | const QDBusIntrospection::Annotations &annotations, | - |
48 | const char *direction = "Out", int id = -1); | - |
49 | | - |
50 | void parseMethods(); | - |
51 | void parseSignals(); | - |
52 | void parseProperties(); | - |
53 | | - |
54 | static int aggregateParameterCount(const QMap<QByteArray, Method> &map); | - |
55 | }; | - |
56 | | - |
57 | static const int intsPerProperty = 2; | - |
58 | static const int intsPerMethod = 2; | - |
59 | | - |
60 | struct QDBusMetaObjectPrivate : public QMetaObjectPrivate | - |
61 | { | - |
62 | int propertyDBusData; | - |
63 | int methodDBusData; | - |
64 | }; | - |
65 | | - |
66 | QDBusMetaObjectGenerator::QDBusMetaObjectGenerator(const QString &interfaceName, | - |
67 | const QDBusIntrospection::Interface *parsedData) | - |
68 | : data(parsedData), interface(interfaceName) | - |
69 | { | - |
70 | if (dataTRUE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | never evaluated |
) { | 0-152 |
71 | parseProperties(); | - |
72 | parseSignals(); | - |
73 | parseMethods(); | - |
74 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
75 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
76 | | - |
77 | static int registerComplexDBusType(const char *typeName) | - |
78 | { | - |
79 | struct QDBusRawTypeHandler { | - |
80 | static void destruct(void *) | - |
81 | { | - |
82 | QMessageLogger(__FILE__, 135, __PRETTY_FUNCTION__).fatal("Cannot destruct placeholder type QDBusRawType"); | - |
83 | } never executed: end of block | 0 |
84 | | - |
85 | static void *construct(void *, const void *) | - |
86 | { | - |
87 | QMessageLogger(__FILE__, 140, __PRETTY_FUNCTION__).fatal("Cannot construct placeholder type QDBusRawType"); | - |
88 | return never executed: return 0; 0;never executed: return 0; | 0 |
89 | } | - |
90 | }; | - |
91 | | - |
92 | returnexecuted 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
QMetaType::registerNormalizedType(typeName,executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
93 | QDBusRawTypeHandler::destruct,executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
94 | QDBusRawTypeHandler::construct,executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
95 | sizeof(void *),executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
96 | QMetaType::MovableType,executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
97 | 0);executed 4 times by 1 test: return QMetaType::registerNormalizedType(typeName, QDBusRawTypeHandler::destruct, QDBusRawTypeHandler::construct, sizeof(void *), QMetaType::MovableType, 0); Executed by:- tst_qdbusinterface - unknown status
| 4 |
98 | } | - |
99 | | - |
100 | __attribute__((visibility("default"))) bool qt_dbus_metaobject_skip_annotations = false; | - |
101 | | - |
102 | QDBusMetaObjectGenerator::Type | - |
103 | QDBusMetaObjectGenerator::findType(const QByteArray &signature, | - |
104 | const QDBusIntrospection::Annotations &annotations, | - |
105 | const char *direction, int id) | - |
106 | { | - |
107 | Type result; | - |
108 | result.id = QVariant::Invalid; | - |
109 | | - |
110 | int type = QDBusMetaType::signatureToType(signature); | - |
111 | if (type == QVariant::InvalidTRUE | evaluated 209 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1061 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
&& !qt_dbus_metaobject_skip_annotationsTRUE | evaluated 209 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | never evaluated |
) { | 0-1061 |
112 | | - |
113 | | - |
114 | QString annotationName = QString::fromLatin1("org.qtproject.QtDBus.QtTypeName"); | - |
115 | if (id >= 0TRUE | evaluated 203 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
|
) | 6-203 |
116 | annotationName += QString::fromLatin1(".%1%2")executed 203 times by 11 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 203 |
117 | .arg(QLatin1String(direction))executed 203 times by 11 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 203 |
118 | .arg(id);executed 203 times by 11 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 203 |
119 | | - |
120 | | - |
121 | QByteArray typeName = annotations.value(annotationName).toLatin1(); | - |
122 | | - |
123 | | - |
124 | if (typeName.isEmpty()TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 204 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 5-204 |
125 | | - |
126 | annotationName = QString::fromLatin1("com.trolltech.QtDBus.QtTypeName"); | - |
127 | if (id >= 0TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusinterface - unknown status
|
) | 1-4 |
128 | annotationName += QString::fromLatin1(".%1%2")executed 4 times by 2 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 4 |
129 | .arg(QLatin1String(direction))executed 4 times by 2 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 4 |
130 | .arg(id);executed 4 times by 2 tests: annotationName += QString::fromLatin1(".%1%2") .arg(QLatin1String(direction)) .arg(id); Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 4 |
131 | typeName = annotations.value(annotationName).toLatin1(); | - |
132 | }executed 5 times by 2 tests: end of block Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 5 |
133 | | - |
134 | if (!typeName.isEmpty()TRUE | evaluated 205 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
|
) { | 4-205 |
135 | | - |
136 | type = QMetaType::type(typeName); | - |
137 | }executed 205 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 205 |
138 | | - |
139 | if (type == QVariant::InvalidTRUE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | evaluated 205 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
|| signature != QDBusMetaType::typeToSignature(type)TRUE | never evaluated | FALSE | evaluated 205 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-205 |
140 | | - |
141 | | - |
142 | typeName = "QDBusRawType<0x" + signature.toHex() + ">*"; | - |
143 | type = registerComplexDBusType(typeName); | - |
144 | }executed 4 times by 1 test: end of block Executed by:- tst_qdbusinterface - unknown status
| 4 |
145 | | - |
146 | result.name = typeName; | - |
147 | }executed 209 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
else if (type == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 1061 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-1061 |
148 | | - |
149 | | - |
150 | | - |
151 | if (signature == "av"TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
152 | result.name = "QVariantList"; | - |
153 | type = QVariant::List; | - |
154 | } never executed: end of block else if (signature == "a{sv}"TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
155 | result.name = "QVariantMap"; | - |
156 | type = QVariant::Map; | - |
157 | } never executed: end of block else if (signature == "a{ss}"TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
158 | result.name = "QMap<QString,QString>"; | - |
159 | type = qMetaTypeId<QMap<QString, QString> >(); | - |
160 | } never executed: end of block else { | 0 |
161 | result.name = "{D-Bus type \"" + signature + "\"}"; | - |
162 | type = registerComplexDBusType(result.name); | - |
163 | } never executed: end of block | 0 |
164 | } else { | - |
165 | result.name = QMetaType::typeName(type); | - |
166 | }executed 1061 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1061 |
167 | | - |
168 | result.id = type; | - |
169 | returnexecuted 1270 times by 11 tests: return result; 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
result;executed 1270 times by 11 tests: return result; 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1270 |
170 | } | - |
171 | | - |
172 | void QDBusMetaObjectGenerator::parseMethods() | - |
173 | { | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | QDBusIntrospection::Methods::ConstIterator method_it = data->methods.constBegin(); | - |
180 | QDBusIntrospection::Methods::ConstIterator method_end = data->methods.constEnd(); | - |
181 | for ( ; method_it != method_endTRUE | evaluated 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++method_it) { | 152-990 |
182 | const QDBusIntrospection::Method &m = *method_it; | - |
183 | Method mm; | - |
184 | | - |
185 | mm.name = m.name.toLatin1(); | - |
186 | QByteArray prototype = mm.name; | - |
187 | prototype += '('; | - |
188 | | - |
189 | bool ok = true; | - |
190 | | - |
191 | | - |
192 | for (int i = 0; i < m.inputArgs.count()TRUE | evaluated 543 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 543-990 |
193 | const QDBusIntrospection::Argument &arg = m.inputArgs.at(i); | - |
194 | | - |
195 | Type type = findType(arg.type.toLatin1(), m.annotations, "In", i); | - |
196 | if (type.id == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 543 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-543 |
197 | ok = false; | - |
198 | break; never executed: break; | 0 |
199 | } | - |
200 | | - |
201 | mm.inputTypes.append(type.id); | - |
202 | | - |
203 | mm.parameterNames.append(arg.name.toLatin1()); | - |
204 | | - |
205 | prototype.append(type.name); | - |
206 | prototype.append(','); | - |
207 | }executed 543 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 543 |
208 | if (!okTRUE | never evaluated | FALSE | evaluated 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) continue;never executed: continue; | 0-990 |
209 | | - |
210 | | - |
211 | for (int i = 0; i < m.outputArgs.count()TRUE | evaluated 533 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 533-990 |
212 | const QDBusIntrospection::Argument &arg = m.outputArgs.at(i); | - |
213 | | - |
214 | Type type = findType(arg.type.toLatin1(), m.annotations, "Out", i); | - |
215 | if (type.id == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 533 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-533 |
216 | ok = false; | - |
217 | break; never executed: break; | 0 |
218 | } | - |
219 | | - |
220 | mm.outputTypes.append(type.id); | - |
221 | | - |
222 | if (i == 0TRUE | evaluated 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 19 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
|
&& type.id == -1TRUE | never evaluated | FALSE | evaluated 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-514 |
223 | mm.rawReturnType = type.name; | - |
224 | } never executed: end of block | 0 |
225 | if (i != 0TRUE | evaluated 19 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 19-514 |
226 | | - |
227 | mm.parameterNames.append(arg.name.toLatin1()); | - |
228 | | - |
229 | prototype.append(type.name); | - |
230 | prototype.append("&,"); | - |
231 | }executed 19 times by 5 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
| 19 |
232 | }executed 533 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 533 |
233 | if (!okTRUE | never evaluated | FALSE | evaluated 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) continue;never executed: continue; | 0-990 |
234 | | - |
235 | | - |
236 | if (!mm.parameterNames.isEmpty()TRUE | evaluated 485 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 505 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 485-505 |
237 | prototype[prototype.length() - 1] = ')';executed 485 times by 11 tests: prototype[prototype.length() - 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_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 485 |
238 | else | - |
239 | prototype.append(')');executed 505 times by 12 tests: prototype.append(')'); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 505 |
240 | | - |
241 | | - |
242 | if (m.annotations.value(QLatin1String("org.freedesktop.DBus.Method.NoReply")) == QLatin1String("true")TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 989 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 1-989 |
243 | mm.tag = "Q_NOREPLY";executed 1 time by 1 test: mm.tag = "Q_NOREPLY"; Executed by:- tst_qdbusmetaobject - unknown status
| 1 |
244 | | - |
245 | | - |
246 | mm.flags = AccessPublic | MethodSlot | MethodScriptable; | - |
247 | | - |
248 | | - |
249 | methods.insert(QMetaObject::normalizedSignature(prototype), mm); | - |
250 | }executed 990 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 990 |
251 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
252 | | - |
253 | void QDBusMetaObjectGenerator::parseSignals() | - |
254 | { | - |
255 | QDBusIntrospection::Signals::ConstIterator signal_it = data->signals_.constBegin(); | - |
256 | QDBusIntrospection::Signals::ConstIterator signal_end = data->signals_.constEnd(); | - |
257 | for ( ; signal_it != signal_endTRUE | evaluated 98 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++signal_it) { | 98-152 |
258 | const QDBusIntrospection::Signal &s = *signal_it; | - |
259 | Method mm; | - |
260 | | - |
261 | mm.name = s.name.toLatin1(); | - |
262 | QByteArray prototype = mm.name; | - |
263 | prototype += '('; | - |
264 | | - |
265 | bool ok = true; | - |
266 | | - |
267 | | - |
268 | for (int i = 0; i < s.outputArgs.count()TRUE | evaluated 106 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 98 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 98-106 |
269 | const QDBusIntrospection::Argument &arg = s.outputArgs.at(i); | - |
270 | | - |
271 | Type type = findType(arg.type.toLatin1(), s.annotations, "Out", i); | - |
272 | if (type.id == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 106 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-106 |
273 | ok = false; | - |
274 | break; never executed: break; | 0 |
275 | } | - |
276 | | - |
277 | mm.inputTypes.append(type.id); | - |
278 | | - |
279 | mm.parameterNames.append(arg.name.toLatin1()); | - |
280 | | - |
281 | prototype.append(type.name); | - |
282 | prototype.append(','); | - |
283 | }executed 106 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 106 |
284 | if (!okTRUE | never evaluated | FALSE | evaluated 98 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) continue;never executed: continue; | 0-98 |
285 | | - |
286 | | - |
287 | if (!mm.parameterNames.isEmpty()TRUE | evaluated 71 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 27 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
|
) | 27-71 |
288 | prototype[prototype.length() - 1] = ')';executed 71 times by 11 tests: prototype[prototype.length() - 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_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 71 |
289 | else | - |
290 | prototype.append(')');executed 27 times by 4 tests: prototype.append(')'); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
| 27 |
291 | | - |
292 | | - |
293 | mm.flags = AccessPublic | MethodSignal | MethodScriptable; | - |
294 | | - |
295 | | - |
296 | signals_.insert(QMetaObject::normalizedSignature(prototype), mm); | - |
297 | }executed 98 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 98 |
298 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
299 | | - |
300 | void QDBusMetaObjectGenerator::parseProperties() | - |
301 | { | - |
302 | QDBusIntrospection::Properties::ConstIterator prop_it = data->properties.constBegin(); | - |
303 | QDBusIntrospection::Properties::ConstIterator prop_end = data->properties.constEnd(); | - |
304 | for ( ; prop_it != prop_endTRUE | evaluated 88 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++prop_it) { | 88-152 |
305 | const QDBusIntrospection::Property &p = *prop_it; | - |
306 | Property mp; | - |
307 | Type type = findType(p.type.toLatin1(), p.annotations); | - |
308 | if (type.id == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 88 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
|
) | 0-88 |
309 | continue; never executed: continue; | 0 |
310 | | - |
311 | QByteArray name = p.name.toLatin1(); | - |
312 | mp.signature = p.type.toLatin1(); | - |
313 | mp.type = type.id; | - |
314 | mp.typeName = type.name; | - |
315 | | - |
316 | | - |
317 | mp.flags = StdCppSet | Scriptable | Stored | Designable; | - |
318 | if (p.access != QDBusIntrospection::Property::WriteTRUE | evaluated 86 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusmetaobject - unknown status
|
) | 2-86 |
319 | mp.flags |= Readable;executed 86 times by 4 tests: mp.flags |= Readable; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 86 |
320 | if (p.access != QDBusIntrospection::Property::ReadTRUE | evaluated 53 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmetaobject - unknown status
|
) | 35-53 |
321 | mp.flags |= Writable;executed 53 times by 4 tests: mp.flags |= Writable; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 53 |
322 | | - |
323 | | - |
324 | properties.insert(name, mp); | - |
325 | }executed 88 times by 4 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 88 |
326 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | int QDBusMetaObjectGenerator::aggregateParameterCount(const QMap<QByteArray, Method> &map) | - |
332 | { | - |
333 | int sum = 0; | - |
334 | QMap<QByteArray, Method>::const_iterator it; | - |
335 | for (it = map.constBegin(); it != map.constEnd()TRUE | evaluated 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 304 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++it) { | 304-1088 |
336 | const Method &m = it.value(); | - |
337 | sum += m.inputTypes.size() + qMax(1, m.outputTypes.size()); | - |
338 | }executed 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1088 |
339 | returnexecuted 304 times by 12 tests: return sum; 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
sum;executed 304 times by 12 tests: return sum; 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 304 |
340 | } | - |
341 | | - |
342 | void QDBusMetaObjectGenerator::write(QDBusMetaObject *obj) | - |
343 | { | - |
344 | | - |
345 | | - |
346 | | - |
347 | QString className = interface; | - |
348 | className.replace(QLatin1Char('.'), QLatin1String("::")); | - |
349 | if (className.isEmpty()TRUE | never evaluated | FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-152 |
350 | className = QLatin1String("QDBusInterface"); never executed: className = QLatin1String("QDBusInterface"); | 0 |
351 | | - |
352 | QVarLengthArray<int> idata; | - |
353 | idata.resize(sizeof(QDBusMetaObjectPrivate) / sizeof(int)); | - |
354 | | - |
355 | int methodParametersDataSize = | - |
356 | ((aggregateParameterCount(signals_) | - |
357 | + aggregateParameterCount(methods)) * 2) | - |
358 | - signals_.count() | - |
359 | - methods.count(); | - |
360 | | - |
361 | QDBusMetaObjectPrivate *header = reinterpret_cast<QDBusMetaObjectPrivate *>(idata.data()); | - |
362 | static_assert(bool(QMetaObjectPrivate::OutputRevision == 7), "QtDBus meta-object generator should generate the same version as moc"); | - |
363 | header->revision = QMetaObjectPrivate::OutputRevision; | - |
364 | header->className = 0; | - |
365 | header->classInfoCount = 0; | - |
366 | header->classInfoData = 0; | - |
367 | header->methodCount = signals_.count() + methods.count(); | - |
368 | header->methodData = idata.size(); | - |
369 | header->propertyCount = properties.count(); | - |
370 | header->propertyData = header->methodData + header->methodCount * 5 + methodParametersDataSize; | - |
371 | header->enumeratorCount = 0; | - |
372 | header->enumeratorData = 0; | - |
373 | header->constructorCount = 0; | - |
374 | header->constructorData = 0; | - |
375 | header->flags = RequiresVariantMetaObject; | - |
376 | header->signalCount = signals_.count(); | - |
377 | | - |
378 | header->propertyDBusData = header->propertyData + header->propertyCount * 3; | - |
379 | header->methodDBusData = header->propertyDBusData + header->propertyCount * intsPerProperty; | - |
380 | | - |
381 | int data_size = idata.size() + | - |
382 | (header->methodCount * (5+intsPerMethod)) + methodParametersDataSize + | - |
383 | (header->propertyCount * (3+intsPerProperty)); | - |
384 | for (const Method &mm : qAsConst(signals_)) | - |
385 | data_size += 2 + mm.inputTypes.count() + mm.outputTypes.count();executed 98 times by 12 tests: data_size += 2 + mm.inputTypes.count() + mm.outputTypes.count(); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 98 |
386 | for (const Method &mm : qAsConst(methods)) | - |
387 | data_size += 2 + mm.inputTypes.count() + mm.outputTypes.count();executed 990 times by 12 tests: data_size += 2 + mm.inputTypes.count() + mm.outputTypes.count(); 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 990 |
388 | idata.resize(data_size + 1); | - |
389 | | - |
390 | QMetaStringTable strings(className.toLatin1()); | - |
391 | | - |
392 | int offset = header->methodData; | - |
393 | int parametersOffset = offset + header->methodCount * 5; | - |
394 | int signatureOffset = header->methodDBusData; | - |
395 | int typeidOffset = header->methodDBusData + header->methodCount * intsPerMethod; | - |
396 | idata[typeidOffset++] = 0; | - |
397 | | - |
398 | | - |
399 | for (int x = 0; x < 2TRUE | evaluated 304 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++x) { | 152-304 |
400 | | - |
401 | QMap<QByteArray, Method> &map = (TRUE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
x == 0)TRUE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
? signals_ : methods; | 152 |
402 | for (QMap<QByteArray, Method>::ConstIterator it = map.constBegin(); | - |
403 | it != map.constEnd()TRUE | evaluated 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 304 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++it) { | 304-1088 |
404 | const Method &mm = it.value(); | - |
405 | | - |
406 | int argc = mm.inputTypes.size() + qMax(0, mm.outputTypes.size() - 1); | - |
407 | | - |
408 | idata[offset++] = strings.enter(mm.name); | - |
409 | idata[offset++] = argc; | - |
410 | idata[offset++] = parametersOffset; | - |
411 | idata[offset++] = strings.enter(mm.tag); | - |
412 | idata[offset++] = mm.flags; | - |
413 | | - |
414 | | - |
415 | for (int i = -1; i < argcTRUE | evaluated 1756 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) { | 1088-1756 |
416 | int type; | - |
417 | QByteArray typeName; | - |
418 | if (i < 0TRUE | evaluated 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 668 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 668-1088 |
419 | if (!mm.outputTypes.isEmpty()TRUE | evaluated 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 574 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) { | 514-574 |
420 | type = mm.outputTypes.first(); | - |
421 | if (type == -1TRUE | never evaluated | FALSE | evaluated 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) { | 0-514 |
422 | type = IsUnresolvedType | strings.enter(mm.rawReturnType); | - |
423 | } never executed: end of block | 0 |
424 | }executed 514 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
else { | 514 |
425 | type = QMetaType::Void; | - |
426 | }executed 574 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 574 |
427 | } else if (i < mm.inputTypes.size()TRUE | evaluated 649 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 19 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
|
) { | 19-649 |
428 | type = mm.inputTypes.at(i); | - |
429 | }executed 649 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
else { | 649 |
430 | ((!(mm.outputTypes.size() > 1)) ? qt_assert("mm.outputTypes.size() > 1",__FILE__,483) : qt_noop()); | - |
431 | type = mm.outputTypes.at(i - mm.inputTypes.size() + 1); | - |
432 | | - |
433 | typeName = QMetaType::typeName(type); | - |
434 | typeName.append('&'); | - |
435 | }executed 19 times by 5 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
| 19 |
436 | ((!(type != QMetaType::UnknownType)) ? qt_assert("type != QMetaType::UnknownType",__FILE__,489) : qt_noop()); | - |
437 | int typeInfo; | - |
438 | if (!typeName.isEmpty()TRUE | evaluated 19 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 1737 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 19-1737 |
439 | typeInfo = IsUnresolvedType | strings.enter(typeName);executed 19 times by 5 tests: typeInfo = IsUnresolvedType | strings.enter(typeName); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingreply - unknown status
| 19 |
440 | else | - |
441 | typeInfo = type;executed 1737 times by 12 tests: typeInfo = type; 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1737 |
442 | idata[parametersOffset++] = typeInfo; | - |
443 | }executed 1756 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1756 |
444 | | - |
445 | for (int i = 0; i < argcTRUE | evaluated 668 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++i) | 668-1088 |
446 | idata[parametersOffset++] = strings.enter(mm.parameterNames.at(i));executed 668 times by 11 tests: idata[parametersOffset++] = strings.enter(mm.parameterNames.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_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 668 |
447 | | - |
448 | idata[signatureOffset++] = typeidOffset; | - |
449 | idata[typeidOffset++] = mm.inputTypes.count(); | - |
450 | memcpy(idata.data() + typeidOffset, mm.inputTypes.data(), mm.inputTypes.count() * sizeof(int)); | - |
451 | typeidOffset += mm.inputTypes.count(); | - |
452 | | - |
453 | idata[signatureOffset++] = typeidOffset; | - |
454 | idata[typeidOffset++] = mm.outputTypes.count(); | - |
455 | memcpy(idata.data() + typeidOffset, mm.outputTypes.data(), mm.outputTypes.count() * sizeof(int)); | - |
456 | typeidOffset += mm.outputTypes.count(); | - |
457 | }executed 1088 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 1088 |
458 | }executed 304 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 304 |
459 | | - |
460 | ((!(offset == header->methodData + header->methodCount * 5)) ? qt_assert("offset == header->methodData + header->methodCount * 5",__FILE__,513) : qt_noop()); | - |
461 | ((!(parametersOffset == header->propertyData)) ? qt_assert("parametersOffset == header->propertyData",__FILE__,514) : qt_noop()); | - |
462 | ((!(signatureOffset == header->methodDBusData + header->methodCount * intsPerMethod)) ? qt_assert("signatureOffset == header->methodDBusData + header->methodCount * intsPerMethod",__FILE__,515) : qt_noop()); | - |
463 | ((!(typeidOffset == idata.size())) ? qt_assert("typeidOffset == idata.size()",__FILE__,516) : qt_noop()); | - |
464 | offset += methodParametersDataSize; | - |
465 | ((!(offset == header->propertyData)) ? qt_assert("offset == header->propertyData",__FILE__,518) : qt_noop()); | - |
466 | | - |
467 | | - |
468 | signatureOffset = header->propertyDBusData; | - |
469 | for (QMap<QByteArray, Property>::ConstIterator it = properties.constBegin(); | - |
470 | it != properties.constEnd()TRUE | evaluated 88 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++it) { | 88-152 |
471 | const Property &mp = it.value(); | - |
472 | | - |
473 | | - |
474 | idata[offset++] = strings.enter(it.key()); | - |
475 | ((!(mp.type != QMetaType::UnknownType)) ? qt_assert("mp.type != QMetaType::UnknownType",__FILE__,528) : qt_noop()); | - |
476 | idata[offset++] = mp.type; | - |
477 | idata[offset++] = mp.flags; | - |
478 | | - |
479 | idata[signatureOffset++] = strings.enter(mp.signature); | - |
480 | idata[signatureOffset++] = mp.type; | - |
481 | }executed 88 times by 4 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
| 88 |
482 | | - |
483 | ((!(offset == header->propertyDBusData)) ? qt_assert("offset == header->propertyDBusData",__FILE__,536) : qt_noop()); | - |
484 | ((!(signatureOffset == header->methodDBusData)) ? qt_assert("signatureOffset == header->methodDBusData",__FILE__,537) : qt_noop()); | - |
485 | | - |
486 | char *string_data = new char[strings.blobSize()]; | - |
487 | strings.writeBlob(string_data); | - |
488 | | - |
489 | uint *uint_data = new uint[idata.size()]; | - |
490 | memcpy(uint_data, idata.data(), idata.size() * sizeof(int)); | - |
491 | | - |
492 | | - |
493 | obj->d.data = uint_data; | - |
494 | obj->d.relatedMetaObjects = 0; | - |
495 | obj->d.static_metacall = 0; | - |
496 | obj->d.extradata = 0; | - |
497 | obj->d.stringdata = reinterpret_cast<const QByteArrayData *>(string_data); | - |
498 | obj->d.superdata = &QDBusAbstractInterface::staticMetaObject; | - |
499 | }executed 152 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 152 |
500 | QDBusMetaObject *QDBusMetaObject::createMetaObject(const QString &interface, const QString &xml, | - |
501 | QHash<QString, QDBusMetaObject *> &cache, | - |
502 | QDBusError &error) | - |
503 | { | - |
504 | error = QDBusError(); | - |
505 | QDBusIntrospection::Interfaces parsed = QDBusIntrospection::parseInterfaces(xml); | - |
506 | | - |
507 | QDBusMetaObject *we = 0; | - |
508 | QDBusIntrospection::Interfaces::ConstIterator it = parsed.constBegin(); | - |
509 | QDBusIntrospection::Interfaces::ConstIterator end = parsed.constEnd(); | - |
510 | for ( ; it != endTRUE | evaluated 404 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 140 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
; ++it) { | 140-404 |
511 | | - |
512 | bool us = it.key() == interface; | - |
513 | | - |
514 | QDBusMetaObject *obj = cache.value(it.key(), 0); | - |
515 | if ( !objTRUE | evaluated 341 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 63 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusinterface - unknown status
|
&& ( usTRUE | evaluated 102 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 239 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
|| !interface.startsWith( QLatin1String("local.") )TRUE | evaluated 45 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 194 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusthreading - unknown status
|
) ) { | 45-341 |
516 | | - |
517 | obj = new QDBusMetaObject; | - |
518 | QDBusMetaObjectGenerator generator(it.key(), it.value().constData()); | - |
519 | generator.write(obj); | - |
520 | | - |
521 | if ( (TRUE | evaluated 44 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 103 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
|
obj->cached = !it.key().startsWith( QLatin1String("local.") ))TRUE | evaluated 44 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 103 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
|
) | 44-103 |
522 | | - |
523 | cache.insert(it.key(), obj);executed 44 times by 10 tests: cache.insert(it.key(), obj); 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 44 |
524 | else if (!usTRUE | evaluated 9 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
| FALSE | evaluated 94 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
|
) | 9-94 |
525 | delete obj;executed 9 times by 4 tests: delete obj; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
| 9 |
526 | | - |
527 | }executed 147 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 147 |
528 | | - |
529 | if (usTRUE | evaluated 102 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 302 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_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 102-302 |
530 | | - |
531 | we = obj;executed 102 times by 8 tests: we = obj; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 102 |
532 | }executed 404 times by 12 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_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 404 |
533 | | - |
534 | if (weTRUE | evaluated 102 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 38 times by 6 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_qdbusinterface - unknown status
|
) | 38-102 |
535 | returnexecuted 102 times by 8 tests: return we; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
we;executed 102 times by 8 tests: return we; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 102 |
536 | | - |
537 | | - |
538 | if (parsed.isEmpty()TRUE | never evaluated | FALSE | evaluated 38 times by 6 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_qdbusinterface - unknown status
|
) { | 0-38 |
539 | | - |
540 | we = new QDBusMetaObject; | - |
541 | QDBusMetaObjectGenerator generator(interface, 0); | - |
542 | generator.write(we); | - |
543 | we->cached = false; | - |
544 | return never executed: return we; we;never executed: return we; | 0 |
545 | } else if (interface.TRUE | evaluated 5 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 33 times by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
|
isEmpty()TRUE | evaluated 5 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 33 times by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
|
) { | 5-33 |
546 | | - |
547 | it = parsed.constBegin(); | - |
548 | QDBusIntrospection::Interface merged = *it.value().constData(); | - |
549 | | - |
550 | for (++it; it != endTRUE | evaluated 15 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 5 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
|
; ++it) { | 5-15 |
551 | merged.annotations.unite(it.value()->annotations); | - |
552 | merged.methods.unite(it.value()->methods); | - |
553 | merged.signals_.unite(it.value()->signals_); | - |
554 | merged.properties.unite(it.value()->properties); | - |
555 | }executed 15 times by 5 tests: end of block Executed by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
| 15 |
556 | | - |
557 | merged.name = QLatin1String("local.Merged"); | - |
558 | merged.introspection.clear(); | - |
559 | | - |
560 | we = new QDBusMetaObject; | - |
561 | QDBusMetaObjectGenerator generator(merged.name, &merged); | - |
562 | generator.write(we); | - |
563 | we->cached = false; | - |
564 | returnexecuted 5 times by 5 tests: return we; Executed by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
we;executed 5 times by 5 tests: return we; Executed by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
| 5 |
565 | } | - |
566 | | - |
567 | | - |
568 | error = QDBusError(QDBusError::UnknownInterface, | - |
569 | QString::fromLatin1("Interface '%1' was not found") | - |
570 | .arg(interface)); | - |
571 | returnexecuted 33 times by 1 test: return 0; Executed by:- tst_qdbusabstractadaptor - unknown status
0;executed 33 times by 1 test: return 0; Executed by:- tst_qdbusabstractadaptor - unknown status
| 33 |
572 | } | - |
573 | | - |
574 | QDBusMetaObject::QDBusMetaObject() | - |
575 | { | - |
576 | } | - |
577 | | - |
578 | static inline const QDBusMetaObjectPrivate *priv(const uint* data) | - |
579 | { | - |
580 | returnexecuted 64 times by 1 test: return reinterpret_cast<const QDBusMetaObjectPrivate *>(data); Executed by:- tst_qdbusinterface - unknown status
reinterpret_cast<const QDBusMetaObjectPrivate *>(data);executed 64 times by 1 test: return reinterpret_cast<const QDBusMetaObjectPrivate *>(data); Executed by:- tst_qdbusinterface - unknown status
| 64 |
581 | } | - |
582 | | - |
583 | const int *QDBusMetaObject::inputTypesForMethod(int id) const | - |
584 | { | - |
585 | | - |
586 | if (id >= 0TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
&& id < priv(d.data)->methodCountTRUE | evaluated 16 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
) { | 0-16 |
587 | int handle = priv(d.data)->methodDBusData + id*intsPerMethod; | - |
588 | returnexecuted 16 times by 1 test: return reinterpret_cast<const int*>(d.data + d.data[handle]); Executed by:- tst_qdbusinterface - unknown status
reinterpret_cast<const int*>(d.data + d.data[handle]);executed 16 times by 1 test: return reinterpret_cast<const int*>(d.data + d.data[handle]); Executed by:- tst_qdbusinterface - unknown status
| 16 |
589 | } | - |
590 | return never executed: return 0; 0;never executed: return 0; | 0 |
591 | } | - |
592 | | - |
593 | const int *QDBusMetaObject::outputTypesForMethod(int id) const | - |
594 | { | - |
595 | | - |
596 | if (id >= 0TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
&& id < priv(d.data)->methodCountTRUE | evaluated 16 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
) { | 0-16 |
597 | int handle = priv(d.data)->methodDBusData + id*intsPerMethod; | - |
598 | returnexecuted 16 times by 1 test: return reinterpret_cast<const int*>(d.data + d.data[handle + 1]); Executed by:- tst_qdbusinterface - unknown status
reinterpret_cast<const int*>(d.data + d.data[handle + 1]);executed 16 times by 1 test: return reinterpret_cast<const int*>(d.data + d.data[handle + 1]); Executed by:- tst_qdbusinterface - unknown status
| 16 |
599 | } | - |
600 | return never executed: return 0; 0;never executed: return 0; | 0 |
601 | } | - |
602 | | - |
603 | int QDBusMetaObject::propertyMetaType(int id) const | - |
604 | { | - |
605 | | - |
606 | if (id >= 0TRUE | never evaluated | FALSE | never evaluated |
&& id < priv(d.data)->propertyCountTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
607 | int handle = priv(d.data)->propertyDBusData + id*intsPerProperty; | - |
608 | return never executed: return d.data[handle + 1]; d.data[handle + 1];never executed: return d.data[handle + 1]; | 0 |
609 | } | - |
610 | return never executed: return 0; 0;never executed: return 0; | 0 |
611 | } | - |
612 | | - |
613 | | - |
| | |