Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | static QBasicAtomicPointer<QNetworkConfigurationManagerPrivate> connManager_ptr; | - |
9 | static QBasicAtomicInt appShutdown; | - |
10 | | - |
11 | static void connManager_prepare() | - |
12 | { | - |
13 | int shutdown = appShutdown.fetchAndStoreAcquire(0); | - |
14 | ((!(shutdown == 0 || shutdown == 1)) ? qt_assert("shutdown == 0 || shutdown == 1",__FILE__,61) : qt_noop()); | - |
15 | (void)shutdown;; | - |
16 | }executed 19 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 19 |
17 | | - |
18 | static void connManager_cleanup() | - |
19 | { | - |
20 | | - |
21 | int shutdown = appShutdown.fetchAndStoreAcquire(1); | - |
22 | ((!(shutdown == 0)) ? qt_assert("shutdown == 0",__FILE__,69) : qt_noop()); | - |
23 | (void)shutdown;; | - |
24 | QNetworkConfigurationManagerPrivate *cmp = connManager_ptr.fetchAndStoreAcquire(0); | - |
25 | if (cmpTRUE | evaluated 20 times by 19 testsEvaluated by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| FALSE | never evaluated |
) | 0-20 |
26 | cmp->cleanup();executed 20 times by 19 tests: cmp->cleanup(); Executed by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| 20 |
27 | }executed 20 times by 19 tests: end of block Executed by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| 20 |
28 | | - |
29 | void QNetworkConfigurationManagerPrivate::addPreAndPostRoutine() | - |
30 | { | - |
31 | qAddPreRoutine(connManager_prepare); | - |
32 | qAddPostRoutine(connManager_cleanup); | - |
33 | }executed 18 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 18 |
34 | | - |
35 | QNetworkConfigurationManagerPrivate *qNetworkConfigurationManagerPrivate() | - |
36 | { | - |
37 | QNetworkConfigurationManagerPrivate *ptr = connManager_ptr.loadAcquire(); | - |
38 | int shutdown = appShutdown.loadAcquire(); | - |
39 | if (!ptrTRUE | evaluated 18 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| FALSE | evaluated 1562 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- ...
|
&& !shutdownTRUE | evaluated 18 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| FALSE | never evaluated |
) { | 0-1562 |
40 | static QBasicMutex connManager_mutex; | - |
41 | QMutexLocker locker(&connManager_mutex); | - |
42 | if (!(ptr = connManager_ptr.loadAcquire())TRUE | evaluated 18 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| FALSE | never evaluated |
) { | 0-18 |
43 | ptr = new QNetworkConfigurationManagerPrivate; | - |
44 | | - |
45 | if (QCoreApplicationPrivate::mainThread() == QThread::currentThread()TRUE | evaluated 17 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_QNetworkConfigurationManager
|
) { | 1-17 |
46 | | - |
47 | ptr->addPreAndPostRoutine(); | - |
48 | ptr->initialize(); | - |
49 | }executed 17 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
else { | 17 |
50 | | - |
51 | QObject *obj = new QObject; | - |
52 | QObject::connect(obj, qFlagLocation("2""destroyed()" "\0" __FILE__ ":" "99"), ptr, qFlagLocation("1""addPreAndPostRoutine()" "\0" __FILE__ ":" "99"), Qt::DirectConnection); | - |
53 | ptr->initialize(); | - |
54 | obj->moveToThread(QCoreApplicationPrivate::mainThread()); | - |
55 | obj->deleteLater(); | - |
56 | }executed 1 time by 1 test: end of block Executed by:- tst_QNetworkConfigurationManager
| 1 |
57 | | - |
58 | connManager_ptr.storeRelease(ptr); | - |
59 | }executed 18 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 18 |
60 | }executed 18 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 18 |
61 | returnexecuted 1580 times by 26 tests: return ptr; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- ...
ptr;executed 1580 times by 26 tests: return ptr; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- ...
| 1580 |
62 | } | - |
63 | QNetworkConfigurationManager::QNetworkConfigurationManager(QObject *parent) | - |
64 | : QObject(parent) | - |
65 | { | - |
66 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
67 | | - |
68 | connect(priv, qFlagLocation("2""configurationAdded(QNetworkConfiguration)" "\0" __FILE__ ":" "237"), | - |
69 | this, qFlagLocation("2""configurationAdded(QNetworkConfiguration)" "\0" __FILE__ ":" "238")); | - |
70 | connect(priv, qFlagLocation("2""configurationRemoved(QNetworkConfiguration)" "\0" __FILE__ ":" "239"), | - |
71 | this, qFlagLocation("2""configurationRemoved(QNetworkConfiguration)" "\0" __FILE__ ":" "240")); | - |
72 | connect(priv, qFlagLocation("2""configurationChanged(QNetworkConfiguration)" "\0" __FILE__ ":" "241"), | - |
73 | this, qFlagLocation("2""configurationChanged(QNetworkConfiguration)" "\0" __FILE__ ":" "242")); | - |
74 | connect(priv, qFlagLocation("2""onlineStateChanged(bool)" "\0" __FILE__ ":" "243"), | - |
75 | this, qFlagLocation("2""onlineStateChanged(bool)" "\0" __FILE__ ":" "244")); | - |
76 | connect(priv, qFlagLocation("2""configurationUpdateComplete()" "\0" __FILE__ ":" "245"), | - |
77 | this, qFlagLocation("2""updateCompleted()" "\0" __FILE__ ":" "246")); | - |
78 | | - |
79 | priv->enablePolling(); | - |
80 | }executed 432 times by 19 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 432 |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | QNetworkConfigurationManager::~QNetworkConfigurationManager() | - |
86 | { | - |
87 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
88 | if (privTRUE | evaluated 433 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- tst_spdy - unknown status
| FALSE | never evaluated |
) | 0-433 |
89 | priv->disablePolling();executed 433 times by 22 tests: priv->disablePolling(); Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- tst_spdy - unknown status
| 433 |
90 | }executed 433 times by 22 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qhostinfo - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworksession - unknown status
- tst_qudpsocket - unknown status
- tst_spdy - unknown status
| 433 |
91 | QNetworkConfiguration QNetworkConfigurationManager::defaultConfiguration() const | - |
92 | { | - |
93 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
94 | if (privTRUE | evaluated 301 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| FALSE | never evaluated |
) | 0-301 |
95 | returnexecuted 301 times by 18 tests: return priv->defaultConfiguration(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
priv->defaultConfiguration();executed 301 times by 18 tests: return priv->defaultConfiguration(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
| 301 |
96 | | - |
97 | return never executed: return QNetworkConfiguration(); QNetworkConfiguration();never executed: return QNetworkConfiguration(); | 0 |
98 | } | - |
99 | QList<QNetworkConfiguration> QNetworkConfigurationManager::allConfigurations(QNetworkConfiguration::StateFlags filter) const | - |
100 | { | - |
101 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
102 | if (privTRUE | evaluated 27 times by 4 testsEvaluated by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkSession
| FALSE | never evaluated |
) | 0-27 |
103 | returnexecuted 27 times by 4 tests: return priv->allConfigurations(filter); Executed by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkSession
priv->allConfigurations(filter);executed 27 times by 4 tests: return priv->allConfigurations(filter); Executed by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkSession
| 27 |
104 | | - |
105 | return never executed: return QList<QNetworkConfiguration>(); QList<QNetworkConfiguration>();never executed: return QList<QNetworkConfiguration>(); | 0 |
106 | } | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | QNetworkConfiguration QNetworkConfigurationManager::configurationFromIdentifier(const QString &identifier) const | - |
115 | { | - |
116 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
117 | if (privTRUE | evaluated 120 times by 3 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkConfigurationManager
- tst_QNetworkReply
| FALSE | never evaluated |
) | 0-120 |
118 | returnexecuted 120 times by 3 tests: return priv->configurationFromIdentifier(identifier); Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkConfigurationManager
- tst_QNetworkReply
priv->configurationFromIdentifier(identifier);executed 120 times by 3 tests: return priv->configurationFromIdentifier(identifier); Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkConfigurationManager
- tst_QNetworkReply
| 120 |
119 | | - |
120 | return never executed: return QNetworkConfiguration(); QNetworkConfiguration();never executed: return QNetworkConfiguration(); | 0 |
121 | } | - |
122 | bool QNetworkConfigurationManager::isOnline() const | - |
123 | { | - |
124 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
125 | if (privTRUE | evaluated 1 time by 1 testEvaluated by:- tst_QNetworkConfigurationManager
| FALSE | never evaluated |
) | 0-1 |
126 | returnexecuted 1 time by 1 test: return priv->isOnline(); Executed by:- tst_QNetworkConfigurationManager
priv->isOnline();executed 1 time by 1 test: return priv->isOnline(); Executed by:- tst_QNetworkConfigurationManager
| 1 |
127 | | - |
128 | return never executed: return false; false;never executed: return false; | 0 |
129 | } | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | QNetworkConfigurationManager::Capabilities QNetworkConfigurationManager::capabilities() const | - |
135 | { | - |
136 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
137 | if (privTRUE | evaluated 94 times by 12 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QXmlInputSource
- tst_QXmlStream
| FALSE | never evaluated |
) | 0-94 |
138 | returnexecuted 94 times by 12 tests: return priv->capabilities(); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QXmlInputSource
- tst_QXmlStream
priv->capabilities();executed 94 times by 12 tests: return priv->capabilities(); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QXmlInputSource
- tst_QXmlStream
| 94 |
139 | | - |
140 | return never executed: return QNetworkConfigurationManager::Capabilities(0); QNetworkConfigurationManager::Capabilities(0);never executed: return QNetworkConfigurationManager::Capabilities(0); | 0 |
141 | } | - |
142 | void QNetworkConfigurationManager::updateConfigurations() | - |
143 | { | - |
144 | QNetworkConfigurationManagerPrivate *priv = qNetworkConfigurationManagerPrivate(); | - |
145 | if (privTRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkSession
| FALSE | never evaluated |
) | 0-16 |
146 | priv->performAsyncConfigurationUpdate();executed 16 times by 3 tests: priv->performAsyncConfigurationUpdate(); Executed by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkSession
| 16 |
147 | }executed 16 times by 3 tests: end of block Executed by:- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkSession
| 16 |
148 | | - |
149 | | - |
150 | | - |
| | |