summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-0121-0/+21
| | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I9db441ddaeb09298f311ece48111aea1ff2ae554 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Modify setAttribute parameter, it no longer accepts QUuid.Toby Tomkins2012-07-311-1/+1
| | | | | Change-Id: Icb05fcf183456af17fdbdc69ddfab434a37fa348 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Test that the package configs for QtConnectivity work.Stephen Kelly2012-07-205-0/+90
| | | | | Change-Id: I485e3316cb7b0a84513511e5b834b33a19e341a8 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Rename getter functions for QBluetoothHostInfoalex2012-07-021-16/+16
| | | | | | | | | | The previous name was not compliant with Qt naming standard. QBluetoothHostInfo::getAddress() -> address() QBluetoothHostInfo::getName() -> name() Change-Id: Ia130687c456e3ded398e685846a41de7ebb908e9 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com> Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com>
* Add unit test for new QBluetoothHostInfo class.alex2012-06-273-0/+184
| | | | | Change-Id: I47e9673790c6ec264f3985fefdb35dfbfc2fd482 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Fix various Bluetooth tests such that they run via CIalex2012-06-275-5/+43
| | | | | | | | | The CI system doesn't have any Bluetooth devices attached to it. Task-number: QTBUG-22017 Change-Id: I136d8f1295f3e770eb8c66557343ede7fa438a06 Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Fix QBluetoothServiceInfo testalex2012-06-251-6/+9
| | | | | | | | | The test can never succeed in CI as long as CI doesn't have an attached Bluetooth device. Skip test when approrpiate. Task-number: QTBUG-25452 Change-Id: Iaeb4e4c2d978a8806e20dfee32b41c967503482a Reviewed-by: Alex <alex.blasche@nokia.com>
* Change uses of {to,from}Ascii to {to,from}Latin1Thiago Macieira2012-05-302-3/+3
| | | | | | | | | | This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ia2fed44c5db997b6fc13a243f5e312d35f8625ad Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Set explicit testcase.timeout for slow testsRohan McGovern2012-05-292-0/+2
| | | | | | | | | | | | We'd like to decrease the default timeout for tests in the Qt Project CI so that we waste less time waiting for hanging tests. Tests which genuinely take a long time to run, such as these, should have their timeout explicitly set in their .pro file. Change-Id: I46f6728a26661bf9355d68fa739c3029507c2cec Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* tst_qbluetoothservicediscoveryagent disabled, it has timeout crashes.Toby Tomkins2012-05-091-0/+1
| | | | | | | | | | | | | tst_qbluetoothservicediscoveryagent crashes when being tested, this would be an acceptable, however it crashes and overruns the 10 minute timeout for tests. This adds a significant percentage to both the qtconnectivity and qt5 integration. It is being disabled for this reason. Task-number: QTBUG-22017 Change-Id: I34c4b72a62c3e54443df6270261e22371645342e Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove insignificant_test markers associated with maemo platform.Jason McDonald2012-04-243-6/+0
| | | | | | | Continuous Integration is no longer performed for this platform. Change-Id: I8058228256c52d86e872217cec54fe890a180fdf Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove insignification from qndefmessage test.Jason McDonald2012-04-241-2/+0
| | | | | | | | This test is currently excluded form the build (along with all NFC tests), but was passing prior to that. Change-Id: I56f340c36c8f475941fa8e4b864a5790ffd9b317 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove insignification from the qbluetoothdeviceinfo test.Jason McDonald2012-04-242-2/+2
| | | | | | | | | This test has two stable failures. Mark these with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-25453 Change-Id: I1839a26280d2f47097d17278f55d1c9d84f8b300 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove insignification of qbluetoothserviceinfo test.Jason McDonald2012-04-242-2/+1
| | | | | | | | | This test has one stable failure. Mark that failure with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-25452 Change-Id: I811ffc52685780b185358dfa5e28c83598631ed4 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Re-enable qbluetoothtransferrequest test.Jason McDonald2012-04-241-2/+0
| | | | | | | | This test hasn't failed in CI since December 2011. Task-number: QTBUG-22017 Change-Id: Ic963bd742cb0007c1d0634f38aae3c470d607682 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove/disable QtNFC from Qt 5.0.alex2012-03-012-18/+21
| | | | | | | | | | | | Currently there is no way of verifying the QtNFC API. This decision will be revisited by future Qt releases. Furthermore there will be no commitment that the re-enabled QtNFC API will be source or binary compatible to the version disabled by this commit. Change-Id: I9aea986189d48b5c2368ce6b2c7ff20e2c94f2f8 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Oliver Woltermann <oliver.woltermann@nokia.com>
* No more NFC on Symbian.alex2012-02-2852-7561/+0
| | | | | | Change-Id: Id1355d5c7a56de3b031945f226d9c52897020c8b Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove duplicates of QTRY_VERIFY and QTRY_COMPARE.Jason McDonald2012-02-131-28/+0
| | | | | | | These macros are now provided by QTestLib via the QtTest/QtTest header. Change-Id: I4a63a5fac456205c03bfb8cc7db782302f0eedd0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* No more Bluetooth on Symbianalex2012-02-0814-241/+0
| | | | | | | | This change cleans the code base significantly. Change-Id: I668d05d72cf5aa896818139e2daba51909c0b9dd Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* QtConnectivity: Add dependency to QtConcurrentFriedemann Kleint2012-02-0812-12/+12
| | | | | | | | | QtConcurrent is now a separate module. Add library to tests and examples. Change-Id: Ie66d73b80580ec23ad7c23e6c49771f7f08d8ea3 Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3056-56/+56
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I84f8c423bd7748bbae495fedae696990414cee83 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* added documentation and examplesMichael Zanetti2012-01-231-2/+2
| | | | | | Change-Id: Ia99e5f8f9579c189379bce1a22de3d58b12ce5fc Reviewed-by: Alex <alex.blasche@nokia.com> Sanity-Review: Alex <alex.blasche@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2056-56/+56
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I1c6ba5c87f0eca30b6f01f4245a032262d30f8ce Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in Nokia copyright headers.Jason McDonald2012-01-1123-23/+23
| | | | | | | | Update copyright headers from before 2011. Change-Id: Ic34da6aa9bf8ba63d4e41c2135b4fdaf7c437360 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0533-33/+33
| | | | | | Change-Id: I76920b22a5b386a0f85ec28076da20505c022b6f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fixed compile on Windows in release mode.Rohan McGovern2012-01-041-1/+1
| | | | | | | | | | | | | It is not valid to unconditionally enable debug mode on platforms where debug/release affects linkage. On these platforms, debug mode can only be used if the debug libraries are enabled, and release mode can only be used if the release libraries are enabled. Let the build system set the correct mode. Change-Id: I95f6ddb15318a08936e49ab1140cdb95fdbd62ae Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* QtConnectivity: Fix test crashes/asserts/hangs.Friedemann Kleint2012-01-034-9/+6
| | | | | | | | | | | | | | | | | | - Fix crash caused by uninitialized d-ptr in local device default implementation (Windows). - Fix crash caused by uninitialized d-ptr in local device bluez implementation (Linux) if connection fails. - Verify local device validity before d-ptr is accessed in test - Fix crash in QNdefNfcUriRecord::uri() in case abbreviations[0] (==0) is accessed. - Terminate wait loops - Check signal spy before accessing first element. - Fix compiler warnings. Change-Id: I92d54b4dfcc05e8befb49f2bd72b60251641aa48 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* nfctestserver: Remove rpath-option.Friedemann Kleint2012-01-031-2/+0
| | | | | | | | | | It causes a warning on Windows and does not have any effect on Linux since it evaluates to qtbase/lib which is set as rpath by default. Change-Id: Ie697e393c46452680e3e3b03fe9ea9abe44b0c18 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Improve QBluetoothLocalDevice autotest.Jason McDonald2011-12-071-13/+8
| | | | | | | | | Use standard QTRY_VERIFY instead of custom version, and check that signal spies are valid after construction. Change-Id: Iedb5e107d77c18dad6db0fcf46d61f030b68d7d3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove unnecessary header file.Jason McDonald2011-12-064-106/+0
| | | | | | | | | | The removed header defines four macros: QTRY_VERIFY and QTRY_COMPARE, which are provided by testlib, and QTRY_NOOP and QTRY_VERIFY_TIMEOUT, which are not used by any test that includes the header. Change-Id: I0f92ff961de78988703089c085098f72e8c34d1f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* tst_qbluetoothsocket: Fix warnings about operators.Friedemann Kleint2011-11-301-7/+8
| | | | | | | | Change expression to what was most likely intended. Change-Id: Ifd1e6ef2a41cab020cfd9a3f341a74f1b169448e Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* QtConnectivity: Fix compilation on Windows.Friedemann Kleint2011-11-302-10/+5
| | | | | | | | | | - Fix imports - Fix includes - Remove trailing comma from enumerations (error in clang) Change-Id: I9627fe613e59accffc788def9e44a068ed02109f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* added Connectivity namespaces (QtBluetooth and QtNfc)Michael Zanetti2011-11-1145-47/+108
| | | | | | Change-Id: I5f3062c857e657a6d05ab29edfa2f1b48cb173f8 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove SkipMode parameter from QSKIP.Jason McDonald2011-11-093-5/+5
| | | | | | | | | | | The SkipMode parameter has been removed from the API in qtbase, so it must be in all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: Iae4432e57a12064b86f9a56cad73fecb56bdaaa9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* tests: enabled all passing autotestsRohan McGovern2011-10-1818-41/+70
| | | | | | | | | | | | | | | Enabled compilation of all autotests which are able to compile. Enabled enforcing the results of all autotests which pass. Raised bugs for autotests which don't fall into the above two categories. Task-number: QTBUG-22015 Task-number: QTBUG-22016 Task-number: QTBUG-22017 Change-Id: I860a8f6e44dc6ab563ecc3f7d178f778fefa9d64 Reviewed-by: Alex <alex.blasche@nokia.com>
* Cleaned up incorrect usage of Qt modulesRohan McGovern2011-10-141-3/+1
| | | | | | | | | | | There is no Qt module named `connectivity', so don't add it to QT. nfctestserver does not use QtTest (and qtAddLibrary is not the right way to use it anyway), so remove it. Change-Id: I1902ae0684e884e267d657698fa2c6774065cf31 Reviewed-on: http://codereview.qt-project.org/6633 Reviewed-by: Alex <alex.blasche@nokia.com>
* re-added autotestsMichael Zanetti2011-10-0750-11/+6986
| | | | | | | Change-Id: Ic2be21fd11e2fdb96185fe9269cebbe08b6de87a Reviewed-on: http://codereview.qt-project.org/4783 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Don't attempt to run nfctestserver as a testcase.Rohan McGovern2011-08-251-1/+1
| | | | | | | | | This is not a testcase, so don't mark it as such. Change-Id: I722f56a2f1ec7d7059fcbeb6d5313c433d4eace3 Reviewed-on: http://codereview.qt.nokia.com/3554 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Keith Isdale <keith.isdale@nokia.com>
* Initial commit.Michael Zanetti2011-08-2456-0/+8856
From qt5connectivity.tar.gz, md5 317c149d6f8c07d09632353188582834