diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-01 07:45:35 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-03-02 05:42:32 (GMT) |
commit | d042a00b5828961e1e1fa82017717b5f72dde9ef (patch) | |
tree | 600353f03174c0bfe80d964c5a6d2500e5df235d /tests/auto/qnetworksession/lackey | |
parent | ef30a6f336d55c813423bf139d8363f50181179f (diff) | |
download | Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.zip Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.tar.gz Qt-d042a00b5828961e1e1fa82017717b5f72dde9ef.tar.bz2 |
Bearer management changes from Qt Mobility (fca9891).
fca98911b75ce12e70d93cfc2932a9759758a605
Diffstat (limited to 'tests/auto/qnetworksession/lackey')
-rw-r--r-- | tests/auto/qnetworksession/lackey/main.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/auto/qnetworksession/lackey/main.cpp b/tests/auto/qnetworksession/lackey/main.cpp index 41e935a..66d6dd4 100644 --- a/tests/auto/qnetworksession/lackey/main.cpp +++ b/tests/auto/qnetworksession/lackey/main.cpp @@ -69,14 +69,15 @@ int main(int argc, char** argv) QNetworkConfigurationManager manager; QList<QNetworkConfiguration> discovered = -#if defined (Q_OS_SYMBIAN) - // On Symbian, on the first query (before updateConfigurations() call - // the discovered-states are not correct, so defined-state will do. - manager.allConfigurations(QNetworkConfiguration::Defined); -#else manager.allConfigurations(QNetworkConfiguration::Discovered); -#endif + + foreach(QNetworkConfiguration config, discovered) { + qDebug() << "Lackey: Name of the config enumerated: " << config.name(); + qDebug() << "Lackey: State of the config enumerated: " << config.state(); + } + if (discovered.isEmpty()) { + qDebug("Lackey: no discovered configurations, returning empty error."); return NO_DISCOVERED_CONFIGURATIONS_ERROR; } |