summaryrefslogtreecommitdiffstats
path: root/tests/auto/integrationtests
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on moc to disable test functions.Jason McDonald2011-11-183-20/+39
| | | | | | | | | | | | | | | | | | | | | The moc tool is not aware of all defines (particularly those that are compiler builtins) and does not correctly evaluate others that depend on compiler builtins, such as Q_OS_FOO. This commit reverts parts of the following commits, but is not a complete fix as there were many instances of this problem in the tests prior to those commits: 924d810dbdcd5b5b0fa860922b2487ea9062d002 8aaff6751038b88d17e23be6fcee945771297c5b 338d3f11973412047c2c9cd41cbd0c961d738ef3 a55034062ba2bf73a9f1ed3d9cf31745b38149e3 253497b7446c7d723aa3bdd7152e25d6852f2604 7cfad460c56319ba89c4a3a0bbcb2e54ab1cdbc6 9d2ff58f3642828e494e7e9b2df7dbb8e2cd408f 0cf6baa2d61ebaad2a2a0530c37f27e719b68f4b Change-Id: I947d797fe3ec76139ba1b55561cea569895662c5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Compile on Mac OS XBradley T. Hughes2011-11-151-1/+1
| | | | | | | | privateqt_mac_p.h lives in QtWidgets/private/qt_mac_p.h now instead of QtGui/private/... Change-Id: I77e57de5581829e78919b13b10f7a896879670a7 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Autotests need to link to QtTestLibBradley T. Hughes2011-11-141-0/+1
| | | | | | | Otherwise the symbols used by the test aren't found when linking. Change-Id: Ibc78ac76763d0558824b797582e16f97786c5840 Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
* Re-enabled passing tests in tst_exceptionsafety_objectsJo Asplin2011-11-102-2/+3
| | | | | | | | | | | To increase the effective test coverage, this patch re-enables the tst_exceptionsafety_objects test case as such, and instead disables only the test functions that are currently failing in CI. Task-number: QTBUG-22453 Change-Id: If1fbf59c9d941453b9fd7feb43c59e27e087ce50 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Moved qobjectrace into integrationtests/Jo Asplin2011-11-054-0/+270
| | | | | | | | | | | The qobjectrace test seems to belong to integrationtests/ since it tests the interaction between QObject and QThread (much in the same way integrationtests/qsharedpointer_and_qwidget/ tests the interaction between QSharedPointer and QWidget). Change-Id: I89f1dab7300c2ef23755d52a86479677ef021ef1 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* QtGui: Fix compilation with gcc 4.4Friedemann Kleint2011-11-031-36/+36
| | | | | | | | | | | | - Do not mix QStringLiteral and Q_TR_NOOP. - Replace static QString member variables by - static member functions to return the strings. - Use tr() since QAccessibleActionInterface declares it. Acked-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Change-Id: Iabbee8ef61a5d7bfd35978a3f1cce1866329d065 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Remove tests for API that never made it into Qt.Jason McDonald2011-10-311-106/+0
| | | | | Change-Id: If78d82abfb4ff3402eb8f36729bacc3c4d343d0c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove debugging code from languagechange testJason McDonald2011-10-311-5/+1
| | | | | Change-Id: Ic3f1ea9ed3dd4ad78fccd66718f53a798cf8103a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Remove redundant preprocessor directive.Jason McDonald2011-10-281-8/+0
| | | | | | | In Qt5, it's quite safe to assume that QT_VERSION is greater than 4.x. Change-Id: I2b7f491d79e084f3a52ee54c9e97419570b57584 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Add default actions to QAccessibleWidget.Frederik Gladhorn2011-10-271-21/+60
| | | | | Change-Id: I9f251aad663fd0b8db2ef068c6581241d91c090d Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Tests: Remove Q_WS_QPA, qpa-sections from .profiles.Friedemann Kleint2011-10-273-3/+4
| | | | | | | | | | | | Compile without -qpa. - Make Q_WS_QPA-#ifdefed sections the default in the code - Replace some Q_WS_ by Q_OS_ - Add ### fixme for places that need checking - Remove qpa conditionals from .pro files. Change-Id: I6ea930afc0c236cc12a7b7e95f1b8a1c24b3a513 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Doc: Fixing typoSergio Ahumada2011-10-261-1/+1
| | | | | | | Fix typos I was able to find in `tests/auto' directory. Change-Id: Id0bfcc18301381ac8b1ca8d5af17bd926e5913d4 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
* Re-enabled testsJo Asplin2011-10-261-2/+0
| | | | | | | | | | | | This commit re-enables tests that are assumed to be ok by now, since they: - Have been passing in CI for a long time recently (more precisely, not failed once in pulse run range 730-829). - Did not have any known issues associated with them. Note that not all of these tests were disabled as a result of QTBUG-21402. Task-number: QTBUG-21402 Change-Id: I80bbf8b351bd9165aa968e98f4dc17e8be6bc7c3 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* all remaining tests: eliminated usage of qttest_p4.prfRohan McGovern2011-10-2520-38/+55
| | | | | | | | | qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I02fe27b2c1800f929250fa8694ca2976c9661a12 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Fix compilation with -fno-exceptionsDavid Faure2011-10-231-0/+4
| | | | | Change-Id: I3dbe8be62d2fe94ed6f97fb565a9e417544c58f9 Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
* Remove SkipMode parameter from QSKIP calls.Jason McDonald2011-10-217-30/+28
| | | | | | | | | The previous commit removed SkipMode from the testlib APi. This commit removes the parameter from all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: I21c0ee6731c1bc6ac6d962590d9b31d7459dfbc5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Moved tests into integrationtests/ and widgets/Jo Asplin2011-10-20174-0/+35110
Task-number: QTBUG-19013 Change-Id: Ibb776f5967c0645ce6d22ef7afdc40657c575461 Reviewed-by: Holger Ihrig <holger.ihrig@nokia.com>