summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-04-214-18/+46
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: tst_QSystemSemaphore::processes fixed for WinCE tst_qsystemsemaphore: fix deployment of lackey.exe for WinCE tst_qsharedmemory: create multiple instances of lackey.exe on WinCE tst_qsharedmemory: fix deployment of lackey.exe for WinCE fix compilation of tst_sharedmemory on Windows CE examples/widgets/stylesheet fix mainwindow.ui QStyleSheetStyle: fix memory leak on base style change
| | * tst_QSystemSemaphore::processes fixed for WinCEJoerg Bornemann2010-04-211-0/+13
| | | | | | | | | | | | | | | | | | | | | We can't start the same executable twice on Windows CE. This tests creates copies of lackey.exe now. Reviewed-by: mauricek
| | * tst_qsystemsemaphore: fix deployment of lackey.exe for WinCEJoerg Bornemann2010-04-212-13/+16
| | | | | | | | | | | | | | | | | | Bonus: typo fixed. Reviewed-by: mauricek
| | * tst_qsharedmemory: create multiple instances of lackey.exe on WinCEJoerg Bornemann2010-04-211-0/+12
| | | | | | | | | | | | | | | | | | | | | We can't start multiple instances of an executable on Windows CE. To work around, this test now creates several copies of lackey.exe Reviewed-by: mauricek
| | * tst_qsharedmemory: fix deployment of lackey.exe for WinCEJoerg Bornemann2010-04-212-4/+4
| | | | | | | | | | | | Reviewed-by: mauricek
| | * fix compilation of tst_sharedmemory on Windows CEJoerg Bornemann2010-04-211-1/+1
| | | | | | | | | | | | Reviewed-by: mauricek
* | | QtScript: regression with instanceof operator for QMetaObject wrappersKent Hansen2010-04-211-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell JavaScriptCore that QMetaObject wrappers can be used as the second operand to instanceof; this is done by setting the ImplementsHasInstance flag. We don't actually have to implement hasInstance() because the default implementation does the right thing. Task-number: QTBUG-8366 Reviewed-by: Olivier Goffart
* | | QNAM HTTP: Fixed a bug when getting empty files with pipeliningMarkus Goetz2010-04-211-0/+49
| | | | | | | | | | | | | | | Instead of returning from the socket's readyRead() handler break out of the switch() and continue parsing the data.
* | | [tst_bic] Fix compilation in non-X11/Mac/Windows platformsThiago Macieira2010-04-211-0/+1
| | |
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-21201-149628/+228739
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (24 commits) Fix accidental change in QtWebKit QNAM HTTP: Pipelining improvement fix qmake conditionals QtScript: Add translation context test Ensure we stop the name lookups in QAbstractSocket if we abort(). Don't rely on tryStart() to do job control. [tst_bic] Suppress the warning about the QGraphicsProxyWidget BIC [tst_bic] Add two more private classes to the blacklist [tst_bic] Remove superfluous newline [tst_bic] Fix gen.sh not to generate sequential empty lines Fix QSslSocket::constructing autotest failure Improve QScript{Engine,Value}::toObject() test coverage [tst_bic] Add testing for Phonon too [tst_bic] Cache the compilation results for a faster testing [tst_bic] Blacklist all template expansions [tst_bic] Add baseline for Qt 4.6.0 [tst_bic] Collapse multiple empty newlines. [tst_bic] Remove the QtNetwork classes from the QtXmlPatterns description file [tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5 [tst_bic] Update the test to find newer versions of Qt after 4.3 ...
| * | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-21201-149628/+228739
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (24 commits) Fix accidental change in QtWebKit QNAM HTTP: Pipelining improvement fix qmake conditionals QtScript: Add translation context test Ensure we stop the name lookups in QAbstractSocket if we abort(). Don't rely on tryStart() to do job control. [tst_bic] Suppress the warning about the QGraphicsProxyWidget BIC [tst_bic] Add two more private classes to the blacklist [tst_bic] Remove superfluous newline [tst_bic] Fix gen.sh not to generate sequential empty lines Fix QSslSocket::constructing autotest failure Improve QScript{Engine,Value}::toObject() test coverage [tst_bic] Add testing for Phonon too [tst_bic] Cache the compilation results for a faster testing [tst_bic] Blacklist all template expansions [tst_bic] Add baseline for Qt 4.6.0 [tst_bic] Collapse multiple empty newlines. [tst_bic] Remove the QtNetwork classes from the QtXmlPatterns description file [tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5 [tst_bic] Update the test to find newer versions of Qt after 4.3 ...
| | * \ Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-20201-149628/+228739
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (24 commits) Fix accidental change in QtWebKit QNAM HTTP: Pipelining improvement fix qmake conditionals QtScript: Add translation context test Ensure we stop the name lookups in QAbstractSocket if we abort(). Don't rely on tryStart() to do job control. [tst_bic] Suppress the warning about the QGraphicsProxyWidget BIC [tst_bic] Add two more private classes to the blacklist [tst_bic] Remove superfluous newline [tst_bic] Fix gen.sh not to generate sequential empty lines Fix QSslSocket::constructing autotest failure Improve QScript{Engine,Value}::toObject() test coverage [tst_bic] Add testing for Phonon too [tst_bic] Cache the compilation results for a faster testing [tst_bic] Blacklist all template expansions [tst_bic] Add baseline for Qt 4.6.0 [tst_bic] Collapse multiple empty newlines. [tst_bic] Remove the QtNetwork classes from the QtXmlPatterns description file [tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5 [tst_bic] Update the test to find newer versions of Qt after 4.3 ...
| | | * \ Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-20201-149628/+228739
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (24 commits) Fix accidental change in QtWebKit QNAM HTTP: Pipelining improvement fix qmake conditionals QtScript: Add translation context test Ensure we stop the name lookups in QAbstractSocket if we abort(). Don't rely on tryStart() to do job control. [tst_bic] Suppress the warning about the QGraphicsProxyWidget BIC [tst_bic] Add two more private classes to the blacklist [tst_bic] Remove superfluous newline [tst_bic] Fix gen.sh not to generate sequential empty lines Fix QSslSocket::constructing autotest failure Improve QScript{Engine,Value}::toObject() test coverage [tst_bic] Add testing for Phonon too [tst_bic] Cache the compilation results for a faster testing [tst_bic] Blacklist all template expansions [tst_bic] Add baseline for Qt 4.6.0 [tst_bic] Collapse multiple empty newlines. [tst_bic] Remove the QtNetwork classes from the QtXmlPatterns description file [tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5 [tst_bic] Update the test to find newer versions of Qt after 4.3 ...
| | | | * QtScript: Add translation context testKent Hansen2010-04-201-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The context is determined from the filename passed to evaluate(), and should be equivalent to QFileInfo(fileName).baseName(). Reviewed-by: Olivier Goffart
| | | | * [tst_bic] Suppress the warning about the QGraphicsProxyWidget BICThiago Macieira2010-04-191-4/+5
| | | | |
| | | | * [tst_bic] Add two more private classes to the blacklistThiago Macieira2010-04-191-0/+2
| | | | |
| | | | * [tst_bic] Remove superfluous newlineThiago Macieira2010-04-191-1/+0
| | | | |
| | | | * [tst_bic] Fix gen.sh not to generate sequential empty linesThiago Macieira2010-04-191-3/+5
| | | | |
| | | | * Improve QScript{Engine,Value}::toObject() test coverageKent Hansen2010-04-192-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | Test that calling toObject() doesn't change the type of the original value.
| | | | * [tst_bic] Add testing for Phonon tooThiago Macieira2010-04-191-0/+1
| | | | |
| | | | * [tst_bic] Cache the compilation results for a faster testingThiago Macieira2010-04-191-2/+7
| | | | |
| | | | * [tst_bic] Blacklist all template expansionsThiago Macieira2010-04-191-0/+4
| | | | |
| | | | * [tst_bic] Add baseline for Qt 4.6.0Thiago Macieira2010-04-1918-0/+151516
| | | | |
| | | | * [tst_bic] Collapse multiple empty newlines.Thiago Macieira2010-04-19168-40279/+0
| | | | | | | | | | | | | | | | | | | | The test searches for '\n\n' so it requires a proper data set
| | | | * [tst_bic] Remove the QtNetwork classes from the QtXmlPatterns description fileThiago Macieira2010-04-192-1184/+37
| | | | |
| | | | * [tst_bic] Add the exception for the BIC breakage in QGraphicsProxyWidget in 4.5Thiago Macieira2010-04-191-1/+4
| | | | |
| | | | * [tst_bic] Update the test to find newer versions of Qt after 4.3Thiago Macieira2010-04-191-42/+32
| | | | |
| | | | * [tst_bic] Remove the QtXml dependencies from the QtDBus class listingThiago Macieira2010-04-192-897/+13
| | | | |
| | | | * [tst_bic] Remove non-dot-zero release files from the data, they are not scannedThiago Macieira2010-04-1923-163424/+0
| | | | |
| | | | * [tst_bic] Update gen.sh to match new librariesThiago Macieira2010-04-1918-1/+133231
| | | | |
* | | | | Compile on symbian:hawcroft2010-04-212-2/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbian can't seem to handle defines declared in pro files defined as string literals. e.g DEFINES += FOO when FOO is then initialized as a string literal e.g DEFINES += FOO="bar" fails be included as a valid define during compilation. Reviewed-by:TrustMe
* | | | symbian: deploy 4.wav test file properlyhawcroft2010-04-212-5/+10
|/ / / | | | | | | | | | Reviewed-by: Kurt Korbatits
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into ↵Qt Continuous Integration System2010-04-20105-264/+18788
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Fixed failure of tst_qbytearraymatcher on 64 bit. Fixed DataTag missing from testlib XML in some cases. Fixed "pass" incident missing from test xml in some cases Reverted "qwarn" -> "qwarning" attribute change in XML test logs. Fixed failure of tst_selftests::runSubTest(subtest xml) Extend testlib selftest to cover all loggers, not just plain text.
| * | Fixed failure of tst_qbytearraymatcher on 64 bit.Rohan McGovern2010-04-191-1/+1
| | | | | | | | | | | | | | | | | | Code had `sizeof(needle-1)' where `sizeof(needle)-1' was meant. This would pass where sizeof(char*) == 4, but not where sizeof(char*) == 8.
| * | Extend testlib selftest to cover all loggers, not just plain text.Rohan McGovern2010-04-19104-263/+18787
| |/
* | No repaint when resizing graphics item with an effect.Bjørn Erik Nilsen2010-04-201-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was that the item's cache was not invalidated from prepareGeometryChange(). We did invalidate the cache for all the ancestors, but not for the item itself. To avoid looping through the whole parent chain twice, we invalidate the item's cache before walking the parent chain. It would be nice to centralize the cache invalidating mechanism, but for now it's OK to solve it like this. Auto test included. Task-number: QTBUG-9551 Reviewed-by: samuel
* | Fix sqlite driver doesn't return error message RAISE by a trigger.Bill King2010-04-201-0/+27
|/ | | | | Task-number: QTBUG-7988 Reviewed-by: Justin McPherson
* create magic comment messages in "finished" stateOswald Buddenhagen2010-04-151-1/+1
| | | | | there is really no point in marking them "unfinished". later file rewrites would reset the state anyway.
* make QT_TR_NOOP work in static initializersOswald Buddenhagen2010-04-152-0/+40
| | | | | | | | | do that by ignoring all equal signs and everything between and including brackets. this makes static initializers look effectively like function definitions, thus creating proper context. Task-number: QTBUG-9276
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-152-1/+35
|\ | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Add translation context to qsTr() benchmark QtScript: Add autotest for enumeration of QMetaObject properties QNAM HTTP: Pipelining changes
| * QtScript: Add autotest for enumeration of QMetaObject propertiesKent Hansen2010-04-151-0/+34
| | | | | | | | | | | | The issue reported in QTBUG-3665 had been fixed since 4.6.0, but it went unnoticed that there had been a bug in the first place since there was no test for this behavior.
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-04-151-1/+1
| |\ | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: QNAM HTTP: Pipelining changes
| | * QNAM HTTP: Pipelining changesMarkus Goetz2010-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Re-wrote some code to improve pipelining efficiency. Greatly helps with combining into one TCP packet. Task-number: QTBUG-9894 Task-number: QT-3280 Reviewed-by: Peter Hartmann
* | | Fixes auto-test failure for 9da13ea53aec6d841ba7f416531d6c52d4368df4.Yoann Lopes2010-04-151-19/+0
| | |
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-04-151-22/+77
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixes tooltips for QGraphicsProxyWidget.
| * | Fixes tooltips for QGraphicsProxyWidget.Yoann Lopes2010-04-151-22/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | Help event was not propagated to the widget. Also fixes tooltip value propagation when setting it on the proxy or on the widget. Autotest included. Task-number: QTBUG-5349 Reviewed-by: bnilsen
* | | Phonon MMF: calling pause() when in StoppedState triggers stateChanged()Gareth Stockwell2010-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previously, the MMF backend simply swallowed a call to pause() when in StoppedState. However, the stopToPause step in tst_mediaobject requires the backend to emit a stateChanged signal when this happens. Reviewed-by: Frans Englich
* | | tst_mediaobject: ensure MediaObject is in StoppedState before each stepGareth Stockwell2010-04-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the steps in the tst_mediaobject suite (a) check that the MediaObject is in StoppedState at the start of the step and (b) call stopPlayback() at the end. If, however, a QTest check fails during the test, stopPlayback may not be called. This patch adds a call to MediaObject::stop() in the suite's init() function. This is a symptom of a wider problem with this test suite, namely that it re-uses a single instance of Phonon::MediaObject for all steps. Given the highly stateful nature of MediaObject, this can lead to test steps failing due to some state which was erroneously carried forward from an earlier step. While this test suite design may more faithfully represent real-world usage of Phonon, it makes tracking down the root causes of test failures needlessly difficult. Reviewed-by: Frans Englich
* | | tst_mediaobject: Removed non-portable escape codes from outputGareth Stockwell2010-04-151-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | Test step was outputting ANSI escape codes in order to highlight certain text. These codes are not natively supported by Windows consoles, resulting in raw escape codes appearing in the output. Reviewed-by: Frans Englich
* | | tst_mediaobject: Ensure playSDP step cleanup is runGareth Stockwell2010-04-151-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This step previously did not guarantee that the m_media object would be left in StoppedState, which in turn meant that following test steps could fail. Task-number: QTBUG-9339 Reviewed-by: Frans Englich