summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jani Hautakangas2009-09-292-52/+42
|\
| * Stabilize testsOlivier Goffart2009-09-292-52/+42
| |
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jani Hautakangas2009-09-293-12/+47
|\ \ | |/
| * Making tst_qParallelAnimationGroup work for Symbianmread2009-09-291-0/+4
| | | | | | | | | | | | | | | | The animation was not starting in time, as events from Symbian app start up had not had time to be flushed through. The addition of a 1s QTest::qWait gives plenty of time for the app to settle. Reviewed-by: Janne Anttila
| * Do synchronous processing of events in state machine if possibleKent Hansen2009-09-291-0/+33
| | | | | | | | | | | | | | | | Avoid delayed scheduling in the cases where there's no need to delay it (e.g. when the state machine intercepts a signal or event). Task-number: QTBUG-4491 Reviewed-by: Eskil Abrahamsen Blomfeldt
| * Fix a bug in QPixmapCache when the cache is trimmed by QCache.Alexis Menard2009-09-291-12/+10
| | | | | | | | | | | | | | | | | | | | | | There was a bug in QPixmapCache when QCache trims the content, some keys were not invalidated. The ifdef for WinCE (that i removed) was a wrong fix, it let the auto-test pass but it doesn't fix the bug. The approach here is to add a QPixmapCacheEntry that release the key it owns when QCache deletes it : we are now sure that nothing happen in our back. Reviewed-by:paul Reviewed-by:trond
* | Softkey fixes to QMenu tests.Jani Hautakangas2009-09-293-18/+43
|/ | | | | | | Softkeys add two extra "Select" and "Back" actions to menu by default. First two actions in menu will be "Select" and "Back". Reviewed-by: Janne Anttila
* Fixes failing autotest.Bill King2009-09-291-0/+4
|
* Fix to Q3PopupMenu autotest on windowsThierry Bastian2009-09-281-2/+2
| | | | 100ms is not enough because there is a delay for the popup.
* QScript: Add test for getting backtrace of recursive functionsOlivier Goffart2009-09-281-0/+66
|
* QScript: Fix strange bugs and crashes.Olivier Goffart2009-09-281-0/+25
| | | | | | | | | | I was assuming that the default return value register was always set to 0 for native calls. But this is not the case. So we must ensure this. Also be consistend in the way the stackframe grow and shrink. This expose another bug in the way the call frame is created in JSC Reviewed-by: Kent Hansen
* Fixing the autotest for other platforms, hopefully...João Abecasis2009-09-281-1/+1
| | | | Reviewed-by: Joerg Bornemann
* Animations: updateCurrentTime now receives the currentTime as paramaterThierry Bastian2009-09-282-6/+6
| | | | Reviewed-by: Leo
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Sami Merilä2009-09-282-8/+13
|\
| * Fix tst_QTextDocument::cursorPositionChangedOnSetTextmae2009-09-281-7/+3
| | | | | | | | | | | | | | | | | | | | The test was introduced to make sure that the cursor position changed signal was not emitted excessively on setPlainText or on setHtml. The original fix however still included one superfluous emission for a temporary QTextCursor object. This was fixed by change 930ba91ec1e630, this change adjusts the auto test accordingly. Reviewed-by: Simon Hausmann
| * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-286-16/+175
| |\
| * | Fixed QMessageBox::updateSize test case for S60.Janne Anttila2009-09-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In S60 message boxes are always in portrait mode located on the bottom of screen and they occypy the whole sreen width. In addition messageboxes in S60 does not have their own buttons, but the buttons are located in system softkey area. That's why adding standard buttons for message box in S60 does not change the dialog size. Reviewed-by: Sami Merila
* | | Triggering softkey action for disbled widget causes a crash.Sami Merilä2009-09-281-0/+18
| |/ |/| | | | | | | | | | | | | | | | | Softkey actions need to copy enable state from action widget to prevent crash when action is triggered and action widget is disabled. OPEN: dynamically setting enable state for softkey actions. Task-number: QT-2117 Reviewed-by: Jason Barron
* | Merge commit 'origin/4.5' into 4.6Andreas Aardal Hanssen2009-09-285-13/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Joao Conflicts: src/gui/graphicsview/qgraphicsview.cpp src/gui/widgets/qspinbox.cpp tests/auto/qgraphicsview/tst_qgraphicsview.cpp
| * | QGraphicsItem with parent flag ItemClipsChildrenToShape not visibleAndreas Aardal Hanssen2009-09-281-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression against Qt 4.4. Children of items with ItemClipsChildrenToShape would only be discovered if the view's expose region contained the outer bounding rect of all items, _if_ there was at least one item in the scene that enabled ItemIgnoresTransformations. The reason for this bug is that the presence of an untransformable item causes the item lookups to go through a different path (QGraphicsViewPrivate::itemsInArea()). This function had the bug that it didn't correctly discover children of clip-items. Because of this, in the provided test case you could "work around" the bug by either removing the clip flag, or the transformation flag. Task-number: QTBUG-4151 Reviewed-by: Alexis
| * | Fixes: better wording.Bill King2009-09-281-1/+1
| | |
| * | Added test for QTBUG-4595.Stian Sandvik Thomassen2009-09-281-0/+15
| | | | | | | | | | | | | | | | | | | | | QDomDocument::toString() should not cause an assertion if the document specifies an encoding that is not supported by QTextCodec. Task-number: QTBUG-4595
| * | Fixes a crash in QDoubleSpinBoxJoão Abecasis2009-09-252-12/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing dubious intermediate detection code that also had a buffer overflow. The results were inconsistent and not dependable on. Processing was inefficient and end value to user experience dubious. Test cases that abused the former behaviour were changed to consider input in an Intermediate where it was previously considered Invalid. With this change, user input will mostly be considered in an intermediate state, until it is effectively validated. Task-number: 255019 Reviewed-by: Anders Bakken
* | | add a test for custom QEventTransitionKent Hansen2009-09-281-3/+74
| |/ |/| | | | | | | Test that the event has the right attributes. Also improve the custom QSignalTransition test to cover all attributes.
* | Make the test pass on both large and small screens.Paul Olav Tvete2009-09-281-10/+10
| | | | | | | | Reviewed-by: Joerg
* | Make QSignalEvent and QWrappedEvent inner classes of QStateMachineKent Hansen2009-09-281-2/+2
| | | | | | | | | | | | | | | | | | Those two classes are specific to the state machine framework, but their names were so generic that we felt they were polluting the Q-namespace. They are now QStateMachine::SignalEvent and QStateMachine::WrappedEvent. Reviewed-by: Eskil Abrahamsen Blomfeldt
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-281-0/+36
|\ \
| * | Make sure the correct soft key is triggered.Jason Barron2009-09-281-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | In cases where there are both softkey actions as well as "normal" actions, we need to be sure to skip over the none softkey actions since they should not be a part of the softkey framework and the 'index' will be out of sync. Reviewed-by: Sami Merila
* | | Fixed qsharedmemory autotest compile break for Symbian OSJanne Anttila2009-09-282-3/+10
|/ / | | | | | | Reviewed-by: TrustMe
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-287-43/+35
|\ \
| * | Stabilize some more testsOlivier Goffart2009-09-287-43/+35
| | |
* | | Fixed style dependent failures for S60 in QGraphicsLinearLayout test.Janne Anttila2009-09-281-1/+3
|/ / | | | | | | | | | | Since S60 does not compile QPlastiqueStyle, we use QWindowsStyle Reviewed-by: TrustMe
* | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-281-1/+0
|\ \
| * | testBatFiles removed from qprocess.pro autotestJoerg Bornemann2009-09-281-1/+0
| | | | | | | | | | | | Reviewed-by: paul
* | | Removed RVCT workarounds for QFileSystemWatcher autotest.Janne Anttila2009-09-281-8/+0
|/ / | | | | | | | | | | | | The test passes without these workarounds in 5800 XpressMusic and emulator Reviewed-by: TrustMe
* | Enabled WINCE workaround for S60 in QEasingCurve::valueForProgress test.Janne Anttila2009-09-281-2/+2
| | | | | | | | | | | | See: 82275b4c03a0. This workaround applies also for Symbian. Reviewed-by: TrustMe
* | Fixed qeasingcurve autotest compilation for other than WINCE platforms.Janne Anttila2009-09-281-5/+5
| | | | | | | | Reviewed-by: TrustMe
* | Re-enabled tst_QImageReader::readFromDevice for Symbian OSJanne Anttila2009-09-281-3/+1
| | | | | | | | | | | | | | Symbian OS has working networking support now, so we donät need to skip this test anymore. Reviewed-by: TrustMe
* | Fixes autotest trying to delete table from wrong DBBill King2009-09-281-2/+2
| |
* | QSQL; Precision Policy - update test to reflect passing status.Justin McPherson2009-09-281-4/+0
| | | | | | | | Reviewed-by: Bill King
* | Improved audio unit testsKurt Korbatits2009-09-282-2/+66
| | | | | | | | | | | | Added more checking in each step of the playback or recording tests. Reviewed-by:Justin McPherson
* | Process could not be located on WindowsCEninerider2009-09-252-5/+20
| | | | | | | | | | | | | | The SRCDIR entry was added to the project file to correct the deployment for WindowsCE. Also the process start is now monitored in the test. Reviewed-by: Joerg
* | Individual targets for the test processes definedninerider2009-09-252-23/+81
| | | | | | | | | | | | | | The deployment for Windows CE did not work as the processes could not be located properly on the device. Reviewed-by: banana joe
* | Added "requires qtscript" to qsystemsemaphore test in S60 and WinCE.Janne Anttila2009-09-251-0/+2
| | | | | | | | | | | | | | | | | | | | qsystemsemaphore autotest does not compile for S60 and WinCE without QtScript and QtScript currently does not compile for S60, that's why the following statement was added to pro file: requires(contains(QT_CONFIG,script)) Reviewed-by: TrustMe
* | Added "requires qtscript" to qsharedmemory test pro in S60 and WinCE.Janne Anttila2009-09-252-0/+4
| | | | | | | | | | | | | | | | | | | | qsharedmemory autotest does not compile for S60 and WinCE without QtScript and QtScript currently does not compiled for S60, that's why the following statement was added: requires(contains(QT_CONFIG,script)) Reviewed-by: TrustMe
* | Skipped QProcess::setProcessEnvironment auto test for Symbian.Janne Anttila2009-09-251-3/+4
| | | | | | | | | | | | Symbian OS doesn't support environment variables. Reviewed-by: Miikka Heikkinen
* | Clean-up for qprocess autotest since default stack in S60 is now 80K.Janne Anttila2009-09-251-16/+0
| | | | | | | | | | | | | | | | Specialized test code to set higher stack for this test case is not needed anymore since default stack for Qt thread in S60 now is 80 KB. See commit: 9324fdde Reviewed-by: TrustMe
* | tst_qfilesystemwatcher directory changed test relaxedmread2009-09-251-1/+3
| | | | | | | | | | | | | | | | | | The polling watcher was generating two events for directory content deletion on Symbian emulator. 1 for content change, 1 for time change. Seems within the bounds of reason for a poller, so test relaxed to allow it. Reviewed-by: Liang QI
* | Fixed the image comparison tests for Windows Mobile 5ninerider2009-09-253-3/+14
| | | | | | | | | | | | | | The image comparison reference snapshots were not up to date. Also the comparison ignores the title bar completely. Reviewed-by: banana joe
* | QGraphicsAnchorLayout: Enable boundary feasibility testEduardo M. Fleury2009-09-251-4/+2
| | | | | | | | | | | | | | | | This test would trigger random Q_ASSERT failures but should work fine after the previous commit. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>