summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkconfigmanager/tst_qnetworkconfigmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: I96513e8b6f09e76998a18edb5411ae06f52cba7c Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update to new license formatSergio Ahumada2012-11-071-22/+22
| | | | | | | Also fixing some left overs from 8de152a9e1deb533070663cccf6a98e0d374b1d6 Change-Id: I28a91ca233dd835e6e53efbbd7ebd649461f5c04 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaSergio Ahumada2012-11-071-3/+3
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie3b9224b2b6a32b417fa0b6643350d45046381e6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Replace QtBearer implementation with a shim over QtNetworkShane Kearns2011-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bearer management API was integrated into QtNetwork 4.7 This change removes the parallel implementation from QtBearer and inserts a shim for binary compatibility. Applications which linked against QtBearer will now be using the implementation from QtNetwork transparently. QNetworkSession had a private 'd' pointer, the private class is changed to contain a ::QNetworkSession, and API calls are redirected. Signals are connected to the signals of the outer class, or through translation slots of the inner class where casting is required. QNetworkConfigurationManager had no 'd' pointer, but a global static private implementation. This is similarly changed to contain a ::QNetworkConfigurationManager which is used to redirect API calls. Qt's meta object system can't distinguish between QNetworkConfiguration and QtMobility::QNetworkConfiguration. This is because the signals in QtBearer were declared without including the namespace in the parameters. MOC doesn't understand c++ namespaces properly. As QVariants can be cast to the wrong type, a different approach is taken for QNetworkConfiguration to avoid crashes when using QSignalSpy or queued connections. QNetworkConfiguration now derives from ::QNetworkConfiguration. The QNetworkConfiguration 'd' pointer is removed (the Qt class has a 'd' pointer) This makes the two classes bitwise identical except for the vtable for the virtual destructor. QtMobility::QNetworkConfiguration APIs just base-call the Qt class. There is a new private constructor to allow a QtMobility::QNetworkConfiguration to be constructed from a Qt one. The two virtual adaptor classes exist to avoid namespace conflicts QtBearer no longer exports any header files. This version of QtBearer has a dependency on Qt 4.7 or higher, and the Qt headers include the QtMobility version of the API already. Exporting the QtBearer headers causes compile errors in case an application picked up the wrong header files. Testing: Ran qt bearer autotests on symbian3, compiled and run against qt 4.8 and this version of qt mobility. Ran qt bearer autotests on symbian3, compiled against qt 4.6.3 and qt mobility 1.0.2; run against qt 4.8 and this version of qt mobility. Also ran these same tests with win32-msvc2008 and linux-gcc desktop platforms.
* Update licenseheader text in source files for qtmobilityJyri Tahtela2011-05-181-17/+17
| | | | | | | Updated version of LGPL licenseheader. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Added TESTED_COMPONENT infoEd Baak2010-07-081-0/+2
|
* Fix tests compiler errors using Qt in a namespace.Wolfgang Beck2010-03-251-2/+2
|
* Merge branch 'maemo5-dev'Alex2010-03-181-4/+4
|\ | | | | | | | | Conflicts: src/bearer/qnetworkconfigmanager_maemo.cpp
| * Maemo5 has exact same bearer code base as Maemo6. Make sure that theAlex2010-03-181-4/+4
| | | | | | | | ifdefs match up
* | Don't fail unit test when there is no default network configuration.Aaron McCarthy2010-03-181-5/+3
|/
* distinguish Freemantle and Harmattan codeAlex2009-12-151-4/+4
| | | | adds proper defines and CONFIG flags
* various API renamings (#2)Alex2009-11-251-2/+7
|
* make unit tests work with namespaceAlex2009-11-201-0/+1
|
* Merge branch 'master' into maemoAlex2009-10-261-7/+16
|\ | | | | | | | | | | | | | | Conflicts: bearer/bearer.pro examples/bearercloud/bearercloud.pro examples/bearermonitor/bearermonitor.pro tests/tests.pro
| * Updated license headersStian Sandvik Thomassen2009-10-221-7/+16
| | | | | | | | Reviewed-by: Trust Me
* | Unit tests pass for maemo.Jukka Rissanen2009-09-291-6/+24
| |
* | Integrate Maemo backend (for now in its own branch until allAlex2009-09-141-0/+87
|\ \ | |/ |/| | | issues have been resolved)
| * Adding stress test by creating large number of IAPs in various test cases.Jukka Rissanen2009-07-281-13/+42
| |
| * Using IAPConf class instead of DuiGConfItem and/or DuiValueSpace (which is ↵Jukka Rissanen2009-07-271-24/+31
| | | | | | | | | | | | | | deprecated) in order to hide gconf details. Statistics support added to QNetworkSession class QNetworkConfigurationManager::updateConfigurations() internal logic fixed
| * Maemo testsJukka Rissanen2009-07-021-0/+51
| |
* | Update license headerAlex2009-08-181-1/+1
| |
* | more UserChoice related unit testsAlex2009-07-141-2/+27
| |
* | allConfigurations() does not return a UserChoice configAlex2009-07-141-0/+6
| |
* | use preview licenseAlex2009-07-021-14/+6
|/
* Update license headers as requested by marketing department.Alex2009-06-181-2/+2
|
* Move QTRY_VERIFY and QTRY_COMPARE to common header.Aaron McCarthy2009-06-051-29/+1
|
* recommit code base following history cutAlex2009-06-051-0/+220