Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | | - |
310 | | - |
311 | | - |
312 | | - |
313 | | - |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | | - |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
357 | | - |
358 | | - |
359 | | - |
360 | | - |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | | - |
368 | | - |
369 | | - |
370 | | - |
371 | | - |
372 | | - |
373 | | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | | - |
385 | | - |
386 | | - |
387 | | - |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | | - |
393 | | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | | - |
405 | | - |
406 | | - |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | | - |
414 | | - |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | | - |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
452 | | - |
453 | | - |
454 | | - |
455 | | - |
456 | | - |
457 | #include "qabstractsocket.h" | - |
458 | #include "qabstractsocket_p.h" | - |
459 | | - |
460 | #include "private/qhostinfo_p.h" | - |
461 | #include "private/qnetworksession_p.h" | - |
462 | | - |
463 | #include <qabstracteventdispatcher.h> | - |
464 | #include <qhostaddress.h> | - |
465 | #include <qhostinfo.h> | - |
466 | #include <qmetaobject.h> | - |
467 | #include <qpointer.h> | - |
468 | #include <qtimer.h> | - |
469 | #include <qelapsedtimer.h> | - |
470 | #include <qscopedvaluerollback.h> | - |
471 | #include <qvarlengtharray.h> | - |
472 | | - |
473 | #ifndef QT_NO_SSL | - |
474 | #include <QtNetwork/qsslsocket.h> | - |
475 | #endif | - |
476 | | - |
477 | #include <private/qthread_p.h> | - |
478 | | - |
479 | #ifdef QABSTRACTSOCKET_DEBUG | - |
480 | #include <qdebug.h> | - |
481 | #endif | - |
482 | | - |
483 | #include <time.h> | - |
484 | | - |
485 | #define Q_CHECK_SOCKETENGINE(returnValue) do { \ | - |
486 | if (!d->socketEngine) { \ | - |
487 | return returnValue; \ | - |
488 | } } while (0) | - |
489 | | - |
490 | #ifndef QABSTRACTSOCKET_BUFFERSIZE | - |
491 | #define QABSTRACTSOCKET_BUFFERSIZE 32768 | - |
492 | #endif | - |
493 | #define QT_CONNECT_TIMEOUT 30000 | - |
494 | #define QT_TRANSFER_TIMEOUT 120000 | - |
495 | | - |
496 | QT_BEGIN_NAMESPACE | - |
497 | | - |
498 | #if defined QABSTRACTSOCKET_DEBUG | - |
499 | QT_BEGIN_INCLUDE_NAMESPACE | - |
500 | #include <qstring.h> | - |
501 | #include <ctype.h> | - |
502 | QT_END_INCLUDE_NAMESPACE | - |
503 | | - |
504 | | - |
505 | | - |
506 | | - |
507 | | - |
508 | static QByteArray qt_prettyDebug(const char *data, int len, int maxLength) | - |
509 | { | - |
510 | if (!data) return "(null)"; | - |
511 | QByteArray out; | - |
512 | for (int i = 0; i < qMin(len, maxLength); ++i) { | - |
513 | char c = data[i]; | - |
514 | if (isprint(int(uchar(c)))) { | - |
515 | out += c; | - |
516 | } else switch (c) { | - |
517 | case '\n': out += "\\n"; break; | - |
518 | case '\r': out += "\\r"; break; | - |
519 | case '\t': out += "\\t"; break; | - |
520 | default: | - |
521 | QString tmp; | - |
522 | tmp.sprintf("\\%o", c); | - |
523 | out += tmp.toLatin1(); | - |
524 | } | - |
525 | } | - |
526 | | - |
527 | if (len < maxLength) | - |
528 | out += "..."; | - |
529 | | - |
530 | return out; | - |
531 | } | - |
532 | #endif | - |
533 | | - |
534 | static bool isProxyError(QAbstractSocket::SocketError error) | - |
535 | { | - |
536 | switch (error) { | - |
537 | case QAbstractSocket::ProxyAuthenticationRequiredError:executed 10 times by 4 tests: case QAbstractSocket::ProxyAuthenticationRequiredError: Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
| 10 |
538 | case QAbstractSocket::ProxyConnectionRefusedError:executed 4 times by 4 tests: case QAbstractSocket::ProxyConnectionRefusedError: Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
| 4 |
539 | case QAbstractSocket::ProxyConnectionClosedError:executed 33 times by 3 tests: case QAbstractSocket::ProxyConnectionClosedError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 33 |
540 | case QAbstractSocket::ProxyConnectionTimeoutError: never executed: case QAbstractSocket::ProxyConnectionTimeoutError: | 0 |
541 | case QAbstractSocket::ProxyNotFoundError:executed 8 times by 4 tests: case QAbstractSocket::ProxyNotFoundError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 8 |
542 | case QAbstractSocket::ProxyProtocolError:executed 7 times by 2 tests: case QAbstractSocket::ProxyProtocolError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
| 7 |
543 | return true;executed 62 times by 6 tests: return true; Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 62 |
544 | default:executed 364 times by 10 tests: default: Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| 364 |
545 | return false;executed 364 times by 10 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| 364 |
546 | } | - |
547 | } | - |
548 | | - |
549 | | - |
550 | | - |
551 | | - |
552 | | - |
553 | QAbstractSocketPrivate::QAbstractSocketPrivate() | - |
554 | : emittedReadyRead(false), | - |
555 | emittedBytesWritten(false), | - |
556 | abortCalled(false), | - |
557 | pendingClose(false), | - |
558 | pauseMode(QAbstractSocket::PauseNever), | - |
559 | port(0), | - |
560 | localPort(0), | - |
561 | peerPort(0), | - |
562 | socketEngine(0), | - |
563 | cachedSocketDescriptor(-1), | - |
564 | readBufferMaxSize(0), | - |
565 | isBuffered(false), | - |
566 | connectTimer(0), | - |
567 | disconnectTimer(0), | - |
568 | hostLookupId(-1), | - |
569 | socketType(QAbstractSocket::UnknownSocketType), | - |
570 | state(QAbstractSocket::UnconnectedState), | - |
571 | socketError(QAbstractSocket::UnknownSocketError), | - |
572 | preferredNetworkLayerProtocol(QAbstractSocket::UnknownNetworkLayerProtocol) | - |
573 | { | - |
574 | writeBufferChunkSize = QABSTRACTSOCKET_BUFFERSIZE; | - |
575 | }executed 8976 times by 33 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qabstractsocket - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- ...
| 8976 |
576 | | - |
577 | | - |
578 | | - |
579 | | - |
580 | | - |
581 | | - |
582 | QAbstractSocketPrivate::~QAbstractSocketPrivate() | - |
583 | { | - |
584 | } | - |
585 | | - |
586 | | - |
587 | | - |
588 | | - |
589 | | - |
590 | void QAbstractSocketPrivate::resetSocketLayer() | - |
591 | { | - |
592 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
593 | qDebug("QAbstractSocketPrivate::resetSocketLayer()"); | - |
594 | #endif | - |
595 | | - |
596 | if (socketEngine) {TRUE | evaluated 5800 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 10430 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
| 5800-10430 |
597 | socketEngine->close(); | - |
598 | socketEngine->disconnect(); | - |
599 | delete socketEngine; | - |
600 | socketEngine = 0; | - |
601 | cachedSocketDescriptor = -1; | - |
602 | }executed 5799 times by 30 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 5799 |
603 | if (connectTimer)TRUE | evaluated 4566 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
- tst_spdy - unknown status
| FALSE | evaluated 11663 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
| 4566-11663 |
604 | connectTimer->stop();executed 4566 times by 24 tests: connectTimer->stop(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
- tst_spdy - unknown status
| 4566 |
605 | if (disconnectTimer)TRUE | evaluated 52 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 16177 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
| 52-16177 |
606 | disconnectTimer->stop();executed 52 times by 2 tests: disconnectTimer->stop(); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 52 |
607 | }executed 16229 times by 31 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
| 16229 |
608 | | - |
609 | | - |
610 | | - |
611 | | - |
612 | | - |
613 | | - |
614 | | - |
615 | bool QAbstractSocketPrivate::initSocketLayer(QAbstractSocket::NetworkLayerProtocol protocol) | - |
616 | { | - |
617 | #ifdef QT_NO_NETWORKPROXY | - |
618 | | - |
619 | static const QNetworkProxy &proxyInUse = *(QNetworkProxy *)0; | - |
620 | #endif | - |
621 | | - |
622 | Q_Q(QAbstractSocket); | - |
623 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
624 | QString typeStr; | - |
625 | if (q->socketType() == QAbstractSocket::TcpSocket) typeStr = QLatin1String("TcpSocket"); | - |
626 | else if (q->socketType() == QAbstractSocket::UdpSocket) typeStr = QLatin1String("UdpSocket"); | - |
627 | else typeStr = QLatin1String("UnknownSocketType"); | - |
628 | QString protocolStr; | - |
629 | if (protocol == QAbstractSocket::IPv4Protocol) protocolStr = QLatin1String("IPv4Protocol"); | - |
630 | else if (protocol == QAbstractSocket::IPv6Protocol) protocolStr = QLatin1String("IPv6Protocol"); | - |
631 | else protocolStr = QLatin1String("UnknownNetworkLayerProtocol"); | - |
632 | #endif | - |
633 | | - |
634 | resetSocketLayer(); | - |
635 | socketEngine = QAbstractSocketEngine::createSocketEngine(q->socketType(), proxyInUse, q); | - |
636 | if (!socketEngine) {TRUE | never evaluated | FALSE | evaluated 5068 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-5068 |
637 | setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
638 | QAbstractSocket::tr("Operation on socket is not supported")); | - |
639 | return false; never executed: return false; | 0 |
640 | } | - |
641 | #ifndef QT_NO_BEARERMANAGEMENT | - |
642 | | - |
643 | socketEngine->setProperty("_q_networksession", q->property("_q_networksession")); | - |
644 | #endif | - |
645 | if (!socketEngine->initialize(q->socketType(), protocol)) {TRUE | never evaluated | FALSE | evaluated 5068 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-5068 |
646 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
647 | qDebug("QAbstractSocketPrivate::initSocketLayer(%s, %s) failed (%s)", | - |
648 | typeStr.toLatin1().constData(), protocolStr.toLatin1().constData(), | - |
649 | socketEngine->errorString().toLatin1().constData()); | - |
650 | #endif | - |
651 | setError(socketEngine->error(), socketEngine->errorString()); | - |
652 | return false; never executed: return false; | 0 |
653 | } | - |
654 | | - |
655 | configureCreatedSocket(); | - |
656 | | - |
657 | if (threadData->hasEventDispatcher())TRUE | evaluated 5060 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 8-5060 |
658 | socketEngine->setReceiver(this);executed 5060 times by 27 tests: socketEngine->setReceiver(this); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 5060 |
659 | | - |
660 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
661 | qDebug("QAbstractSocketPrivate::initSocketLayer(%s, %s) success", | - |
662 | typeStr.toLatin1().constData(), protocolStr.toLatin1().constData()); | - |
663 | #endif | - |
664 | return true;executed 5068 times by 27 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 5068 |
665 | } | - |
666 | | - |
667 | | - |
668 | | - |
669 | void QAbstractSocketPrivate::configureCreatedSocket() | - |
670 | { | - |
671 | } | - |
672 | | - |
673 | | - |
674 | | - |
675 | | - |
676 | | - |
677 | | - |
678 | | - |
679 | bool QAbstractSocketPrivate::canReadNotification() | - |
680 | { | - |
681 | Q_Q(QAbstractSocket); | - |
682 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
683 | qDebug("QAbstractSocketPrivate::canReadNotification()"); | - |
684 | #endif | - |
685 | | - |
686 | if (!isBuffered)TRUE | evaluated 3989 times by 10 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| FALSE | evaluated 30041 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 3989-30041 |
687 | socketEngine->setReadNotificationEnabled(false);executed 3989 times by 10 tests: socketEngine->setReadNotificationEnabled(false); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| 3989 |
688 | | - |
689 | | - |
690 | if (isBuffered) {TRUE | evaluated 30041 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 3989 times by 10 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 3989-30041 |
691 | const qint64 oldBufferSize = buffer.size(); | - |
692 | | - |
693 | | - |
694 | if (readBufferMaxSize && oldBufferSize >= readBufferMaxSize) {TRUE | evaluated 12250 times by 12 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 17791 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | never evaluated | FALSE | evaluated 12250 times by 12 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-17791 |
695 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
696 | qDebug("QAbstractSocketPrivate::canReadNotification() buffer is full"); | - |
697 | #endif | - |
698 | return false; never executed: return false; | 0 |
699 | } | - |
700 | | - |
701 | | - |
702 | | - |
703 | if (!readFromSocket()) {TRUE | evaluated 1694 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 28346 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1694-28346 |
704 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
705 | qDebug("QAbstractSocketPrivate::canReadNotification() disconnecting socket"); | - |
706 | #endif | - |
707 | q->disconnectFromHost(); | - |
708 | return false;executed 1694 times by 13 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1694 |
709 | } | - |
710 | | - |
711 | | - |
712 | if (buffer.size() == oldBufferSize) {TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 28334 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 12-28334 |
713 | | - |
714 | | - |
715 | return !q->isReadable();executed 12 times by 2 tests: return !q->isReadable(); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 12 |
716 | } | - |
717 | | - |
718 | | - |
719 | if (readBufferMaxSize && buffer.size() == readBufferMaxSize) {TRUE | evaluated 11761 times by 12 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 16573 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 43 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 11718 times by 11 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 43-16573 |
720 | socketEngine->setReadNotificationEnabled(false); | - |
721 | }executed 43 times by 4 tests: end of block Executed by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 43 |
722 | }executed 28334 times by 23 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 28334 |
723 | | - |
724 | emitReadyRead(); | - |
725 | | - |
726 | | - |
727 | | - |
728 | if (state == QAbstractSocket::UnconnectedState || state == QAbstractSocket::ClosingState) {TRUE | evaluated 361 times by 11 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 31962 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- ...
|
TRUE | evaluated 44 times by 3 testsEvaluated by:- tst_QNetworkDiskCache
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
| FALSE | evaluated 31918 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 44-31962 |
729 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
730 | qDebug("QAbstractSocketPrivate::canReadNotification() socket is closing - returning"); | - |
731 | #endif | - |
732 | return true;executed 405 times by 11 tests: return true; Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 405 |
733 | } | - |
734 | | - |
735 | | - |
736 | if (socketEngine && isBuffered)TRUE | evaluated 31918 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
TRUE | evaluated 28055 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 3863 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-31918 |
737 | socketEngine->setReadNotificationEnabled(readBufferMaxSize == 0 || readBufferMaxSize > q->bytesAvailable());executed 28055 times by 22 tests: socketEngine->setReadNotificationEnabled(readBufferMaxSize == 0 || readBufferMaxSize > q->bytesAvailable()); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 28055 |
738 | | - |
739 | return true;executed 31918 times by 25 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 31918 |
740 | } | - |
741 | | - |
742 | | - |
743 | | - |
744 | | - |
745 | | - |
746 | | - |
747 | void QAbstractSocketPrivate::canCloseNotification() | - |
748 | { | - |
749 | Q_Q(QAbstractSocket); | - |
750 | | - |
751 | | - |
752 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
753 | qDebug("QAbstractSocketPrivate::canCloseNotification()"); | - |
754 | #endif | - |
755 | | - |
756 | qint64 newBytes = 0; | - |
757 | if (isBuffered) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
758 | | - |
759 | newBytes = buffer.size(); | - |
760 | qint64 oldReadBufferMaxSize = readBufferMaxSize; | - |
761 | readBufferMaxSize = 0; | - |
762 | bool hadReadFromSocket = readFromSocket(); | - |
763 | readBufferMaxSize = oldReadBufferMaxSize; | - |
764 | if (!hadReadFromSocket) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
765 | q->disconnectFromHost(); | - |
766 | return; never executed: return; | 0 |
767 | } | - |
768 | newBytes = buffer.size() - newBytes; | - |
769 | if (newBytes) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
770 | | - |
771 | | - |
772 | | - |
773 | | - |
774 | | - |
775 | emitReadyRead(); | - |
776 | | - |
777 | QMetaObject::invokeMethod(socketEngine, "closeNotification", Qt::QueuedConnection); | - |
778 | } never executed: end of block | 0 |
779 | } else if (socketType == QAbstractSocket::TcpSocket && socketEngine) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
780 | emitReadyRead(); | - |
781 | } never executed: end of block | 0 |
782 | } never executed: end of block | 0 |
783 | | - |
784 | | - |
785 | | - |
786 | | - |
787 | | - |
788 | | - |
789 | | - |
790 | bool QAbstractSocketPrivate::canWriteNotification() | - |
791 | { | - |
792 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
793 | qDebug("QAbstractSocketPrivate::canWriteNotification() flushing"); | - |
794 | #endif | - |
795 | bool dataWasWritten = writeToSocket(); | - |
796 | | - |
797 | if (socketEngine && writeBuffer.isEmpty() && socketEngine->bytesToWrite() == 0)TRUE | evaluated 23587 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 189 times by 8 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 19062 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 4525 times by 5 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 18042 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 1020 times by 7 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 189-23587 |
798 | socketEngine->setWriteNotificationEnabled(false);executed 18042 times by 26 tests: socketEngine->setWriteNotificationEnabled(false); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 18042 |
799 | | - |
800 | return dataWasWritten;executed 23776 times by 27 tests: return dataWasWritten; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| 23776 |
801 | } | - |
802 | | - |
803 | | - |
804 | | - |
805 | | - |
806 | | - |
807 | | - |
808 | void QAbstractSocketPrivate::connectionNotification() | - |
809 | { | - |
810 | | - |
811 | | - |
812 | if (state == QAbstractSocket::ConnectingState) {TRUE | evaluated 3288 times by 16 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 9 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 9-3288 |
813 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
814 | qDebug("QAbstractSocketPrivate::connectionNotification() testing connection"); | - |
815 | #endif | - |
816 | _q_testConnection(); | - |
817 | }executed 3288 times by 16 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 3288 |
818 | }executed 3297 times by 16 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 3297 |
819 | | - |
820 | | - |
821 | | - |
822 | | - |
823 | | - |
824 | | - |
825 | | - |
826 | | - |
827 | | - |
828 | | - |
829 | bool QAbstractSocketPrivate::writeToSocket() | - |
830 | { | - |
831 | Q_Q(QAbstractSocket); | - |
832 | if (!socketEngine || !socketEngine->isValid() || (writeBuffer.isEmpty()TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_NetworkSelfTest
- tst_qtcpsocket - unknown status
| FALSE | evaluated 26620 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | never evaluated | FALSE | evaluated 26620 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | evaluated 2557 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 24063 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-26620 |
833 | && socketEngine->bytesToWrite() == 0)) {TRUE | evaluated 1925 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 632 times by 5 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 632-1925 |
834 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
835 | qDebug("QAbstractSocketPrivate::writeToSocket() nothing to do: valid ? %s, writeBuffer.isEmpty() ? %s", | - |
836 | (socketEngine && socketEngine->isValid()) ? "yes" : "no", writeBuffer.isEmpty() ? "yes" : "no"); | - |
837 | #endif | - |
838 | | - |
839 | | - |
840 | if (state == QAbstractSocket::ClosingState)TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1924 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 4-1924 |
841 | q->disconnectFromHost();executed 4 times by 1 test: q->disconnectFromHost(); Executed by:- tst_qtcpsocket - unknown status
| 4 |
842 | | - |
843 | return false;executed 1928 times by 19 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 1928 |
844 | } | - |
845 | | - |
846 | qint64 nextSize = writeBuffer.nextDataBlockSize(); | - |
847 | const char *ptr = writeBuffer.readPointer(); | - |
848 | | - |
849 | | - |
850 | qint64 written = nextSize ? socketEngine->write(ptr, nextSize) : Q_INT64_C(0);TRUE | evaluated 24063 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 632 times by 5 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 632-24063 |
851 | if (written < 0) {TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 24686 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 9-24686 |
852 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
853 | qDebug() << "QAbstractSocketPrivate::writeToSocket() write error, aborting." | - |
854 | << socketEngine->errorString(); | - |
855 | #endif | - |
856 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
857 | | - |
858 | q->abort(); | - |
859 | return false;executed 9 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 9 |
860 | } | - |
861 | | - |
862 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
863 | qDebug("QAbstractSocketPrivate::writeToSocket() %lld bytes written to the network", | - |
864 | written); | - |
865 | #endif | - |
866 | | - |
867 | if (written > 0) {TRUE | evaluated 23852 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 834 times by 5 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 834-23852 |
868 | | - |
869 | writeBuffer.free(written); | - |
870 | | - |
871 | if (!emittedBytesWritten) {TRUE | evaluated 23852 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-23852 |
872 | QScopedValueRollback<bool> r(emittedBytesWritten); | - |
873 | emittedBytesWritten = true; | - |
874 | emit q->bytesWritten(written); | - |
875 | }executed 23852 times by 21 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 23852 |
876 | emit q->channelBytesWritten(0, written); | - |
877 | }executed 23852 times by 21 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 23852 |
878 | | - |
879 | if (writeBuffer.isEmpty() && socketEngine && socketEngine->isWriteNotificationEnabled()TRUE | evaluated 19864 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 4822 times by 5 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 19810 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 54 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 19798 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 12-19864 |
880 | && !socketEngine->bytesToWrite())TRUE | evaluated 18754 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 1044 times by 7 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 1044-18754 |
881 | socketEngine->setWriteNotificationEnabled(false);executed 18754 times by 21 tests: socketEngine->setWriteNotificationEnabled(false); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 18754 |
882 | if (state == QAbstractSocket::ClosingState)TRUE | evaluated 738 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 23948 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 738-23948 |
883 | q->disconnectFromHost();executed 738 times by 7 tests: q->disconnectFromHost(); Executed by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 738 |
884 | | - |
885 | return written > 0;executed 24686 times by 21 tests: return written > 0; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 24686 |
886 | } | - |
887 | | - |
888 | | - |
889 | | - |
890 | | - |
891 | | - |
892 | | - |
893 | | - |
894 | bool QAbstractSocketPrivate::flush() | - |
895 | { | - |
896 | bool dataWasWritten = false; | - |
897 | | - |
898 | while (!writeBuffer.isEmpty() && writeToSocket())TRUE | evaluated 2847 times by 11 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 2562 times by 12 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 2645 times by 11 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 202 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
|
| 202-2847 |
899 | dataWasWritten = true;executed 2645 times by 11 tests: dataWasWritten = true; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2645 |
900 | | - |
901 | return dataWasWritten;executed 2764 times by 12 tests: return dataWasWritten; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2764 |
902 | } | - |
903 | | - |
904 | #ifndef QT_NO_NETWORKPROXY | - |
905 | | - |
906 | | - |
907 | | - |
908 | | - |
909 | void QAbstractSocketPrivate::resolveProxy(const QString &hostname, quint16 port) | - |
910 | { | - |
911 | QList<QNetworkProxy> proxies; | - |
912 | | - |
913 | if (proxy.type() != QNetworkProxy::DefaultProxy) {TRUE | evaluated 2332 times by 16 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 5475 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 2332-5475 |
914 | | - |
915 | proxies << proxy; | - |
916 | } else {executed 2332 times by 16 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 2332 |
917 | | - |
918 | QNetworkProxyQuery query(hostname, port, QString(), | - |
919 | socketType == QAbstractSocket::TcpSocket ? | - |
920 | QNetworkProxyQuery::TcpSocket : | - |
921 | QNetworkProxyQuery::UdpSocket); | - |
922 | proxies = QNetworkProxyFactory::proxyForQuery(query); | - |
923 | }executed 5475 times by 23 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 5475 |
924 | | - |
925 | | - |
926 | for (const QNetworkProxy &p : qAsConst(proxies)) { | - |
927 | if (socketType == QAbstractSocket::UdpSocket &&TRUE | evaluated 135 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| FALSE | evaluated 7680 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 135-7680 |
928 | (p.capabilities() & QNetworkProxy::UdpTunnelingCapability) == 0)TRUE | never evaluated | FALSE | evaluated 135 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-135 |
929 | continue; never executed: continue; | 0 |
930 | | - |
931 | if (socketType == QAbstractSocket::TcpSocket &&TRUE | evaluated 7680 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 135 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 135-7680 |
932 | (p.capabilities() & QNetworkProxy::TunnelingCapability) == 0)TRUE | evaluated 18 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 7662 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 18-7662 |
933 | continue;executed 18 times by 1 test: continue; Executed by:- tst_qtcpsocket - unknown status
| 18 |
934 | | - |
935 | proxyInUse = p; | - |
936 | return;executed 7797 times by 29 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 7797 |
937 | } | - |
938 | | - |
939 | | - |
940 | | - |
941 | proxyInUse = QNetworkProxy(); | - |
942 | }executed 10 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 10 |
943 | | - |
944 | | - |
945 | | - |
946 | | - |
947 | | - |
948 | | - |
949 | | - |
950 | void QAbstractSocketPrivate::startConnectingByName(const QString &host) | - |
951 | { | - |
952 | Q_Q(QAbstractSocket); | - |
953 | if (state == QAbstractSocket::ConnectingState || state == QAbstractSocket::ConnectedState)TRUE | never evaluated | FALSE | evaluated 785 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | never evaluated | FALSE | evaluated 785 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-785 |
954 | return; never executed: return; | 0 |
955 | | - |
956 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
957 | qDebug("QAbstractSocketPrivate::startConnectingByName(host == %s)", qPrintable(host)); | - |
958 | #endif | - |
959 | | - |
960 | | - |
961 | state = QAbstractSocket::ConnectingState; | - |
962 | emit q->stateChanged(state); | - |
963 | | - |
964 | if (cachedSocketDescriptor != -1 || initSocketLayer(QAbstractSocket::UnknownNetworkLayerProtocol)) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 783 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 783 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-783 |
965 | if (socketEngine->connectToHostByName(host, port) ||TRUE | never evaluated | FALSE | evaluated 785 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-785 |
966 | socketEngine->state() == QAbstractSocket::ConnectingState) {TRUE | evaluated 785 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-785 |
967 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
968 | | - |
969 | return;executed 785 times by 7 tests: return; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 785 |
970 | } | - |
971 | | - |
972 | | - |
973 | setError(socketEngine->error(), socketEngine->errorString()); | - |
974 | } never executed: end of block | 0 |
975 | | - |
976 | state = QAbstractSocket::UnconnectedState; | - |
977 | emit q->error(socketError); | - |
978 | emit q->stateChanged(state); | - |
979 | } never executed: end of block | 0 |
980 | | - |
981 | #endif | - |
982 | | - |
983 | | - |
984 | | - |
985 | | - |
986 | | - |
987 | | - |
988 | | - |
989 | | - |
990 | void QAbstractSocketPrivate::_q_startConnecting(const QHostInfo &hostInfo) | - |
991 | { | - |
992 | Q_Q(QAbstractSocket); | - |
993 | addresses.clear(); | - |
994 | if (state != QAbstractSocket::HostLookupState)TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qsslsocket - unknown status
| FALSE | evaluated 3951 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
| 1-3951 |
995 | return;executed 1 time by 1 test: return; Executed by:- tst_qsslsocket - unknown status
| 1 |
996 | | - |
997 | if (hostLookupId != -1 && hostLookupId != hostInfo.lookupId()) {TRUE | evaluated 57 times by 6 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 3894 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | never evaluated | FALSE | evaluated 57 times by 6 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 0-3894 |
998 | qWarning("QAbstractSocketPrivate::_q_startConnecting() received hostInfo for wrong lookup ID %d expected %d", hostInfo.lookupId(), hostLookupId); | - |
999 | } never executed: end of block | 0 |
1000 | | - |
1001 | | - |
1002 | | - |
1003 | if (preferredNetworkLayerProtocol == QAbstractSocket::UnknownNetworkLayerProtocol || preferredNetworkLayerProtocol == QAbstractSocket::AnyIPProtocol) {TRUE | never evaluated | FALSE | evaluated 3951 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | evaluated 3100 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 851 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
|
| 0-3951 |
1004 | addresses = hostInfo.addresses(); | - |
1005 | } else {executed 3100 times by 22 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 3100 |
1006 | const auto candidates = hostInfo.addresses(); | - |
1007 | for (const QHostAddress &address : candidates) { | - |
1008 | if (address.protocol() == preferredNetworkLayerProtocol)TRUE | evaluated 855 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 330 times by 3 testsEvaluated by:- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
|
| 330-855 |
1009 | addresses += address;executed 855 times by 8 tests: addresses += address; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| 855 |
1010 | }executed 1185 times by 8 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| 1185 |
1011 | }executed 851 times by 8 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| 851 |
1012 | | - |
1013 | | - |
1014 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1015 | QString s = QLatin1String("{"); | - |
1016 | for (int i = 0; i < addresses.count(); ++i) { | - |
1017 | if (i != 0) s += QLatin1String(", "); | - |
1018 | s += addresses.at(i).toString(); | - |
1019 | } | - |
1020 | s += QLatin1Char('}'); | - |
1021 | qDebug("QAbstractSocketPrivate::_q_startConnecting(hostInfo == %s)", s.toLatin1().constData()); | - |
1022 | #endif | - |
1023 | | - |
1024 | | - |
1025 | addresses += addresses; | - |
1026 | | - |
1027 | | - |
1028 | | - |
1029 | if (addresses.isEmpty()) {TRUE | evaluated 17 times by 8 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 3934 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 17-3934 |
1030 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1031 | qDebug("QAbstractSocketPrivate::_q_startConnecting(), host not found"); | - |
1032 | #endif | - |
1033 | state = QAbstractSocket::UnconnectedState; | - |
1034 | setError(QAbstractSocket::HostNotFoundError, QAbstractSocket::tr("Host not found")); | - |
1035 | emit q->stateChanged(state); | - |
1036 | emit q->error(QAbstractSocket::HostNotFoundError); | - |
1037 | return;executed 17 times by 8 tests: return; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 17 |
1038 | } | - |
1039 | | - |
1040 | | - |
1041 | | - |
1042 | state = QAbstractSocket::ConnectingState; | - |
1043 | emit q->stateChanged(state); | - |
1044 | | - |
1045 | | - |
1046 | emit q->hostFound(); | - |
1047 | | - |
1048 | | - |
1049 | | - |
1050 | _q_connectToNextAddress(); | - |
1051 | }executed 3934 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 3934 |
1052 | | - |
1053 | | - |
1054 | | - |
1055 | | - |
1056 | | - |
1057 | | - |
1058 | | - |
1059 | | - |
1060 | | - |
1061 | | - |
1062 | void QAbstractSocketPrivate::_q_connectToNextAddress() | - |
1063 | { | - |
1064 | Q_Q(QAbstractSocket); | - |
1065 | do { | - |
1066 | | - |
1067 | if (addresses.isEmpty()) {TRUE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4126 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 259-4126 |
1068 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1069 | qDebug("QAbstractSocketPrivate::_q_connectToNextAddress(), all addresses failed."); | - |
1070 | #endif | - |
1071 | state = QAbstractSocket::UnconnectedState; | - |
1072 | if (socketEngine) {TRUE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-259 |
1073 | if ((socketEngine->error() == QAbstractSocket::UnknownSocketErrorTRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1074 | #ifdef Q_OS_AIXTRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1075 | TRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1076 | TRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1077 | || socketEngine->error() == QAbstractSocket::UnsupportedSocketOperationErrorTRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1078 | #endifTRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-259 |
1079 | ) && socketEngine->state() == QAbstractSocket::ConnectingState) {TRUE | never evaluated | FALSE | evaluated 259 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-259 |
1080 | setError(QAbstractSocket::ConnectionRefusedError, | - |
1081 | QAbstractSocket::tr("Connection refused")); | - |
1082 | } else { never executed: end of block | 0 |
1083 | setError(socketEngine->error(), socketEngine->errorString()); | - |
1084 | }executed 259 times by 12 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 259 |
1085 | } else { | - |
1086 | | - |
1087 | | - |
1088 | } never executed: end of block | 0 |
1089 | emit q->stateChanged(state); | - |
1090 | emit q->error(socketError); | - |
1091 | return;executed 259 times by 12 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 259 |
1092 | } | - |
1093 | | - |
1094 | | - |
1095 | host = addresses.takeFirst(); | - |
1096 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1097 | qDebug("QAbstractSocketPrivate::_q_connectToNextAddress(), connecting to %s:%i, %d left to try", | - |
1098 | host.toString().toLatin1().constData(), port, addresses.count()); | - |
1099 | #endif | - |
1100 | | - |
1101 | if (cachedSocketDescriptor == -1 && !initSocketLayer(host.protocol())) {TRUE | evaluated 4091 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 35 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
TRUE | never evaluated | FALSE | evaluated 4091 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-4091 |
1102 | | - |
1103 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1104 | qDebug("QAbstractSocketPrivate::_q_connectToNextAddress(), failed to initialize sock layer"); | - |
1105 | #endif | - |
1106 | continue; never executed: continue; | 0 |
1107 | } | - |
1108 | | - |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | if (socketEngine->connectToHost(host, port)) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4122 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 4-4122 |
1113 | | - |
1114 | fetchConnectionParameters(); | - |
1115 | return;executed 4 times by 1 test: return; | 4 |
1116 | } | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | if (socketEngine->state() != QAbstractSocket::ConnectingState) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4116 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 6-4116 |
1121 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1122 | qDebug("QAbstractSocketPrivate::_q_connectToNextAddress(), connection failed (%s)", | - |
1123 | socketEngine->errorString().toLatin1().constData()); | - |
1124 | #endif | - |
1125 | continue;executed 6 times by 2 tests: continue; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 6 |
1126 | } | - |
1127 | | - |
1128 | | - |
1129 | if (threadData->hasEventDispatcher()) {TRUE | evaluated 4110 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 6-4110 |
1130 | if (!connectTimer) {TRUE | evaluated 3565 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 545 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 545-3565 |
1131 | connectTimer = new QTimer(q); | - |
1132 | QObject::connect(connectTimer, SIGNAL(timeout()), | - |
1133 | q, SLOT(_q_abortConnectionAttempt()), | - |
1134 | Qt::DirectConnection); | - |
1135 | }executed 3565 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 3565 |
1136 | connectTimer->start(QT_CONNECT_TIMEOUT); | - |
1137 | }executed 4110 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4110 |
1138 | | - |
1139 | | - |
1140 | | - |
1141 | socketEngine->setWriteNotificationEnabled(true); | - |
1142 | break;executed 4116 times by 27 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4116 |
1143 | } while (state != QAbstractSocket::ConnectedState);TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-4 |
1144 | }executed 4118 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4118 |
1145 | | - |
1146 | | - |
1147 | | - |
1148 | | - |
1149 | | - |
1150 | | - |
1151 | void QAbstractSocketPrivate::_q_testConnection() | - |
1152 | { | - |
1153 | if (socketEngine) {TRUE | evaluated 4665 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | never evaluated |
| 0-4665 |
1154 | if (threadData->hasEventDispatcher()) {TRUE | evaluated 4653 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 12-4653 |
1155 | if (connectTimer)TRUE | evaluated 3884 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 769 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 769-3884 |
1156 | connectTimer->stop();executed 3884 times by 27 tests: connectTimer->stop(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 3884 |
1157 | }executed 4653 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4653 |
1158 | | - |
1159 | if (socketEngine->state() == QAbstractSocket::ConnectedState) {TRUE | evaluated 4239 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 426 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
|
| 426-4239 |
1160 | | - |
1161 | | - |
1162 | fetchConnectionParameters(); | - |
1163 | if (pendingClose) {TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4220 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 19-4220 |
1164 | q_func()->disconnectFromHost(); | - |
1165 | pendingClose = false; | - |
1166 | }executed 19 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 19 |
1167 | return;executed 4239 times by 27 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4239 |
1168 | } | - |
1169 | | - |
1170 | | - |
1171 | if (isProxyError(socketEngine->error()))TRUE | evaluated 62 times by 6 testsEvaluated by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 364 times by 10 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
|
| 62-364 |
1172 | addresses.clear();executed 62 times by 6 tests: addresses.clear(); Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 62 |
1173 | }executed 426 times by 11 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| 426 |
1174 | | - |
1175 | if (threadData->hasEventDispatcher()) {TRUE | evaluated 426 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-426 |
1176 | if (connectTimer)TRUE | evaluated 393 times by 9 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 33 times by 6 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
|
| 33-393 |
1177 | connectTimer->stop();executed 393 times by 9 tests: connectTimer->stop(); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 393 |
1178 | }executed 426 times by 11 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| 426 |
1179 | | - |
1180 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1181 | qDebug("QAbstractSocketPrivate::_q_testConnection() connection failed," | - |
1182 | " checking for alternative addresses"); | - |
1183 | #endif | - |
1184 | _q_connectToNextAddress(); | - |
1185 | }executed 426 times by 11 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qtcpsocket - unknown status
| 426 |
1186 | | - |
1187 | | - |
1188 | | - |
1189 | | - |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | void QAbstractSocketPrivate::_q_abortConnectionAttempt() | - |
1195 | { | - |
1196 | Q_Q(QAbstractSocket); | - |
1197 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1198 | qDebug("QAbstractSocketPrivate::_q_abortConnectionAttempt() (timed out)"); | - |
1199 | #endif | - |
1200 | if (socketEngine)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
1201 | socketEngine->setWriteNotificationEnabled(false);executed 2 times by 1 test: socketEngine->setWriteNotificationEnabled(false); | 2 |
1202 | | - |
1203 | connectTimer->stop(); | - |
1204 | | - |
1205 | if (addresses.isEmpty()) {TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
| 1 |
1206 | state = QAbstractSocket::UnconnectedState; | - |
1207 | setError(QAbstractSocket::SocketTimeoutError, | - |
1208 | QAbstractSocket::tr("Connection timed out")); | - |
1209 | emit q->stateChanged(state); | - |
1210 | emit q->error(socketError); | - |
1211 | } else {executed 1 time by 1 test: end of block | 1 |
1212 | _q_connectToNextAddress(); | - |
1213 | }executed 1 time by 1 test: end of block | 1 |
1214 | } | - |
1215 | | - |
1216 | void QAbstractSocketPrivate::_q_forceDisconnect() | - |
1217 | { | - |
1218 | Q_Q(QAbstractSocket); | - |
1219 | if (socketEngine && socketEngine->isValid() && state == QAbstractSocket::ClosingState) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1220 | socketEngine->close(); | - |
1221 | q->disconnectFromHost(); | - |
1222 | } never executed: end of block | 0 |
1223 | } never executed: end of block | 0 |
1224 | | - |
1225 | | - |
1226 | | - |
1227 | | - |
1228 | | - |
1229 | | - |
1230 | bool QAbstractSocketPrivate::readFromSocket() | - |
1231 | { | - |
1232 | Q_Q(QAbstractSocket); | - |
1233 | | - |
1234 | qint64 bytesToRead = socketEngine->bytesAvailable(); | - |
1235 | if (bytesToRead == 0) {TRUE | evaluated 1705 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 28336 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1705-28336 |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | | - |
1240 | | - |
1241 | | - |
1242 | | - |
1243 | bytesToRead = 4096; | - |
1244 | }executed 1705 times by 13 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1705 |
1245 | | - |
1246 | if (q->isReadable()) {TRUE | evaluated 30039 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-30039 |
1247 | if (readBufferMaxSize && bytesToRead > (readBufferMaxSize - buffer.size()))TRUE | evaluated 12250 times by 12 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 17789 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 40 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 12210 times by 12 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 40-17789 |
1248 | bytesToRead = readBufferMaxSize - buffer.size();executed 40 times by 4 tests: bytesToRead = readBufferMaxSize - buffer.size(); Executed by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 40 |
1249 | | - |
1250 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1251 | qDebug("QAbstractSocketPrivate::readFromSocket() about to read %lld bytes", | - |
1252 | bytesToRead); | - |
1253 | #endif | - |
1254 | | - |
1255 | | - |
1256 | char *ptr = buffer.reserve(bytesToRead); | - |
1257 | qint64 readBytes = socketEngine->read(ptr, bytesToRead); | - |
1258 | if (readBytes == -2) {TRUE | never evaluated | FALSE | evaluated 30039 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-30039 |
1259 | | - |
1260 | buffer.chop(bytesToRead); | - |
1261 | return true; never executed: return true; | 0 |
1262 | } | - |
1263 | buffer.chop(bytesToRead - (readBytes < 0 ? qint64(0) : readBytes)); | - |
1264 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1265 | qDebug("QAbstractSocketPrivate::readFromSocket() got %lld bytes, buffer size = %lld", | - |
1266 | readBytes, buffer.size()); | - |
1267 | #endif | - |
1268 | } else {executed 30039 times by 25 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 30039 |
1269 | | - |
1270 | QVarLengthArray<char, 4096> discardBuffer(bytesToRead); | - |
1271 | | - |
1272 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1273 | qDebug("QAbstractSocketPrivate::readFromSocket() about to discard %lld bytes", | - |
1274 | bytesToRead); | - |
1275 | #endif | - |
1276 | socketEngine->read(discardBuffer.data(), bytesToRead); | - |
1277 | }executed 2 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 2 |
1278 | | - |
1279 | if (!socketEngine->isValid()) {TRUE | evaluated 1695 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 28346 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1695-28346 |
1280 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
1281 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1282 | qDebug("QAbstractSocketPrivate::readFromSocket() read failed: %s", | - |
1283 | q->errorString().toLatin1().constData()); | - |
1284 | #endif | - |
1285 | resetSocketLayer(); | - |
1286 | return false;executed 1694 times by 13 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1694 |
1287 | } | - |
1288 | | - |
1289 | return true;executed 28346 times by 23 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 28346 |
1290 | } | - |
1291 | | - |
1292 | | - |
1293 | | - |
1294 | | - |
1295 | | - |
1296 | void QAbstractSocketPrivate::emitReadyRead() | - |
1297 | { | - |
1298 | Q_Q(QAbstractSocket); | - |
1299 | | - |
1300 | if (!emittedReadyRead) {TRUE | evaluated 32322 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- ...
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 1-32322 |
1301 | QScopedValueRollback<bool> r(emittedReadyRead); | - |
1302 | emittedReadyRead = true; | - |
1303 | emit q->readyRead(); | - |
1304 | }executed 32322 times by 26 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- ...
| 32322 |
1305 | emit q->channelReadyRead(0); | - |
1306 | }executed 32323 times by 26 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- ...
| 32323 |
1307 | | - |
1308 | | - |
1309 | | - |
1310 | | - |
1311 | | - |
1312 | void QAbstractSocketPrivate::fetchConnectionParameters() | - |
1313 | { | - |
1314 | Q_Q(QAbstractSocket); | - |
1315 | | - |
1316 | peerName = hostName; | - |
1317 | if (socketEngine) {TRUE | evaluated 4243 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | never evaluated |
| 0-4243 |
1318 | if (q->isReadable()) {TRUE | evaluated 4216 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 27 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
|
| 27-4216 |
1319 | const int inboundStreamCount = socketEngine->inboundStreamCount(); | - |
1320 | setReadChannelCount(qMax(1, inboundStreamCount)); | - |
1321 | if (inboundStreamCount == 0)TRUE | never evaluated | FALSE | evaluated 4216 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-4216 |
1322 | readChannelCount = 0; never executed: readChannelCount = 0; | 0 |
1323 | }executed 4216 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4216 |
1324 | if (q->isWritable()) {TRUE | evaluated 4218 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 25 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
|
| 25-4218 |
1325 | const int outboundStreamCount = socketEngine->outboundStreamCount(); | - |
1326 | setWriteChannelCount(qMax(1, outboundStreamCount)); | - |
1327 | if (outboundStreamCount == 0)TRUE | never evaluated | FALSE | evaluated 4218 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-4218 |
1328 | writeChannelCount = 0; never executed: writeChannelCount = 0; | 0 |
1329 | }executed 4218 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4218 |
1330 | socketEngine->setReadNotificationEnabled(true); | - |
1331 | socketEngine->setWriteNotificationEnabled(true); | - |
1332 | localPort = socketEngine->localPort(); | - |
1333 | peerPort = socketEngine->peerPort(); | - |
1334 | localAddress = socketEngine->localAddress(); | - |
1335 | peerAddress = socketEngine->peerAddress(); | - |
1336 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
1337 | }executed 4243 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4243 |
1338 | | - |
1339 | state = QAbstractSocket::ConnectedState; | - |
1340 | emit q->stateChanged(state); | - |
1341 | emit q->connected(); | - |
1342 | | - |
1343 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1344 | qDebug("QAbstractSocketPrivate::fetchConnectionParameters() connection to %s:%i established", | - |
1345 | host.toString().toLatin1().constData(), port); | - |
1346 | #endif | - |
1347 | }executed 4243 times by 27 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 4243 |
1348 | | - |
1349 | | - |
1350 | void QAbstractSocketPrivate::pauseSocketNotifiers(QAbstractSocket *socket) | - |
1351 | { | - |
1352 | QAbstractSocketEngine *socketEngine = socket->d_func()->socketEngine; | - |
1353 | if (!socketEngine)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 343 times by 4 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
|
| 2-343 |
1354 | return;executed 2 times by 1 test: return; | 2 |
1355 | socket->d_func()->prePauseReadSocketNotifierState = socketEngine->isReadNotificationEnabled(); | - |
1356 | socket->d_func()->prePauseWriteSocketNotifierState = socketEngine->isWriteNotificationEnabled(); | - |
1357 | socket->d_func()->prePauseExceptionSocketNotifierState = socketEngine->isExceptionNotificationEnabled(); | - |
1358 | socketEngine->setReadNotificationEnabled(false); | - |
1359 | socketEngine->setWriteNotificationEnabled(false); | - |
1360 | socketEngine->setExceptionNotificationEnabled(false); | - |
1361 | }executed 343 times by 4 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 343 |
1362 | | - |
1363 | void QAbstractSocketPrivate::resumeSocketNotifiers(QAbstractSocket *socket) | - |
1364 | { | - |
1365 | QAbstractSocketEngine *socketEngine = socket->d_func()->socketEngine; | - |
1366 | if (!socketEngine)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 343 times by 4 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
|
| 2-343 |
1367 | return;executed 2 times by 1 test: return; | 2 |
1368 | socketEngine->setReadNotificationEnabled(socket->d_func()->prePauseReadSocketNotifierState); | - |
1369 | socketEngine->setWriteNotificationEnabled(socket->d_func()->prePauseWriteSocketNotifierState); | - |
1370 | socketEngine->setExceptionNotificationEnabled(socket->d_func()->prePauseExceptionSocketNotifierState); | - |
1371 | }executed 343 times by 4 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 343 |
1372 | | - |
1373 | QAbstractSocketEngine* QAbstractSocketPrivate::getSocketEngine(QAbstractSocket *socket) | - |
1374 | { | - |
1375 | return socket->d_func()->socketEngine; never executed: return socket->d_func()->socketEngine; | 0 |
1376 | } | - |
1377 | | - |
1378 | | - |
1379 | | - |
1380 | | - |
1381 | | - |
1382 | | - |
1383 | void QAbstractSocketPrivate::setError(QAbstractSocket::SocketError errorCode, | - |
1384 | const QString &errStr) | - |
1385 | { | - |
1386 | socketError = errorCode; | - |
1387 | errorString = errStr; | - |
1388 | }executed 2704 times by 21 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2704 |
1389 | | - |
1390 | | - |
1391 | | - |
1392 | | - |
1393 | | - |
1394 | | - |
1395 | | - |
1396 | void QAbstractSocketPrivate::setErrorAndEmit(QAbstractSocket::SocketError errorCode, | - |
1397 | const QString &errorString) | - |
1398 | { | - |
1399 | Q_Q(QAbstractSocket); | - |
1400 | setError(errorCode, errorString); | - |
1401 | emit q->error(errorCode); | - |
1402 | }executed 2189 times by 19 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2189 |
1403 | | - |
1404 | | - |
1405 | | - |
1406 | | - |
1407 | | - |
1408 | | - |
1409 | QAbstractSocket::QAbstractSocket(SocketType socketType, | - |
1410 | QAbstractSocketPrivate &dd, QObject *parent) | - |
1411 | : QIODevice(dd, parent) | - |
1412 | { | - |
1413 | Q_D(QAbstractSocket); | - |
1414 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1415 | qDebug("QAbstractSocket::QAbstractSocket(%sSocket, QAbstractSocketPrivate == %p, parent == %p)", | - |
1416 | socketType == TcpSocket ? "Tcp" : socketType == UdpSocket | - |
1417 | ? "Udp" : "Unknown", &dd, parent); | - |
1418 | #endif | - |
1419 | d->socketType = socketType; | - |
1420 | }executed 8969 times by 31 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- ...
| 8969 |
1421 | | - |
1422 | | - |
1423 | | - |
1424 | | - |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | QAbstractSocket::QAbstractSocket(SocketType socketType, QObject *parent) | - |
1429 | : QIODevice(*new QAbstractSocketPrivate, parent) | - |
1430 | { | - |
1431 | Q_D(QAbstractSocket); | - |
1432 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1433 | qDebug("QAbstractSocket::QAbstractSocket(%p)", parent); | - |
1434 | #endif | - |
1435 | d->socketType = socketType; | - |
1436 | }executed 7 times by 3 tests: end of block Executed by:- tst_qabstractsocket - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qtcpsocket - unknown status
| 7 |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | QAbstractSocket::~QAbstractSocket() | - |
1442 | { | - |
1443 | Q_D(QAbstractSocket); | - |
1444 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1445 | qDebug("QAbstractSocket::~QAbstractSocket()"); | - |
1446 | #endif | - |
1447 | if (d->state != UnconnectedState)TRUE | evaluated 4433 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 4517 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qabstractsocket - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- ...
|
| 4433-4517 |
1448 | abort();executed 4433 times by 21 tests: abort(); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 4433 |
1449 | }executed 8950 times by 34 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qabstractsocket - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- ...
| 8950 |
1450 | | - |
1451 | | - |
1452 | | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | void QAbstractSocket::resume() | - |
1464 | { | - |
1465 | QAbstractSocketPrivate::resumeSocketNotifiers(this); | - |
1466 | }executed 20 times by 1 test: end of block Executed by:- tst_qsslsocket - unknown status
| 20 |
1467 | | - |
1468 | | - |
1469 | | - |
1470 | | - |
1471 | | - |
1472 | | - |
1473 | | - |
1474 | | - |
1475 | QAbstractSocket::PauseModes QAbstractSocket::pauseMode() const | - |
1476 | { | - |
1477 | return d_func()->pauseMode;executed 94 times by 6 tests: return d_func()->pauseMode; Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
| 94 |
1478 | } | - |
1479 | | - |
1480 | | - |
1481 | | - |
1482 | | - |
1483 | | - |
1484 | | - |
1485 | | - |
1486 | | - |
1487 | | - |
1488 | | - |
1489 | | - |
1490 | | - |
1491 | | - |
1492 | | - |
1493 | | - |
1494 | | - |
1495 | void QAbstractSocket::setPauseMode(PauseModes pauseMode) | - |
1496 | { | - |
1497 | d_func()->pauseMode = pauseMode; | - |
1498 | }executed 20 times by 1 test: end of block Executed by:- tst_qsslsocket - unknown status
| 20 |
1499 | | - |
1500 | | - |
1501 | | - |
1502 | | - |
1503 | | - |
1504 | | - |
1505 | | - |
1506 | | - |
1507 | | - |
1508 | | - |
1509 | | - |
1510 | | - |
1511 | | - |
1512 | | - |
1513 | | - |
1514 | | - |
1515 | | - |
1516 | | - |
1517 | | - |
1518 | | - |
1519 | | - |
1520 | | - |
1521 | | - |
1522 | bool QAbstractSocket::bind(const QHostAddress &address, quint16 port, BindMode mode) | - |
1523 | { | - |
1524 | Q_D(QAbstractSocket); | - |
1525 | return d->bind(address, port, mode);executed 211 times by 5 tests: return d->bind(address, port, mode); Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 211 |
1526 | } | - |
1527 | | - |
1528 | bool QAbstractSocketPrivate::bind(const QHostAddress &address, quint16 port, QAbstractSocket::BindMode mode) | - |
1529 | { | - |
1530 | Q_Q(QAbstractSocket); | - |
1531 | | - |
1532 | | - |
1533 | if (!socketEngine || !socketEngine->isValid()) {TRUE | evaluated 180 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
|
TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
|
| 0-180 |
1534 | QHostAddress nullAddress; | - |
1535 | resolveProxy(nullAddress.toString(), port); | - |
1536 | | - |
1537 | QAbstractSocket::NetworkLayerProtocol protocol = address.protocol(); | - |
1538 | if (protocol == QAbstractSocket::UnknownNetworkLayerProtocol)TRUE | never evaluated | FALSE | evaluated 180 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 0-180 |
1539 | protocol = nullAddress.protocol(); never executed: protocol = nullAddress.protocol(); | 0 |
1540 | | - |
1541 | if (!initSocketLayer(protocol))TRUE | never evaluated | FALSE | evaluated 180 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 0-180 |
1542 | return false; never executed: return false; | 0 |
1543 | }executed 180 times by 5 tests: end of block Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 180 |
1544 | | - |
1545 | if (mode != QAbstractSocket::DefaultForPlatform) {TRUE | evaluated 3 times by 1 test | FALSE | evaluated 193 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 3-193 |
1546 | #ifdef Q_OS_UNIX | - |
1547 | if ((mode & QAbstractSocket::ShareAddress) || (mode & QAbstractSocket::ReuseAddressHint)) | - |
1548 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 1);executed 3 times by 1 test: socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 1); | 3 |
1549 | else | - |
1550 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 0); never executed: socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 0); | 0 |
1551 | #endif | - |
1552 | #ifdef Q_OS_WIN | - |
1553 | if (mode & QAbstractSocket::ReuseAddressHint) | - |
1554 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 1); | - |
1555 | else | - |
1556 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 0); | - |
1557 | if (mode & QAbstractSocket::DontShareAddress) | - |
1558 | socketEngine->setOption(QAbstractSocketEngine::BindExclusively, 1); | - |
1559 | else | - |
1560 | socketEngine->setOption(QAbstractSocketEngine::BindExclusively, 0); | - |
1561 | #endif | - |
1562 | } | - |
1563 | bool result = socketEngine->bind(address, port); | - |
1564 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
1565 | | - |
1566 | if (!result) {TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| FALSE | evaluated 185 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 11-185 |
1567 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
1568 | return false;executed 11 times by 2 tests: return false; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 11 |
1569 | } | - |
1570 | | - |
1571 | state = QAbstractSocket::BoundState; | - |
1572 | localAddress = socketEngine->localAddress(); | - |
1573 | localPort = socketEngine->localPort(); | - |
1574 | | - |
1575 | emit q->stateChanged(state); | - |
1576 | if (socketType == QAbstractSocket::UdpSocket)TRUE | evaluated 129 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| FALSE | evaluated 56 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_qtcpsocket - unknown status
|
| 56-129 |
1577 | socketEngine->setReadNotificationEnabled(true);executed 129 times by 3 tests: socketEngine->setReadNotificationEnabled(true); Executed by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| 129 |
1578 | return true;executed 185 times by 5 tests: return true; Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 185 |
1579 | } | - |
1580 | | - |
1581 | | - |
1582 | | - |
1583 | | - |
1584 | | - |
1585 | | - |
1586 | | - |
1587 | | - |
1588 | | - |
1589 | | - |
1590 | bool QAbstractSocket::bind(quint16 port, BindMode mode) | - |
1591 | { | - |
1592 | return bind(QHostAddress::Any, port, mode);executed 84 times by 4 tests: return bind(QHostAddress::Any, port, mode); Executed by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 84 |
1593 | } | - |
1594 | | - |
1595 | | - |
1596 | | - |
1597 | | - |
1598 | | - |
1599 | | - |
1600 | | - |
1601 | | - |
1602 | | - |
1603 | | - |
1604 | bool QAbstractSocket::isValid() const | - |
1605 | { | - |
1606 | return d_func()->socketEngine ? d_func()->socketEngine->isValid() : isOpen();executed 1279724 times by 12 tests: return d_func()->socketEngine ? d_func()->socketEngine->isValid() : isOpen(); Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1279724 |
1607 | } | - |
1608 | | - |
1609 | | - |
1610 | | - |
1611 | | - |
1612 | | - |
1613 | | - |
1614 | | - |
1615 | | - |
1616 | | - |
1617 | | - |
1618 | | - |
1619 | | - |
1620 | | - |
1621 | | - |
1622 | | - |
1623 | | - |
1624 | | - |
1625 | | - |
1626 | | - |
1627 | | - |
1628 | | - |
1629 | | - |
1630 | | - |
1631 | | - |
1632 | void QAbstractSocket::connectToHost(const QString &hostName, quint16 port, | - |
1633 | OpenMode openMode, | - |
1634 | NetworkLayerProtocol protocol) | - |
1635 | { | - |
1636 | Q_D(QAbstractSocket); | - |
1637 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1638 | qDebug("QAbstractSocket::connectToHost(\"%s\", %i, %i)...", qPrintable(hostName), port, | - |
1639 | (int) openMode); | - |
1640 | #endif | - |
1641 | | - |
1642 | if (d->state == ConnectedState || d->state == ConnectingStateTRUE | evaluated 2 times by 1 testEvaluated by:- tst_qsocks5socketengine - unknown status
| FALSE | evaluated 7613 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
TRUE | never evaluated | FALSE | evaluated 7613 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 0-7613 |
1643 | || d->state == ClosingState || d->state == HostLookupState) {TRUE | never evaluated | FALSE | evaluated 7613 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
TRUE | never evaluated | FALSE | evaluated 7613 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 0-7613 |
1644 | qWarning("QAbstractSocket::connectToHost() called when already looking up or connecting/connected to \"%s\"", qPrintable(hostName)); | - |
1645 | d->setErrorAndEmit(OperationError, tr("Trying to connect while connection is in progress")); | - |
1646 | return;executed 2 times by 1 test: return; Executed by:- tst_qsocks5socketengine - unknown status
| 2 |
1647 | } | - |
1648 | | - |
1649 | d->preferredNetworkLayerProtocol = protocol; | - |
1650 | d->hostName = hostName; | - |
1651 | d->port = port; | - |
1652 | d->setReadChannelCount(0); | - |
1653 | d->setWriteChannelCount(0); | - |
1654 | d->abortCalled = false; | - |
1655 | d->pendingClose = false; | - |
1656 | if (d->state != BoundState) {TRUE | evaluated 7586 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 27 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
| 27-7586 |
1657 | d->state = UnconnectedState; | - |
1658 | d->localPort = 0; | - |
1659 | d->localAddress.clear(); | - |
1660 | }executed 7586 times by 29 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 7586 |
1661 | d->peerPort = 0; | - |
1662 | d->peerAddress.clear(); | - |
1663 | d->peerName = hostName; | - |
1664 | if (d->hostLookupId != -1) {TRUE | never evaluated | FALSE | evaluated 7613 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 0-7613 |
1665 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
1666 | d->hostLookupId = -1; | - |
1667 | } never executed: end of block | 0 |
1668 | | - |
1669 | #ifndef QT_NO_NETWORKPROXY | - |
1670 | | - |
1671 | d->resolveProxy(hostName, port); | - |
1672 | if (d->proxyInUse.type() == QNetworkProxy::DefaultProxy) {TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 7603 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 10-7603 |
1673 | | - |
1674 | d->setErrorAndEmit(UnsupportedSocketOperationError, | - |
1675 | tr("Operation on socket is not supported")); | - |
1676 | return;executed 10 times by 1 test: return; Executed by:- tst_qtcpsocket - unknown status
| 10 |
1677 | } | - |
1678 | #endif | - |
1679 | | - |
1680 | if (openMode & QIODevice::Unbuffered)TRUE | evaluated 614 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 6989 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 614-6989 |
1681 | d->isBuffered = false; executed 614 times by 8 tests: d->isBuffered = false; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| 614 |
1682 | else if (!d_func()->isBuffered)TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| FALSE | evaluated 6982 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 7-6982 |
1683 | openMode |= QAbstractSocket::Unbuffered; executed 7 times by 2 tests: openMode |= QAbstractSocket::Unbuffered; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 7 |
1684 | | - |
1685 | QIODevice::open(openMode); | - |
1686 | d->readChannelCount = d->writeChannelCount = 0; | - |
1687 | | - |
1688 | d->state = HostLookupState; | - |
1689 | emit stateChanged(d->state); | - |
1690 | | - |
1691 | QHostAddress temp; | - |
1692 | if (temp.setAddress(hostName)) {TRUE | evaluated 1920 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 5683 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 1920-5683 |
1693 | QHostInfo info; | - |
1694 | info.setAddresses(QList<QHostAddress>() << temp); | - |
1695 | d->_q_startConnecting(info); | - |
1696 | #ifndef QT_NO_NETWORKPROXY | - |
1697 | } else if (d->proxyInUse.capabilities() & QNetworkProxy::HostNameLookupCapability) {executed 1920 times by 21 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
TRUE | evaluated 785 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4898 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 785-4898 |
1698 | | - |
1699 | d->startConnectingByName(hostName); | - |
1700 | return;executed 785 times by 7 tests: return; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 785 |
1701 | #endif | - |
1702 | } else { | - |
1703 | if (d->threadData->hasEventDispatcher()) {TRUE | evaluated 4896 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-4896 |
1704 | | - |
1705 | | - |
1706 | bool immediateResultValid = false; | - |
1707 | QHostInfo hostInfo = qt_qhostinfo_lookup(hostName, | - |
1708 | this, | - |
1709 | SLOT(_q_startConnecting(QHostInfo)), | - |
1710 | &immediateResultValid, | - |
1711 | &d->hostLookupId); | - |
1712 | if (immediateResultValid) {TRUE | evaluated 1882 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 3014 times by 13 testsEvaluated by:- tst_QFtp
- tst_QHostInfo
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 1882-3014 |
1713 | d->hostLookupId = -1; | - |
1714 | d->_q_startConnecting(hostInfo); | - |
1715 | }executed 1882 times by 20 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 1882 |
1716 | }executed 4896 times by 23 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 4896 |
1717 | }executed 4898 times by 23 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 4898 |
1718 | | - |
1719 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1720 | qDebug("QAbstractSocket::connectToHost(\"%s\", %i) == %s%s", hostName.toLatin1().constData(), port, | - |
1721 | (d->state == ConnectedState) ? "true" : "false", | - |
1722 | (d->state == ConnectingState || d->state == HostLookupState) | - |
1723 | ? " (connection in progress)" : ""); | - |
1724 | #endif | - |
1725 | } | - |
1726 | | - |
1727 | | - |
1728 | | - |
1729 | | - |
1730 | | - |
1731 | void QAbstractSocket::connectToHost(const QHostAddress &address, quint16 port, | - |
1732 | OpenMode openMode) | - |
1733 | { | - |
1734 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1735 | qDebug("QAbstractSocket::connectToHost([%s], %i, %i)...", | - |
1736 | address.toString().toLatin1().constData(), port, (int) openMode); | - |
1737 | #endif | - |
1738 | connectToHost(address.toString(), port, openMode); | - |
1739 | }executed 110 times by 10 tests: end of block Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 110 |
1740 | | - |
1741 | | - |
1742 | | - |
1743 | | - |
1744 | | - |
1745 | | - |
1746 | | - |
1747 | | - |
1748 | qint64 QAbstractSocket::bytesToWrite() const | - |
1749 | { | - |
1750 | const qint64 pendingBytes = QIODevice::bytesToWrite(); | - |
1751 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1752 | qDebug("QAbstractSocket::bytesToWrite() == %lld", pendingBytes); | - |
1753 | #endif | - |
1754 | return pendingBytes;executed 38165 times by 15 tests: return pendingBytes; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 38165 |
1755 | } | - |
1756 | | - |
1757 | | - |
1758 | | - |
1759 | | - |
1760 | | - |
1761 | | - |
1762 | qint64 QAbstractSocket::bytesAvailable() const | - |
1763 | { | - |
1764 | Q_D(const QAbstractSocket); | - |
1765 | qint64 available = QIODevice::bytesAvailable(); | - |
1766 | | - |
1767 | if (!d->isBuffered && d->socketEngine && d->socketEngine->isValid())TRUE | evaluated 15239 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 62012 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
|
TRUE | evaluated 15166 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 73 times by 3 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QUdpSocket
|
TRUE | evaluated 15166 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| FALSE | never evaluated |
| 0-62012 |
1768 | available += d->socketEngine->bytesAvailable();executed 15166 times by 9 tests: available += d->socketEngine->bytesAvailable(); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| 15166 |
1769 | | - |
1770 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
1771 | qDebug("QAbstractSocket::bytesAvailable() == %lld", available); | - |
1772 | #endif | - |
1773 | return available;executed 77251 times by 21 tests: return available; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 77251 |
1774 | } | - |
1775 | | - |
1776 | | - |
1777 | | - |
1778 | | - |
1779 | | - |
1780 | | - |
1781 | | - |
1782 | quint16 QAbstractSocket::localPort() const | - |
1783 | { | - |
1784 | Q_D(const QAbstractSocket); | - |
1785 | return d->localPort;executed 1437 times by 13 tests: return d->localPort; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1437 |
1786 | } | - |
1787 | | - |
1788 | | - |
1789 | | - |
1790 | | - |
1791 | | - |
1792 | | - |
1793 | | - |
1794 | | - |
1795 | | - |
1796 | | - |
1797 | | - |
1798 | QHostAddress QAbstractSocket::localAddress() const | - |
1799 | { | - |
1800 | Q_D(const QAbstractSocket); | - |
1801 | return d->localAddress;executed 4841 times by 15 tests: return d->localAddress; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 4841 |
1802 | } | - |
1803 | | - |
1804 | | - |
1805 | | - |
1806 | | - |
1807 | | - |
1808 | | - |
1809 | | - |
1810 | quint16 QAbstractSocket::peerPort() const | - |
1811 | { | - |
1812 | Q_D(const QAbstractSocket); | - |
1813 | return d->peerPort;executed 847 times by 9 tests: return d->peerPort; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 847 |
1814 | } | - |
1815 | | - |
1816 | | - |
1817 | | - |
1818 | | - |
1819 | | - |
1820 | | - |
1821 | | - |
1822 | QHostAddress QAbstractSocket::peerAddress() const | - |
1823 | { | - |
1824 | Q_D(const QAbstractSocket); | - |
1825 | return d->peerAddress;executed 876 times by 9 tests: return d->peerAddress; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 876 |
1826 | } | - |
1827 | | - |
1828 | | - |
1829 | | - |
1830 | | - |
1831 | | - |
1832 | | - |
1833 | | - |
1834 | QString QAbstractSocket::peerName() const | - |
1835 | { | - |
1836 | Q_D(const QAbstractSocket); | - |
1837 | return d->peerName.isEmpty() ? d->hostName : d->peerName;executed 2148 times by 9 tests: return d->peerName.isEmpty() ? d->hostName : d->peerName; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 2148 |
1838 | } | - |
1839 | | - |
1840 | | - |
1841 | | - |
1842 | | - |
1843 | | - |
1844 | | - |
1845 | | - |
1846 | bool QAbstractSocket::canReadLine() const | - |
1847 | { | - |
1848 | bool hasLine = QIODevice::canReadLine(); | - |
1849 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
1850 | qDebug("QAbstractSocket::canReadLine() == %s, buffer size = %lld, size = %lld", | - |
1851 | hasLine ? "true" : "false", d_func()->buffer.size(), d_func()->buffer.size()); | - |
1852 | #endif | - |
1853 | return hasLine;executed 10266 times by 8 tests: return hasLine; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 10266 |
1854 | } | - |
1855 | | - |
1856 | | - |
1857 | | - |
1858 | | - |
1859 | | - |
1860 | | - |
1861 | | - |
1862 | | - |
1863 | | - |
1864 | | - |
1865 | | - |
1866 | | - |
1867 | | - |
1868 | qintptr QAbstractSocket::socketDescriptor() const | - |
1869 | { | - |
1870 | Q_D(const QAbstractSocket); | - |
1871 | return d->cachedSocketDescriptor;executed 2210 times by 13 tests: return d->cachedSocketDescriptor; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 2210 |
1872 | } | - |
1873 | | - |
1874 | | - |
1875 | | - |
1876 | | - |
1877 | | - |
1878 | | - |
1879 | | - |
1880 | | - |
1881 | | - |
1882 | | - |
1883 | | - |
1884 | | - |
1885 | | - |
1886 | | - |
1887 | bool QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor, SocketState socketState, | - |
1888 | OpenMode openMode) | - |
1889 | { | - |
1890 | Q_D(QAbstractSocket); | - |
1891 | | - |
1892 | d->resetSocketLayer(); | - |
1893 | d->setReadChannelCount(0); | - |
1894 | d->setWriteChannelCount(0); | - |
1895 | d->socketEngine = QAbstractSocketEngine::createSocketEngine(socketDescriptor, this); | - |
1896 | if (!d->socketEngine) {TRUE | never evaluated | FALSE | evaluated 995 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-995 |
1897 | d->setError(UnsupportedSocketOperationError, tr("Operation on socket is not supported")); | - |
1898 | return false; never executed: return false; | 0 |
1899 | } | - |
1900 | #ifndef QT_NO_BEARERMANAGEMENT | - |
1901 | | - |
1902 | d->socketEngine->setProperty("_q_networksession", property("_q_networksession")); | - |
1903 | #endif | - |
1904 | bool result = d->socketEngine->initialize(socketDescriptor, socketState); | - |
1905 | if (!result) {TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 988 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 7-988 |
1906 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1907 | return false;executed 7 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 7 |
1908 | } | - |
1909 | | - |
1910 | if (d->threadData->hasEventDispatcher())TRUE | evaluated 988 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-988 |
1911 | d->socketEngine->setReceiver(d);executed 988 times by 18 tests: d->socketEngine->setReceiver(d); Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 988 |
1912 | | - |
1913 | QIODevice::open(openMode); | - |
1914 | | - |
1915 | if (socketState == ConnectedState) {TRUE | evaluated 986 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-986 |
1916 | if (isReadable()) {TRUE | evaluated 985 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qlocalsocket - unknown status
|
| 1-985 |
1917 | const int inboundStreamCount = d->socketEngine->inboundStreamCount(); | - |
1918 | d->setReadChannelCount(qMax(1, inboundStreamCount)); | - |
1919 | if (inboundStreamCount == 0)TRUE | never evaluated | FALSE | evaluated 985 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-985 |
1920 | d->readChannelCount = 0; never executed: d->readChannelCount = 0; | 0 |
1921 | }executed 985 times by 18 tests: end of block Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 985 |
1922 | if (isWritable()) {TRUE | evaluated 986 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-986 |
1923 | const int outboundStreamCount = d->socketEngine->outboundStreamCount(); | - |
1924 | d->setWriteChannelCount(qMax(1, outboundStreamCount)); | - |
1925 | if (outboundStreamCount == 0)TRUE | never evaluated | FALSE | evaluated 986 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-986 |
1926 | d->writeChannelCount = 0; never executed: d->writeChannelCount = 0; | 0 |
1927 | }executed 986 times by 18 tests: end of block Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 986 |
1928 | } else {executed 986 times by 18 tests: end of block Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 986 |
1929 | d->readChannelCount = d->writeChannelCount = 0; | - |
1930 | }executed 2 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 2 |
1931 | | - |
1932 | if (d->state != socketState) {TRUE | evaluated 986 times by 18 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-986 |
1933 | d->state = socketState; | - |
1934 | emit stateChanged(d->state); | - |
1935 | }executed 986 times by 18 tests: end of block Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 986 |
1936 | | - |
1937 | d->pendingClose = false; | - |
1938 | d->socketEngine->setReadNotificationEnabled(true); | - |
1939 | d->localPort = d->socketEngine->localPort(); | - |
1940 | d->peerPort = d->socketEngine->peerPort(); | - |
1941 | d->localAddress = d->socketEngine->localAddress(); | - |
1942 | d->peerAddress = d->socketEngine->peerAddress(); | - |
1943 | d->cachedSocketDescriptor = socketDescriptor; | - |
1944 | | - |
1945 | return true;executed 988 times by 18 tests: return true; Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 988 |
1946 | } | - |
1947 | | - |
1948 | | - |
1949 | | - |
1950 | | - |
1951 | | - |
1952 | | - |
1953 | | - |
1954 | | - |
1955 | | - |
1956 | | - |
1957 | void QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value) | - |
1958 | { | - |
1959 | if (!d_func()->socketEngine)TRUE | never evaluated | FALSE | evaluated 1818 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qtcpsocket - unknown status
|
| 0-1818 |
1960 | return; never executed: return; | 0 |
1961 | | - |
1962 | switch (option) { | - |
1963 | case LowDelayOption:executed 935 times by 3 tests: case LowDelayOption: Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 935 |
1964 | d_func()->socketEngine->setOption(QAbstractSocketEngine::LowDelayOption, value.toInt()); | - |
1965 | break;executed 935 times by 3 tests: break; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 935 |
1966 | | - |
1967 | case KeepAliveOption:executed 855 times by 9 tests: case KeepAliveOption: Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qtcpsocket - unknown status
| 855 |
1968 | d_func()->socketEngine->setOption(QAbstractSocketEngine::KeepAliveOption, value.toInt()); | - |
1969 | break;executed 855 times by 9 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qtcpsocket - unknown status
| 855 |
1970 | | - |
1971 | case MulticastTtlOption:executed 12 times by 1 test: case MulticastTtlOption: | 12 |
1972 | d_func()->socketEngine->setOption(QAbstractSocketEngine::MulticastTtlOption, value.toInt()); | - |
1973 | break;executed 12 times by 1 test: break; | 12 |
1974 | | - |
1975 | case MulticastLoopbackOption:executed 14 times by 1 test: case MulticastLoopbackOption: | 14 |
1976 | d_func()->socketEngine->setOption(QAbstractSocketEngine::MulticastLoopbackOption, value.toInt()); | - |
1977 | break;executed 14 times by 1 test: break; | 14 |
1978 | | - |
1979 | case TypeOfServiceOption:executed 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
| 2 |
1980 | d_func()->socketEngine->setOption(QAbstractSocketEngine::TypeOfServiceOption, value.toInt()); | - |
1981 | break;executed 2 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 2 |
1982 | | - |
1983 | case SendBufferSizeSocketOption: never executed: case SendBufferSizeSocketOption: | 0 |
1984 | d_func()->socketEngine->setOption(QAbstractSocketEngine::SendBufferSocketOption, value.toInt()); | - |
1985 | break; never executed: break; | 0 |
1986 | | - |
1987 | case ReceiveBufferSizeSocketOption: never executed: case ReceiveBufferSizeSocketOption: | 0 |
1988 | d_func()->socketEngine->setOption(QAbstractSocketEngine::ReceiveBufferSocketOption, value.toInt()); | - |
1989 | break; never executed: break; | 0 |
1990 | } | - |
1991 | }executed 1818 times by 11 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qtcpsocket - unknown status
| 1818 |
1992 | | - |
1993 | | - |
1994 | | - |
1995 | | - |
1996 | | - |
1997 | | - |
1998 | | - |
1999 | QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option) | - |
2000 | { | - |
2001 | if (!d_func()->socketEngine)TRUE | never evaluated | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
| 0-36 |
2002 | return QVariant(); never executed: return QVariant(); | 0 |
2003 | | - |
2004 | int ret = -1; | - |
2005 | switch (option) { | - |
2006 | case LowDelayOption:executed 4 times by 1 test: case LowDelayOption: Executed by:- tst_qtcpsocket - unknown status
| 4 |
2007 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::LowDelayOption); | - |
2008 | break;executed 4 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 4 |
2009 | | - |
2010 | case KeepAliveOption:executed 4 times by 1 test: case KeepAliveOption: Executed by:- tst_qtcpsocket - unknown status
| 4 |
2011 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::KeepAliveOption); | - |
2012 | break;executed 4 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 4 |
2013 | | - |
2014 | case MulticastTtlOption:executed 12 times by 1 test: case MulticastTtlOption: | 12 |
2015 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::MulticastTtlOption); | - |
2016 | break;executed 12 times by 1 test: break; | 12 |
2017 | case MulticastLoopbackOption:executed 14 times by 1 test: case MulticastLoopbackOption: | 14 |
2018 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::MulticastLoopbackOption); | - |
2019 | break;executed 14 times by 1 test: break; | 14 |
2020 | | - |
2021 | case TypeOfServiceOption:executed 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
| 2 |
2022 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::TypeOfServiceOption); | - |
2023 | break;executed 2 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 2 |
2024 | | - |
2025 | case SendBufferSizeSocketOption: never executed: case SendBufferSizeSocketOption: | 0 |
2026 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::SendBufferSocketOption); | - |
2027 | break; never executed: break; | 0 |
2028 | | - |
2029 | case ReceiveBufferSizeSocketOption: never executed: case ReceiveBufferSizeSocketOption: | 0 |
2030 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::ReceiveBufferSocketOption); | - |
2031 | break; never executed: break; | 0 |
2032 | } | - |
2033 | if (ret == -1)TRUE | never evaluated | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
| 0-36 |
2034 | return QVariant(); never executed: return QVariant(); | 0 |
2035 | else | - |
2036 | return QVariant(ret);executed 36 times by 2 tests: return QVariant(ret); Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 36 |
2037 | } | - |
2038 | | - |
2039 | | - |
2040 | | - |
2041 | | - |
2042 | | - |
2043 | | - |
2044 | | - |
2045 | | - |
2046 | | - |
2047 | | - |
2048 | | - |
2049 | | - |
2050 | | - |
2051 | | - |
2052 | | - |
2053 | | - |
2054 | | - |
2055 | | - |
2056 | | - |
2057 | | - |
2058 | | - |
2059 | | - |
2060 | | - |
2061 | | - |
2062 | | - |
2063 | | - |
2064 | bool QAbstractSocket::waitForConnected(int msecs) | - |
2065 | { | - |
2066 | Q_D(QAbstractSocket); | - |
2067 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2068 | qDebug("QAbstractSocket::waitForConnected(%i)", msecs); | - |
2069 | #endif | - |
2070 | | - |
2071 | if (state() == ConnectedState) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 1421 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 4-1421 |
2072 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2073 | qDebug("QAbstractSocket::waitForConnected(%i) already connected", msecs); | - |
2074 | #endif | - |
2075 | return true;executed 4 times by 1 test: return true; | 4 |
2076 | } | - |
2077 | | - |
2078 | bool wasPendingClose = d->pendingClose; | - |
2079 | d->pendingClose = false; | - |
2080 | QElapsedTimer stopWatch; | - |
2081 | stopWatch.start(); | - |
2082 | | - |
2083 | if (d->state == HostLookupState) {TRUE | evaluated 92 times by 7 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1329 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 92-1329 |
2084 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2085 | qDebug("QAbstractSocket::waitForConnected(%i) doing host name lookup", msecs); | - |
2086 | #endif | - |
2087 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
2088 | d->hostLookupId = -1; | - |
2089 | #ifndef QT_NO_BEARERMANAGEMENT | - |
2090 | QSharedPointer<QNetworkSession> networkSession; | - |
2091 | QVariant v(property("_q_networksession")); | - |
2092 | if (v.isValid()) {TRUE | never evaluated | FALSE | evaluated 92 times by 7 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-92 |
2093 | networkSession = qvariant_cast< QSharedPointer<QNetworkSession> >(v); | - |
2094 | d->_q_startConnecting(QHostInfoPrivate::fromName(d->hostName, networkSession)); | - |
2095 | } else never executed: end of block | 0 |
2096 | #endif | - |
2097 | { | - |
2098 | QHostAddress temp; | - |
2099 | if (temp.setAddress(d->hostName)) {TRUE | never evaluated | FALSE | evaluated 92 times by 7 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-92 |
2100 | QHostInfo info; | - |
2101 | info.setAddresses(QList<QHostAddress>() << temp); | - |
2102 | d->_q_startConnecting(info); | - |
2103 | } else { never executed: end of block | 0 |
2104 | d->_q_startConnecting(QHostInfo::fromName(d->hostName)); | - |
2105 | }executed 92 times by 7 tests: end of block Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 92 |
2106 | } | - |
2107 | } | - |
2108 | if (state() == UnconnectedState)TRUE | evaluated 11 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1410 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 11-1410 |
2109 | return false; executed 11 times by 4 tests: return false; Executed by:- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 11 |
2110 | | - |
2111 | bool timedOut = true; | - |
2112 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2113 | int attempt = 1; | - |
2114 | #endif | - |
2115 | while (state() == ConnectingState && (msecs == -1 || stopWatch.elapsed() < msecs)) {TRUE | evaluated 1427 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 1380 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1404 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 1374 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 30 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 23-1427 |
2116 | int timeout = qt_subtract_from_timeout(msecs, stopWatch.elapsed()); | - |
2117 | if (msecs != -1 && timeout > QT_CONNECT_TIMEOUT)TRUE | evaluated 1374 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 23 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | never evaluated | FALSE | evaluated 1374 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-1374 |
2118 | timeout = QT_CONNECT_TIMEOUT; never executed: timeout = 30000; | 0 |
2119 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2120 | qDebug("QAbstractSocket::waitForConnected(%i) waiting %.2f secs for connection attempt #%i", | - |
2121 | msecs, timeout / 1000.0, attempt++); | - |
2122 | #endif | - |
2123 | timedOut = false; | - |
2124 | | - |
2125 | if (d->socketEngine && d->socketEngine->waitForWrite(timeout, &timedOut) && !timedOut) {TRUE | evaluated 1395 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
TRUE | evaluated 1385 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 1377 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 2-1395 |
2126 | d->_q_testConnection(); | - |
2127 | } else {executed 1377 times by 18 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 1377 |
2128 | d->_q_connectToNextAddress(); | - |
2129 | }executed 20 times by 2 tests: end of block Executed by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 20 |
2130 | } | - |
2131 | | - |
2132 | if ((timedOut && state() != ConnectedState) || state() == ConnectingState) {TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1372 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 1372 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-1372 |
2133 | d->setError(SocketTimeoutError, tr("Socket operation timed out")); | - |
2134 | d->state = UnconnectedState; | - |
2135 | emit stateChanged(d->state); | - |
2136 | d->resetSocketLayer(); | - |
2137 | }executed 38 times by 2 tests: end of block Executed by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 38 |
2138 | | - |
2139 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2140 | qDebug("QAbstractSocket::waitForConnected(%i) == %s", msecs, | - |
2141 | state() == ConnectedState ? "true" : "false"); | - |
2142 | #endif | - |
2143 | if (state() != ConnectedState)TRUE | evaluated 59 times by 6 testsEvaluated by:- tst_NetworkSelfTest
- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1351 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 59-1351 |
2144 | return false;executed 59 times by 6 tests: return false; Executed by:- tst_NetworkSelfTest
- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 59 |
2145 | if (wasPendingClose)TRUE | evaluated 20 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1331 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 20-1331 |
2146 | disconnectFromHost();executed 20 times by 1 test: disconnectFromHost(); Executed by:- tst_qtcpsocket - unknown status
| 20 |
2147 | return true;executed 1351 times by 18 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 1351 |
2148 | } | - |
2149 | | - |
2150 | | - |
2151 | | - |
2152 | | - |
2153 | | - |
2154 | | - |
2155 | | - |
2156 | | - |
2157 | | - |
2158 | | - |
2159 | | - |
2160 | | - |
2161 | | - |
2162 | | - |
2163 | | - |
2164 | | - |
2165 | bool QAbstractSocket::waitForReadyRead(int msecs) | - |
2166 | { | - |
2167 | Q_D(QAbstractSocket); | - |
2168 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2169 | qDebug("QAbstractSocket::waitForReadyRead(%i)", msecs); | - |
2170 | #endif | - |
2171 | | - |
2172 | | - |
2173 | if (state() == UnconnectedState) {TRUE | evaluated 68 times by 6 testsEvaluated by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4312 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 68-4312 |
2174 | | - |
2175 | | - |
2176 | | - |
2177 | return false;executed 68 times by 6 tests: return false; Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 68 |
2178 | } | - |
2179 | | - |
2180 | QElapsedTimer stopWatch; | - |
2181 | stopWatch.start(); | - |
2182 | | - |
2183 | | - |
2184 | if (state() == HostLookupState || state() == ConnectingState) {TRUE | evaluated 29 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4283 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 536 times by 10 testsEvaluated by:- tst_QFtp
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 3747 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 29-4283 |
2185 | if (!waitForConnected(msecs))TRUE | evaluated 7 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 558 times by 10 testsEvaluated by:- tst_QFtp
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 7-558 |
2186 | return false;executed 7 times by 3 tests: return false; Executed by:- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 7 |
2187 | }executed 558 times by 10 tests: end of block Executed by:- tst_QFtp
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 558 |
2188 | | - |
2189 | do { | - |
2190 | if (state() != ConnectedState && state() != BoundState)TRUE | evaluated 187 times by 8 testsEvaluated by:- tst_QNetworkSession
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 5437 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 63 times by 7 testsEvaluated by:- tst_QNetworkSession
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 124 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qsocks5socketengine - unknown status
|
| 63-5437 |
2191 | return false;executed 63 times by 7 tests: return false; Executed by:- tst_QNetworkSession
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 63 |
2192 | | - |
2193 | bool readyToRead = false; | - |
2194 | bool readyToWrite = false; | - |
2195 | if (!d->socketEngine->waitForReadOrWrite(&readyToRead, &readyToWrite, true, !d->writeBuffer.isEmpty(),TRUE | evaluated 84 times by 8 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 5477 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 84-5477 |
2196 | qt_subtract_from_timeout(msecs, stopWatch.elapsed()))) {TRUE | evaluated 84 times by 8 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 5477 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 84-5477 |
2197 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2198 | qDebug("QAbstractSocket::waitForReadyRead(%i) failed (%i, %s)", | - |
2199 | msecs, d->socketEngine->error(), d->socketEngine->errorString().toLatin1().constData()); | - |
2200 | #endif | - |
2201 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
2202 | if (d->socketError != SocketTimeoutError)TRUE | never evaluated | FALSE | evaluated 84 times by 8 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 0-84 |
2203 | close(); never executed: close(); | 0 |
2204 | return false;executed 84 times by 8 tests: return false; Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 84 |
2205 | } | - |
2206 | | - |
2207 | if (readyToRead) {TRUE | evaluated 4221 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 1256 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 1256-4221 |
2208 | if (d->canReadNotification())TRUE | evaluated 4158 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 63 times by 7 testsEvaluated by:- tst_QNetworkSession
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 63-4158 |
2209 | return true;executed 4158 times by 15 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 4158 |
2210 | }executed 63 times by 7 tests: end of block Executed by:- tst_QNetworkSession
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 63 |
2211 | | - |
2212 | if (readyToWrite)TRUE | evaluated 1258 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 61 times by 7 testsEvaluated by:- tst_QNetworkSession
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 61-1258 |
2213 | d->canWriteNotification();executed 1258 times by 11 tests: d->canWriteNotification(); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1258 |
2214 | } while (msecs == -1 || qt_subtract_from_timeout(msecs, stopWatch.elapsed()) > 0);executed 1319 times by 14 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
TRUE | evaluated 42 times by 3 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 1277 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 1277 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-1319 |
2215 | return false; never executed: return false; | 0 |
2216 | } | - |
2217 | | - |
2218 | | - |
2219 | | - |
2220 | | - |
2221 | | - |
2222 | | - |
2223 | | - |
2224 | | - |
2225 | | - |
2226 | | - |
2227 | | - |
2228 | | - |
2229 | | - |
2230 | | - |
2231 | | - |
2232 | | - |
2233 | | - |
2234 | bool QAbstractSocket::waitForBytesWritten(int msecs) | - |
2235 | { | - |
2236 | Q_D(QAbstractSocket); | - |
2237 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2238 | qDebug("QAbstractSocket::waitForBytesWritten(%i)", msecs); | - |
2239 | #endif | - |
2240 | | - |
2241 | | - |
2242 | if (state() == UnconnectedState) {TRUE | never evaluated | FALSE | evaluated 9163 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-9163 |
2243 | qWarning("QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState"); | - |
2244 | return false; never executed: return false; | 0 |
2245 | } | - |
2246 | | - |
2247 | if (d->writeBuffer.isEmpty())TRUE | evaluated 298 times by 8 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 8865 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 298-8865 |
2248 | return false;executed 298 times by 8 tests: return false; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 298 |
2249 | | - |
2250 | QElapsedTimer stopWatch; | - |
2251 | stopWatch.start(); | - |
2252 | | - |
2253 | | - |
2254 | if (state() == HostLookupState || state() == ConnectingState) {TRUE | never evaluated | FALSE | evaluated 8865 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | never evaluated | FALSE | evaluated 8865 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-8865 |
2255 | if (!waitForConnected(msecs))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2256 | return false; never executed: return false; | 0 |
2257 | } never executed: end of block | 0 |
2258 | | - |
2259 | forever { | - |
2260 | bool readyToRead = false; | - |
2261 | bool readyToWrite = false; | - |
2262 | if (!d->socketEngine->waitForReadOrWrite(&readyToRead, &readyToWrite,TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| FALSE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 24-8841 |
2263 | !d->readBufferMaxSize || d->buffer.size() < d->readBufferMaxSize,TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| FALSE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 24-8841 |
2264 | !d->writeBuffer.isEmpty(),TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| FALSE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 24-8841 |
2265 | qt_subtract_from_timeout(msecs, stopWatch.elapsed()))) {TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| FALSE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 24-8841 |
2266 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2267 | qDebug("QAbstractSocket::waitForBytesWritten(%i) failed (%i, %s)", | - |
2268 | msecs, d->socketEngine->error(), d->socketEngine->errorString().toLatin1().constData()); | - |
2269 | #endif | - |
2270 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
2271 | if (d->socketError != SocketTimeoutError)TRUE | never evaluated | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
|
| 0-24 |
2272 | close(); never executed: close(); | 0 |
2273 | return false;executed 24 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| 24 |
2274 | } | - |
2275 | | - |
2276 | if (readyToRead) {TRUE | never evaluated | FALSE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-8841 |
2277 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2278 | qDebug("QAbstractSocket::waitForBytesWritten calls canReadNotification"); | - |
2279 | #endif | - |
2280 | d->canReadNotification(); | - |
2281 | } never executed: end of block | 0 |
2282 | | - |
2283 | | - |
2284 | if (readyToWrite) {TRUE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-8841 |
2285 | if (d->canWriteNotification()) {TRUE | evaluated 8841 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-8841 |
2286 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2287 | qDebug("QAbstractSocket::waitForBytesWritten returns true"); | - |
2288 | #endif | - |
2289 | return true;executed 8841 times by 14 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 8841 |
2290 | } | - |
2291 | } never executed: end of block | 0 |
2292 | | - |
2293 | if (state() != ConnectedState)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2294 | return false; never executed: return false; | 0 |
2295 | } never executed: end of block | 0 |
2296 | return false; never executed: return false; | 0 |
2297 | } | - |
2298 | | - |
2299 | | - |
2300 | | - |
2301 | | - |
2302 | | - |
2303 | | - |
2304 | | - |
2305 | | - |
2306 | | - |
2307 | | - |
2308 | | - |
2309 | | - |
2310 | | - |
2311 | | - |
2312 | | - |
2313 | | - |
2314 | | - |
2315 | | - |
2316 | | - |
2317 | | - |
2318 | bool QAbstractSocket::waitForDisconnected(int msecs) | - |
2319 | { | - |
2320 | Q_D(QAbstractSocket); | - |
2321 | | - |
2322 | | - |
2323 | if (state() == UnconnectedState) {TRUE | never evaluated | FALSE | evaluated 203 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 0-203 |
2324 | qWarning("QAbstractSocket::waitForDisconnected() is not allowed in UnconnectedState"); | - |
2325 | return false; never executed: return false; | 0 |
2326 | } | - |
2327 | | - |
2328 | QElapsedTimer stopWatch; | - |
2329 | stopWatch.start(); | - |
2330 | | - |
2331 | | - |
2332 | if (state() == HostLookupState || state() == ConnectingState) {TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 194 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 53 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 141 times by 4 testsEvaluated by:- tst_NetworkSelfTest
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 9-194 |
2333 | if (!waitForConnected(msecs))TRUE | never evaluated | FALSE | evaluated 62 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 0-62 |
2334 | return false; never executed: return false; | 0 |
2335 | if (state() == UnconnectedState)TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 56 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 6-56 |
2336 | return true;executed 6 times by 1 test: return true; Executed by:- tst_qtcpsocket - unknown status
| 6 |
2337 | }executed 56 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 56 |
2338 | | - |
2339 | forever { | - |
2340 | bool readyToRead = false; | - |
2341 | bool readyToWrite = false; | - |
2342 | if (!d->socketEngine->waitForReadOrWrite(&readyToRead, &readyToWrite, state() == ConnectedState,TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1267 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 6-1267 |
2343 | !d->writeBuffer.isEmpty(),TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1267 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 6-1267 |
2344 | qt_subtract_from_timeout(msecs, stopWatch.elapsed()))) {TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1267 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 6-1267 |
2345 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2346 | qDebug("QAbstractSocket::waitForReadyRead(%i) failed (%i, %s)", | - |
2347 | msecs, d->socketEngine->error(), d->socketEngine->errorString().toLatin1().constData()); | - |
2348 | #endif | - |
2349 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
2350 | if (d->socketError != SocketTimeoutError)TRUE | never evaluated | FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 0-6 |
2351 | close(); never executed: close(); | 0 |
2352 | return false;executed 6 times by 1 test: return false; Executed by:- tst_qtcpsocket - unknown status
| 6 |
2353 | } | - |
2354 | | - |
2355 | if (readyToRead)TRUE | evaluated 1142 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 125 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 125-1142 |
2356 | d->canReadNotification();executed 1142 times by 5 tests: d->canReadNotification(); Executed by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 1142 |
2357 | if (readyToWrite)TRUE | evaluated 126 times by 4 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1141 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 126-1141 |
2358 | d->canWriteNotification();executed 126 times by 4 tests: d->canWriteNotification(); Executed by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 126 |
2359 | | - |
2360 | if (state() == UnconnectedState)TRUE | evaluated 191 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1076 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 191-1076 |
2361 | return true;executed 191 times by 5 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 191 |
2362 | }executed 1076 times by 5 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QNetworkReply
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 1076 |
2363 | return false; never executed: return false; | 0 |
2364 | } | - |
2365 | | - |
2366 | | - |
2367 | | - |
2368 | | - |
2369 | | - |
2370 | | - |
2371 | | - |
2372 | | - |
2373 | void QAbstractSocket::abort() | - |
2374 | { | - |
2375 | Q_D(QAbstractSocket); | - |
2376 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2377 | qDebug("QAbstractSocket::abort()"); | - |
2378 | #endif | - |
2379 | d->setWriteChannelCount(0); | - |
2380 | if (d->state == UnconnectedState)TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4655 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 24-4655 |
2381 | return;executed 24 times by 3 tests: return; Executed by:- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 24 |
2382 | #ifndef QT_NO_SSL | - |
2383 | if (QSslSocket *socket = qobject_cast<QSslSocket *>(this)) {TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4647 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 8-4647 |
2384 | socket->abort(); | - |
2385 | return;executed 8 times by 2 tests: return; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 8 |
2386 | } | - |
2387 | #endif | - |
2388 | if (d->connectTimer) {TRUE | evaluated 846 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 3801 times by 15 testsEvaluated by:- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 846-3801 |
2389 | d->connectTimer->stop(); | - |
2390 | delete d->connectTimer; | - |
2391 | d->connectTimer = 0; | - |
2392 | }executed 846 times by 17 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 846 |
2393 | | - |
2394 | d->abortCalled = true; | - |
2395 | close(); | - |
2396 | }executed 4647 times by 22 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 4647 |
2397 | | - |
2398 | | - |
2399 | | - |
2400 | bool QAbstractSocket::isSequential() const | - |
2401 | { | - |
2402 | return true;executed 5417 times by 28 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| 5417 |
2403 | } | - |
2404 | | - |
2405 | | - |
2406 | | - |
2407 | | - |
2408 | | - |
2409 | | - |
2410 | | - |
2411 | | - |
2412 | | - |
2413 | | - |
2414 | | - |
2415 | | - |
2416 | | - |
2417 | bool QAbstractSocket::atEnd() const | - |
2418 | { | - |
2419 | return QIODevice::atEnd();executed 272 times by 3 tests: return QIODevice::atEnd(); Executed by:- tst_QNetworkReply
- tst_qimagereader - unknown status
- tst_qtcpsocket - unknown status
| 272 |
2420 | } | - |
2421 | | - |
2422 | | - |
2423 | | - |
2424 | | - |
2425 | | - |
2426 | | - |
2427 | | - |
2428 | | - |
2429 | | - |
2430 | | - |
2431 | | - |
2432 | | - |
2433 | | - |
2434 | | - |
2435 | | - |
2436 | | - |
2437 | bool QAbstractSocket::flush() | - |
2438 | { | - |
2439 | Q_D(QAbstractSocket); | - |
2440 | #ifndef QT_NO_SSL | - |
2441 | | - |
2442 | | - |
2443 | if (QSslSocket *socket = qobject_cast<QSslSocket *>(this))TRUE | evaluated 9 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 2774 times by 12 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 9-2774 |
2444 | return socket->flush();executed 9 times by 1 test: return socket->flush(); Executed by:- tst_qtcpsocket - unknown status
| 9 |
2445 | #endif | - |
2446 | Q_CHECK_SOCKETENGINE(false);executed 10 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 2764 times by 12 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 10-2764 |
2447 | return d->flush();executed 2764 times by 12 tests: return d->flush(); Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2764 |
2448 | } | - |
2449 | | - |
2450 | | - |
2451 | | - |
2452 | qint64 QAbstractSocket::readData(char *data, qint64 maxSize) | - |
2453 | { | - |
2454 | Q_D(QAbstractSocket); | - |
2455 | | - |
2456 | | - |
2457 | if (!d->socketEngine || !d->socketEngine->isValid() || d->state != QAbstractSocket::ConnectedState)TRUE | evaluated 3525 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 175620 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | never evaluated | FALSE | evaluated 175620 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 38 times by 1 testEvaluated by:- tst_qsslsocket - unknown status
| FALSE | evaluated 175582 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-175620 |
2458 | return maxSize ? qint64(-1) : qint64(0);executed 3563 times by 11 tests: return maxSize ? qint64(-1) : qint64(0); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 3563 |
2459 | | - |
2460 | qint64 readBytes = (maxSize && !d->isBuffered) ? d->socketEngine->read(data, maxSize)TRUE | evaluated 155274 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 20308 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 133714 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
| FALSE | evaluated 21560 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 20308-155274 |
2461 | : qint64(0); | - |
2462 | if (readBytes == -2) {TRUE | evaluated 1176 times by 1 test | FALSE | evaluated 174406 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1176-174406 |
2463 | | - |
2464 | readBytes = 0; | - |
2465 | }executed 1176 times by 1 test: end of block | 1176 |
2466 | if (readBytes < 0) {TRUE | evaluated 77 times by 3 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
| FALSE | evaluated 175505 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 77-175505 |
2467 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
2468 | d->resetSocketLayer(); | - |
2469 | d->state = QAbstractSocket::UnconnectedState; | - |
2470 | } else if (!d->socketEngine->isReadNotificationEnabled()) {executed 77 times by 3 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
TRUE | evaluated 3807 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 171698 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 77-171698 |
2471 | | - |
2472 | d->socketEngine->setReadNotificationEnabled(true); | - |
2473 | }executed 3807 times by 9 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 3807 |
2474 | | - |
2475 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2476 | qDebug("QAbstractSocket::readData(%p \"%s\", %lli) == %lld [engine]", | - |
2477 | data, qt_prettyDebug(data, 32, readBytes).data(), maxSize, | - |
2478 | readBytes); | - |
2479 | #endif | - |
2480 | return readBytes;executed 175582 times by 23 tests: return readBytes; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 175582 |
2481 | } | - |
2482 | | - |
2483 | | - |
2484 | | - |
2485 | qint64 QAbstractSocket::readLineData(char *data, qint64 maxlen) | - |
2486 | { | - |
2487 | return QIODevice::readLineData(data, maxlen);executed 113 times by 5 tests: return QIODevice::readLineData(data, maxlen); Executed by:- tst_QUdpSocket
- tst_QXmlInputSource
- tst_qiodevice - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 113 |
2488 | } | - |
2489 | | - |
2490 | | - |
2491 | | - |
2492 | qint64 QAbstractSocket::writeData(const char *data, qint64 size) | - |
2493 | { | - |
2494 | Q_D(QAbstractSocket); | - |
2495 | if (d->state == QAbstractSocket::UnconnectedStateTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 655176 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 20-655176 |
2496 | || (!d->socketEngine && d->socketType != TcpSocket && !d->isBuffered)) {TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| FALSE | evaluated 655157 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
TRUE | evaluated 1 time by 1 test | FALSE | evaluated 18 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-655157 |
2497 | d->setError(UnknownSocketError, tr("Socket is not connected")); | - |
2498 | return -1;executed 21 times by 3 tests: return -1; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 21 |
2499 | } | - |
2500 | | - |
2501 | if (!d->isBuffered && d->socketType == TcpSocketTRUE | evaluated 630787 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 24388 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 2077 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 628710 times by 1 test |
| 2077-630787 |
2502 | && d->socketEngine && d->writeBuffer.isEmpty()) {TRUE | evaluated 2077 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | never evaluated |
TRUE | evaluated 1763 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 314 times by 1 test |
| 0-2077 |
2503 | | - |
2504 | qint64 written = size ? d->socketEngine->write(data, size) : Q_INT64_C(0);TRUE | evaluated 1763 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| FALSE | never evaluated |
| 0-1763 |
2505 | if (written < 0) {TRUE | never evaluated | FALSE | evaluated 1763 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
|
| 0-1763 |
2506 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
2507 | } else if (written < size) { never executed: end of block TRUE | evaluated 101 times by 1 test | FALSE | evaluated 1662 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
|
| 0-1662 |
2508 | | - |
2509 | d->writeBuffer.append(data + written, size - written); | - |
2510 | written = size; | - |
2511 | d->socketEngine->setWriteNotificationEnabled(true); | - |
2512 | }executed 101 times by 1 test: end of block | 101 |
2513 | | - |
2514 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2515 | qDebug("QAbstractSocket::writeData(%p \"%s\", %lli) == %lli", data, | - |
2516 | qt_prettyDebug(data, qMin((int)size, 32), size).data(), | - |
2517 | size, written); | - |
2518 | #endif | - |
2519 | return written; executed 1763 times by 8 tests: return written; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
| 1763 |
2520 | } else if (!d->isBuffered && d->socketType != TcpSocket) {TRUE | evaluated 629024 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUdpSocket
| FALSE | evaluated 24388 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 628710 times by 1 test | FALSE | evaluated 314 times by 1 test |
| 314-629024 |
2521 | | - |
2522 | qint64 written = d->socketEngine->write(data, size); | - |
2523 | if (written < 0)TRUE | never evaluated | FALSE | evaluated 628710 times by 1 test |
| 0-628710 |
2524 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); never executed: d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | 0 |
2525 | | - |
2526 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2527 | qDebug("QAbstractSocket::writeData(%p \"%s\", %lli) == %lli", data, | - |
2528 | qt_prettyDebug(data, qMin((int)size, 32), size).data(), | - |
2529 | size, written); | - |
2530 | #endif | - |
2531 | if (written >= 0) {TRUE | evaluated 628710 times by 1 test | FALSE | never evaluated |
| 0-628710 |
2532 | emit bytesWritten(written); | - |
2533 | emit channelBytesWritten(0, written); | - |
2534 | }executed 628710 times by 1 test: end of block | 628710 |
2535 | return written;executed 628710 times by 1 test: return written; | 628710 |
2536 | } | - |
2537 | | - |
2538 | | - |
2539 | | - |
2540 | | - |
2541 | | - |
2542 | | - |
2543 | | - |
2544 | d->writeBuffer.append(data, size); | - |
2545 | qint64 written = size; | - |
2546 | | - |
2547 | if (d->socketEngine && !d->writeBuffer.isEmpty())TRUE | evaluated 24684 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 18 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
TRUE | evaluated 24670 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
|
| 14-24684 |
2548 | d->socketEngine->setWriteNotificationEnabled(true);executed 24670 times by 21 tests: d->socketEngine->setWriteNotificationEnabled(true); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 24670 |
2549 | | - |
2550 | #if defined (QABSTRACTSOCKET_DEBUG) | - |
2551 | qDebug("QAbstractSocket::writeData(%p \"%s\", %lli) == %lli", data, | - |
2552 | qt_prettyDebug(data, qMin((int)size, 32), size).data(), | - |
2553 | size, written); | - |
2554 | #endif | - |
2555 | return written;executed 24702 times by 21 tests: return written; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 24702 |
2556 | } | - |
2557 | | - |
2558 | | - |
2559 | | - |
2560 | | - |
2561 | | - |
2562 | | - |
2563 | | - |
2564 | | - |
2565 | | - |
2566 | | - |
2567 | | - |
2568 | | - |
2569 | | - |
2570 | | - |
2571 | | - |
2572 | | - |
2573 | void QAbstractSocket::setLocalPort(quint16 port) | - |
2574 | { | - |
2575 | Q_D(QAbstractSocket); | - |
2576 | d->localPort = port; | - |
2577 | }executed 2098 times by 10 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 2098 |
2578 | | - |
2579 | | - |
2580 | | - |
2581 | | - |
2582 | | - |
2583 | | - |
2584 | | - |
2585 | | - |
2586 | | - |
2587 | | - |
2588 | | - |
2589 | | - |
2590 | | - |
2591 | | - |
2592 | | - |
2593 | | - |
2594 | | - |
2595 | void QAbstractSocket::setLocalAddress(const QHostAddress &address) | - |
2596 | { | - |
2597 | Q_D(QAbstractSocket); | - |
2598 | d->localAddress = address; | - |
2599 | }executed 2096 times by 9 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 2096 |
2600 | | - |
2601 | | - |
2602 | | - |
2603 | | - |
2604 | | - |
2605 | | - |
2606 | | - |
2607 | | - |
2608 | | - |
2609 | | - |
2610 | | - |
2611 | | - |
2612 | | - |
2613 | | - |
2614 | void QAbstractSocket::setPeerPort(quint16 port) | - |
2615 | { | - |
2616 | Q_D(QAbstractSocket); | - |
2617 | d->peerPort = port; | - |
2618 | }executed 2098 times by 10 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 2098 |
2619 | | - |
2620 | | - |
2621 | | - |
2622 | | - |
2623 | | - |
2624 | | - |
2625 | | - |
2626 | | - |
2627 | | - |
2628 | | - |
2629 | | - |
2630 | | - |
2631 | | - |
2632 | | - |
2633 | void QAbstractSocket::setPeerAddress(const QHostAddress &address) | - |
2634 | { | - |
2635 | Q_D(QAbstractSocket); | - |
2636 | d->peerAddress = address; | - |
2637 | }executed 2096 times by 9 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 2096 |
2638 | | - |
2639 | | - |
2640 | | - |
2641 | | - |
2642 | | - |
2643 | | - |
2644 | | - |
2645 | | - |
2646 | | - |
2647 | | - |
2648 | | - |
2649 | | - |
2650 | | - |
2651 | void QAbstractSocket::setPeerName(const QString &name) | - |
2652 | { | - |
2653 | Q_D(QAbstractSocket); | - |
2654 | d->peerName = name; | - |
2655 | }executed 2096 times by 9 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 2096 |
2656 | | - |
2657 | | - |
2658 | | - |
2659 | | - |
2660 | | - |
2661 | | - |
2662 | | - |
2663 | | - |
2664 | | - |
2665 | | - |
2666 | void QAbstractSocket::close() | - |
2667 | { | - |
2668 | Q_D(QAbstractSocket); | - |
2669 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2670 | qDebug("QAbstractSocket::close()"); | - |
2671 | #endif | - |
2672 | QIODevice::close(); | - |
2673 | if (d->state != UnconnectedState)TRUE | evaluated 6725 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 2378 times by 15 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
|
| 2378-6725 |
2674 | disconnectFromHost();executed 6725 times by 27 tests: disconnectFromHost(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 6725 |
2675 | }executed 9102 times by 30 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
| 9102 |
2676 | | - |
2677 | | - |
2678 | | - |
2679 | | - |
2680 | | - |
2681 | | - |
2682 | | - |
2683 | | - |
2684 | | - |
2685 | void QAbstractSocket::disconnectFromHost() | - |
2686 | { | - |
2687 | Q_D(QAbstractSocket); | - |
2688 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2689 | qDebug("QAbstractSocket::disconnectFromHost()"); | - |
2690 | #endif | - |
2691 | | - |
2692 | if (d->state == UnconnectedState) {TRUE | evaluated 396 times by 8 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 9295 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
| 396-9295 |
2693 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2694 | qDebug("QAbstractSocket::disconnectFromHost() was called on an unconnected socket"); | - |
2695 | #endif | - |
2696 | return;executed 396 times by 8 tests: return; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 396 |
2697 | } | - |
2698 | | - |
2699 | if (!d->abortCalled && (d->state == ConnectingState || d->state == HostLookupState)) {TRUE | evaluated 4647 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 4648 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
TRUE | evaluated 59 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4588 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 4580 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 8-4648 |
2700 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2701 | qDebug("QAbstractSocket::disconnectFromHost() but we're still connecting"); | - |
2702 | #endif | - |
2703 | d->pendingClose = true; | - |
2704 | return;executed 67 times by 2 tests: return; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 67 |
2705 | } | - |
2706 | | - |
2707 | | - |
2708 | if (d->socketEngine)TRUE | evaluated 5054 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| FALSE | evaluated 4174 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 4174-5054 |
2709 | d->socketEngine->setReadNotificationEnabled(false);executed 5054 times by 29 tests: d->socketEngine->setReadNotificationEnabled(false); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| 5054 |
2710 | | - |
2711 | if (d->abortCalled) {TRUE | evaluated 4648 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 4580 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 4580-4648 |
2712 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2713 | qDebug("QAbstractSocket::disconnectFromHost() aborting immediately"); | - |
2714 | #endif | - |
2715 | if (d->state == HostLookupState) {TRUE | evaluated 2867 times by 4 testsEvaluated by:- tst_QHostInfo
- tst_QUdpSocket
- tst_qobject - unknown status
- tst_qsslsocket - unknown status
| FALSE | evaluated 1781 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
|
| 1781-2867 |
2716 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
2717 | d->hostLookupId = -1; | - |
2718 | }executed 2867 times by 4 tests: end of block Executed by:- tst_QHostInfo
- tst_QUdpSocket
- tst_qobject - unknown status
- tst_qsslsocket - unknown status
| 2867 |
2719 | } else {executed 4648 times by 22 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 4648 |
2720 | | - |
2721 | if (d->state != ClosingState) {TRUE | evaluated 3749 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 831 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 831-3749 |
2722 | d->state = ClosingState; | - |
2723 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2724 | qDebug("QAbstractSocket::disconnectFromHost() emits stateChanged()(ClosingState)"); | - |
2725 | #endif | - |
2726 | emit stateChanged(d->state); | - |
2727 | } else {executed 3749 times by 29 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 3749 |
2728 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2729 | qDebug("QAbstractSocket::disconnectFromHost() return from delayed close"); | - |
2730 | #endif | - |
2731 | }executed 831 times by 7 tests: end of block Executed by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 831 |
2732 | | - |
2733 | | - |
2734 | if (d->socketEngine && d->socketEngine->isValid() && (d->writeBuffer.size() > 0TRUE | evaluated 3273 times by 27 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 1307 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | evaluated 2886 times by 27 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| FALSE | evaluated 387 times by 4 testsEvaluated by:- tst_QFtp
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 244 times by 8 testsEvaluated by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 2642 times by 27 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 244-3273 |
2735 | || d->socketEngine->bytesToWrite() > 0)) {TRUE | evaluated 626 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 2016 times by 27 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 626-2016 |
2736 | | - |
2737 | | - |
2738 | | - |
2739 | | - |
2740 | | - |
2741 | if (d->writeBuffer.size() == 0 && d->socketEngine->bytesToWrite() > 0) {TRUE | evaluated 626 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 244 times by 8 testsEvaluated by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 626 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-626 |
2742 | if (!d->disconnectTimer) {TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 598 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 28-598 |
2743 | d->disconnectTimer = new QTimer(this); | - |
2744 | connect(d->disconnectTimer, SIGNAL(timeout()), this, | - |
2745 | SLOT(_q_forceDisconnect()), Qt::DirectConnection); | - |
2746 | }executed 28 times by 2 tests: end of block Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 28 |
2747 | if (!d->disconnectTimer->isActive())TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 598 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 28-598 |
2748 | d->disconnectTimer->start(2000);executed 28 times by 2 tests: d->disconnectTimer->start(2000); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 28 |
2749 | }executed 626 times by 2 tests: end of block Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 626 |
2750 | d->socketEngine->setWriteNotificationEnabled(true); | - |
2751 | | - |
2752 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2753 | qDebug("QAbstractSocket::disconnectFromHost() delaying disconnect"); | - |
2754 | #endif | - |
2755 | return;executed 870 times by 8 tests: return; Executed by:- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 870 |
2756 | } else { | - |
2757 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2758 | qDebug("QAbstractSocket::disconnectFromHost() disconnecting immediately"); | - |
2759 | #endif | - |
2760 | }executed 3710 times by 29 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 3710 |
2761 | } | - |
2762 | | - |
2763 | SocketState previousState = d->state; | - |
2764 | d->resetSocketLayer(); | - |
2765 | d->state = UnconnectedState; | - |
2766 | emit stateChanged(d->state); | - |
2767 | emit readChannelFinished(); | - |
2768 | | - |
2769 | | - |
2770 | if (previousState == ConnectedState || previousState == ClosingState)TRUE | evaluated 1426 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| FALSE | evaluated 6931 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
TRUE | evaluated 3748 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| FALSE | evaluated 3183 times by 9 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 1426-6931 |
2771 | emit disconnected();executed 5174 times by 30 tests: disconnected(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 5174 |
2772 | | - |
2773 | d->localPort = 0; | - |
2774 | d->peerPort = 0; | - |
2775 | d->localAddress.clear(); | - |
2776 | d->peerAddress.clear(); | - |
2777 | d->peerName.clear(); | - |
2778 | d->setWriteChannelCount(0); | - |
2779 | | - |
2780 | #if defined(QABSTRACTSOCKET_DEBUG) | - |
2781 | qDebug("QAbstractSocket::disconnectFromHost() disconnected!"); | - |
2782 | #endif | - |
2783 | | - |
2784 | }executed 8357 times by 31 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
| 8357 |
2785 | | - |
2786 | | - |
2787 | | - |
2788 | | - |
2789 | | - |
2790 | | - |
2791 | | - |
2792 | | - |
2793 | | - |
2794 | | - |
2795 | | - |
2796 | qint64 QAbstractSocket::readBufferSize() const | - |
2797 | { | - |
2798 | return d_func()->readBufferMaxSize;executed 120 times by 5 tests: return d_func()->readBufferMaxSize; Executed by:- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 120 |
2799 | } | - |
2800 | | - |
2801 | | - |
2802 | | - |
2803 | | - |
2804 | | - |
2805 | | - |
2806 | | - |
2807 | | - |
2808 | | - |
2809 | | - |
2810 | | - |
2811 | | - |
2812 | | - |
2813 | | - |
2814 | | - |
2815 | | - |
2816 | | - |
2817 | | - |
2818 | | - |
2819 | | - |
2820 | | - |
2821 | | - |
2822 | | - |
2823 | void QAbstractSocket::setReadBufferSize(qint64 size) | - |
2824 | { | - |
2825 | Q_D(QAbstractSocket); | - |
2826 | | - |
2827 | if (d->readBufferMaxSize == size)TRUE | evaluated 949 times by 10 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1867 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 949-1867 |
2828 | return;executed 949 times by 10 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 949 |
2829 | d->readBufferMaxSize = size; | - |
2830 | if (!d->emittedReadyRead && d->socketEngine) {TRUE | evaluated 1863 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
TRUE | evaluated 780 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1083 times by 12 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 4-1863 |
2831 | | - |
2832 | | - |
2833 | | - |
2834 | if ((size == 0 || d->buffer.size() < size) && d->state == QAbstractSocket::ConnectedState) TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 775 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 775 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
TRUE | evaluated 19 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 761 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
|
| 0-775 |
2835 | d->socketEngine->setReadNotificationEnabled(true);executed 19 times by 4 tests: d->socketEngine->setReadNotificationEnabled(true); Executed by:- tst_QNetworkReply
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 19 |
2836 | }executed 780 times by 11 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 780 |
2837 | }executed 1867 times by 18 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qabstractsocket - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1867 |
2838 | | - |
2839 | | - |
2840 | | - |
2841 | | - |
2842 | | - |
2843 | | - |
2844 | QAbstractSocket::SocketState QAbstractSocket::state() const | - |
2845 | { | - |
2846 | return d_func()->state;executed 141752 times by 29 tests: return d_func()->state; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 141752 |
2847 | } | - |
2848 | | - |
2849 | | - |
2850 | | - |
2851 | | - |
2852 | | - |
2853 | | - |
2854 | void QAbstractSocket::setSocketState(SocketState state) | - |
2855 | { | - |
2856 | d_func()->state = state; | - |
2857 | }executed 4200 times by 10 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_spdy - unknown status
| 4200 |
2858 | | - |
2859 | | - |
2860 | | - |
2861 | | - |
2862 | | - |
2863 | | - |
2864 | QAbstractSocket::SocketType QAbstractSocket::socketType() const | - |
2865 | { | - |
2866 | return d_func()->socketType;executed 10235 times by 27 tests: return d_func()->socketType; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 10235 |
2867 | } | - |
2868 | | - |
2869 | | - |
2870 | | - |
2871 | | - |
2872 | | - |
2873 | | - |
2874 | QAbstractSocket::SocketError QAbstractSocket::error() const | - |
2875 | { | - |
2876 | return d_func()->socketError;executed 733 times by 15 tests: return d_func()->socketError; Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 733 |
2877 | } | - |
2878 | | - |
2879 | | - |
2880 | | - |
2881 | | - |
2882 | | - |
2883 | | - |
2884 | void QAbstractSocket::setSocketError(SocketError socketError) | - |
2885 | { | - |
2886 | d_func()->socketError = socketError; | - |
2887 | }executed 685 times by 9 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 685 |
2888 | | - |
2889 | #ifndef QT_NO_NETWORKPROXY | - |
2890 | | - |
2891 | | - |
2892 | | - |
2893 | | - |
2894 | | - |
2895 | | - |
2896 | | - |
2897 | | - |
2898 | | - |
2899 | | - |
2900 | | - |
2901 | | - |
2902 | | - |
2903 | | - |
2904 | | - |
2905 | | - |
2906 | | - |
2907 | | - |
2908 | | - |
2909 | void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) | - |
2910 | { | - |
2911 | Q_D(QAbstractSocket); | - |
2912 | d->proxy = networkProxy; | - |
2913 | }executed 2783 times by 17 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 2783 |
2914 | | - |
2915 | | - |
2916 | | - |
2917 | | - |
2918 | | - |
2919 | | - |
2920 | | - |
2921 | | - |
2922 | | - |
2923 | | - |
2924 | QNetworkProxy QAbstractSocket::proxy() const | - |
2925 | { | - |
2926 | Q_D(const QAbstractSocket); | - |
2927 | return d->proxy;executed 6909 times by 22 tests: return d->proxy; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
| 6909 |
2928 | } | - |
2929 | #endif // QT_NO_NETWORKPROXY | - |
2930 | | - |
2931 | #ifndef QT_NO_DEBUG_STREAM | - |
2932 | Q_NETWORK_EXPORT QDebug operator<<(QDebug debug, QAbstractSocket::SocketError error) | - |
2933 | { | - |
2934 | QDebugStateSaver saver(debug); | - |
2935 | debug.resetFormat().nospace(); | - |
2936 | switch (error) { | - |
2937 | case QAbstractSocket::ConnectionRefusedError: never executed: case QAbstractSocket::ConnectionRefusedError: | 0 |
2938 | debug << "QAbstractSocket::ConnectionRefusedError"; | - |
2939 | break; never executed: break; | 0 |
2940 | case QAbstractSocket::RemoteHostClosedError:executed 28 times by 1 test: case QAbstractSocket::RemoteHostClosedError: | 28 |
2941 | debug << "QAbstractSocket::RemoteHostClosedError"; | - |
2942 | break;executed 28 times by 1 test: break; | 28 |
2943 | case QAbstractSocket::HostNotFoundError: never executed: case QAbstractSocket::HostNotFoundError: | 0 |
2944 | debug << "QAbstractSocket::HostNotFoundError"; | - |
2945 | break; never executed: break; | 0 |
2946 | case QAbstractSocket::SocketAccessError: never executed: case QAbstractSocket::SocketAccessError: | 0 |
2947 | debug << "QAbstractSocket::SocketAccessError"; | - |
2948 | break; never executed: break; | 0 |
2949 | case QAbstractSocket::SocketResourceError: never executed: case QAbstractSocket::SocketResourceError: | 0 |
2950 | debug << "QAbstractSocket::SocketResourceError"; | - |
2951 | break; never executed: break; | 0 |
2952 | case QAbstractSocket::SocketTimeoutError:executed 1 time by 1 test: case QAbstractSocket::SocketTimeoutError: | 1 |
2953 | debug << "QAbstractSocket::SocketTimeoutError"; | - |
2954 | break;executed 1 time by 1 test: break; | 1 |
2955 | case QAbstractSocket::DatagramTooLargeError: never executed: case QAbstractSocket::DatagramTooLargeError: | 0 |
2956 | debug << "QAbstractSocket::DatagramTooLargeError"; | - |
2957 | break; never executed: break; | 0 |
2958 | case QAbstractSocket::NetworkError: never executed: case QAbstractSocket::NetworkError: | 0 |
2959 | debug << "QAbstractSocket::NetworkError"; | - |
2960 | break; never executed: break; | 0 |
2961 | case QAbstractSocket::AddressInUseError: never executed: case QAbstractSocket::AddressInUseError: | 0 |
2962 | debug << "QAbstractSocket::AddressInUseError"; | - |
2963 | break; never executed: break; | 0 |
2964 | case QAbstractSocket::SocketAddressNotAvailableError: never executed: case QAbstractSocket::SocketAddressNotAvailableError: | 0 |
2965 | debug << "QAbstractSocket::SocketAddressNotAvailableError"; | - |
2966 | break; never executed: break; | 0 |
2967 | case QAbstractSocket::UnsupportedSocketOperationError: never executed: case QAbstractSocket::UnsupportedSocketOperationError: | 0 |
2968 | debug << "QAbstractSocket::UnsupportedSocketOperationError"; | - |
2969 | break; never executed: break; | 0 |
2970 | case QAbstractSocket::UnfinishedSocketOperationError: never executed: case QAbstractSocket::UnfinishedSocketOperationError: | 0 |
2971 | debug << "QAbstractSocket::UnfinishedSocketOperationError"; | - |
2972 | break; never executed: break; | 0 |
2973 | case QAbstractSocket::ProxyAuthenticationRequiredError: never executed: case QAbstractSocket::ProxyAuthenticationRequiredError: | 0 |
2974 | debug << "QAbstractSocket::ProxyAuthenticationRequiredError"; | - |
2975 | break; never executed: break; | 0 |
2976 | case QAbstractSocket::UnknownSocketError:executed 50 times by 2 tests: case QAbstractSocket::UnknownSocketError: Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 50 |
2977 | debug << "QAbstractSocket::UnknownSocketError"; | - |
2978 | break;executed 50 times by 2 tests: break; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 50 |
2979 | case QAbstractSocket::ProxyConnectionRefusedError: never executed: case QAbstractSocket::ProxyConnectionRefusedError: | 0 |
2980 | debug << "QAbstractSocket::ProxyConnectionRefusedError"; | - |
2981 | break; never executed: break; | 0 |
2982 | case QAbstractSocket::ProxyConnectionClosedError: never executed: case QAbstractSocket::ProxyConnectionClosedError: | 0 |
2983 | debug << "QAbstractSocket::ProxyConnectionClosedError"; | - |
2984 | break; never executed: break; | 0 |
2985 | case QAbstractSocket::ProxyConnectionTimeoutError: never executed: case QAbstractSocket::ProxyConnectionTimeoutError: | 0 |
2986 | debug << "QAbstractSocket::ProxyConnectionTimeoutError"; | - |
2987 | break; never executed: break; | 0 |
2988 | case QAbstractSocket::ProxyNotFoundError: never executed: case QAbstractSocket::ProxyNotFoundError: | 0 |
2989 | debug << "QAbstractSocket::ProxyNotFoundError"; | - |
2990 | break; never executed: break; | 0 |
2991 | case QAbstractSocket::ProxyProtocolError: never executed: case QAbstractSocket::ProxyProtocolError: | 0 |
2992 | debug << "QAbstractSocket::ProxyProtocolError"; | - |
2993 | break; never executed: break; | 0 |
2994 | default: never executed: default: | 0 |
2995 | debug << "QAbstractSocket::SocketError(" << int(error) << ')'; | - |
2996 | break; never executed: break; | 0 |
2997 | } | - |
2998 | return debug;executed 79 times by 3 tests: return debug; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 79 |
2999 | } | - |
3000 | | - |
3001 | Q_NETWORK_EXPORT QDebug operator<<(QDebug debug, QAbstractSocket::SocketState state) | - |
3002 | { | - |
3003 | QDebugStateSaver saver(debug); | - |
3004 | debug.resetFormat().nospace(); | - |
3005 | switch (state) { | - |
3006 | case QAbstractSocket::UnconnectedState: never executed: case QAbstractSocket::UnconnectedState: | 0 |
3007 | debug << "QAbstractSocket::UnconnectedState"; | - |
3008 | break; never executed: break; | 0 |
3009 | case QAbstractSocket::HostLookupState: never executed: case QAbstractSocket::HostLookupState: | 0 |
3010 | debug << "QAbstractSocket::HostLookupState"; | - |
3011 | break; never executed: break; | 0 |
3012 | case QAbstractSocket::ConnectingState: never executed: case QAbstractSocket::ConnectingState: | 0 |
3013 | debug << "QAbstractSocket::ConnectingState"; | - |
3014 | break; never executed: break; | 0 |
3015 | case QAbstractSocket::ConnectedState: never executed: case QAbstractSocket::ConnectedState: | 0 |
3016 | debug << "QAbstractSocket::ConnectedState"; | - |
3017 | break; never executed: break; | 0 |
3018 | case QAbstractSocket::BoundState:executed 45 times by 1 test: case QAbstractSocket::BoundState: | 45 |
3019 | debug << "QAbstractSocket::BoundState"; | - |
3020 | break;executed 45 times by 1 test: break; | 45 |
3021 | case QAbstractSocket::ListeningState: never executed: case QAbstractSocket::ListeningState: | 0 |
3022 | debug << "QAbstractSocket::ListeningState"; | - |
3023 | break; never executed: break; | 0 |
3024 | case QAbstractSocket::ClosingState:executed 6 times by 1 test: case QAbstractSocket::ClosingState: Executed by:- tst_qtcpsocket - unknown status
| 6 |
3025 | debug << "QAbstractSocket::ClosingState"; | - |
3026 | break;executed 6 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 6 |
3027 | default: never executed: default: | 0 |
3028 | debug << "QAbstractSocket::SocketState(" << int(state) << ')'; | - |
3029 | break; never executed: break; | 0 |
3030 | } | - |
3031 | return debug;executed 51 times by 2 tests: return debug; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 51 |
3032 | } | - |
3033 | #endif | - |
3034 | | - |
3035 | QT_END_NAMESPACE | - |
3036 | | - |
3037 | #include "moc_qabstractsocket.cpp" | - |
| | |