Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | #include "qnativesocketengine_p.h" | - |
118 | | - |
119 | #include <qabstracteventdispatcher.h> | - |
120 | #include <qsocketnotifier.h> | - |
121 | #include <qnetworkinterface.h> | - |
122 | | - |
123 | #include <private/qthread_p.h> | - |
124 | #include <private/qobject_p.h> | - |
125 | | - |
126 | #if !defined(QT_NO_NETWORKPROXY) | - |
127 | # include "qnetworkproxy.h" | - |
128 | # include "qabstractsocket.h" | - |
129 | # include "qtcpserver.h" | - |
130 | #endif | - |
131 | | - |
132 | QT_BEGIN_NAMESPACE | - |
133 | | - |
134 | | - |
135 | | - |
136 | #define Q_VOID | - |
137 | | - |
138 | | - |
139 | #define Q_CHECK_VALID_SOCKETLAYER(function, returnValue) do { \ | - |
140 | if (!isValid()) { \ | - |
141 | qWarning(""#function" was called on an uninitialized socket device"); \ | - |
142 | return returnValue; \ | - |
143 | } } while (0) | - |
144 | #define Q_CHECK_INVALID_SOCKETLAYER(function, returnValue) do { \ | - |
145 | if (isValid()) { \ | - |
146 | qWarning(""#function" was called on an already initialized socket device"); \ | - |
147 | return returnValue; \ | - |
148 | } } while (0) | - |
149 | #define Q_CHECK_STATE(function, checkState, returnValue) do { \ | - |
150 | if (d->socketState != (checkState)) { \ | - |
151 | qWarning(""#function" was not called in "#checkState); \ | - |
152 | return (returnValue); \ | - |
153 | } } while (0) | - |
154 | #define Q_CHECK_NOT_STATE(function, checkState, returnValue) do { \ | - |
155 | if (d->socketState == (checkState)) { \ | - |
156 | qWarning(""#function" was called in "#checkState); \ | - |
157 | return (returnValue); \ | - |
158 | } } while (0) | - |
159 | #define Q_CHECK_STATES(function, state1, state2, returnValue) do { \ | - |
160 | if (d->socketState != (state1) && d->socketState != (state2)) { \ | - |
161 | qWarning(""#function" was called" \ | - |
162 | " not in "#state1" or "#state2); \ | - |
163 | return (returnValue); \ | - |
164 | } } while (0) | - |
165 | #define Q_CHECK_STATES3(function, state1, state2, state3, returnValue) do { \ | - |
166 | if (d->socketState != (state1) && d->socketState != (state2) && d->socketState != (state3)) { \ | - |
167 | qWarning(""#function" was called" \ | - |
168 | " not in "#state1" or "#state2); \ | - |
169 | return (returnValue); \ | - |
170 | } } while (0) | - |
171 | #define Q_CHECK_TYPE(function, type, returnValue) do { \ | - |
172 | if (d->socketType != (type)) { \ | - |
173 | qWarning(#function" was called by a" \ | - |
174 | " socket other than "#type""); \ | - |
175 | return (returnValue); \ | - |
176 | } } while (0) | - |
177 | #define Q_TR(a) QT_TRANSLATE_NOOP(QNativeSocketEngine, a) | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | QNativeSocketEnginePrivate::QNativeSocketEnginePrivate() : | - |
183 | socketDescriptor(-1), | - |
184 | readNotifier(0), | - |
185 | writeNotifier(0), | - |
186 | exceptNotifier(0) | - |
187 | { | - |
188 | #if defined(Q_OS_WIN) && !defined(Q_OS_WINRT) | - |
189 | QSysInfo::machineHostName(); | - |
190 | #endif | - |
191 | }executed 71300 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_platformsocketengine - 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
- ...
| 71300 |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | QNativeSocketEnginePrivate::~QNativeSocketEnginePrivate() | - |
197 | { | - |
198 | } | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | void QNativeSocketEnginePrivate::setError(QAbstractSocket::SocketError error, ErrorString errorString) const | - |
207 | { | - |
208 | if (hasSetSocketError) {TRUE | evaluated 119 times by 9 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 6348 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_platformsocketengine - 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
- tst_qsslsocket - unknown status
- ...
|
| 119-6348 |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | return;executed 119 times by 9 tests: return; Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 119 |
217 | } | - |
218 | if (error != QAbstractSocket::SocketError(11))TRUE | evaluated 2516 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- 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_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 3832 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_platformsocketengine - 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
- ...
|
| 2516-3832 |
219 | hasSetSocketError = true;executed 2516 times by 23 tests: hasSetSocketError = true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- 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_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2516 |
220 | | - |
221 | socketError = error; | - |
222 | | - |
223 | switch (errorString) { | - |
224 | case NonBlockingInitFailedErrorString: never executed: case NonBlockingInitFailedErrorString: | 0 |
225 | socketErrorString = QNativeSocketEngine::tr("Unable to initialize non-blocking socket"); | - |
226 | break; never executed: break; | 0 |
227 | case BroadcastingInitFailedErrorString: never executed: case BroadcastingInitFailedErrorString: | 0 |
228 | socketErrorString = QNativeSocketEngine::tr("Unable to initialize broadcast socket"); | - |
229 | break; never executed: break; | 0 |
230 | | - |
231 | case NoIpV6ErrorString: never executed: case NoIpV6ErrorString: | 0 |
232 | socketErrorString = QNativeSocketEngine::tr("Attempt to use IPv6 socket on a platform with no IPv6 support"); | - |
233 | break; never executed: break; | 0 |
234 | case RemoteHostClosedErrorString:executed 1335 times by 16 tests: case RemoteHostClosedErrorString: Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- 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
| 1335 |
235 | socketErrorString = QNativeSocketEngine::tr("The remote host closed the connection"); | - |
236 | break;executed 1335 times by 16 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- 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
| 1335 |
237 | case TimeOutErrorString:executed 136 times by 10 tests: case TimeOutErrorString: Executed by:- tst_QNetworkReply
- 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
- tst_qxmlsimplereader - unknown status
| 136 |
238 | socketErrorString = QNativeSocketEngine::tr("Network operation timed out"); | - |
239 | break;executed 136 times by 10 tests: break; Executed by:- tst_QNetworkReply
- 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
- tst_qxmlsimplereader - unknown status
| 136 |
240 | case ResourceErrorString:executed 1 time by 1 test: case ResourceErrorString: Executed by:- tst_platformsocketengine - unknown status
| 1 |
241 | socketErrorString = QNativeSocketEngine::tr("Out of resources"); | - |
242 | break;executed 1 time by 1 test: break; Executed by:- tst_platformsocketengine - unknown status
| 1 |
243 | case OperationUnsupportedErrorString:executed 1 time by 1 test: case OperationUnsupportedErrorString: | 1 |
244 | socketErrorString = QNativeSocketEngine::tr("Unsupported socket operation"); | - |
245 | break;executed 1 time by 1 test: break; | 1 |
246 | case ProtocolUnsupportedErrorString: never executed: case ProtocolUnsupportedErrorString: | 0 |
247 | socketErrorString = QNativeSocketEngine::tr("Protocol type not supported"); | - |
248 | break; never executed: break; | 0 |
249 | case InvalidSocketErrorString:executed 3840 times by 28 tests: case InvalidSocketErrorString: 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_platformsocketengine - 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
- ...
| 3840 |
250 | socketErrorString = QNativeSocketEngine::tr("Invalid socket descriptor"); | - |
251 | break;executed 3840 times by 28 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_platformsocketengine - 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
- ...
| 3840 |
252 | case HostUnreachableErrorString: never executed: case HostUnreachableErrorString: | 0 |
253 | socketErrorString = QNativeSocketEngine::tr("Host unreachable"); | - |
254 | break; never executed: break; | 0 |
255 | case NetworkUnreachableErrorString:executed 4 times by 2 tests: case NetworkUnreachableErrorString: Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 4 |
256 | socketErrorString = QNativeSocketEngine::tr("Network unreachable"); | - |
257 | break;executed 4 times by 2 tests: break; Executed by:- tst_QNetworkReply
- tst_qtcpsocket - unknown status
| 4 |
258 | case AccessErrorString: never executed: case AccessErrorString: | 0 |
259 | socketErrorString = QNativeSocketEngine::tr("Permission denied"); | - |
260 | break; never executed: break; | 0 |
261 | case ConnectionTimeOutErrorString: never executed: case ConnectionTimeOutErrorString: | 0 |
262 | socketErrorString = QNativeSocketEngine::tr("Connection timed out"); | - |
263 | break; never executed: break; | 0 |
264 | case ConnectionRefusedErrorString:executed 320 times by 9 tests: case ConnectionRefusedErrorString: 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
| 320 |
265 | socketErrorString = QNativeSocketEngine::tr("Connection refused"); | - |
266 | break;executed 320 times by 9 tests: break; 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
| 320 |
267 | case AddressInuseErrorString:executed 12 times by 3 tests: case AddressInuseErrorString: Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
| 12 |
268 | socketErrorString = QNativeSocketEngine::tr("The bound address is already in use"); | - |
269 | break;executed 12 times by 3 tests: break; Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
| 12 |
270 | case AddressNotAvailableErrorString:executed 5 times by 2 tests: case AddressNotAvailableErrorString: Executed by:- tst_QTcpServer
- tst_qtcpsocket - unknown status
| 5 |
271 | socketErrorString = QNativeSocketEngine::tr("The address is not available"); | - |
272 | break;executed 5 times by 2 tests: break; Executed by:- tst_QTcpServer
- tst_qtcpsocket - unknown status
| 5 |
273 | case AddressProtectedErrorString:executed 5 times by 2 tests: case AddressProtectedErrorString: Executed by:- tst_platformsocketengine - unknown status
- tst_qtcpsocket - unknown status
| 5 |
274 | socketErrorString = QNativeSocketEngine::tr("The address is protected"); | - |
275 | break;executed 5 times by 2 tests: break; Executed by:- tst_platformsocketengine - unknown status
- tst_qtcpsocket - unknown status
| 5 |
276 | case DatagramTooLargeErrorString:executed 1 time by 1 test: case DatagramTooLargeErrorString: | 1 |
277 | socketErrorString = QNativeSocketEngine::tr("Datagram was too large to send"); | - |
278 | break;executed 1 time by 1 test: break; | 1 |
279 | case SendDatagramErrorString: never executed: case SendDatagramErrorString: | 0 |
280 | socketErrorString = QNativeSocketEngine::tr("Unable to send a message"); | - |
281 | break; never executed: break; | 0 |
282 | case ReceiveDatagramErrorString: never executed: case ReceiveDatagramErrorString: | 0 |
283 | socketErrorString = QNativeSocketEngine::tr("Unable to receive a message"); | - |
284 | break; never executed: break; | 0 |
285 | case WriteErrorString: never executed: case WriteErrorString: | 0 |
286 | socketErrorString = QNativeSocketEngine::tr("Unable to write"); | - |
287 | break; never executed: break; | 0 |
288 | case ReadErrorString: never executed: case ReadErrorString: | 0 |
289 | socketErrorString = QNativeSocketEngine::tr("Network error"); | - |
290 | break; never executed: break; | 0 |
291 | case PortInuseErrorString: never executed: case PortInuseErrorString: | 0 |
292 | socketErrorString = QNativeSocketEngine::tr("Another socket is already listening on the same port"); | - |
293 | break; never executed: break; | 0 |
294 | case NotSocketErrorString: never executed: case NotSocketErrorString: | 0 |
295 | socketErrorString = QNativeSocketEngine::tr("Operation on non-socket"); | - |
296 | break; never executed: break; | 0 |
297 | case InvalidProxyTypeString: never executed: case InvalidProxyTypeString: | 0 |
298 | socketErrorString = QNativeSocketEngine::tr("The proxy type is invalid for this operation"); | - |
299 | break; never executed: break; | 0 |
300 | case TemporaryErrorString:executed 686 times by 15 tests: case TemporaryErrorString: Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 686 |
301 | socketErrorString = QNativeSocketEngine::tr("Temporary error"); | - |
302 | break;executed 686 times by 15 tests: break; Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 686 |
303 | case NetworkDroppedConnectionErrorString: never executed: case NetworkDroppedConnectionErrorString: | 0 |
304 | socketErrorString = QNativeSocketEngine::tr("Network dropped connection on reset"); | - |
305 | break; never executed: break; | 0 |
306 | case ConnectionResetErrorString: never executed: case ConnectionResetErrorString: | 0 |
307 | socketErrorString = QNativeSocketEngine::tr("Connection reset by peer"); | - |
308 | break; never executed: break; | 0 |
309 | case UnknownSocketErrorString:executed 2 times by 1 test: case UnknownSocketErrorString: | 2 |
310 | socketErrorString = QNativeSocketEngine::tr("Unknown error"); | - |
311 | break;executed 2 times by 1 test: break; | 2 |
312 | } | - |
313 | }executed 6348 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_platformsocketengine - 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
- tst_qsslsocket - unknown status
- ...
| 6348 |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | QHostAddress QNativeSocketEnginePrivate::adjustAddressProtocol(const QHostAddress &address) const | - |
323 | { | - |
324 | QAbstractSocket::NetworkLayerProtocol targetProtocol = socketProtocol; | - |
325 | if (Q_LIKELY(targetProtocol == QAbstractSocket::UnknownNetworkLayerProtocol))TRUE | never evaluated | FALSE | evaluated 8429 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_platformsocketengine - 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-8429 |
326 | return address; never executed: return address; | 0 |
327 | | - |
328 | QAbstractSocket::NetworkLayerProtocol sourceProtocol = address.protocol(); | - |
329 | | - |
330 | if (targetProtocol == QAbstractSocket::AnyIPProtocol)TRUE | evaluated 592 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 7837 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_platformsocketengine - 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
- ...
|
| 592-7837 |
331 | targetProtocol = QAbstractSocket::IPv6Protocol;executed 592 times by 13 tests: targetProtocol = QAbstractSocket::IPv6Protocol; Executed by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 592 |
332 | if (targetProtocol == QAbstractSocket::IPv6Protocol && sourceProtocol == QAbstractSocket::IPv4Protocol) {TRUE | evaluated 1429 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 7000 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_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| FALSE | evaluated 1420 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 9-7000 |
333 | | - |
334 | return QHostAddress(address.toIPv6Address());executed 9 times by 2 tests: return QHostAddress(address.toIPv6Address()); Executed by:- tst_QUdpSocket
- tst_qtcpsocket - unknown status
| 9 |
335 | } | - |
336 | | - |
337 | if (targetProtocol == QAbstractSocket::IPv4Protocol && sourceProtocol == QAbstractSocket::IPv6Protocol) {TRUE | evaluated 7000 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_platformsocketengine - 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
- ...
| FALSE | evaluated 1420 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
TRUE | never evaluated | FALSE | evaluated 7000 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_platformsocketengine - 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
- ...
|
| 0-7000 |
338 | | - |
339 | quint32 ip4 = address.toIPv4Address(); | - |
340 | if (ip4)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
341 | return QHostAddress(ip4); never executed: return QHostAddress(ip4); | 0 |
342 | } never executed: end of block | 0 |
343 | | - |
344 | return address;executed 8420 times by 29 tests: return address; 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_platformsocketengine - 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
- ...
| 8420 |
345 | } | - |
346 | | - |
347 | bool QNativeSocketEnginePrivate::checkProxy(const QHostAddress &address) | - |
348 | { | - |
349 | if (address.isLoopback())TRUE | evaluated 2492 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 5939 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_Spdy
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
|
| 2492-5939 |
350 | return true;executed 2492 times by 20 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2492 |
351 | | - |
352 | #if !defined(QT_NO_NETWORKPROXY) | - |
353 | QObject *parent = q_func()->parent(); | - |
354 | QNetworkProxy proxy; | - |
355 | if (QAbstractSocket *socket = qobject_cast<QAbstractSocket *>(parent)) {TRUE | evaluated 5255 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- 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
| FALSE | evaluated 684 times by 12 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 684-5255 |
356 | proxy = socket->proxy(); | - |
357 | } else if (QTcpServer *server = qobject_cast<QTcpServer *>(parent)) {executed 5255 times by 20 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- 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
TRUE | evaluated 670 times by 11 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 14 times by 1 testEvaluated by:- tst_platformsocketengine - unknown status
|
| 14-5255 |
358 | proxy = server->proxy(); | - |
359 | } else {executed 670 times by 11 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 670 |
360 | | - |
361 | return true;executed 14 times by 1 test: return true; Executed by:- tst_platformsocketengine - unknown status
| 14 |
362 | } | - |
363 | | - |
364 | if (proxy.type() == QNetworkProxy::DefaultProxy)TRUE | evaluated 2577 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 3348 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkProxyFactory
- 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
|
| 2577-3348 |
365 | proxy = QNetworkProxy::applicationProxy();executed 2577 times by 19 tests: proxy = QNetworkProxy::applicationProxy(); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
| 2577 |
366 | | - |
367 | if (proxy.type() != QNetworkProxy::DefaultProxy &&TRUE | evaluated 5925 times by 23 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_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
| 0-5925 |
368 | proxy.type() != QNetworkProxy::NoProxy) {TRUE | never evaluated | FALSE | evaluated 5925 times by 23 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_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
|
| 0-5925 |
369 | | - |
370 | setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
371 | QNativeSocketEnginePrivate::InvalidProxyTypeString); | - |
372 | return false; never executed: return false; | 0 |
373 | } | - |
374 | #endif | - |
375 | | - |
376 | return true;executed 5925 times by 23 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_Spdy
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - 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
- tst_qxmlsimplereader - unknown status
| 5925 |
377 | } | - |
378 | | - |
379 | | - |
380 | | - |
381 | | - |
382 | | - |
383 | | - |
384 | QNativeSocketEngine::QNativeSocketEngine(QObject *parent) | - |
385 | : QAbstractSocketEngine(*new QNativeSocketEnginePrivate(), parent) | - |
386 | { | - |
387 | }executed 71300 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_platformsocketengine - 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
- ...
| 71300 |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | QNativeSocketEngine::~QNativeSocketEngine() | - |
393 | { | - |
394 | close(); | - |
395 | }executed 71293 times by 32 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_platformsocketengine - 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
- ...
| 71293 |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | | - |
405 | | - |
406 | | - |
407 | | - |
408 | bool QNativeSocketEngine::initialize(QAbstractSocket::SocketType socketType, QAbstractSocket::NetworkLayerProtocol protocol) | - |
409 | { | - |
410 | Q_D(QNativeSocketEngine); | - |
411 | if (isValid())TRUE | never evaluated | FALSE | evaluated 70302 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_platformsocketengine - 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-70302 |
412 | close(); never executed: close(); | 0 |
413 | | - |
414 | | - |
415 | if (!d->createNewSocket(socketType, protocol)) {TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | evaluated 70301 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_platformsocketengine - 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
- ...
|
| 1-70301 |
416 | #if defined (QNATIVESOCKETENGINE_DEBUG) | - |
417 | QString typeStr = QLatin1String("UnknownSocketType"); | - |
418 | if (socketType == QAbstractSocket::TcpSocket) typeStr = QLatin1String("TcpSocket"); | - |
419 | else if (socketType == QAbstractSocket::UdpSocket) typeStr = QLatin1String("UdpSocket"); | - |
420 | QString protocolStr = QLatin1String("UnknownProtocol"); | - |
421 | if (protocol == QAbstractSocket::IPv4Protocol) protocolStr = QLatin1String("IPv4Protocol"); | - |
422 | else if (protocol == QAbstractSocket::IPv6Protocol) protocolStr = QLatin1String("IPv6Protocol"); | - |
423 | qDebug("QNativeSocketEngine::initialize(type == %s, protocol == %s) failed: %s", | - |
424 | typeStr.toLatin1().constData(), protocolStr.toLatin1().constData(), d->socketErrorString.toLatin1().constData()); | - |
425 | #endif | - |
426 | return false;executed 1 time by 1 test: return false; Executed by:- tst_platformsocketengine - unknown status
| 1 |
427 | } | - |
428 | | - |
429 | if (socketType == QAbstractSocket::UdpSocket) {TRUE | evaluated 140 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| FALSE | evaluated 70161 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_platformsocketengine - 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
- ...
|
| 140-70161 |
430 | | - |
431 | if (!setOption(BroadcastSocketOption, 1)) {TRUE | never evaluated | FALSE | evaluated 140 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-140 |
432 | d->setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
433 | QNativeSocketEnginePrivate::BroadcastingInitFailedErrorString); | - |
434 | close(); | - |
435 | return false; never executed: return false; | 0 |
436 | } | - |
437 | | - |
438 | | - |
439 | setOption(ReceivePacketInformation, 1); | - |
440 | setOption(ReceiveHopLimit, 1); | - |
441 | }executed 140 times by 4 tests: end of block Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| 140 |
442 | | - |
443 | | - |
444 | | - |
445 | if (socketType == QAbstractSocket::TcpSocketTRUE | evaluated 70161 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_platformsocketengine - 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 140 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 140-70161 |
446 | && !setOption(ReceiveOutOfBandData, 1)) {TRUE | never evaluated | FALSE | evaluated 70161 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_platformsocketengine - 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-70161 |
447 | qWarning("QNativeSocketEngine::initialize unable to inline out-of-band data"); | - |
448 | } never executed: end of block | 0 |
449 | | - |
450 | | - |
451 | | - |
452 | | - |
453 | | - |
454 | | - |
455 | | - |
456 | | - |
457 | | - |
458 | | - |
459 | | - |
460 | | - |
461 | | - |
462 | | - |
463 | | - |
464 | return true;executed 70301 times by 29 tests: return true; 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_platformsocketengine - 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
- ...
| 70301 |
465 | } | - |
466 | | - |
467 | | - |
468 | | - |
469 | | - |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
476 | | - |
477 | bool QNativeSocketEngine::initialize(qintptr socketDescriptor, QAbstractSocket::SocketState socketState) | - |
478 | { | - |
479 | Q_D(QNativeSocketEngine); | - |
480 | | - |
481 | if (isValid())TRUE | never evaluated | FALSE | evaluated 998 times by 19 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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-998 |
482 | close(); never executed: close(); | 0 |
483 | | - |
484 | d->socketDescriptor = socketDescriptor; | - |
485 | | - |
486 | | - |
487 | if (!d->fetchConnectionParameters()) {TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 989 times by 19 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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
|
| 9-989 |
488 | #if defined (QNATIVESOCKETENGINE_DEBUG) | - |
489 | qDebug() << "QNativeSocketEngine::initialize(socketDescriptor) failed:" | - |
490 | << socketDescriptor << d->socketErrorString; | - |
491 | #endif | - |
492 | d->socketDescriptor = -1; | - |
493 | return false;executed 9 times by 3 tests: return false; Executed by:- tst_QTcpServer
- tst_qlocalsocket - unknown status
- tst_qtcpsocket - unknown status
| 9 |
494 | } | - |
495 | | - |
496 | if (d->socketType != QAbstractSocket::UnknownSocketType) {TRUE | evaluated 989 times by 19 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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-989 |
497 | | - |
498 | if (!setOption(NonBlockingSocketOption, 1)) {TRUE | never evaluated | FALSE | evaluated 989 times by 19 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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-989 |
499 | d->setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
500 | QNativeSocketEnginePrivate::NonBlockingInitFailedErrorString); | - |
501 | close(); | - |
502 | return false; never executed: return false; | 0 |
503 | } | - |
504 | | - |
505 | | - |
506 | if (d->socketType == QAbstractSocket::UdpSocketTRUE | never evaluated | FALSE | evaluated 989 times by 19 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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-989 |
507 | && !setOption(BroadcastSocketOption, 1)) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
508 | d->setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
509 | QNativeSocketEnginePrivate::BroadcastingInitFailedErrorString); | - |
510 | close(); | - |
511 | return false; never executed: return false; | 0 |
512 | } | - |
513 | }executed 989 times by 19 tests: end of block Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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
| 989 |
514 | | - |
515 | d->socketState = socketState; | - |
516 | return true;executed 989 times by 19 tests: return true; Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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
| 989 |
517 | } | - |
518 | | - |
519 | | - |
520 | | - |
521 | | - |
522 | | - |
523 | | - |
524 | bool QNativeSocketEngine::isValid() const | - |
525 | { | - |
526 | Q_D(const QNativeSocketEngine); | - |
527 | return d->socketDescriptor != -1;executed 5250479 times by 32 tests: return d->socketDescriptor != -1; 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_platformsocketengine - 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
- ...
| 5250479 |
528 | } | - |
529 | | - |
530 | | - |
531 | | - |
532 | | - |
533 | | - |
534 | qintptr QNativeSocketEngine::socketDescriptor() const | - |
535 | { | - |
536 | Q_D(const QNativeSocketEngine); | - |
537 | return d->socketDescriptor;executed 4142 times by 28 tests: return d->socketDescriptor; 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_platformsocketengine - 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
- ...
| 4142 |
538 | } | - |
539 | | - |
540 | | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | | - |
546 | | - |
547 | | - |
548 | | - |
549 | | - |
550 | | - |
551 | | - |
552 | | - |
553 | | - |
554 | | - |
555 | | - |
556 | | - |
557 | | - |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | bool QNativeSocketEngine::connectToHost(const QHostAddress &address, quint16 port) | - |
563 | { | - |
564 | Q_D(QNativeSocketEngine); | - |
565 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::connectToHost(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 7477 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_platformsocketengine - 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
- ...
|
| 0-7477 |
566 | | - |
567 | if (!d->checkProxy(address))TRUE | never evaluated | FALSE | evaluated 7477 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_platformsocketengine - 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
- ...
|
| 0-7477 |
568 | return false; never executed: return false; | 0 |
569 | | - |
570 | Q_CHECK_STATES3(QNativeSocketEngine::connectToHost(), QAbstractSocket::BoundState,executed 2 times by 1 test: return (false); Executed by:- tst_qtcpsocket - unknown status
TRUE | evaluated 7450 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_platformsocketengine - 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
- ...
| FALSE | evaluated 27 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 3630 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_platformsocketengine - 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
- ...
| FALSE | evaluated 3820 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_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 3628 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_platformsocketengine - 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
- ...
|
| 2-7450 |
571 | QAbstractSocket::UnconnectedState, QAbstractSocket::ConnectingState, false); | - |
572 | | - |
573 | d->peerAddress = address; | - |
574 | d->peerPort = port; | - |
575 | bool connected = d->nativeConnect(d->adjustAddressProtocol(address), port); | - |
576 | if (connected)TRUE | evaluated 3313 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_platformsocketengine - 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
- ...
| FALSE | evaluated 4162 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_platformsocketengine - 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
- ...
|
| 3313-4162 |
577 | d->fetchConnectionParameters();executed 3313 times by 28 tests: d->fetchConnectionParameters(); 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_platformsocketengine - 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
- ...
| 3313 |
578 | | - |
579 | return connected;executed 7475 times by 28 tests: return connected; 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_platformsocketengine - 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
- ...
| 7475 |
580 | } | - |
581 | | - |
582 | | - |
583 | | - |
584 | | - |
585 | | - |
586 | void QNativeSocketEngine::connectionNotification() | - |
587 | { | - |
588 | Q_D(QNativeSocketEngine); | - |
589 | Q_ASSERT(state() == QAbstractSocket::ConnectingState); | - |
590 | | - |
591 | connectToHost(d->peerAddress, d->peerPort); | - |
592 | if (state() != QAbstractSocket::ConnectingState) {TRUE | evaluated 2553 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 | never evaluated |
| 0-2553 |
593 | | - |
594 | QAbstractSocketEngine::connectionNotification(); | - |
595 | }executed 2553 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
| 2553 |
596 | }executed 2553 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
| 2553 |
597 | | - |
598 | | - |
599 | | - |
600 | | - |
601 | | - |
602 | | - |
603 | | - |
604 | | - |
605 | | - |
606 | bool QNativeSocketEngine::connectToHostByName(const QString &name, quint16 port) | - |
607 | { | - |
608 | Q_UNUSED(name); | - |
609 | Q_UNUSED(port); | - |
610 | Q_D(QNativeSocketEngine); | - |
611 | d->setError(QAbstractSocket::UnsupportedSocketOperationError, | - |
612 | QNativeSocketEnginePrivate::OperationUnsupportedErrorString); | - |
613 | return false; never executed: return false; | 0 |
614 | } | - |
615 | | - |
616 | | - |
617 | | - |
618 | | - |
619 | | - |
620 | | - |
621 | | - |
622 | | - |
623 | | - |
624 | | - |
625 | bool QNativeSocketEngine::bind(const QHostAddress &address, quint16 port) | - |
626 | { | - |
627 | Q_D(QNativeSocketEngine); | - |
628 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::bind(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 954 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-954 |
629 | | - |
630 | if (!d->checkProxy(address))TRUE | never evaluated | FALSE | evaluated 954 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-954 |
631 | return false; never executed: return false; | 0 |
632 | | - |
633 | Q_CHECK_STATE(QNativeSocketEngine::bind(), QAbstractSocket::UnconnectedState, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 954 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-954 |
634 | | - |
635 | if (!d->nativeBind(d->adjustAddressProtocol(address), port))TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qtcpsocket - unknown status
| FALSE | evaluated 930 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 24-930 |
636 | return false;executed 24 times by 4 tests: return false; Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qtcpsocket - unknown status
| 24 |
637 | | - |
638 | d->fetchConnectionParameters(); | - |
639 | return true;executed 930 times by 20 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 930 |
640 | } | - |
641 | | - |
642 | | - |
643 | | - |
644 | | - |
645 | | - |
646 | | - |
647 | | - |
648 | | - |
649 | | - |
650 | | - |
651 | | - |
652 | | - |
653 | | - |
654 | | - |
655 | | - |
656 | | - |
657 | bool QNativeSocketEngine::listen() | - |
658 | { | - |
659 | Q_D(QNativeSocketEngine); | - |
660 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::listen(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 738 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-738 |
661 | Q_CHECK_STATE(QNativeSocketEngine::listen(), QAbstractSocket::BoundState, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 738 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-738 |
662 | Q_CHECK_TYPE(QNativeSocketEngine::listen(), QAbstractSocket::TcpSocket, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 738 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-738 |
663 | | - |
664 | | - |
665 | | - |
666 | | - |
667 | | - |
668 | return d->nativeListen(50);executed 738 times by 19 tests: return d->nativeListen(50); Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 738 |
669 | } | - |
670 | | - |
671 | | - |
672 | | - |
673 | | - |
674 | | - |
675 | | - |
676 | | - |
677 | | - |
678 | int QNativeSocketEngine::accept() | - |
679 | { | - |
680 | Q_D(QNativeSocketEngine); | - |
681 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::accept(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 1623 times by 17 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-1623 |
682 | Q_CHECK_STATE(QNativeSocketEngine::accept(), QAbstractSocket::ListeningState, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 1623 times by 17 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-1623 |
683 | Q_CHECK_TYPE(QNativeSocketEngine::accept(), QAbstractSocket::TcpSocket, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 1623 times by 17 testsEvaluated by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-1623 |
684 | | - |
685 | return d->nativeAccept();executed 1623 times by 17 tests: return d->nativeAccept(); Executed by:- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- 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_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1623 |
686 | } | - |
687 | | - |
688 | | - |
689 | | - |
690 | | - |
691 | | - |
692 | | - |
693 | | - |
694 | | - |
695 | | - |
696 | qint64 QNativeSocketEngine::bytesAvailable() const | - |
697 | { | - |
698 | Q_D(const QNativeSocketEngine); | - |
699 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::bytesAvailable(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 74695 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - 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
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 0-74695 |
700 | Q_CHECK_NOT_STATE(QNativeSocketEngine::bytesAvailable(), QAbstractSocket::UnconnectedState, -1);executed 1 time by 1 test: return (-1); Executed by:- tst_platformsocketengine - unknown status
TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | evaluated 74694 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - 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
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 1-74694 |
701 | | - |
702 | return d->nativeBytesAvailable();executed 74694 times by 29 tests: return d->nativeBytesAvailable(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - 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
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 74694 |
703 | } | - |
704 | | - |
705 | #ifndef QT_NO_UDPSOCKET | - |
706 | #ifndef QT_NO_NETWORKINTERFACE | - |
707 | | - |
708 | | - |
709 | | - |
710 | | - |
711 | bool QNativeSocketEngine::joinMulticastGroup(const QHostAddress &groupAddress, | - |
712 | const QNetworkInterface &iface) | - |
713 | { | - |
714 | Q_D(QNativeSocketEngine); | - |
715 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::joinMulticastGroup(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
716 | Q_CHECK_STATE(QNativeSocketEngine::joinMulticastGroup(), QAbstractSocket::BoundState, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
717 | Q_CHECK_TYPE(QNativeSocketEngine::joinMulticastGroup(), QAbstractSocket::UdpSocket, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 9 times by 1 test |
| 0-9 |
718 | | - |
719 | | - |
720 | | - |
721 | | - |
722 | | - |
723 | if (groupAddress.protocol() == QAbstractSocket::IPv4Protocol &&TRUE | evaluated 5 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-5 |
724 | (d->socketProtocol == QAbstractSocket::IPv6Protocol ||TRUE | never evaluated | FALSE | evaluated 5 times by 1 test |
| 0-5 |
725 | d->socketProtocol == QAbstractSocket::AnyIPProtocol)) {TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
| 1-4 |
726 | qWarning("QAbstractSocket: cannot bind to QHostAddress::Any (or an IPv6 address) and join an IPv4 multicast group;" | - |
727 | " bind to QHostAddress::AnyIPv4 instead if you want to do this"); | - |
728 | return false;executed 1 time by 1 test: return false; | 1 |
729 | } | - |
730 | | - |
731 | return d->nativeJoinMulticastGroup(groupAddress, iface);executed 8 times by 1 test: return d->nativeJoinMulticastGroup(groupAddress, iface); | 8 |
732 | } | - |
733 | | - |
734 | | - |
735 | | - |
736 | | - |
737 | bool QNativeSocketEngine::leaveMulticastGroup(const QHostAddress &groupAddress, | - |
738 | const QNetworkInterface &iface) | - |
739 | { | - |
740 | Q_D(QNativeSocketEngine); | - |
741 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::leaveMulticastGroup(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
742 | Q_CHECK_STATE(QNativeSocketEngine::leaveMulticastGroup(), QAbstractSocket::BoundState, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
743 | Q_CHECK_TYPE(QNativeSocketEngine::leaveMulticastGroup(), QAbstractSocket::UdpSocket, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
744 | return d->nativeLeaveMulticastGroup(groupAddress, iface);executed 4 times by 1 test: return d->nativeLeaveMulticastGroup(groupAddress, iface); | 4 |
745 | } | - |
746 | | - |
747 | | - |
748 | QNetworkInterface QNativeSocketEngine::multicastInterface() const | - |
749 | { | - |
750 | Q_D(const QNativeSocketEngine); | - |
751 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::multicastInterface(), QNetworkInterface()); never executed: return QNetworkInterface(); TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
752 | Q_CHECK_TYPE(QNativeSocketEngine::multicastInterface(), QAbstractSocket::UdpSocket, QNetworkInterface()); never executed: return (QNetworkInterface()); TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
753 | return d->nativeMulticastInterface();executed 6 times by 1 test: return d->nativeMulticastInterface(); | 6 |
754 | } | - |
755 | | - |
756 | | - |
757 | bool QNativeSocketEngine::setMulticastInterface(const QNetworkInterface &iface) | - |
758 | { | - |
759 | Q_D(QNativeSocketEngine); | - |
760 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::setMulticastInterface(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
761 | Q_CHECK_TYPE(QNativeSocketEngine::setMulticastInterface(), QAbstractSocket::UdpSocket, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
762 | return d->nativeSetMulticastInterface(iface);executed 6 times by 1 test: return d->nativeSetMulticastInterface(iface); | 6 |
763 | } | - |
764 | | - |
765 | #endif // QT_NO_NETWORKINTERFACE | - |
766 | | - |
767 | | - |
768 | | - |
769 | | - |
770 | | - |
771 | | - |
772 | bool QNativeSocketEngine::hasPendingDatagrams() const | - |
773 | { | - |
774 | Q_D(const QNativeSocketEngine); | - |
775 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::hasPendingDatagrams(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 1079079 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 0-1079079 |
776 | Q_CHECK_NOT_STATE(QNativeSocketEngine::hasPendingDatagrams(), QAbstractSocket::UnconnectedState, false);executed 1 time by 1 test: return (false); Executed by:- tst_platformsocketengine - unknown status
TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | evaluated 1079078 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 1-1079078 |
777 | Q_CHECK_TYPE(QNativeSocketEngine::hasPendingDatagrams(), QAbstractSocket::UdpSocket, false); never executed: return (false); TRUE | never evaluated | FALSE | evaluated 1079078 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 0-1079078 |
778 | | - |
779 | return d->nativeHasPendingDatagrams();executed 1079078 times by 3 tests: return d->nativeHasPendingDatagrams(); Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
| 1079078 |
780 | } | - |
781 | | - |
782 | | - |
783 | | - |
784 | | - |
785 | | - |
786 | | - |
787 | | - |
788 | qint64 QNativeSocketEngine::pendingDatagramSize() const | - |
789 | { | - |
790 | Q_D(const QNativeSocketEngine); | - |
791 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::pendingDatagramSize(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 595 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 0-595 |
792 | Q_CHECK_TYPE(QNativeSocketEngine::pendingDatagramSize(), QAbstractSocket::UdpSocket, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 595 times by 3 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 0-595 |
793 | | - |
794 | return d->nativePendingDatagramSize();executed 595 times by 3 tests: return d->nativePendingDatagramSize(); Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
| 595 |
795 | } | - |
796 | | - |
797 | | - |
798 | | - |
799 | | - |
800 | | - |
801 | | - |
802 | | - |
803 | | - |
804 | | - |
805 | | - |
806 | | - |
807 | | - |
808 | | - |
809 | | - |
810 | | - |
811 | qint64 QNativeSocketEngine::readDatagram(char *data, qint64 maxSize, QIpPacketHeader *header, | - |
812 | PacketHeaderOptions options) | - |
813 | { | - |
814 | Q_D(QNativeSocketEngine); | - |
815 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::readDatagram(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 854216 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-854216 |
816 | Q_CHECK_TYPE(QNativeSocketEngine::readDatagram(), QAbstractSocket::UdpSocket, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 854216 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-854216 |
817 | | - |
818 | return d->nativeReceiveDatagram(data, maxSize, header, options);executed 854216 times by 4 tests: return d->nativeReceiveDatagram(data, maxSize, header, options); Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| 854216 |
819 | } | - |
820 | | - |
821 | | - |
822 | | - |
823 | | - |
824 | | - |
825 | | - |
826 | | - |
827 | | - |
828 | | - |
829 | | - |
830 | | - |
831 | | - |
832 | | - |
833 | | - |
834 | | - |
835 | | - |
836 | | - |
837 | | - |
838 | | - |
839 | | - |
840 | | - |
841 | | - |
842 | | - |
843 | qint64 QNativeSocketEngine::writeDatagram(const char *data, qint64 size, const QIpPacketHeader &header) | - |
844 | { | - |
845 | Q_D(QNativeSocketEngine); | - |
846 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::writeDatagram(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 637 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 0-637 |
847 | Q_CHECK_TYPE(QNativeSocketEngine::writeDatagram(), QAbstractSocket::UdpSocket, -1);executed 1 time by 1 test: return (-1); Executed by:- tst_platformsocketengine - unknown status
TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | evaluated 636 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
|
| 1-636 |
848 | | - |
849 | return d->nativeSendDatagram(data, size, header);executed 636 times by 4 tests: return d->nativeSendDatagram(data, size, header); Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
| 636 |
850 | } | - |
851 | #endif // QT_NO_UDPSOCKET | - |
852 | | - |
853 | | - |
854 | | - |
855 | | - |
856 | | - |
857 | | - |
858 | | - |
859 | | - |
860 | | - |
861 | qint64 QNativeSocketEngine::write(const char *data, qint64 size) | - |
862 | { | - |
863 | Q_D(QNativeSocketEngine); | - |
864 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::write(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 913144 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
| 0-913144 |
865 | Q_CHECK_STATE(QNativeSocketEngine::write(), QAbstractSocket::ConnectedState, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 913144 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
|
| 0-913144 |
866 | return d->nativeWrite(data, size);executed 913144 times by 27 tests: return d->nativeWrite(data, size); 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| 913144 |
867 | } | - |
868 | | - |
869 | | - |
870 | qint64 QNativeSocketEngine::bytesToWrite() const | - |
871 | { | - |
872 | return 0;executed 35693 times by 28 tests: return 0; 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
- ...
| 35693 |
873 | } | - |
874 | | - |
875 | | - |
876 | | - |
877 | | - |
878 | | - |
879 | qint64 QNativeSocketEngine::read(char *data, qint64 maxSize) | - |
880 | { | - |
881 | Q_D(QNativeSocketEngine); | - |
882 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::read(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 193247 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - 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
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
| 0-193247 |
883 | Q_CHECK_STATES(QNativeSocketEngine::read(), QAbstractSocket::ConnectedState, QAbstractSocket::BoundState, -1); never executed: return (-1); TRUE | never evaluated | FALSE | evaluated 193247 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - 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
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-193247 |
884 | | - |
885 | qint64 readBytes = d->nativeRead(data, maxSize); | - |
886 | | - |
887 | | - |
888 | if (readBytes == 0 && d->socketType == QAbstractSocket::TcpSocket) {TRUE | evaluated 1334 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- 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 191913 times by 27 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
TRUE | evaluated 1334 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- 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 | never evaluated |
| 0-191913 |
889 | d->setError(QAbstractSocket::RemoteHostClosedError, | - |
890 | QNativeSocketEnginePrivate::RemoteHostClosedErrorString); | - |
891 | close(); | - |
892 | return -1;executed 1334 times by 16 tests: return -1; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- 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
| 1334 |
893 | } else if (readBytes == -1) {TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | evaluated 191912 times by 27 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 1-191912 |
894 | if (!d->hasSetSocketError) {TRUE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
| FALSE | never evaluated |
| 0-1 |
895 | d->hasSetSocketError = true; | - |
896 | d->socketError = QAbstractSocket::NetworkError; | - |
897 | d->socketErrorString = qt_error_string(); | - |
898 | }executed 1 time by 1 test: end of block Executed by:- tst_platformsocketengine - unknown status
| 1 |
899 | close(); | - |
900 | return -1;executed 1 time by 1 test: return -1; Executed by:- tst_platformsocketengine - unknown status
| 1 |
901 | } | - |
902 | return readBytes;executed 191912 times by 27 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_platformsocketengine - 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_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| 191912 |
903 | } | - |
904 | | - |
905 | | - |
906 | | - |
907 | | - |
908 | | - |
909 | void QNativeSocketEngine::close() | - |
910 | { | - |
911 | Q_D(QNativeSocketEngine); | - |
912 | if (d->readNotifier)TRUE | evaluated 5137 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
- ...
| FALSE | evaluated 73055 times by 32 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_platformsocketengine - 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
- ...
|
| 5137-73055 |
913 | d->readNotifier->setEnabled(false);executed 5137 times by 31 tests: d->readNotifier->setEnabled(false); 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
- ...
| 5137 |
914 | if (d->writeNotifier)TRUE | evaluated 4264 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 73928 times by 32 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_platformsocketengine - 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
- ...
|
| 4264-73928 |
915 | d->writeNotifier->setEnabled(false);executed 4264 times by 29 tests: d->writeNotifier->setEnabled(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
- ...
| 4264 |
916 | if (d->exceptNotifier)TRUE | never evaluated | FALSE | evaluated 78192 times by 32 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_platformsocketengine - 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
- ...
|
| 0-78192 |
917 | d->exceptNotifier->setEnabled(false); never executed: d->exceptNotifier->setEnabled(false); | 0 |
918 | | - |
919 | if(d->socketDescriptor != -1) {TRUE | evaluated 71285 times by 32 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_platformsocketengine - 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
- ...
| FALSE | evaluated 6907 times by 32 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_platformsocketengine - 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
- ...
|
| 6907-71285 |
920 | d->nativeClose(); | - |
921 | d->socketDescriptor = -1; | - |
922 | }executed 71284 times by 32 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_platformsocketengine - 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
- ...
| 71284 |
923 | d->socketState = QAbstractSocket::UnconnectedState; | - |
924 | d->hasSetSocketError = false; | - |
925 | d->localPort = 0; | - |
926 | d->localAddress.clear(); | - |
927 | d->peerPort = 0; | - |
928 | d->peerAddress.clear(); | - |
929 | d->inboundStreamCount = d->outboundStreamCount = 0; | - |
930 | if (d->readNotifier) {TRUE | evaluated 5136 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
- ...
| FALSE | evaluated 73055 times by 32 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_platformsocketengine - 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
- ...
|
| 5136-73055 |
931 | qDeleteInEventHandler(d->readNotifier); | - |
932 | d->readNotifier = 0; | - |
933 | }executed 5136 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
- ...
| 5136 |
934 | if (d->writeNotifier) {TRUE | evaluated 4263 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 73928 times by 32 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_platformsocketengine - 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
- ...
|
| 4263-73928 |
935 | qDeleteInEventHandler(d->writeNotifier); | - |
936 | d->writeNotifier = 0; | - |
937 | }executed 4263 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_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
- ...
| 4263 |
938 | if (d->exceptNotifier) {TRUE | never evaluated | FALSE | evaluated 78191 times by 32 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_platformsocketengine - 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
- ...
|
| 0-78191 |
939 | qDeleteInEventHandler(d->exceptNotifier); | - |
940 | d->exceptNotifier = 0; | - |
941 | } never executed: end of block | 0 |
942 | }executed 78191 times by 32 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_platformsocketengine - 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
- ...
| 78191 |
943 | | - |
944 | | - |
945 | | - |
946 | | - |
947 | | - |
948 | | - |
949 | | - |
950 | | - |
951 | | - |
952 | | - |
953 | | - |
954 | | - |
955 | | - |
956 | | - |
957 | | - |
958 | | - |
959 | bool QNativeSocketEngine::waitForRead(int msecs, bool *timedOut) | - |
960 | { | - |
961 | Q_D(const QNativeSocketEngine); | - |
962 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::waitForRead(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 261321 times by 8 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-261321 |
963 | Q_CHECK_NOT_STATE(QNativeSocketEngine::waitForRead(), never executed: return (false); TRUE | never evaluated | FALSE | evaluated 261321 times by 8 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-261321 |
964 | QAbstractSocket::UnconnectedState, false); | - |
965 | | - |
966 | if (timedOut)TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_qtcpsocket - unknown status
| FALSE | evaluated 261307 times by 8 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 14-261307 |
967 | *timedOut = false;executed 14 times by 2 tests: *timedOut = false; Executed by:- tst_QTcpServer
- tst_qtcpsocket - unknown status
| 14 |
968 | | - |
969 | int ret = d->nativeSelect(msecs, true); | - |
970 | if (ret == 0) {TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_qxmlsimplereader - unknown status
| FALSE | evaluated 261287 times by 8 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 34-261287 |
971 | if (timedOut)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 33 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_qxmlsimplereader - unknown status
|
| 1-33 |
972 | *timedOut = true;executed 1 time by 1 test: *timedOut = true; | 1 |
973 | d->setError(QAbstractSocket::SocketTimeoutError, | - |
974 | QNativeSocketEnginePrivate::TimeOutErrorString); | - |
975 | d->hasSetSocketError = false; | - |
976 | return false;executed 34 times by 2 tests: return false; Executed by:- tst_QTcpServer
- tst_qxmlsimplereader - unknown status
| 34 |
977 | } else if (state() == QAbstractSocket::ConnectingState) {TRUE | never evaluated | FALSE | evaluated 261287 times by 8 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-261287 |
978 | connectToHost(d->peerAddress, d->peerPort); | - |
979 | } never executed: end of block | 0 |
980 | | - |
981 | return ret > 0;executed 261287 times by 8 tests: return ret > 0; Executed by:- tst_QNetworkReply
- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 261287 |
982 | } | - |
983 | | - |
984 | | - |
985 | | - |
986 | | - |
987 | | - |
988 | | - |
989 | | - |
990 | | - |
991 | | - |
992 | | - |
993 | | - |
994 | | - |
995 | | - |
996 | | - |
997 | | - |
998 | | - |
999 | bool QNativeSocketEngine::waitForWrite(int msecs, bool *timedOut) | - |
1000 | { | - |
1001 | Q_D(QNativeSocketEngine); | - |
1002 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::waitForWrite(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 1079 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
|
| 0-1079 |
1003 | Q_CHECK_NOT_STATE(QNativeSocketEngine::waitForWrite(), never executed: return (false); TRUE | never evaluated | FALSE | evaluated 1079 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
|
| 0-1079 |
1004 | QAbstractSocket::UnconnectedState, false); | - |
1005 | | - |
1006 | if (timedOut)TRUE | evaluated 1072 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 7 times by 2 testsEvaluated by:- tst_platformsocketengine - unknown status
- tst_qsocketnotifier - unknown status
|
| 7-1072 |
1007 | *timedOut = false;executed 1072 times by 18 tests: *timedOut = false; 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
| 1072 |
1008 | | - |
1009 | int ret = d->nativeSelect(msecs, false); | - |
1010 | | - |
1011 | | - |
1012 | | - |
1013 | #if defined (Q_OS_WIN) | - |
1014 | if (ret > 0) { | - |
1015 | setState(QAbstractSocket::ConnectedState); | - |
1016 | d_func()->fetchConnectionParameters(); | - |
1017 | return true; | - |
1018 | } else { | - |
1019 | int value = 0; | - |
1020 | int valueSize = sizeof(value); | - |
1021 | if (::getsockopt(d->socketDescriptor, SOL_SOCKET, SO_ERROR, (char *) &value, &valueSize) == 0) { | - |
1022 | if (value == WSAECONNREFUSED) { | - |
1023 | d->setError(QAbstractSocket::ConnectionRefusedError, QNativeSocketEnginePrivate::ConnectionRefusedErrorString); | - |
1024 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1025 | return false; | - |
1026 | } else if (value == WSAETIMEDOUT) { | - |
1027 | d->setError(QAbstractSocket::NetworkError, QNativeSocketEnginePrivate::ConnectionTimeOutErrorString); | - |
1028 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1029 | return false; | - |
1030 | } else if (value == WSAEHOSTUNREACH) { | - |
1031 | d->setError(QAbstractSocket::NetworkError, QNativeSocketEnginePrivate::HostUnreachableErrorString); | - |
1032 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1033 | return false; | - |
1034 | } | - |
1035 | } | - |
1036 | } | - |
1037 | #endif | - |
1038 | | - |
1039 | if (ret == 0) {TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | evaluated 1075 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
|
| 4-1075 |
1040 | if (timedOut)TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
| FALSE | never evaluated |
| 0-4 |
1041 | *timedOut = true;executed 4 times by 1 test: *timedOut = true; Executed by:- tst_qtcpsocket - unknown status
| 4 |
1042 | d->setError(QAbstractSocket::SocketTimeoutError, | - |
1043 | QNativeSocketEnginePrivate::TimeOutErrorString); | - |
1044 | d->hasSetSocketError = false; | - |
1045 | return false;executed 4 times by 1 test: return false; Executed by:- tst_qtcpsocket - unknown status
| 4 |
1046 | } else if (state() == QAbstractSocket::ConnectingState || (state() == QAbstractSocket::BoundState && d->socketDescriptor != -1)) {TRUE | evaluated 1075 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-1075 |
1047 | connectToHost(d->peerAddress, d->peerPort); | - |
1048 | }executed 1075 times by 20 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
| 1075 |
1049 | | - |
1050 | return ret > 0;executed 1075 times by 20 tests: return ret > 0; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- 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
- tst_qxmlsimplereader - unknown status
| 1075 |
1051 | } | - |
1052 | | - |
1053 | bool QNativeSocketEngine::waitForReadOrWrite(bool *readyToRead, bool *readyToWrite, | - |
1054 | bool checkRead, bool checkWrite, | - |
1055 | int msecs, bool *timedOut) | - |
1056 | { | - |
1057 | Q_D(QNativeSocketEngine); | - |
1058 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::waitForWrite(), false); never executed: return false; TRUE | never evaluated | FALSE | evaluated 14688 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- 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
- tst_qxmlsimplereader - unknown status
|
| 0-14688 |
1059 | Q_CHECK_NOT_STATE(QNativeSocketEngine::waitForReadOrWrite(), never executed: return (false); TRUE | never evaluated | FALSE | evaluated 14688 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- 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
- tst_qxmlsimplereader - unknown status
|
| 0-14688 |
1060 | QAbstractSocket::UnconnectedState, false); | - |
1061 | | - |
1062 | int ret = d->nativeSelect(msecs, checkRead, checkWrite, readyToRead, readyToWrite); | - |
1063 | | - |
1064 | | - |
1065 | | - |
1066 | #if defined (Q_OS_WIN) | - |
1067 | if (checkWrite && ((readyToWrite && *readyToWrite) || !readyToWrite) && ret > 0) { | - |
1068 | setState(QAbstractSocket::ConnectedState); | - |
1069 | d_func()->fetchConnectionParameters(); | - |
1070 | return true; | - |
1071 | } else { | - |
1072 | int value = 0; | - |
1073 | int valueSize = sizeof(value); | - |
1074 | if (::getsockopt(d->socketDescriptor, SOL_SOCKET, SO_ERROR, (char *) &value, &valueSize) == 0) { | - |
1075 | if (value == WSAECONNREFUSED) { | - |
1076 | d->setError(QAbstractSocket::ConnectionRefusedError, QNativeSocketEnginePrivate::ConnectionRefusedErrorString); | - |
1077 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1078 | return false; | - |
1079 | } else if (value == WSAETIMEDOUT) { | - |
1080 | d->setError(QAbstractSocket::NetworkError, QNativeSocketEnginePrivate::ConnectionTimeOutErrorString); | - |
1081 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1082 | return false; | - |
1083 | } else if (value == WSAEHOSTUNREACH) { | - |
1084 | d->setError(QAbstractSocket::NetworkError, QNativeSocketEnginePrivate::HostUnreachableErrorString); | - |
1085 | d->socketState = QAbstractSocket::UnconnectedState; | - |
1086 | return false; | - |
1087 | } | - |
1088 | } | - |
1089 | } | - |
1090 | #endif | - |
1091 | if (ret == 0) {TRUE | evaluated 100 times by 9 testsEvaluated by:- tst_QNetworkReply
- 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 14588 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- 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
- tst_qxmlsimplereader - unknown status
|
| 100-14588 |
1092 | if (timedOut)TRUE | never evaluated | FALSE | evaluated 100 times by 9 testsEvaluated by:- tst_QNetworkReply
- 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-100 |
1093 | *timedOut = true; never executed: *timedOut = true; | 0 |
1094 | d->setError(QAbstractSocket::SocketTimeoutError, | - |
1095 | QNativeSocketEnginePrivate::TimeOutErrorString); | - |
1096 | d->hasSetSocketError = false; | - |
1097 | return false;executed 100 times by 9 tests: return false; Executed by:- tst_QNetworkReply
- 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
| 100 |
1098 | } else if (state() == QAbstractSocket::ConnectingState) {TRUE | never evaluated | FALSE | evaluated 14588 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- 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
- tst_qxmlsimplereader - unknown status
|
| 0-14588 |
1099 | connectToHost(d->peerAddress, d->peerPort); | - |
1100 | } never executed: end of block | 0 |
1101 | | - |
1102 | return ret > 0;executed 14588 times by 21 tests: return ret > 0; Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- 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
- tst_qxmlsimplereader - unknown status
| 14588 |
1103 | } | - |
1104 | | - |
1105 | | - |
1106 | | - |
1107 | | - |
1108 | | - |
1109 | | - |
1110 | | - |
1111 | qint64 QNativeSocketEngine::receiveBufferSize() const | - |
1112 | { | - |
1113 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::receiveBufferSize(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_platformsocketengine - unknown status
|
| 0-2 |
1114 | return option(ReceiveBufferSocketOption);executed 2 times by 1 test: return option(ReceiveBufferSocketOption); Executed by:- tst_platformsocketengine - unknown status
| 2 |
1115 | } | - |
1116 | | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | | - |
1125 | | - |
1126 | | - |
1127 | | - |
1128 | | - |
1129 | | - |
1130 | | - |
1131 | | - |
1132 | void QNativeSocketEngine::setReceiveBufferSize(qint64 size) | - |
1133 | { | - |
1134 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::setReceiveBufferSize(), Q_VOID); never executed: return ; TRUE | never evaluated | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
|
| 0-1 |
1135 | setOption(ReceiveBufferSocketOption, size); | - |
1136 | }executed 1 time by 1 test: end of block Executed by:- tst_platformsocketengine - unknown status
| 1 |
1137 | | - |
1138 | | - |
1139 | | - |
1140 | | - |
1141 | | - |
1142 | | - |
1143 | qint64 QNativeSocketEngine::sendBufferSize() const | - |
1144 | { | - |
1145 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::setSendBufferSize(), -1); never executed: return -1; TRUE | never evaluated | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_platformsocketengine - unknown status
|
| 0-2 |
1146 | return option(SendBufferSocketOption);executed 2 times by 1 test: return option(SendBufferSocketOption); Executed by:- tst_platformsocketengine - unknown status
| 2 |
1147 | } | - |
1148 | | - |
1149 | | - |
1150 | | - |
1151 | | - |
1152 | | - |
1153 | | - |
1154 | | - |
1155 | | - |
1156 | | - |
1157 | | - |
1158 | void QNativeSocketEngine::setSendBufferSize(qint64 size) | - |
1159 | { | - |
1160 | Q_CHECK_VALID_SOCKETLAYER(QNativeSocketEngine::setSendBufferSize(), Q_VOID); never executed: return ; TRUE | never evaluated | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_platformsocketengine - unknown status
|
| 0-1 |
1161 | setOption(SendBufferSocketOption, size); | - |
1162 | }executed 1 time by 1 test: end of block Executed by:- tst_platformsocketengine - unknown status
| 1 |
1163 | | - |
1164 | | - |
1165 | | - |
1166 | | - |
1167 | | - |
1168 | bool QNativeSocketEngine::setOption(SocketOption option, int value) | - |
1169 | { | - |
1170 | Q_D(QNativeSocketEngine); | - |
1171 | return d->setOption(option, value);executed 73774 times by 31 tests: return d->setOption(option, value); 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_platformsocketengine - 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
- ...
| 73774 |
1172 | } | - |
1173 | | - |
1174 | | - |
1175 | | - |
1176 | | - |
1177 | int QNativeSocketEngine::option(SocketOption socketOption) const | - |
1178 | { | - |
1179 | Q_D(const QNativeSocketEngine); | - |
1180 | return d->option(socketOption);executed 41 times by 3 tests: return d->option(socketOption); Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qtcpsocket - unknown status
| 41 |
1181 | } | - |
1182 | | - |
1183 | bool QNativeSocketEngine::isReadNotificationEnabled() const | - |
1184 | { | - |
1185 | Q_D(const QNativeSocketEngine); | - |
1186 | return d->readNotifier && d->readNotifier->isEnabled();executed 167173 times by 27 tests: return d->readNotifier && d->readNotifier->isEnabled(); 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_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
- ...
| 167173 |
1187 | } | - |
1188 | | - |
1189 | | - |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | | - |
1195 | | - |
1196 | | - |
1197 | class QReadNotifier : public QSocketNotifier | - |
1198 | { | - |
1199 | public: | - |
1200 | QReadNotifier(qintptr fd, QNativeSocketEngine *parent) | - |
1201 | : QSocketNotifier(fd, QSocketNotifier::Read, parent) | - |
1202 | { engine = parent; }executed 5141 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_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
- ...
| 5141 |
1203 | | - |
1204 | protected: | - |
1205 | bool event(QEvent *); | - |
1206 | | - |
1207 | QNativeSocketEngine *engine; | - |
1208 | }; | - |
1209 | | - |
1210 | bool QReadNotifier::event(QEvent *e) | - |
1211 | { | - |
1212 | if (e->type() == QEvent::SockAct) {TRUE | evaluated 23099 times by 21 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_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
| FALSE | evaluated 28 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qobject - unknown status
- tst_qtcpsocket - unknown status
|
| 28-23099 |
1213 | engine->readNotification(); | - |
1214 | return true;executed 23098 times by 21 tests: return true; Executed 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_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
| 23098 |
1215 | } else if (e->type() == QEvent::SockClose) {TRUE | never evaluated | FALSE | evaluated 28 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_qobject - unknown status
- tst_qtcpsocket - unknown status
|
| 0-28 |
1216 | engine->closeNotification(); | - |
1217 | return true; never executed: return true; | 0 |
1218 | } | - |
1219 | return QSocketNotifier::event(e);executed 28 times by 3 tests: return QSocketNotifier::event(e); Executed by:- tst_QNetworkReply
- tst_qobject - unknown status
- tst_qtcpsocket - unknown status
| 28 |
1220 | } | - |
1221 | | - |
1222 | | - |
1223 | | - |
1224 | | - |
1225 | | - |
1226 | | - |
1227 | | - |
1228 | | - |
1229 | | - |
1230 | class QWriteNotifier : public QSocketNotifier | - |
1231 | { | - |
1232 | public: | - |
1233 | QWriteNotifier(int fd, QNativeSocketEngine *parent) | - |
1234 | : QSocketNotifier(fd, QSocketNotifier::Write, parent) { engine = parent; }executed 4268 times by 28 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_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
- ...
| 4268 |
1235 | | - |
1236 | protected: | - |
1237 | bool event(QEvent *); | - |
1238 | | - |
1239 | QNativeSocketEngine *engine; | - |
1240 | }; | - |
1241 | | - |
1242 | bool QWriteNotifier::event(QEvent *e) | - |
1243 | { | - |
1244 | if (e->type() == QEvent::SockAct) {TRUE | evaluated 13073 times by 21 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_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
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qobject - unknown status
- tst_qtcpsocket - unknown status
|
| 12-13073 |
1245 | if (engine->state() == QAbstractSocket::ConnectingState)TRUE | evaluated 2553 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 10520 times by 20 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_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 2553-10520 |
1246 | engine->connectionNotification();executed 2553 times by 16 tests: engine->connectionNotification(); 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
| 2553 |
1247 | else | - |
1248 | engine->writeNotification();executed 10520 times by 20 tests: engine->writeNotification(); Executed 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_qimagereader - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 10520 |
1249 | return true;executed 13073 times by 21 tests: return true; Executed 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_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
| 13073 |
1250 | } | - |
1251 | return QSocketNotifier::event(e);executed 12 times by 2 tests: return QSocketNotifier::event(e); Executed by:- tst_qobject - unknown status
- tst_qtcpsocket - unknown status
| 12 |
1252 | } | - |
1253 | | - |
1254 | class QExceptionNotifier : public QSocketNotifier | - |
1255 | { | - |
1256 | public: | - |
1257 | QExceptionNotifier(int fd, QNativeSocketEngine *parent) | - |
1258 | : QSocketNotifier(fd, QSocketNotifier::Exception, parent) { engine = parent; } never executed: end of block | 0 |
1259 | | - |
1260 | protected: | - |
1261 | bool event(QEvent *); | - |
1262 | | - |
1263 | QNativeSocketEngine *engine; | - |
1264 | }; | - |
1265 | | - |
1266 | bool QExceptionNotifier::event(QEvent *e) | - |
1267 | { | - |
1268 | if (e->type() == QEvent::SockAct) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1269 | if (engine->state() == QAbstractSocket::ConnectingState)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1270 | engine->connectionNotification(); never executed: engine->connectionNotification(); | 0 |
1271 | else | - |
1272 | engine->exceptionNotification(); never executed: engine->exceptionNotification(); | 0 |
1273 | return true; never executed: return true; | 0 |
1274 | } | - |
1275 | return QSocketNotifier::event(e); never executed: return QSocketNotifier::event(e); | 0 |
1276 | } | - |
1277 | | - |
1278 | void QNativeSocketEngine::setReadNotificationEnabled(bool enable) | - |
1279 | { | - |
1280 | Q_D(QNativeSocketEngine); | - |
1281 | if (d->readNotifier) {TRUE | evaluated 662927 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 5770 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
- ...
|
| 5770-662927 |
1282 | d->readNotifier->setEnabled(enable); | - |
1283 | } else if (enable && d->threadData->hasEventDispatcher()) {executed 662927 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
TRUE | evaluated 5171 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
- ...
| FALSE | evaluated 599 times by 7 testsEvaluated by:- tst_QFtp
- tst_QNetworkReply
- tst_QTcpServer
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
TRUE | evaluated 5141 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
- ...
| FALSE | evaluated 30 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 30-662927 |
1284 | d->readNotifier = new QReadNotifier(d->socketDescriptor, this); | - |
1285 | d->readNotifier->setEnabled(true); | - |
1286 | }executed 5141 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_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
- ...
| 5141 |
1287 | }executed 668697 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
- ...
| 668697 |
1288 | | - |
1289 | bool QNativeSocketEngine::isWriteNotificationEnabled() const | - |
1290 | { | - |
1291 | Q_D(const QNativeSocketEngine); | - |
1292 | return d->writeNotifier && d->writeNotifier->isEnabled();executed 17159 times by 21 tests: return d->writeNotifier && d->writeNotifier->isEnabled(); 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
| 17159 |
1293 | } | - |
1294 | | - |
1295 | void QNativeSocketEngine::setWriteNotificationEnabled(bool enable) | - |
1296 | { | - |
1297 | Q_D(QNativeSocketEngine); | - |
1298 | if (d->writeNotifier) {TRUE | evaluated 58468 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_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 4296 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_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
- ...
|
| 4296-58468 |
1299 | d->writeNotifier->setEnabled(enable); | - |
1300 | } else if (enable && d->threadData->hasEventDispatcher()) {executed 58468 times by 28 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_qlocalsocket - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
TRUE | evaluated 4288 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_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 8 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
TRUE | evaluated 4268 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_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 20 times by 1 testEvaluated by:- tst_qtcpsocket - unknown status
|
| 8-58468 |
1301 | d->writeNotifier = new QWriteNotifier(d->socketDescriptor, this); | - |
1302 | d->writeNotifier->setEnabled(true); | - |
1303 | }executed 4268 times by 28 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_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
- ...
| 4268 |
1304 | }executed 62764 times by 28 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_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
- ...
| 62764 |
1305 | | - |
1306 | bool QNativeSocketEngine::isExceptionNotificationEnabled() const | - |
1307 | { | - |
1308 | Q_D(const QNativeSocketEngine); | - |
1309 | return d->exceptNotifier && d->exceptNotifier->isEnabled();executed 223 times by 4 tests: return d->exceptNotifier && d->exceptNotifier->isEnabled(); Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 223 |
1310 | } | - |
1311 | | - |
1312 | void QNativeSocketEngine::setExceptionNotificationEnabled(bool enable) | - |
1313 | { | - |
1314 | Q_D(QNativeSocketEngine); | - |
1315 | if (d->exceptNotifier) {TRUE | never evaluated | FALSE | evaluated 446 times by 4 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
|
| 0-446 |
1316 | d->exceptNotifier->setEnabled(enable); | - |
1317 | } else if (enable && d->threadData->hasEventDispatcher()) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 446 times by 4 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-446 |
1318 | d->exceptNotifier = new QExceptionNotifier(d->socketDescriptor, this); | - |
1319 | d->exceptNotifier->setEnabled(true); | - |
1320 | } never executed: end of block | 0 |
1321 | }executed 446 times by 4 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_Spdy
- tst_qsslsocket - unknown status
| 446 |
1322 | | - |
1323 | QT_END_NAMESPACE | - |
| | |