summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkconfigurationmanager
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Fix QNetworkConfigurationManager usage outside main thread ↵Shane Kearns2011-06-131-0/+44
| | | | | | first"" This reverts commit daba0c0d588c55e3f1591ab8ce0ef0946d1447fd.
* Revert "Fix QNetworkConfigurationManager usage outside main thread first"Shane Kearns2011-05-311-44/+0
| | | | | | | | | | | This reverts commit 5f241ec1426447380b1e938ac7888fb16cde94f8. Reason for reverting: Some already published applications suffer from the deadlock behaviour, causing regressions. Conflicts: tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-05-171-17/+17
|\ | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Updating file with CRLF line endings for the updated header Fix a regression in QList::mid() update gitignore remove -fno-stack-protector Fix make confclean Update licenseheader text in source files
| * Update licenseheader text in source filesJyri Tahtela2011-05-131-17/+17
| | | | | | | | | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* | Fix instability in QNetworkConfigurationManager autotestShane Kearns2011-05-131-2/+4
| | | | | | | | | | | | | | | | | | | | QThread::isFinished() can return false after the finished() signal is emitted, so test the event loop's timeout() function instead. Don't compare prescan configurations, as these may be cached by the OS. It was causing the test to fail on linux if run before any other network test. Reviewed-by: mread
* | Skip test on MacOS due to problems with corewlan pluginShane Kearns2011-05-051-1/+5
| | | | | | | | Reviewed-by: Cristiano di Flora
* | Fix compile errors in bearer testsShane Kearns2011-05-041-4/+4
| | | | | | | | | | | | Excluded maemo code from symbian builds. Reviewed-by: Markus Goetz
* | Fix QNetworkConfigurationManager usage outside main thread firstShane Kearns2011-05-041-0/+38
|/ | | | | | | | | | | | | | | | | | | | | | | | QNetworkConfigurationManager creates the engines loaded from plugins as objects in the main thread. If a QNetworkConfigurationManager instance is created in a worker thread without any instance previously existing in the main thread, then it is uninitialised until the main thread has run. This causes allConfigurations() to return an empty list if called immediately after instantiation, for example. This fix initialises the plugins using blocking queued connections, which causes the worker thread to block until the initialisation function has been called in the context of the main thread. Deadlock is possible if the main thread is for some reason waiting on the worker thread, but it will not deadlock on QNetworkConfigurationManager's mutex. If this is a problem for an application, it should use QNetworkConfigurationManager from the main thread first to preload the plugins. Task-number: QTBUG-18795 Task-number: QTBUG-18799 Reviewed-by: Cristiano Di Flora
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Fix build on Mac OS X and Windows.Aaron McCarthy2010-05-191-4/+4
|
* Only setup ICD test data when ICD is enabled.Aaron McCarthy2010-05-191-4/+4
| | | | | Fixes unit test build failures introduced in 90de3e5c903b67b2e5f3d7dc14266fe24f1daa23.
* Bearer management changes from Qt Mobility (7a5ff985)Aaron McCarthy2010-04-142-7/+8
| | | | 7a5ff9859f5775915ae80c287f51c772599c2379
* Merge remote branch 'origin/4.7' into oslo-staging-1Aaron McCarthy2010-03-221-5/+3
| | | | | Conflicts: tests/auto/qgl_threads/qgl_threads.pro
* Fixed inconsistent test naming.Rohan McGovern2010-03-222-0/+350
TARGET and test class name should always match.