Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | static bool isProxyError(QAbstractSocket::SocketError error) | - |
9 | { | - |
10 | switch (error) { | - |
11 | caseexecuted 10 times by 4 tests: case QAbstractSocket::ProxyAuthenticationRequiredError: Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
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 |
12 | caseexecuted 4 times by 4 tests: case QAbstractSocket::ProxyConnectionRefusedError: Executed by:- tst_QNetworkReply
- tst_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
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 |
13 | caseexecuted 33 times by 3 tests: case QAbstractSocket::ProxyConnectionClosedError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
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 |
14 | case never executed: case QAbstractSocket::ProxyConnectionTimeoutError: QAbstractSocket::ProxyConnectionTimeoutError:never executed: case QAbstractSocket::ProxyConnectionTimeoutError: | 0 |
15 | caseexecuted 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
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 |
16 | caseexecuted 7 times by 2 tests: case QAbstractSocket::ProxyProtocolError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
QAbstractSocket::ProxyProtocolError:executed 7 times by 2 tests: case QAbstractSocket::ProxyProtocolError: Executed by:- tst_qhttpsocketengine - unknown status
- tst_qsocks5socketengine - unknown status
| 7 |
17 | returnexecuted 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
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 |
18 | defaultexecuted 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
: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 |
19 | returnexecuted 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
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 |
20 | } | - |
21 | } | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | QAbstractSocketPrivate::QAbstractSocketPrivate() | - |
28 | : emittedReadyRead(false), | - |
29 | emittedBytesWritten(false), | - |
30 | abortCalled(false), | - |
31 | pendingClose(false), | - |
32 | pauseMode(QAbstractSocket::PauseNever), | - |
33 | port(0), | - |
34 | localPort(0), | - |
35 | peerPort(0), | - |
36 | socketEngine(0), | - |
37 | cachedSocketDescriptor(-1), | - |
38 | readBufferMaxSize(0), | - |
39 | isBuffered(false), | - |
40 | connectTimer(0), | - |
41 | disconnectTimer(0), | - |
42 | hostLookupId(-1), | - |
43 | socketType(QAbstractSocket::UnknownSocketType), | - |
44 | state(QAbstractSocket::UnconnectedState), | - |
45 | socketError(QAbstractSocket::UnknownSocketError), | - |
46 | preferredNetworkLayerProtocol(QAbstractSocket::UnknownNetworkLayerProtocol) | - |
47 | { | - |
48 | writeBufferChunkSize = 32768; | - |
49 | }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 |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | QAbstractSocketPrivate::~QAbstractSocketPrivate() | - |
57 | { | - |
58 | } | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | void QAbstractSocketPrivate::resetSocketLayer() | - |
65 | { | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | if (socketEngineTRUE | 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 |
71 | socketEngine->close(); | - |
72 | socketEngine->disconnect(); | - |
73 | delete socketEngine; | - |
74 | socketEngine = 0; | - |
75 | cachedSocketDescriptor = -1; | - |
76 | }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 |
77 | if (connectTimerTRUE | 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 |
78 | 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 |
79 | if (disconnectTimerTRUE | 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 |
80 | disconnectTimer->stop();executed 52 times by 2 tests: disconnectTimer->stop(); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 52 |
81 | }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 |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | bool QAbstractSocketPrivate::initSocketLayer(QAbstractSocket::NetworkLayerProtocol protocol) | - |
90 | { | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | QAbstractSocket * const q = q_func(); | - |
97 | resetSocketLayer(); | - |
98 | socketEngine = QAbstractSocketEngine::createSocketEngine(q->socketType(), proxyInUse, q); | - |
99 | if (!socketEngineTRUE | 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 |
100 | setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
101 | QAbstractSocket::tr("Operation on socket is not supported")); | - |
102 | return never executed: return false; false;never executed: return false; | 0 |
103 | } | - |
104 | | - |
105 | | - |
106 | socketEngine->setProperty("_q_networksession", q->property("_q_networksession")); | - |
107 | | - |
108 | 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 |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | setError(socketEngine->error(), socketEngine->errorString()); | - |
115 | return never executed: return false; false;never executed: return false; | 0 |
116 | } | - |
117 | | - |
118 | configureCreatedSocket(); | - |
119 | | - |
120 | 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 |
121 | 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 |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | returnexecuted 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
- ...
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 |
128 | } | - |
129 | | - |
130 | | - |
131 | | - |
132 | void QAbstractSocketPrivate::configureCreatedSocket() | - |
133 | { | - |
134 | } | - |
135 | | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | bool QAbstractSocketPrivate::canReadNotification() | - |
143 | { | - |
144 | QAbstractSocket * const q = q_func(); | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | if (!isBufferedTRUE | 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 |
150 | 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 |
151 | | - |
152 | | - |
153 | if (isBufferedTRUE | 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 |
154 | const qint64 oldBufferSize = buffer.size(); | - |
155 | | - |
156 | | - |
157 | if (readBufferMaxSizeTRUE | 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
|
&& oldBufferSize >= readBufferMaxSizeTRUE | 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 |
158 | | - |
159 | | - |
160 | | - |
161 | return never executed: return false; false;never executed: return false; | 0 |
162 | } | - |
163 | | - |
164 | | - |
165 | | - |
166 | 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 |
167 | | - |
168 | | - |
169 | | - |
170 | q->disconnectFromHost(); | - |
171 | returnexecuted 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
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 |
172 | } | - |
173 | | - |
174 | | - |
175 | if (buffer.size() == oldBufferSizeTRUE | 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 |
176 | | - |
177 | | - |
178 | returnexecuted 12 times by 2 tests: return !q->isReadable(); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
!q->isReadable();executed 12 times by 2 tests: return !q->isReadable(); Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 12 |
179 | } | - |
180 | | - |
181 | | - |
182 | if (readBufferMaxSizeTRUE | 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
|
&& buffer.size() == readBufferMaxSizeTRUE | 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 |
183 | socketEngine->setReadNotificationEnabled(false); | - |
184 | }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 |
185 | }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 |
186 | | - |
187 | emitReadyRead(); | - |
188 | | - |
189 | | - |
190 | | - |
191 | if (state == QAbstractSocket::UnconnectedStateTRUE | 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
- ...
|
|| state == QAbstractSocket::ClosingStateTRUE | 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 |
192 | | - |
193 | | - |
194 | | - |
195 | returnexecuted 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
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 |
196 | } | - |
197 | | - |
198 | | - |
199 | if (socketEngineTRUE | 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 |
&& isBufferedTRUE | 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 |
200 | 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 |
201 | | - |
202 | returnexecuted 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
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 |
203 | } | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | void QAbstractSocketPrivate::canCloseNotification() | - |
211 | { | - |
212 | QAbstractSocket * const q = q_func(); | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | qint64 newBytes = 0; | - |
220 | if (isBufferedTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
221 | | - |
222 | newBytes = buffer.size(); | - |
223 | qint64 oldReadBufferMaxSize = readBufferMaxSize; | - |
224 | readBufferMaxSize = 0; | - |
225 | bool hadReadFromSocket = readFromSocket(); | - |
226 | readBufferMaxSize = oldReadBufferMaxSize; | - |
227 | if (!hadReadFromSocketTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
228 | q->disconnectFromHost(); | - |
229 | return; never executed: return; | 0 |
230 | } | - |
231 | newBytes = buffer.size() - newBytes; | - |
232 | if (newBytesTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | emitReadyRead(); | - |
239 | | - |
240 | QMetaObject::invokeMethod(socketEngine, "closeNotification", Qt::QueuedConnection); | - |
241 | } never executed: end of block | 0 |
242 | } never executed: end of block else if (socketType == QAbstractSocket::TcpSocketTRUE | never evaluated | FALSE | never evaluated |
&& socketEngineTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
243 | emitReadyRead(); | - |
244 | } never executed: end of block | 0 |
245 | } never executed: end of block | 0 |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | bool QAbstractSocketPrivate::canWriteNotification() | - |
254 | { | - |
255 | | - |
256 | | - |
257 | | - |
258 | bool dataWasWritten = writeToSocket(); | - |
259 | | - |
260 | if (socketEngineTRUE | 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
|
&& writeBuffer.isEmpty()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
|
&& socketEngine->bytesToWrite() == 0TRUE | 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 |
261 | 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 |
262 | | - |
263 | returnexecuted 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
- ...
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 |
264 | } | - |
265 | | - |
266 | | - |
267 | | - |
268 | | - |
269 | | - |
270 | | - |
271 | void QAbstractSocketPrivate::connectionNotification() | - |
272 | { | - |
273 | | - |
274 | | - |
275 | if (state == QAbstractSocket::ConnectingStateTRUE | 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 |
276 | | - |
277 | | - |
278 | | - |
279 | _q_testConnection(); | - |
280 | }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 |
281 | }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 |
282 | bool QAbstractSocketPrivate::writeToSocket() | - |
283 | { | - |
284 | QAbstractSocket * const q = q_func(); | - |
285 | if (!socketEngineTRUE | 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
- ...
|
|| !socketEngine->isValid()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
- ...
|
|| (writeBuffer.isEmpty()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 |
286 | && socketEngine->bytesToWrite() == 0TRUE | 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 |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | if (state == QAbstractSocket::ClosingStateTRUE | 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 |
294 | q->disconnectFromHost();executed 4 times by 1 test: q->disconnectFromHost(); Executed by:- tst_qtcpsocket - unknown status
| 4 |
295 | | - |
296 | returnexecuted 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
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 |
297 | } | - |
298 | | - |
299 | qint64 nextSize = writeBuffer.nextDataBlockSize(); | - |
300 | const char *ptr = writeBuffer.readPointer(); | - |
301 | | - |
302 | | - |
303 | qint64 written = nextSizeTRUE | 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
|
? socketEngine->write(ptr, nextSize) : static_cast<long long>(0LL); | 632-24063 |
304 | if (written < 0TRUE | 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 |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
310 | | - |
311 | q->abort(); | - |
312 | returnexecuted 9 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
false;executed 9 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 9 |
313 | } | - |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | if (written > 0TRUE | 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 |
321 | | - |
322 | writeBuffer.free(written); | - |
323 | | - |
324 | if (!emittedBytesWrittenTRUE | 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 |
325 | QScopedValueRollback<bool> r(emittedBytesWritten); | - |
326 | emittedBytesWritten = true; | - |
327 | q->bytesWritten(written); | - |
328 | }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 |
329 | q->channelBytesWritten(0, written); | - |
330 | }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 |
331 | | - |
332 | if (writeBuffer.isEmpty()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
|
&& socketEngineTRUE | 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
|
&& socketEngine->isWriteNotificationEnabled()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 |
333 | && !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 |
334 | 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 |
335 | if (state == QAbstractSocket::ClosingStateTRUE | 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 |
336 | 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 |
337 | | - |
338 | returnexecuted 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
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 |
339 | } | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | bool QAbstractSocketPrivate::flush() | - |
348 | { | - |
349 | bool dataWasWritten = false; | - |
350 | | - |
351 | while (!writeBuffer.isEmpty()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
|
&& writeToSocket()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 |
352 | 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 |
353 | | - |
354 | returnexecuted 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
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 |
355 | } | - |
356 | | - |
357 | | - |
358 | | - |
359 | | - |
360 | | - |
361 | | - |
362 | void QAbstractSocketPrivate::resolveProxy(const QString &hostname, quint16 port) | - |
363 | { | - |
364 | QList<QNetworkProxy> proxies; | - |
365 | | - |
366 | if (proxy.type() != QNetworkProxy::DefaultProxyTRUE | 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 |
367 | | - |
368 | proxies << proxy; | - |
369 | }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
else { | 2332 |
370 | | - |
371 | QNetworkProxyQuery query(hostname, port, QString(), | - |
372 | socketType == QAbstractSocket::TcpSocket ? | - |
373 | QNetworkProxyQuery::TcpSocket : | - |
374 | QNetworkProxyQuery::UdpSocket); | - |
375 | proxies = QNetworkProxyFactory::proxyForQuery(query); | - |
376 | }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 |
377 | | - |
378 | | - |
379 | for (const QNetworkProxy &p : qAsConst(proxies)) { | - |
380 | if (socketType == QAbstractSocket::UdpSocketTRUE | 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 |
381 | (TRUE | never evaluated | FALSE | evaluated 135 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
p.capabilities() & QNetworkProxy::UdpTunnelingCapability) == 0TRUE | never evaluated | FALSE | evaluated 135 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
) | 0-135 |
382 | continue; never executed: continue; | 0 |
383 | | - |
384 | if (socketType == QAbstractSocket::TcpSocketTRUE | 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 |
385 | (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
- ...
|
p.capabilities() & QNetworkProxy::TunnelingCapability) == 0TRUE | 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 |
386 | continue;executed 18 times by 1 test: continue; Executed by:- tst_qtcpsocket - unknown status
| 18 |
387 | | - |
388 | proxyInUse = p; | - |
389 | 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 |
390 | } | - |
391 | | - |
392 | | - |
393 | | - |
394 | proxyInUse = QNetworkProxy(); | - |
395 | }executed 10 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 10 |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | void QAbstractSocketPrivate::startConnectingByName(const QString &host) | - |
404 | { | - |
405 | QAbstractSocket * const q = q_func(); | - |
406 | if (state == QAbstractSocket::ConnectingStateTRUE | 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
|
|| state == QAbstractSocket::ConnectedStateTRUE | 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 |
407 | return; never executed: return; | 0 |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | | - |
414 | state = QAbstractSocket::ConnectingState; | - |
415 | q->stateChanged(state); | - |
416 | | - |
417 | if (cachedSocketDescriptor != -1TRUE | 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
|
|| initSocketLayer(QAbstractSocket::UnknownNetworkLayerProtocol)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 |
418 | 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 |
419 | socketEngine->state() == QAbstractSocket::ConnectingStateTRUE | 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 |
420 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
421 | | - |
422 | 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 |
423 | } | - |
424 | | - |
425 | | - |
426 | setError(socketEngine->error(), socketEngine->errorString()); | - |
427 | } never executed: end of block | 0 |
428 | | - |
429 | state = QAbstractSocket::UnconnectedState; | - |
430 | q->error(socketError); | - |
431 | q->stateChanged(state); | - |
432 | } never executed: end of block | 0 |
433 | void QAbstractSocketPrivate::_q_startConnecting(const QHostInfo &hostInfo) | - |
434 | { | - |
435 | QAbstractSocket * const q = q_func(); | - |
436 | addresses.clear(); | - |
437 | if (state != QAbstractSocket::HostLookupStateTRUE | 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 |
438 | return;executed 1 time by 1 test: return; Executed by:- tst_qsslsocket - unknown status
| 1 |
439 | | - |
440 | if (hostLookupId != -1TRUE | 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
- ...
|
&& hostLookupId != hostInfo.lookupId()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 |
441 | QMessageLogger(__FILE__, 998, __PRETTY_FUNCTION__).warning("QAbstractSocketPrivate::_q_startConnecting() received hostInfo for wrong lookup ID %d expected %d", hostInfo.lookupId(), hostLookupId); | - |
442 | } never executed: end of block | 0 |
443 | | - |
444 | | - |
445 | | - |
446 | if (preferredNetworkLayerProtocol == QAbstractSocket::UnknownNetworkLayerProtocolTRUE | 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
- ...
|
|| preferredNetworkLayerProtocol == QAbstractSocket::AnyIPProtocolTRUE | 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 |
447 | addresses = hostInfo.addresses(); | - |
448 | }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
else { | 3100 |
449 | const auto candidates = hostInfo.addresses(); | - |
450 | for (const QHostAddress &address : candidates) { | - |
451 | if (address.protocol() == preferredNetworkLayerProtocolTRUE | 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 |
452 | 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 |
453 | }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 |
454 | }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 |
455 | addresses += addresses; | - |
456 | | - |
457 | | - |
458 | | - |
459 | 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 |
460 | | - |
461 | | - |
462 | | - |
463 | state = QAbstractSocket::UnconnectedState; | - |
464 | setError(QAbstractSocket::HostNotFoundError, QAbstractSocket::tr("Host not found")); | - |
465 | q->stateChanged(state); | - |
466 | q->error(QAbstractSocket::HostNotFoundError); | - |
467 | 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 |
468 | } | - |
469 | | - |
470 | | - |
471 | | - |
472 | state = QAbstractSocket::ConnectingState; | - |
473 | q->stateChanged(state); | - |
474 | | - |
475 | | - |
476 | q->hostFound(); | - |
477 | | - |
478 | | - |
479 | | - |
480 | _q_connectToNextAddress(); | - |
481 | }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 |
482 | void QAbstractSocketPrivate::_q_connectToNextAddress() | - |
483 | { | - |
484 | QAbstractSocket * const q = q_func(); | - |
485 | do { | - |
486 | | - |
487 | 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 |
488 | | - |
489 | | - |
490 | | - |
491 | state = QAbstractSocket::UnconnectedState; | - |
492 | if (socketEngineTRUE | 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 |
493 | if ((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
|
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 |
494 | | 0-259 |
495 | | 0-259 |
496 | | 0-259 |
497 | | 0-259 |
498 | | 0-259 |
499 | )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
|
&& socketEngine->state() == QAbstractSocket::ConnectingStateTRUE | never evaluated | FALSE | never evaluated |
) { | 0-259 |
500 | setError(QAbstractSocket::ConnectionRefusedError, | - |
501 | QAbstractSocket::tr("Connection refused")); | - |
502 | } never executed: end of block else { | 0 |
503 | setError(socketEngine->error(), socketEngine->errorString()); | - |
504 | }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 |
505 | } else { | - |
506 | | - |
507 | | - |
508 | } never executed: end of block | 0 |
509 | q->stateChanged(state); | - |
510 | q->error(socketError); | - |
511 | 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 |
512 | } | - |
513 | | - |
514 | | - |
515 | host = addresses.takeFirst(); | - |
516 | | - |
517 | | - |
518 | | - |
519 | | - |
520 | | - |
521 | if (cachedSocketDescriptor == -1TRUE | 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
|
&& !initSocketLayer(host.protocol())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 |
522 | | - |
523 | | - |
524 | | - |
525 | | - |
526 | continue; never executed: continue; | 0 |
527 | } | - |
528 | | - |
529 | | - |
530 | | - |
531 | | - |
532 | 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 |
533 | | - |
534 | fetchConnectionParameters(); | - |
535 | return;executed 4 times by 1 test: return; | 4 |
536 | } | - |
537 | | - |
538 | | - |
539 | | - |
540 | if (socketEngine->state() != QAbstractSocket::ConnectingStateTRUE | 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 |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | continue;executed 6 times by 2 tests: continue; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 6 |
546 | } | - |
547 | | - |
548 | | - |
549 | 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 |
550 | if (!connectTimerTRUE | 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 |
551 | connectTimer = new QTimer(q); | - |
552 | QObject::connect(connectTimer, qFlagLocation("2""timeout()" "\0" __FILE__ ":" "1132"), | - |
553 | q, qFlagLocation("1""_q_abortConnectionAttempt()" "\0" __FILE__ ":" "1133"), | - |
554 | Qt::DirectConnection); | - |
555 | }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 |
556 | connectTimer->start(30000); | - |
557 | }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 |
558 | | - |
559 | | - |
560 | | - |
561 | socketEngine->setWriteNotificationEnabled(true); | - |
562 | 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 |
563 | } while (state != QAbstractSocket::ConnectedStateTRUE | 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 |
564 | }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 |
565 | | - |
566 | | - |
567 | | - |
568 | | - |
569 | | - |
570 | | - |
571 | void QAbstractSocketPrivate::_q_testConnection() | - |
572 | { | - |
573 | if (socketEngineTRUE | 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 |
574 | 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 |
575 | if (connectTimerTRUE | 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 |
576 | 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 |
577 | }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 |
578 | | - |
579 | if (socketEngine->state() == QAbstractSocket::ConnectedStateTRUE | 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 |
580 | | - |
581 | | - |
582 | fetchConnectionParameters(); | - |
583 | if (pendingCloseTRUE | 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 |
584 | q_func()->disconnectFromHost(); | - |
585 | pendingClose = false; | - |
586 | }executed 19 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 19 |
587 | 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 |
588 | } | - |
589 | | - |
590 | | - |
591 | 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 |
592 | 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 |
593 | }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 |
594 | | - |
595 | 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 |
596 | if (connectTimerTRUE | 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 |
597 | 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 |
598 | }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 |
599 | | - |
600 | | - |
601 | | - |
602 | | - |
603 | | - |
604 | _q_connectToNextAddress(); | - |
605 | }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 |
606 | void QAbstractSocketPrivate::_q_abortConnectionAttempt() | - |
607 | { | - |
608 | QAbstractSocket * const q = q_func(); | - |
609 | | - |
610 | | - |
611 | | - |
612 | if (socketEngineTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
613 | socketEngine->setWriteNotificationEnabled(false);executed 2 times by 1 test: socketEngine->setWriteNotificationEnabled(false); | 2 |
614 | | - |
615 | connectTimer->stop(); | - |
616 | | - |
617 | if (addresses.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1 |
618 | state = QAbstractSocket::UnconnectedState; | - |
619 | setError(QAbstractSocket::SocketTimeoutError, | - |
620 | QAbstractSocket::tr("Connection timed out")); | - |
621 | q->stateChanged(state); | - |
622 | q->error(socketError); | - |
623 | }executed 1 time by 1 test: end of block else { | 1 |
624 | _q_connectToNextAddress(); | - |
625 | }executed 1 time by 1 test: end of block | 1 |
626 | } | - |
627 | | - |
628 | void QAbstractSocketPrivate::_q_forceDisconnect() | - |
629 | { | - |
630 | QAbstractSocket * const q = q_func(); | - |
631 | if (socketEngineTRUE | never evaluated | FALSE | never evaluated |
&& socketEngine->isValid()TRUE | never evaluated | FALSE | never evaluated |
&& state == QAbstractSocket::ClosingStateTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
632 | socketEngine->close(); | - |
633 | q->disconnectFromHost(); | - |
634 | } never executed: end of block | 0 |
635 | } never executed: end of block | 0 |
636 | | - |
637 | | - |
638 | | - |
639 | | - |
640 | | - |
641 | | - |
642 | bool QAbstractSocketPrivate::readFromSocket() | - |
643 | { | - |
644 | QAbstractSocket * const q = q_func(); | - |
645 | | - |
646 | qint64 bytesToRead = socketEngine->bytesAvailable(); | - |
647 | if (bytesToRead == 0TRUE | 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 |
648 | | - |
649 | | - |
650 | | - |
651 | | - |
652 | | - |
653 | | - |
654 | | - |
655 | bytesToRead = 4096; | - |
656 | }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 |
657 | | - |
658 | 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 |
659 | if (readBufferMaxSizeTRUE | 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
|
&& bytesToRead > (readBufferMaxSize - buffer.size())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 |
660 | 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 |
661 | | - |
662 | | - |
663 | | - |
664 | | - |
665 | | - |
666 | | - |
667 | | - |
668 | char *ptr = buffer.reserve(bytesToRead); | - |
669 | qint64 readBytes = socketEngine->read(ptr, bytesToRead); | - |
670 | if (readBytes == -2TRUE | 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 |
671 | | - |
672 | buffer.chop(bytesToRead); | - |
673 | return never executed: return true; true;never executed: return true; | 0 |
674 | } | - |
675 | buffer.chop(bytesToRead - (readBytes < 0 ? qint64(0) : readBytes)); | - |
676 | | - |
677 | | - |
678 | | - |
679 | | - |
680 | }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
else { | 30039 |
681 | | - |
682 | QVarLengthArray<char, 4096> discardBuffer(bytesToRead); | - |
683 | | - |
684 | | - |
685 | | - |
686 | | - |
687 | | - |
688 | socketEngine->read(discardBuffer.data(), bytesToRead); | - |
689 | }executed 2 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 2 |
690 | | - |
691 | 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 |
692 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
693 | | - |
694 | | - |
695 | | - |
696 | | - |
697 | resetSocketLayer(); | - |
698 | returnexecuted 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
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 |
699 | } | - |
700 | | - |
701 | returnexecuted 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
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 |
702 | } | - |
703 | | - |
704 | | - |
705 | | - |
706 | | - |
707 | | - |
708 | void QAbstractSocketPrivate::emitReadyRead() | - |
709 | { | - |
710 | QAbstractSocket * const q = q_func(); | - |
711 | | - |
712 | if (!emittedReadyReadTRUE | 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 |
713 | QScopedValueRollback<bool> r(emittedReadyRead); | - |
714 | emittedReadyRead = true; | - |
715 | q->readyRead(); | - |
716 | }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 |
717 | q->channelReadyRead(0); | - |
718 | }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 |
719 | | - |
720 | | - |
721 | | - |
722 | | - |
723 | | - |
724 | void QAbstractSocketPrivate::fetchConnectionParameters() | - |
725 | { | - |
726 | QAbstractSocket * const q = q_func(); | - |
727 | | - |
728 | peerName = hostName; | - |
729 | if (socketEngineTRUE | 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 |
730 | 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 |
731 | const int inboundStreamCount = socketEngine->inboundStreamCount(); | - |
732 | setReadChannelCount(qMax(1, inboundStreamCount)); | - |
733 | if (inboundStreamCount == 0TRUE | 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 |
734 | readChannelCount = 0; never executed: readChannelCount = 0; | 0 |
735 | }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 |
736 | 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 |
737 | const int outboundStreamCount = socketEngine->outboundStreamCount(); | - |
738 | setWriteChannelCount(qMax(1, outboundStreamCount)); | - |
739 | if (outboundStreamCount == 0TRUE | 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 |
740 | writeChannelCount = 0; never executed: writeChannelCount = 0; | 0 |
741 | }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 |
742 | socketEngine->setReadNotificationEnabled(true); | - |
743 | socketEngine->setWriteNotificationEnabled(true); | - |
744 | localPort = socketEngine->localPort(); | - |
745 | peerPort = socketEngine->peerPort(); | - |
746 | localAddress = socketEngine->localAddress(); | - |
747 | peerAddress = socketEngine->peerAddress(); | - |
748 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
749 | }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 |
750 | | - |
751 | state = QAbstractSocket::ConnectedState; | - |
752 | q->stateChanged(state); | - |
753 | q->connected(); | - |
754 | | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | }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 |
760 | | - |
761 | | - |
762 | void QAbstractSocketPrivate::pauseSocketNotifiers(QAbstractSocket *socket) | - |
763 | { | - |
764 | QAbstractSocketEngine *socketEngine = socket->d_func()->socketEngine; | - |
765 | if (!socketEngineTRUE | 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 |
766 | return;executed 2 times by 1 test: return; | 2 |
767 | socket->d_func()->prePauseReadSocketNotifierState = socketEngine->isReadNotificationEnabled(); | - |
768 | socket->d_func()->prePauseWriteSocketNotifierState = socketEngine->isWriteNotificationEnabled(); | - |
769 | socket->d_func()->prePauseExceptionSocketNotifierState = socketEngine->isExceptionNotificationEnabled(); | - |
770 | socketEngine->setReadNotificationEnabled(false); | - |
771 | socketEngine->setWriteNotificationEnabled(false); | - |
772 | socketEngine->setExceptionNotificationEnabled(false); | - |
773 | }executed 343 times by 4 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 343 |
774 | | - |
775 | void QAbstractSocketPrivate::resumeSocketNotifiers(QAbstractSocket *socket) | - |
776 | { | - |
777 | QAbstractSocketEngine *socketEngine = socket->d_func()->socketEngine; | - |
778 | if (!socketEngineTRUE | 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 |
779 | return;executed 2 times by 1 test: return; | 2 |
780 | socketEngine->setReadNotificationEnabled(socket->d_func()->prePauseReadSocketNotifierState); | - |
781 | socketEngine->setWriteNotificationEnabled(socket->d_func()->prePauseWriteSocketNotifierState); | - |
782 | socketEngine->setExceptionNotificationEnabled(socket->d_func()->prePauseExceptionSocketNotifierState); | - |
783 | }executed 343 times by 4 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 343 |
784 | | - |
785 | QAbstractSocketEngine* QAbstractSocketPrivate::getSocketEngine(QAbstractSocket *socket) | - |
786 | { | - |
787 | return never executed: return socket->d_func()->socketEngine; socket->d_func()->socketEngine;never executed: return socket->d_func()->socketEngine; | 0 |
788 | } | - |
789 | | - |
790 | | - |
791 | | - |
792 | | - |
793 | | - |
794 | | - |
795 | void QAbstractSocketPrivate::setError(QAbstractSocket::SocketError errorCode, | - |
796 | const QString &errStr) | - |
797 | { | - |
798 | socketError = errorCode; | - |
799 | errorString = errStr; | - |
800 | }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 |
801 | | - |
802 | | - |
803 | | - |
804 | | - |
805 | | - |
806 | | - |
807 | | - |
808 | void QAbstractSocketPrivate::setErrorAndEmit(QAbstractSocket::SocketError errorCode, | - |
809 | const QString &errorString) | - |
810 | { | - |
811 | QAbstractSocket * const q = q_func(); | - |
812 | setError(errorCode, errorString); | - |
813 | q->error(errorCode); | - |
814 | }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 |
815 | | - |
816 | | - |
817 | | - |
818 | | - |
819 | | - |
820 | | - |
821 | QAbstractSocket::QAbstractSocket(SocketType socketType, | - |
822 | QAbstractSocketPrivate &dd, QObject *parent) | - |
823 | : QIODevice(dd, parent) | - |
824 | { | - |
825 | QAbstractSocketPrivate * const d = d_func(); | - |
826 | | - |
827 | | - |
828 | | - |
829 | | - |
830 | | - |
831 | d->socketType = socketType; | - |
832 | }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 |
833 | | - |
834 | | - |
835 | | - |
836 | | - |
837 | | - |
838 | | - |
839 | | - |
840 | QAbstractSocket::QAbstractSocket(SocketType socketType, QObject *parent) | - |
841 | : QIODevice(*new QAbstractSocketPrivate, parent) | - |
842 | { | - |
843 | QAbstractSocketPrivate * const d = d_func(); | - |
844 | | - |
845 | | - |
846 | | - |
847 | d->socketType = socketType; | - |
848 | }executed 7 times by 3 tests: end of block Executed by:- tst_qabstractsocket - unknown status
- tst_qhttpnetworkreply - unknown status
- tst_qtcpsocket - unknown status
| 7 |
849 | | - |
850 | | - |
851 | | - |
852 | | - |
853 | QAbstractSocket::~QAbstractSocket() | - |
854 | { | - |
855 | QAbstractSocketPrivate * const d = d_func(); | - |
856 | | - |
857 | | - |
858 | | - |
859 | if (d->state != UnconnectedStateTRUE | 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 |
860 | 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 |
861 | }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 |
862 | void QAbstractSocket::resume() | - |
863 | { | - |
864 | QAbstractSocketPrivate::resumeSocketNotifiers(this); | - |
865 | }executed 20 times by 1 test: end of block Executed by:- tst_qsslsocket - unknown status
| 20 |
866 | QAbstractSocket::PauseModes QAbstractSocket::pauseMode() const | - |
867 | { | - |
868 | returnexecuted 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
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 |
869 | } | - |
870 | void QAbstractSocket::setPauseMode(PauseModes pauseMode) | - |
871 | { | - |
872 | d_func()->pauseMode = pauseMode; | - |
873 | }executed 20 times by 1 test: end of block Executed by:- tst_qsslsocket - unknown status
| 20 |
874 | bool QAbstractSocket::bind(const QHostAddress &address, quint16 port, BindMode mode) | - |
875 | { | - |
876 | QAbstractSocketPrivate * const d = d_func(); | - |
877 | returnexecuted 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
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 |
878 | } | - |
879 | | - |
880 | bool QAbstractSocketPrivate::bind(const QHostAddress &address, quint16 port, QAbstractSocket::BindMode mode) | - |
881 | { | - |
882 | QAbstractSocket * const q = q_func(); | - |
883 | | - |
884 | | - |
885 | if (!socketEngineTRUE | 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
|
|| !socketEngine->isValid()TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qsocketnotifier - unknown status
|
) { | 0-180 |
886 | QHostAddress nullAddress; | - |
887 | resolveProxy(nullAddress.toString(), port); | - |
888 | | - |
889 | QAbstractSocket::NetworkLayerProtocol protocol = address.protocol(); | - |
890 | if (protocol == QAbstractSocket::UnknownNetworkLayerProtocolTRUE | 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 |
891 | protocol = nullAddress.protocol(); never executed: protocol = nullAddress.protocol(); | 0 |
892 | | - |
893 | 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 |
894 | return never executed: return false; false;never executed: return false; | 0 |
895 | }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 |
896 | | - |
897 | if (mode != QAbstractSocket::DefaultForPlatformTRUE | 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 |
898 | | - |
899 | if ((mode & QAbstractSocket::ShareAddress) || (mode & QAbstractSocket::ReuseAddressHint)) | - |
900 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 1);executed 3 times by 1 test: socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 1); | 3 |
901 | else | - |
902 | socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 0); never executed: socketEngine->setOption(QAbstractSocketEngine::AddressReusable, 0); | 0 |
903 | } | - |
904 | bool result = socketEngine->bind(address, port); | - |
905 | cachedSocketDescriptor = socketEngine->socketDescriptor(); | - |
906 | | - |
907 | if (!resultTRUE | 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 |
908 | setErrorAndEmit(socketEngine->error(), socketEngine->errorString()); | - |
909 | returnexecuted 11 times by 2 tests: return false; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
false;executed 11 times by 2 tests: return false; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 11 |
910 | } | - |
911 | | - |
912 | state = QAbstractSocket::BoundState; | - |
913 | localAddress = socketEngine->localAddress(); | - |
914 | localPort = socketEngine->localPort(); | - |
915 | | - |
916 | q->stateChanged(state); | - |
917 | if (socketType == QAbstractSocket::UdpSocketTRUE | 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 |
918 | 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 |
919 | returnexecuted 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
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 |
920 | } | - |
921 | bool QAbstractSocket::bind(quint16 port, BindMode mode) | - |
922 | { | - |
923 | returnexecuted 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
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 |
924 | } | - |
925 | bool QAbstractSocket::isValid() const | - |
926 | { | - |
927 | returnexecuted 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
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 |
928 | } | - |
929 | void QAbstractSocket::connectToHost(const QString &hostName, quint16 port, | - |
930 | OpenMode openMode, | - |
931 | NetworkLayerProtocol protocol) | - |
932 | { | - |
933 | QAbstractSocketPrivate * const d = d_func(); | - |
934 | | - |
935 | | - |
936 | | - |
937 | | - |
938 | | - |
939 | if (d->state == ConnectedStateTRUE | 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
- ...
|
|| d->state == ConnectingStateTRUE | 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 |
940 | || d->state == ClosingStateTRUE | 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
- ...
|
|| d->state == HostLookupStateTRUE | 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 |
941 | QMessageLogger(__FILE__, 1644, __PRETTY_FUNCTION__).warning("QAbstractSocket::connectToHost() called when already looking up or connecting/connected to \"%s\"", QString(hostName).toLocal8Bit().constData()); | - |
942 | d->setErrorAndEmit(OperationError, tr("Trying to connect while connection is in progress")); | - |
943 | return;executed 2 times by 1 test: return; Executed by:- tst_qsocks5socketengine - unknown status
| 2 |
944 | } | - |
945 | | - |
946 | d->preferredNetworkLayerProtocol = protocol; | - |
947 | d->hostName = hostName; | - |
948 | d->port = port; | - |
949 | d->setReadChannelCount(0); | - |
950 | d->setWriteChannelCount(0); | - |
951 | d->abortCalled = false; | - |
952 | d->pendingClose = false; | - |
953 | if (d->state != BoundStateTRUE | 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 |
954 | d->state = UnconnectedState; | - |
955 | d->localPort = 0; | - |
956 | d->localAddress.clear(); | - |
957 | }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 |
958 | d->peerPort = 0; | - |
959 | d->peerAddress.clear(); | - |
960 | d->peerName = hostName; | - |
961 | if (d->hostLookupId != -1TRUE | 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 |
962 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
963 | d->hostLookupId = -1; | - |
964 | } never executed: end of block | 0 |
965 | | - |
966 | | - |
967 | | - |
968 | d->resolveProxy(hostName, port); | - |
969 | if (d->proxyInUse.type() == QNetworkProxy::DefaultProxyTRUE | 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 |
970 | | - |
971 | d->setErrorAndEmit(UnsupportedSocketOperationError, | - |
972 | tr("Operation on socket is not supported")); | - |
973 | return;executed 10 times by 1 test: return; Executed by:- tst_qtcpsocket - unknown status
| 10 |
974 | } | - |
975 | | - |
976 | | - |
977 | if (openMode & QIODevice::UnbufferedTRUE | 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 |
978 | 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 |
979 | else if (!d_func()->isBufferedTRUE | 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 |
980 | openMode |= QAbstractSocket::Unbuffered;executed 7 times by 2 tests: openMode |= QAbstractSocket::Unbuffered; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 7 |
981 | | - |
982 | QIODevice::open(openMode); | - |
983 | d->readChannelCount = d->writeChannelCount = 0; | - |
984 | | - |
985 | d->state = HostLookupState; | - |
986 | stateChanged(d->state); | - |
987 | | - |
988 | QHostAddress temp; | - |
989 | 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 |
990 | QHostInfo info; | - |
991 | info.setAddresses(QList<QHostAddress>() << temp); | - |
992 | d->_q_startConnecting(info); | - |
993 | | - |
994 | }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
else if (d->proxyInUse.capabilities() & QNetworkProxy::HostNameLookupCapabilityTRUE | 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 |
995 | | - |
996 | d->startConnectingByName(hostName); | - |
997 | 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 |
998 | | - |
999 | } else { | - |
1000 | 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 |
1001 | | - |
1002 | | - |
1003 | bool immediateResultValid = false; | - |
1004 | QHostInfo hostInfo = qt_qhostinfo_lookup(hostName, | - |
1005 | this, | - |
1006 | qFlagLocation("1""_q_startConnecting(QHostInfo)" "\0" __FILE__ ":" "1709"), | - |
1007 | &immediateResultValid, | - |
1008 | &d->hostLookupId); | - |
1009 | if (immediateResultValidTRUE | 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 |
1010 | d->hostLookupId = -1; | - |
1011 | d->_q_startConnecting(hostInfo); | - |
1012 | }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 |
1013 | }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 |
1014 | }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 |
1015 | | - |
1016 | | - |
1017 | | - |
1018 | | - |
1019 | | - |
1020 | | - |
1021 | | - |
1022 | } | - |
1023 | | - |
1024 | | - |
1025 | | - |
1026 | | - |
1027 | | - |
1028 | void QAbstractSocket::connectToHost(const QHostAddress &address, quint16 port, | - |
1029 | OpenMode openMode) | - |
1030 | { | - |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | | - |
1035 | connectToHost(address.toString(), port, openMode); | - |
1036 | }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 |
1037 | qint64 QAbstractSocket::bytesToWrite() const | - |
1038 | { | - |
1039 | const qint64 pendingBytes = QIODevice::bytesToWrite(); | - |
1040 | | - |
1041 | | - |
1042 | | - |
1043 | returnexecuted 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
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 |
1044 | } | - |
1045 | | - |
1046 | | - |
1047 | | - |
1048 | | - |
1049 | | - |
1050 | | - |
1051 | qint64 QAbstractSocket::bytesAvailable() const | - |
1052 | { | - |
1053 | const QAbstractSocketPrivate * const d = d_func(); | - |
1054 | qint64 available = QIODevice::bytesAvailable(); | - |
1055 | | - |
1056 | if (!d->isBufferedTRUE | 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
|
&& d->socketEngineTRUE | 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
|
&& d->socketEngine->isValid()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 |
1057 | 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 |
1058 | | - |
1059 | | - |
1060 | | - |
1061 | | - |
1062 | returnexecuted 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
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 |
1063 | } | - |
1064 | | - |
1065 | | - |
1066 | | - |
1067 | | - |
1068 | | - |
1069 | | - |
1070 | | - |
1071 | quint16 QAbstractSocket::localPort() const | - |
1072 | { | - |
1073 | const QAbstractSocketPrivate * const d = d_func(); | - |
1074 | returnexecuted 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
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 |
1075 | } | - |
1076 | QHostAddress QAbstractSocket::localAddress() const | - |
1077 | { | - |
1078 | const QAbstractSocketPrivate * const d = d_func(); | - |
1079 | returnexecuted 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
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 |
1080 | } | - |
1081 | | - |
1082 | | - |
1083 | | - |
1084 | | - |
1085 | | - |
1086 | | - |
1087 | | - |
1088 | quint16 QAbstractSocket::peerPort() const | - |
1089 | { | - |
1090 | const QAbstractSocketPrivate * const d = d_func(); | - |
1091 | returnexecuted 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
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 |
1092 | } | - |
1093 | | - |
1094 | | - |
1095 | | - |
1096 | | - |
1097 | | - |
1098 | | - |
1099 | | - |
1100 | QHostAddress QAbstractSocket::peerAddress() const | - |
1101 | { | - |
1102 | const QAbstractSocketPrivate * const d = d_func(); | - |
1103 | returnexecuted 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
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 |
1104 | } | - |
1105 | | - |
1106 | | - |
1107 | | - |
1108 | | - |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | QString QAbstractSocket::peerName() const | - |
1113 | { | - |
1114 | const QAbstractSocketPrivate * const d = d_func(); | - |
1115 | returnexecuted 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
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 |
1116 | } | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | bool QAbstractSocket::canReadLine() const | - |
1125 | { | - |
1126 | bool hasLine = QIODevice::canReadLine(); | - |
1127 | | - |
1128 | | - |
1129 | | - |
1130 | | - |
1131 | returnexecuted 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
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 |
1132 | } | - |
1133 | qintptr QAbstractSocket::socketDescriptor() const | - |
1134 | { | - |
1135 | const QAbstractSocketPrivate * const d = d_func(); | - |
1136 | returnexecuted 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
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 |
1137 | } | - |
1138 | bool QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor, SocketState socketState, | - |
1139 | OpenMode openMode) | - |
1140 | { | - |
1141 | QAbstractSocketPrivate * const d = d_func(); | - |
1142 | | - |
1143 | d->resetSocketLayer(); | - |
1144 | d->setReadChannelCount(0); | - |
1145 | d->setWriteChannelCount(0); | - |
1146 | d->socketEngine = QAbstractSocketEngine::createSocketEngine(socketDescriptor, this); | - |
1147 | if (!d->socketEngineTRUE | 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 |
1148 | d->setError(UnsupportedSocketOperationError, tr("Operation on socket is not supported")); | - |
1149 | return never executed: return false; false;never executed: return false; | 0 |
1150 | } | - |
1151 | | - |
1152 | | - |
1153 | d->socketEngine->setProperty("_q_networksession", property("_q_networksession")); | - |
1154 | | - |
1155 | bool result = d->socketEngine->initialize(socketDescriptor, socketState); | - |
1156 | if (!resultTRUE | 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 |
1157 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1158 | returnexecuted 7 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
false;executed 7 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 7 |
1159 | } | - |
1160 | | - |
1161 | 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 |
1162 | 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 |
1163 | | - |
1164 | QIODevice::open(openMode); | - |
1165 | | - |
1166 | if (socketState == ConnectedStateTRUE | 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 |
1167 | 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 |
1168 | const int inboundStreamCount = d->socketEngine->inboundStreamCount(); | - |
1169 | d->setReadChannelCount(qMax(1, inboundStreamCount)); | - |
1170 | if (inboundStreamCount == 0TRUE | 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 |
1171 | d->readChannelCount = 0; never executed: d->readChannelCount = 0; | 0 |
1172 | }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 |
1173 | 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 |
1174 | const int outboundStreamCount = d->socketEngine->outboundStreamCount(); | - |
1175 | d->setWriteChannelCount(qMax(1, outboundStreamCount)); | - |
1176 | if (outboundStreamCount == 0TRUE | 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 |
1177 | d->writeChannelCount = 0; never executed: d->writeChannelCount = 0; | 0 |
1178 | }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 |
1179 | }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
else { | 986 |
1180 | d->readChannelCount = d->writeChannelCount = 0; | - |
1181 | }executed 2 times by 1 test: end of block Executed by:- tst_qtcpsocket - unknown status
| 2 |
1182 | | - |
1183 | if (d->state != socketStateTRUE | 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 |
1184 | d->state = socketState; | - |
1185 | stateChanged(d->state); | - |
1186 | }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 |
1187 | | - |
1188 | d->pendingClose = false; | - |
1189 | d->socketEngine->setReadNotificationEnabled(true); | - |
1190 | d->localPort = d->socketEngine->localPort(); | - |
1191 | d->peerPort = d->socketEngine->peerPort(); | - |
1192 | d->localAddress = d->socketEngine->localAddress(); | - |
1193 | d->peerAddress = d->socketEngine->peerAddress(); | - |
1194 | d->cachedSocketDescriptor = socketDescriptor; | - |
1195 | | - |
1196 | returnexecuted 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
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 |
1197 | } | - |
1198 | void QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value) | - |
1199 | { | - |
1200 | if (!d_func()->socketEngineTRUE | 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 |
1201 | return; never executed: return; | 0 |
1202 | | - |
1203 | switch (option) { | - |
1204 | caseexecuted 935 times by 3 tests: case LowDelayOption: Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_qtcpsocket - unknown status
LowDelayOption:executed 935 times by 3 tests: case LowDelayOption: Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 935 |
1205 | d_func()->socketEngine->setOption(QAbstractSocketEngine::LowDelayOption, value.toInt()); | - |
1206 | break;executed 935 times by 3 tests: break; Executed by:- tst_QFtp
- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 935 |
1207 | | - |
1208 | caseexecuted 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
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 |
1209 | d_func()->socketEngine->setOption(QAbstractSocketEngine::KeepAliveOption, value.toInt()); | - |
1210 | 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 |
1211 | | - |
1212 | caseexecuted 12 times by 1 test: case MulticastTtlOption: MulticastTtlOption:executed 12 times by 1 test: case MulticastTtlOption: | 12 |
1213 | d_func()->socketEngine->setOption(QAbstractSocketEngine::MulticastTtlOption, value.toInt()); | - |
1214 | break;executed 12 times by 1 test: break; | 12 |
1215 | | - |
1216 | caseexecuted 14 times by 1 test: case MulticastLoopbackOption: MulticastLoopbackOption:executed 14 times by 1 test: case MulticastLoopbackOption: | 14 |
1217 | d_func()->socketEngine->setOption(QAbstractSocketEngine::MulticastLoopbackOption, value.toInt()); | - |
1218 | break;executed 14 times by 1 test: break; | 14 |
1219 | | - |
1220 | caseexecuted 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
TypeOfServiceOption:executed 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
| 2 |
1221 | d_func()->socketEngine->setOption(QAbstractSocketEngine::TypeOfServiceOption, value.toInt()); | - |
1222 | break;executed 2 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 2 |
1223 | | - |
1224 | case never executed: case SendBufferSizeSocketOption: SendBufferSizeSocketOption:never executed: case SendBufferSizeSocketOption: | 0 |
1225 | d_func()->socketEngine->setOption(QAbstractSocketEngine::SendBufferSocketOption, value.toInt()); | - |
1226 | break; never executed: break; | 0 |
1227 | | - |
1228 | case never executed: case ReceiveBufferSizeSocketOption: ReceiveBufferSizeSocketOption:never executed: case ReceiveBufferSizeSocketOption: | 0 |
1229 | d_func()->socketEngine->setOption(QAbstractSocketEngine::ReceiveBufferSocketOption, value.toInt()); | - |
1230 | break; never executed: break; | 0 |
1231 | } | - |
1232 | }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 |
1233 | | - |
1234 | | - |
1235 | | - |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | | - |
1240 | QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option) | - |
1241 | { | - |
1242 | if (!d_func()->socketEngineTRUE | never evaluated | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
) | 0-36 |
1243 | return never executed: return QVariant(); QVariant();never executed: return QVariant(); | 0 |
1244 | | - |
1245 | int ret = -1; | - |
1246 | switch (option) { | - |
1247 | caseexecuted 4 times by 1 test: case LowDelayOption: Executed by:- tst_qtcpsocket - unknown status
LowDelayOption:executed 4 times by 1 test: case LowDelayOption: Executed by:- tst_qtcpsocket - unknown status
| 4 |
1248 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::LowDelayOption); | - |
1249 | break;executed 4 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 4 |
1250 | | - |
1251 | caseexecuted 4 times by 1 test: case KeepAliveOption: Executed by:- tst_qtcpsocket - unknown status
KeepAliveOption:executed 4 times by 1 test: case KeepAliveOption: Executed by:- tst_qtcpsocket - unknown status
| 4 |
1252 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::KeepAliveOption); | - |
1253 | break;executed 4 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 4 |
1254 | | - |
1255 | caseexecuted 12 times by 1 test: case MulticastTtlOption: MulticastTtlOption:executed 12 times by 1 test: case MulticastTtlOption: | 12 |
1256 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::MulticastTtlOption); | - |
1257 | break;executed 12 times by 1 test: break; | 12 |
1258 | caseexecuted 14 times by 1 test: case MulticastLoopbackOption: MulticastLoopbackOption:executed 14 times by 1 test: case MulticastLoopbackOption: | 14 |
1259 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::MulticastLoopbackOption); | - |
1260 | break;executed 14 times by 1 test: break; | 14 |
1261 | | - |
1262 | caseexecuted 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
TypeOfServiceOption:executed 2 times by 1 test: case TypeOfServiceOption: Executed by:- tst_qtcpsocket - unknown status
| 2 |
1263 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::TypeOfServiceOption); | - |
1264 | break;executed 2 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 2 |
1265 | | - |
1266 | case never executed: case SendBufferSizeSocketOption: SendBufferSizeSocketOption:never executed: case SendBufferSizeSocketOption: | 0 |
1267 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::SendBufferSocketOption); | - |
1268 | break; never executed: break; | 0 |
1269 | | - |
1270 | case never executed: case ReceiveBufferSizeSocketOption: ReceiveBufferSizeSocketOption:never executed: case ReceiveBufferSizeSocketOption: | 0 |
1271 | ret = d_func()->socketEngine->option(QAbstractSocketEngine::ReceiveBufferSocketOption); | - |
1272 | break; never executed: break; | 0 |
1273 | } | - |
1274 | if (ret == -1TRUE | never evaluated | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
) | 0-36 |
1275 | return never executed: return QVariant(); QVariant();never executed: return QVariant(); | 0 |
1276 | else | - |
1277 | returnexecuted 36 times by 2 tests: return QVariant(ret); Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
QVariant(ret);executed 36 times by 2 tests: return QVariant(ret); Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 36 |
1278 | } | - |
1279 | bool QAbstractSocket::waitForConnected(int msecs) | - |
1280 | { | - |
1281 | QAbstractSocketPrivate * const d = d_func(); | - |
1282 | | - |
1283 | | - |
1284 | | - |
1285 | | - |
1286 | if (state() == ConnectedStateTRUE | 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 |
1287 | | - |
1288 | | - |
1289 | | - |
1290 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
1291 | } | - |
1292 | | - |
1293 | bool wasPendingClose = d->pendingClose; | - |
1294 | d->pendingClose = false; | - |
1295 | QElapsedTimer stopWatch; | - |
1296 | stopWatch.start(); | - |
1297 | | - |
1298 | if (d->state == HostLookupStateTRUE | 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 |
1299 | | - |
1300 | | - |
1301 | | - |
1302 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
1303 | d->hostLookupId = -1; | - |
1304 | | - |
1305 | QSharedPointer<QNetworkSession> networkSession; | - |
1306 | QVariant v(property("_q_networksession")); | - |
1307 | 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 |
1308 | networkSession = qvariant_cast< QSharedPointer<QNetworkSession> >(v); | - |
1309 | d->_q_startConnecting(QHostInfoPrivate::fromName(d->hostName, networkSession)); | - |
1310 | } never executed: end of block else | 0 |
1311 | | - |
1312 | { | - |
1313 | QHostAddress temp; | - |
1314 | 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 |
1315 | QHostInfo info; | - |
1316 | info.setAddresses(QList<QHostAddress>() << temp); | - |
1317 | d->_q_startConnecting(info); | - |
1318 | } never executed: end of block else { | 0 |
1319 | d->_q_startConnecting(QHostInfo::fromName(d->hostName)); | - |
1320 | }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 |
1321 | } | - |
1322 | } | - |
1323 | if (state() == UnconnectedStateTRUE | 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 |
1324 | returnexecuted 11 times by 4 tests: return false; Executed by:- tst_QTcpServer
- tst_lancelot - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
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 |
1325 | | - |
1326 | bool timedOut = true; | - |
1327 | | - |
1328 | | - |
1329 | | - |
1330 | while (state() == ConnectingStateTRUE | 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
|
&& (msecs == -1TRUE | 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
|
|| stopWatch.elapsed() < msecsTRUE | 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 |
1331 | int timeout = qt_subtract_from_timeout(msecs, stopWatch.elapsed()); | - |
1332 | if (msecs != -1TRUE | 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
|
&& timeout > 30000TRUE | 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 |
1333 | timeout = 30000; never executed: timeout = 30000; | 0 |
1334 | | - |
1335 | | - |
1336 | | - |
1337 | | - |
1338 | timedOut = false; | - |
1339 | | - |
1340 | if (d->socketEngineTRUE | 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
|
&& d->socketEngine->waitForWrite(timeout, &timedOut)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
|
&& !timedOutTRUE | 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 |
1341 | d->_q_testConnection(); | - |
1342 | }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
else { | 1377 |
1343 | d->_q_connectToNextAddress(); | - |
1344 | }executed 20 times by 2 tests: end of block Executed by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 20 |
1345 | } | - |
1346 | | - |
1347 | if ((timedOutTRUE | 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
|
&& state() != ConnectedStateTRUE | evaluated 38 times by 2 testsEvaluated by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
) || state() == ConnectingStateTRUE | 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 |
1348 | d->setError(SocketTimeoutError, tr("Socket operation timed out")); | - |
1349 | d->state = UnconnectedState; | - |
1350 | stateChanged(d->state); | - |
1351 | d->resetSocketLayer(); | - |
1352 | }executed 38 times by 2 tests: end of block Executed by:- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 38 |
1353 | | - |
1354 | | - |
1355 | | - |
1356 | | - |
1357 | | - |
1358 | if (state() != ConnectedStateTRUE | 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 |
1359 | returnexecuted 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
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 |
1360 | if (wasPendingCloseTRUE | 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 |
1361 | disconnectFromHost();executed 20 times by 1 test: disconnectFromHost(); Executed by:- tst_qtcpsocket - unknown status
| 20 |
1362 | returnexecuted 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
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 |
1363 | } | - |
1364 | bool QAbstractSocket::waitForReadyRead(int msecs) | - |
1365 | { | - |
1366 | QAbstractSocketPrivate * const d = d_func(); | - |
1367 | | - |
1368 | | - |
1369 | | - |
1370 | | - |
1371 | | - |
1372 | if (state() == UnconnectedStateTRUE | 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 |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | returnexecuted 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
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 |
1377 | } | - |
1378 | | - |
1379 | QElapsedTimer stopWatch; | - |
1380 | stopWatch.start(); | - |
1381 | | - |
1382 | | - |
1383 | if (state() == HostLookupStateTRUE | 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
|
|| state() == ConnectingStateTRUE | 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 |
1384 | 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 |
1385 | returnexecuted 7 times by 3 tests: return false; Executed by:- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
false;executed 7 times by 3 tests: return false; Executed by:- tst_QTcpServer
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 7 |
1386 | }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 |
1387 | | - |
1388 | do { | - |
1389 | if (state() != ConnectedStateTRUE | 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
|
&& state() != BoundStateTRUE | 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 |
1390 | returnexecuted 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
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 |
1391 | | - |
1392 | bool readyToRead = false; | - |
1393 | bool readyToWrite = false; | - |
1394 | 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 |
1395 | 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 |
1396 | | - |
1397 | | - |
1398 | | - |
1399 | | - |
1400 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1401 | if (d->socketError != SocketTimeoutErrorTRUE | 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 |
1402 | close(); never executed: close(); | 0 |
1403 | returnexecuted 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
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 |
1404 | } | - |
1405 | | - |
1406 | if (readyToReadTRUE | 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 |
1407 | 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 |
1408 | returnexecuted 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
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 |
1409 | }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 |
1410 | | - |
1411 | if (readyToWriteTRUE | 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 |
1412 | 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 |
1413 | }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
while (msecs == -1TRUE | 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
|
|| qt_subtract_from_timeout(msecs, stopWatch.elapsed()) > 0TRUE | 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 |
1414 | return never executed: return false; false;never executed: return false; | 0 |
1415 | } | - |
1416 | bool QAbstractSocket::waitForBytesWritten(int msecs) | - |
1417 | { | - |
1418 | QAbstractSocketPrivate * const d = d_func(); | - |
1419 | | - |
1420 | | - |
1421 | | - |
1422 | | - |
1423 | | - |
1424 | if (state() == UnconnectedStateTRUE | 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 |
1425 | QMessageLogger(__FILE__, 2243, __PRETTY_FUNCTION__).warning("QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState"); | - |
1426 | return never executed: return false; false;never executed: return false; | 0 |
1427 | } | - |
1428 | | - |
1429 | 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 |
1430 | returnexecuted 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
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 |
1431 | | - |
1432 | QElapsedTimer stopWatch; | - |
1433 | stopWatch.start(); | - |
1434 | | - |
1435 | | - |
1436 | if (state() == HostLookupStateTRUE | 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
|
|| state() == ConnectingStateTRUE | 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 |
1437 | if (!waitForConnected(msecs)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1438 | return never executed: return false; false;never executed: return false; | 0 |
1439 | } never executed: end of block | 0 |
1440 | | - |
1441 | for(;;) { | - |
1442 | bool readyToRead = false; | - |
1443 | bool readyToWrite = false; | - |
1444 | 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 |
1445 | !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 |
1446 | !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 |
1447 | 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 |
1448 | | - |
1449 | | - |
1450 | | - |
1451 | | - |
1452 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1453 | if (d->socketError != SocketTimeoutErrorTRUE | never evaluated | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
|
) | 0-24 |
1454 | close(); never executed: close(); | 0 |
1455 | returnexecuted 24 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
false;executed 24 times by 2 tests: return false; Executed by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
| 24 |
1456 | } | - |
1457 | | - |
1458 | if (readyToReadTRUE | 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 |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | d->canReadNotification(); | - |
1463 | } never executed: end of block | 0 |
1464 | | - |
1465 | | - |
1466 | if (readyToWriteTRUE | 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 |
1467 | 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 |
1468 | | - |
1469 | | - |
1470 | | - |
1471 | returnexecuted 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
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 |
1472 | } | - |
1473 | } never executed: end of block | 0 |
1474 | | - |
1475 | if (state() != ConnectedStateTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1476 | return never executed: return false; false;never executed: return false; | 0 |
1477 | } never executed: end of block | 0 |
1478 | return never executed: return false; false;never executed: return false; | 0 |
1479 | } | - |
1480 | bool QAbstractSocket::waitForDisconnected(int msecs) | - |
1481 | { | - |
1482 | QAbstractSocketPrivate * const d = d_func(); | - |
1483 | | - |
1484 | | - |
1485 | if (state() == UnconnectedStateTRUE | 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 |
1486 | QMessageLogger(__FILE__, 2324, __PRETTY_FUNCTION__).warning("QAbstractSocket::waitForDisconnected() is not allowed in UnconnectedState"); | - |
1487 | return never executed: return false; false;never executed: return false; | 0 |
1488 | } | - |
1489 | | - |
1490 | QElapsedTimer stopWatch; | - |
1491 | stopWatch.start(); | - |
1492 | | - |
1493 | | - |
1494 | if (state() == HostLookupStateTRUE | 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
|
|| state() == ConnectingStateTRUE | 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 |
1495 | 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 |
1496 | return never executed: return false; false;never executed: return false; | 0 |
1497 | if (state() == UnconnectedStateTRUE | 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 |
1498 | returnexecuted 6 times by 1 test: return true; Executed by:- tst_qtcpsocket - unknown status
true;executed 6 times by 1 test: return true; Executed by:- tst_qtcpsocket - unknown status
| 6 |
1499 | }executed 56 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 56 |
1500 | | - |
1501 | for(;;) { | - |
1502 | bool readyToRead = false; | - |
1503 | bool readyToWrite = false; | - |
1504 | 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 |
1505 | !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 |
1506 | 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 |
1507 | | - |
1508 | | - |
1509 | | - |
1510 | | - |
1511 | d->setErrorAndEmit(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1512 | if (d->socketError != SocketTimeoutErrorTRUE | never evaluated | FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
) | 0-6 |
1513 | close(); never executed: close(); | 0 |
1514 | returnexecuted 6 times by 1 test: return false; Executed by:- tst_qtcpsocket - unknown status
false;executed 6 times by 1 test: return false; Executed by:- tst_qtcpsocket - unknown status
| 6 |
1515 | } | - |
1516 | | - |
1517 | if (readyToReadTRUE | 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 |
1518 | 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 |
1519 | if (readyToWriteTRUE | 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 |
1520 | 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 |
1521 | | - |
1522 | if (state() == UnconnectedStateTRUE | 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 |
1523 | returnexecuted 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
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 |
1524 | }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 |
1525 | return never executed: return false; false;never executed: return false; | 0 |
1526 | } | - |
1527 | void QAbstractSocket::abort() | - |
1528 | { | - |
1529 | QAbstractSocketPrivate * const d = d_func(); | - |
1530 | | - |
1531 | | - |
1532 | | - |
1533 | d->setWriteChannelCount(0); | - |
1534 | if (d->state == UnconnectedStateTRUE | 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 |
1535 | return;executed 24 times by 3 tests: return; Executed by:- tst_qlocalsocket - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 24 |
1536 | | - |
1537 | 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 |
1538 | socket->abort(); | - |
1539 | return;executed 8 times by 2 tests: return; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 8 |
1540 | } | - |
1541 | | - |
1542 | if (d->connectTimerTRUE | 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 |
1543 | d->connectTimer->stop(); | - |
1544 | delete d->connectTimer; | - |
1545 | d->connectTimer = 0; | - |
1546 | }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 |
1547 | | - |
1548 | d->abortCalled = true; | - |
1549 | close(); | - |
1550 | }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 |
1551 | | - |
1552 | | - |
1553 | | - |
1554 | bool QAbstractSocket::isSequential() const | - |
1555 | { | - |
1556 | returnexecuted 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
- ...
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 |
1557 | } | - |
1558 | bool QAbstractSocket::atEnd() const | - |
1559 | { | - |
1560 | returnexecuted 272 times by 3 tests: return QIODevice::atEnd(); Executed by:- tst_QNetworkReply
- tst_qimagereader - unknown status
- tst_qtcpsocket - unknown status
QIODevice::atEnd();executed 272 times by 3 tests: return QIODevice::atEnd(); Executed by:- tst_QNetworkReply
- tst_qimagereader - unknown status
- tst_qtcpsocket - unknown status
| 272 |
1561 | } | - |
1562 | bool QAbstractSocket::flush() | - |
1563 | { | - |
1564 | QAbstractSocketPrivate * const d = d_func(); | - |
1565 | | - |
1566 | | - |
1567 | | - |
1568 | 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 |
1569 | returnexecuted 9 times by 1 test: return socket->flush(); Executed by:- tst_qtcpsocket - unknown status
socket->flush();executed 9 times by 1 test: return socket->flush(); Executed by:- tst_qtcpsocket - unknown status
| 9 |
1570 | | - |
1571 | do { if (!d->socketEngineTRUE | 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
|
) { returnexecuted 10 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
false;executed 10 times by 2 tests: return false; Executed by:- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
} } while (0); | 10-2764 |
1572 | returnexecuted 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
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 |
1573 | } | - |
1574 | | - |
1575 | | - |
1576 | | - |
1577 | qint64 QAbstractSocket::readData(char *data, qint64 maxSize) | - |
1578 | { | - |
1579 | QAbstractSocketPrivate * const d = d_func(); | - |
1580 | | - |
1581 | | - |
1582 | if (!d->socketEngineTRUE | 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
|
|| !d->socketEngine->isValid()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
|
|| d->state != QAbstractSocket::ConnectedStateTRUE | 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 |
1583 | returnexecuted 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
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 |
1584 | | - |
1585 | qint64 readBytes = (maxSizeTRUE | 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
|
&& !d->isBufferedTRUE | 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
|
) ? d->socketEngine->read(data, maxSize) | 20308-155274 |
1586 | : qint64(0); | - |
1587 | if (readBytes == -2TRUE | 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 |
1588 | | - |
1589 | readBytes = 0; | - |
1590 | }executed 1176 times by 1 test: end of block | 1176 |
1591 | if (readBytes < 0TRUE | 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 |
1592 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1593 | d->resetSocketLayer(); | - |
1594 | d->state = QAbstractSocket::UnconnectedState; | - |
1595 | }executed 77 times by 3 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
else if (!d->socketEngine->isReadNotificationEnabled()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 |
1596 | | - |
1597 | d->socketEngine->setReadNotificationEnabled(true); | - |
1598 | }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 |
1599 | | - |
1600 | | - |
1601 | | - |
1602 | | - |
1603 | | - |
1604 | | - |
1605 | returnexecuted 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
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 |
1606 | } | - |
1607 | | - |
1608 | | - |
1609 | | - |
1610 | qint64 QAbstractSocket::readLineData(char *data, qint64 maxlen) | - |
1611 | { | - |
1612 | returnexecuted 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
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 |
1613 | } | - |
1614 | | - |
1615 | | - |
1616 | | - |
1617 | qint64 QAbstractSocket::writeData(const char *data, qint64 size) | - |
1618 | { | - |
1619 | QAbstractSocketPrivate * const d = d_func(); | - |
1620 | 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 |
1621 | || (!d->socketEngineTRUE | 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
- ...
|
&& d->socketType != TcpSocketTRUE | evaluated 1 time by 1 test | FALSE | evaluated 18 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
&& !d->isBufferedTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
)) { | 0-655157 |
1622 | d->setError(UnknownSocketError, tr("Socket is not connected")); | - |
1623 | returnexecuted 21 times by 3 tests: return -1; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
-1;executed 21 times by 3 tests: return -1; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 21 |
1624 | } | - |
1625 | | - |
1626 | if (!d->isBufferedTRUE | 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
|
&& d->socketType == TcpSocketTRUE | 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 |
1627 | && d->socketEngineTRUE | 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 |
&& d->writeBuffer.isEmpty()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 |
1628 | | - |
1629 | qint64 written = sizeTRUE | 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 |
? d->socketEngine->write(data, size) : static_cast<long long>(0LL); | 0-1763 |
1630 | if (written < 0TRUE | 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 |
1631 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | - |
1632 | } never executed: end of block else if (written < sizeTRUE | 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 |
1633 | | - |
1634 | d->writeBuffer.append(data + written, size - written); | - |
1635 | written = size; | - |
1636 | d->socketEngine->setWriteNotificationEnabled(true); | - |
1637 | }executed 101 times by 1 test: end of block | 101 |
1638 | | - |
1639 | | - |
1640 | | - |
1641 | | - |
1642 | | - |
1643 | | - |
1644 | returnexecuted 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
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 |
1645 | } else if (!d->isBufferedTRUE | 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
|
&& d->socketType != TcpSocketTRUE | evaluated 628710 times by 1 test | FALSE | evaluated 314 times by 1 test |
) { | 314-629024 |
1646 | | - |
1647 | qint64 written = d->socketEngine->write(data, size); | - |
1648 | if (written < 0TRUE | never evaluated | FALSE | evaluated 628710 times by 1 test |
) | 0-628710 |
1649 | d->setError(d->socketEngine->error(), d->socketEngine->errorString()); never executed: d->setError(d->socketEngine->error(), d->socketEngine->errorString()); | 0 |
1650 | | - |
1651 | | - |
1652 | | - |
1653 | | - |
1654 | | - |
1655 | | - |
1656 | if (written >= 0TRUE | evaluated 628710 times by 1 test | FALSE | never evaluated |
) { | 0-628710 |
1657 | bytesWritten(written); | - |
1658 | channelBytesWritten(0, written); | - |
1659 | }executed 628710 times by 1 test: end of block | 628710 |
1660 | returnexecuted 628710 times by 1 test: return written; written;executed 628710 times by 1 test: return written; | 628710 |
1661 | } | - |
1662 | | - |
1663 | | - |
1664 | | - |
1665 | | - |
1666 | | - |
1667 | | - |
1668 | | - |
1669 | d->writeBuffer.append(data, size); | - |
1670 | qint64 written = size; | - |
1671 | | - |
1672 | if (d->socketEngineTRUE | 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
|
&& !d->writeBuffer.isEmpty()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 |
1673 | 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 |
1674 | | - |
1675 | | - |
1676 | | - |
1677 | | - |
1678 | | - |
1679 | | - |
1680 | returnexecuted 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
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 |
1681 | } | - |
1682 | void QAbstractSocket::setLocalPort(quint16 port) | - |
1683 | { | - |
1684 | QAbstractSocketPrivate * const d = d_func(); | - |
1685 | d->localPort = port; | - |
1686 | }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 |
1687 | void QAbstractSocket::setLocalAddress(const QHostAddress &address) | - |
1688 | { | - |
1689 | QAbstractSocketPrivate * const d = d_func(); | - |
1690 | d->localAddress = address; | - |
1691 | }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 |
1692 | void QAbstractSocket::setPeerPort(quint16 port) | - |
1693 | { | - |
1694 | QAbstractSocketPrivate * const d = d_func(); | - |
1695 | d->peerPort = port; | - |
1696 | }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 |
1697 | void QAbstractSocket::setPeerAddress(const QHostAddress &address) | - |
1698 | { | - |
1699 | QAbstractSocketPrivate * const d = d_func(); | - |
1700 | d->peerAddress = address; | - |
1701 | }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 |
1702 | void QAbstractSocket::setPeerName(const QString &name) | - |
1703 | { | - |
1704 | QAbstractSocketPrivate * const d = d_func(); | - |
1705 | d->peerName = name; | - |
1706 | }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 |
1707 | void QAbstractSocket::close() | - |
1708 | { | - |
1709 | QAbstractSocketPrivate * const d = d_func(); | - |
1710 | | - |
1711 | | - |
1712 | | - |
1713 | QIODevice::close(); | - |
1714 | if (d->state != UnconnectedStateTRUE | 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 |
1715 | 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 |
1716 | }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 |
1717 | void QAbstractSocket::disconnectFromHost() | - |
1718 | { | - |
1719 | QAbstractSocketPrivate * const d = d_func(); | - |
1720 | | - |
1721 | | - |
1722 | | - |
1723 | | - |
1724 | if (d->state == UnconnectedStateTRUE | 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 |
1725 | | - |
1726 | | - |
1727 | | - |
1728 | 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 |
1729 | } | - |
1730 | | - |
1731 | if (!d->abortCalledTRUE | 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
|
&& (d->state == ConnectingStateTRUE | 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
- ...
|
|| d->state == HostLookupStateTRUE | 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 |
1732 | | - |
1733 | | - |
1734 | | - |
1735 | d->pendingClose = true; | - |
1736 | return;executed 67 times by 2 tests: return; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 67 |
1737 | } | - |
1738 | | - |
1739 | | - |
1740 | if (d->socketEngineTRUE | 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 |
1741 | 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 |
1742 | | - |
1743 | if (d->abortCalledTRUE | 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 |
1744 | | - |
1745 | | - |
1746 | | - |
1747 | if (d->state == HostLookupStateTRUE | 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 |
1748 | QHostInfo::abortHostLookup(d->hostLookupId); | - |
1749 | d->hostLookupId = -1; | - |
1750 | }executed 2867 times by 4 tests: end of block Executed by:- tst_QHostInfo
- tst_QUdpSocket
- tst_qobject - unknown status
- tst_qsslsocket - unknown status
| 2867 |
1751 | }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
else { | 4648 |
1752 | | - |
1753 | if (d->state != ClosingStateTRUE | 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 |
1754 | d->state = ClosingState; | - |
1755 | | - |
1756 | | - |
1757 | | - |
1758 | stateChanged(d->state); | - |
1759 | }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
- ...
else { | 3749 |
1760 | | - |
1761 | | - |
1762 | | - |
1763 | }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 |
1764 | | - |
1765 | | - |
1766 | if (d->socketEngineTRUE | 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
|
&& d->socketEngine->isValid()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
|
&& (d->writeBuffer.size() > 0TRUE | 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 |
1767 | || d->socketEngine->bytesToWrite() > 0TRUE | 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 |
1768 | | - |
1769 | | - |
1770 | | - |
1771 | | - |
1772 | | - |
1773 | if (d->writeBuffer.size() == 0TRUE | 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
|
&& d->socketEngine->bytesToWrite() > 0TRUE | evaluated 626 times by 2 testsEvaluated by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
) { | 0-626 |
1774 | if (!d->disconnectTimerTRUE | 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 |
1775 | d->disconnectTimer = new QTimer(this); | - |
1776 | connect(d->disconnectTimer, qFlagLocation("2""timeout()" "\0" __FILE__ ":" "2744"), this, | - |
1777 | qFlagLocation("1""_q_forceDisconnect()" "\0" __FILE__ ":" "2745"), Qt::DirectConnection); | - |
1778 | }executed 28 times by 2 tests: end of block Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 28 |
1779 | 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 |
1780 | 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 |
1781 | }executed 626 times by 2 tests: end of block Executed by:- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 626 |
1782 | d->socketEngine->setWriteNotificationEnabled(true); | - |
1783 | | - |
1784 | | - |
1785 | | - |
1786 | | - |
1787 | 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 |
1788 | } else { | - |
1789 | | - |
1790 | | - |
1791 | | - |
1792 | }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 |
1793 | } | - |
1794 | | - |
1795 | SocketState previousState = d->state; | - |
1796 | d->resetSocketLayer(); | - |
1797 | d->state = UnconnectedState; | - |
1798 | stateChanged(d->state); | - |
1799 | readChannelFinished(); | - |
1800 | | - |
1801 | | - |
1802 | if (previousState == ConnectedStateTRUE | 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
- ...
|
|| previousState == ClosingStateTRUE | 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 |
1803 | 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 |
1804 | | - |
1805 | d->localPort = 0; | - |
1806 | d->peerPort = 0; | - |
1807 | d->localAddress.clear(); | - |
1808 | d->peerAddress.clear(); | - |
1809 | d->peerName.clear(); | - |
1810 | d->setWriteChannelCount(0); | - |
1811 | | - |
1812 | | - |
1813 | | - |
1814 | | - |
1815 | | - |
1816 | }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 |
1817 | qint64 QAbstractSocket::readBufferSize() const | - |
1818 | { | - |
1819 | returnexecuted 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
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 |
1820 | } | - |
1821 | void QAbstractSocket::setReadBufferSize(qint64 size) | - |
1822 | { | - |
1823 | QAbstractSocketPrivate * const d = d_func(); | - |
1824 | | - |
1825 | if (d->readBufferMaxSize == sizeTRUE | 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 |
1826 | 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 |
1827 | d->readBufferMaxSize = size; | - |
1828 | if (!d->emittedReadyReadTRUE | 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
|
&& d->socketEngineTRUE | 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 |
1829 | | - |
1830 | | - |
1831 | | - |
1832 | if ((size == 0TRUE | 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
|
|| d->buffer.size() < sizeTRUE | 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 |
) && d->state == QAbstractSocket::ConnectedStateTRUE | 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 |
1833 | 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 |
1834 | }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 |
1835 | }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 |
1836 | | - |
1837 | | - |
1838 | | - |
1839 | | - |
1840 | | - |
1841 | | - |
1842 | QAbstractSocket::SocketState QAbstractSocket::state() const | - |
1843 | { | - |
1844 | returnexecuted 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
- ...
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 |
1845 | } | - |
1846 | | - |
1847 | | - |
1848 | | - |
1849 | | - |
1850 | | - |
1851 | | - |
1852 | void QAbstractSocket::setSocketState(SocketState state) | - |
1853 | { | - |
1854 | d_func()->state = state; | - |
1855 | }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 |
1856 | | - |
1857 | | - |
1858 | | - |
1859 | | - |
1860 | | - |
1861 | | - |
1862 | QAbstractSocket::SocketType QAbstractSocket::socketType() const | - |
1863 | { | - |
1864 | returnexecuted 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
- ...
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 |
1865 | } | - |
1866 | | - |
1867 | | - |
1868 | | - |
1869 | | - |
1870 | | - |
1871 | | - |
1872 | QAbstractSocket::SocketError QAbstractSocket::error() const | - |
1873 | { | - |
1874 | returnexecuted 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
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 |
1875 | } | - |
1876 | | - |
1877 | | - |
1878 | | - |
1879 | | - |
1880 | | - |
1881 | | - |
1882 | void QAbstractSocket::setSocketError(SocketError socketError) | - |
1883 | { | - |
1884 | d_func()->socketError = socketError; | - |
1885 | }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 |
1886 | void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) | - |
1887 | { | - |
1888 | QAbstractSocketPrivate * const d = d_func(); | - |
1889 | d->proxy = networkProxy; | - |
1890 | }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 |
1891 | QNetworkProxy QAbstractSocket::proxy() const | - |
1892 | { | - |
1893 | const QAbstractSocketPrivate * const d = d_func(); | - |
1894 | returnexecuted 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
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 |
1895 | } | - |
1896 | | - |
1897 | | - |
1898 | | - |
1899 | __attribute__((visibility("default"))) QDebug operator<<(QDebug debug, QAbstractSocket::SocketError error) | - |
1900 | { | - |
1901 | QDebugStateSaver saver(debug); | - |
1902 | debug.resetFormat().nospace(); | - |
1903 | switch (error) { | - |
1904 | case never executed: case QAbstractSocket::ConnectionRefusedError: QAbstractSocket::ConnectionRefusedError:never executed: case QAbstractSocket::ConnectionRefusedError: | 0 |
1905 | debug << "QAbstractSocket::ConnectionRefusedError"; | - |
1906 | break; never executed: break; | 0 |
1907 | caseexecuted 28 times by 1 test: case QAbstractSocket::RemoteHostClosedError: QAbstractSocket::RemoteHostClosedError:executed 28 times by 1 test: case QAbstractSocket::RemoteHostClosedError: | 28 |
1908 | debug << "QAbstractSocket::RemoteHostClosedError"; | - |
1909 | break;executed 28 times by 1 test: break; | 28 |
1910 | case never executed: case QAbstractSocket::HostNotFoundError: QAbstractSocket::HostNotFoundError:never executed: case QAbstractSocket::HostNotFoundError: | 0 |
1911 | debug << "QAbstractSocket::HostNotFoundError"; | - |
1912 | break; never executed: break; | 0 |
1913 | case never executed: case QAbstractSocket::SocketAccessError: QAbstractSocket::SocketAccessError:never executed: case QAbstractSocket::SocketAccessError: | 0 |
1914 | debug << "QAbstractSocket::SocketAccessError"; | - |
1915 | break; never executed: break; | 0 |
1916 | case never executed: case QAbstractSocket::SocketResourceError: QAbstractSocket::SocketResourceError:never executed: case QAbstractSocket::SocketResourceError: | 0 |
1917 | debug << "QAbstractSocket::SocketResourceError"; | - |
1918 | break; never executed: break; | 0 |
1919 | caseexecuted 1 time by 1 test: case QAbstractSocket::SocketTimeoutError: QAbstractSocket::SocketTimeoutError:executed 1 time by 1 test: case QAbstractSocket::SocketTimeoutError: | 1 |
1920 | debug << "QAbstractSocket::SocketTimeoutError"; | - |
1921 | break;executed 1 time by 1 test: break; | 1 |
1922 | case never executed: case QAbstractSocket::DatagramTooLargeError: QAbstractSocket::DatagramTooLargeError:never executed: case QAbstractSocket::DatagramTooLargeError: | 0 |
1923 | debug << "QAbstractSocket::DatagramTooLargeError"; | - |
1924 | break; never executed: break; | 0 |
1925 | case never executed: case QAbstractSocket::NetworkError: QAbstractSocket::NetworkError:never executed: case QAbstractSocket::NetworkError: | 0 |
1926 | debug << "QAbstractSocket::NetworkError"; | - |
1927 | break; never executed: break; | 0 |
1928 | case never executed: case QAbstractSocket::AddressInUseError: QAbstractSocket::AddressInUseError:never executed: case QAbstractSocket::AddressInUseError: | 0 |
1929 | debug << "QAbstractSocket::AddressInUseError"; | - |
1930 | break; never executed: break; | 0 |
1931 | case never executed: case QAbstractSocket::SocketAddressNotAvailableError: QAbstractSocket::SocketAddressNotAvailableError:never executed: case QAbstractSocket::SocketAddressNotAvailableError: | 0 |
1932 | debug << "QAbstractSocket::SocketAddressNotAvailableError"; | - |
1933 | break; never executed: break; | 0 |
1934 | case never executed: case QAbstractSocket::UnsupportedSocketOperationError: QAbstractSocket::UnsupportedSocketOperationError:never executed: case QAbstractSocket::UnsupportedSocketOperationError: | 0 |
1935 | debug << "QAbstractSocket::UnsupportedSocketOperationError"; | - |
1936 | break; never executed: break; | 0 |
1937 | case never executed: case QAbstractSocket::UnfinishedSocketOperationError: QAbstractSocket::UnfinishedSocketOperationError:never executed: case QAbstractSocket::UnfinishedSocketOperationError: | 0 |
1938 | debug << "QAbstractSocket::UnfinishedSocketOperationError"; | - |
1939 | break; never executed: break; | 0 |
1940 | case never executed: case QAbstractSocket::ProxyAuthenticationRequiredError: QAbstractSocket::ProxyAuthenticationRequiredError:never executed: case QAbstractSocket::ProxyAuthenticationRequiredError: | 0 |
1941 | debug << "QAbstractSocket::ProxyAuthenticationRequiredError"; | - |
1942 | break; never executed: break; | 0 |
1943 | caseexecuted 50 times by 2 tests: case QAbstractSocket::UnknownSocketError: Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
QAbstractSocket::UnknownSocketError:executed 50 times by 2 tests: case QAbstractSocket::UnknownSocketError: Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 50 |
1944 | debug << "QAbstractSocket::UnknownSocketError"; | - |
1945 | break;executed 50 times by 2 tests: break; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 50 |
1946 | case never executed: case QAbstractSocket::ProxyConnectionRefusedError: QAbstractSocket::ProxyConnectionRefusedError:never executed: case QAbstractSocket::ProxyConnectionRefusedError: | 0 |
1947 | debug << "QAbstractSocket::ProxyConnectionRefusedError"; | - |
1948 | break; never executed: break; | 0 |
1949 | case never executed: case QAbstractSocket::ProxyConnectionClosedError: QAbstractSocket::ProxyConnectionClosedError:never executed: case QAbstractSocket::ProxyConnectionClosedError: | 0 |
1950 | debug << "QAbstractSocket::ProxyConnectionClosedError"; | - |
1951 | break; never executed: break; | 0 |
1952 | case never executed: case QAbstractSocket::ProxyConnectionTimeoutError: QAbstractSocket::ProxyConnectionTimeoutError:never executed: case QAbstractSocket::ProxyConnectionTimeoutError: | 0 |
1953 | debug << "QAbstractSocket::ProxyConnectionTimeoutError"; | - |
1954 | break; never executed: break; | 0 |
1955 | case never executed: case QAbstractSocket::ProxyNotFoundError: QAbstractSocket::ProxyNotFoundError:never executed: case QAbstractSocket::ProxyNotFoundError: | 0 |
1956 | debug << "QAbstractSocket::ProxyNotFoundError"; | - |
1957 | break; never executed: break; | 0 |
1958 | case never executed: case QAbstractSocket::ProxyProtocolError: QAbstractSocket::ProxyProtocolError:never executed: case QAbstractSocket::ProxyProtocolError: | 0 |
1959 | debug << "QAbstractSocket::ProxyProtocolError"; | - |
1960 | break; never executed: break; | 0 |
1961 | default never executed: default: :never executed: default: | 0 |
1962 | debug << "QAbstractSocket::SocketError(" << int(error) << ')'; | - |
1963 | break; never executed: break; | 0 |
1964 | } | - |
1965 | returnexecuted 79 times by 3 tests: return debug; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
debug;executed 79 times by 3 tests: return debug; Executed by:- tst_QNetworkReply
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 79 |
1966 | } | - |
1967 | | - |
1968 | __attribute__((visibility("default"))) QDebug operator<<(QDebug debug, QAbstractSocket::SocketState state) | - |
1969 | { | - |
1970 | QDebugStateSaver saver(debug); | - |
1971 | debug.resetFormat().nospace(); | - |
1972 | switch (state) { | - |
1973 | case never executed: case QAbstractSocket::UnconnectedState: QAbstractSocket::UnconnectedState:never executed: case QAbstractSocket::UnconnectedState: | 0 |
1974 | debug << "QAbstractSocket::UnconnectedState"; | - |
1975 | break; never executed: break; | 0 |
1976 | case never executed: case QAbstractSocket::HostLookupState: QAbstractSocket::HostLookupState:never executed: case QAbstractSocket::HostLookupState: | 0 |
1977 | debug << "QAbstractSocket::HostLookupState"; | - |
1978 | break; never executed: break; | 0 |
1979 | case never executed: case QAbstractSocket::ConnectingState: QAbstractSocket::ConnectingState:never executed: case QAbstractSocket::ConnectingState: | 0 |
1980 | debug << "QAbstractSocket::ConnectingState"; | - |
1981 | break; never executed: break; | 0 |
1982 | case never executed: case QAbstractSocket::ConnectedState: QAbstractSocket::ConnectedState:never executed: case QAbstractSocket::ConnectedState: | 0 |
1983 | debug << "QAbstractSocket::ConnectedState"; | - |
1984 | break; never executed: break; | 0 |
1985 | caseexecuted 45 times by 1 test: case QAbstractSocket::BoundState: QAbstractSocket::BoundState:executed 45 times by 1 test: case QAbstractSocket::BoundState: | 45 |
1986 | debug << "QAbstractSocket::BoundState"; | - |
1987 | break;executed 45 times by 1 test: break; | 45 |
1988 | case never executed: case QAbstractSocket::ListeningState: QAbstractSocket::ListeningState:never executed: case QAbstractSocket::ListeningState: | 0 |
1989 | debug << "QAbstractSocket::ListeningState"; | - |
1990 | break; never executed: break; | 0 |
1991 | caseexecuted 6 times by 1 test: case QAbstractSocket::ClosingState: Executed by:- tst_qtcpsocket - unknown status
QAbstractSocket::ClosingState:executed 6 times by 1 test: case QAbstractSocket::ClosingState: Executed by:- tst_qtcpsocket - unknown status
| 6 |
1992 | debug << "QAbstractSocket::ClosingState"; | - |
1993 | break;executed 6 times by 1 test: break; Executed by:- tst_qtcpsocket - unknown status
| 6 |
1994 | default never executed: default: :never executed: default: | 0 |
1995 | debug << "QAbstractSocket::SocketState(" << int(state) << ')'; | - |
1996 | break; never executed: break; | 0 |
1997 | } | - |
1998 | returnexecuted 51 times by 2 tests: return debug; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
debug;executed 51 times by 2 tests: return debug; Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 51 |
1999 | } | - |
2000 | | - |
2001 | | - |
2002 | | - |
2003 | | - |
| | |