summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Compile fix for QStringBuilder auto testhjk2009-08-106-10/+60
|
* Moved tests/auto/runQtXmlPatternsTests.sh to devtools/shellLeonardo Sobral Cunha2009-08-101-61/+0
|
* Add QBENCMARK_ONCE to QTestLib.Morten Sorvig2009-08-102-1/+15
| | | | | | | | | | The code block associated with QBENCHMARK_ONCE macro will only be executed once, whether the backend returns a valid result or not. The "-iterations" command line argument is also ignored. This is useful for benchmarking code that has side effects. Revby: jasplin
* Make QTimeLine::start() restart from the beginning as the documentation says.David Faure2009-08-101-1/+40
| | | | | | | | | The documentation implies that start restarts. Which it did, but only if the timeline was finished _and_ the duration hadn't been changed meanwhile. So after a setDuration(), start() would do nothing, which was unexpected. Merge-request: 1145 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtKeith Isdale2009-08-10138-344/+562
|\
| * Set default QGraphicsTransform3D axis to (0, 0, 1)Rhys Weatherley2009-08-101-1/+21
| | | | | | | | | | | | | | | | | | The docs said that the default axis was (0, 0, 1), but the code and unit tests were using (0, 0, 0). Modify the code to match the docs because (0, 0, 0) is not very useful. Also optimize the calculation of sin/cos values for 90, 180, and 270 degrees. Reviewed-by: Aaron Kennedy
| * QItemSelectionModel did not send selectionChanged signal when deleting an itemGabriel de Dietrich2009-08-071-0/+24
| | | | | | | | | | | | | | | | | | in a tree-like model with one of its grand-children being selected. Added recursive deselection for the model. Task-number: 232634 Reviewed-by: thierry
| * QDockWidget: Make visibilityChanged more accurateThierry Bastian2009-08-071-1/+18
| | | | | | | | Task-number: 258459
| * Fixes: QComboBox keyboard search not working properly when current index is -1Olivier Goffart2009-08-071-0/+36
| | | | | | | | | | | | | | | | If the current index is invalid, start would be (0,0) but would be skiped Task-number: 220195 Reviewed-by: thierry
| * xmlpatterns autotest: make tests work from shadow directoryPeter Hartmann2009-08-072-67/+73
| | | | | | | | | | | | ... by prepending SRCDIR to the loaded files. Reviewed-by: TrustMe
| * fixing qmainwindow autotestThomas Hartmann2009-08-071-0/+3
| | | | | | | | | | | | | | On windows mobile with native menubar integration the menubar is not a child of the mainwindow Reviewed-by: Joerg
| * Extra check in pluginloader autotestThomas Hartmann2009-08-071-0/+1
| | | | | | | | | | | | This extra check prevents a crash if plugin loading fails Reviewed-by: Joerg
| * Adding QApplication::processEvents to autotestThomas Hartmann2009-08-071-0/+1
| | | | | | | | | | | | Windows CE is sometimes a little bit slow Reviewed-by: Joerg
| * Fixing deployment for shadow builds on Windows CEThomas Hartmann2009-08-072-3/+2
| | | | | | | | Reviewed-by: Joerg
| * tst_QFile::copyAfterFail fixed on WindowsJoerg Bornemann2009-08-061-0/+1
| | | | | | | | | | | | We cannot remove a file that's still opened. Reviewed-by: ossi
| * tst_qsharedpointer compile fix for Windows CEJoerg Bornemann2009-08-061-0/+4
| | | | | | | | | | | | There's no time() on Windows CE. Reviewed-by: Daniel Molkentin
| * tst_qfileinfo fixed for Windows CEJoerg Bornemann2009-08-061-2/+8
| | | | | | | | | | | | | | Win CE doesn't support real file permissions (FAT only). Further, we don't have pagefile.sys. Reviewed-by: thartman
| * tst_QHostInfo: Disable short name tests for lookupIPv4.Jocelyn Turcotte2009-08-061-4/+1
| | | | | | | | | | | | | | | | These tests run against domain names in troll.no and to allow shorter names the machine has to be in this domain. Removing them since this specific case test the OS more than Qt itself. Reviewed-by: Thiago
| * tst_qstyle compile fixJoerg Bornemann2009-08-061-1/+1
| | | | | | | | Reviewed-by: thartman
| * fix tst_qlocalsocket::readBufferOverflow for Windows CEJoerg Bornemann2009-08-061-3/+6
| | | | | | | | | | | | | | The TCP socket must get the chance to read data into its read buffer after the first read operation emptied it. Reviewed-by: thartman
| * fix warning in tst_qlocalsocketJoerg Bornemann2009-08-061-0/+1
| | | | | | | | Reviewed-by: thartman
| * Fix a bug in QProcess. QProcess was not reentrant on UnixBenjamin Poulain2009-08-061-1/+1
| | | | | | | | | | | | | | | | | | QProcess is supposed to be reentrant but was not on Unix. The constructor of QProcessManager could be exectued several time when QProcess is created. The construction is now protected by a mutex. Task-number: 254246 Reviewed-by: Olivier Goffart
| * Fixes autotests in QTreeWidget: setHeaderItem & defaultRowSizesLeonardo Sobral Cunha2009-08-061-4/+9
| | | | | | | | | | | | defaultRowSizes was broken on oxygen style because of missing icons. Reviewed-by: paul
| * Delay too short after fullscreen window shown.Gabriel de Dietrich2009-08-061-2/+1
| |
| * Fix QXmlQuery autotestsPeter Hartmann2009-08-062-15/+21
| | | | | | | | | | | | | | | | before, it asserted; now, the test is not asserting anymore but still failing, because the fix is not yet checked in. Additionally, it now runs from a shadow directory. Reviewed-by: TrustMe
| * Fixes autotests in QFileSystemWatcher: watchFileAndItsDirectoryLeonardo Sobral Cunha2009-08-061-2/+20
| | | | | | | | | | | | | | | | dnotify is something from older linux kernels and cannot be trusted, therefore we skip some tests. Also we cannot guarantee that 1 operation on the file give only 1 notification in general, so we relaxed the conditions. Reviewed-by: paul
| * QMenuBar: autotests fixedThierry Bastian2009-08-061-9/+5
| | | | | | | | | | Apperently we don't get the leave event when simply moving the mouse with the testlib
| * QMenuBar: we can't test the action geometries when it is nativeThierry Bastian2009-08-061-0/+3
| |
| * Skip tst_QWindowSurface::flushOutsidePaintEvent() when using composition managerJocelyn Turcotte2009-08-061-0/+6
| | | | | | | | | | | | | | The first VERIFY_COLOR(w.geometry(), w.color); call was failing because the window was mapped but not yet painted on the screen. Reviewed-by: Bradley T. Hughes
| * ignore someOswald Buddenhagen2009-08-063-0/+8
| |
| * Make sure QWidget::setStyle() relayouts its children.Jan-Arve Sæther2009-08-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Changing a style on a widget should invalidate the widget's layout, since the layouts spacings and margins may depend on the style. One optimization could be to check to see if the spacing and margins have changed due to the style change, but the old style is not available in changeEvent, so we'll keep it simple for now. RevBy: paul Task: 256986
| * QMenu: fixed a menu poppping up behind the menubarThierry Bastian2009-08-061-1/+2
| |
| * lalala ... forgot to add test dataOswald Buddenhagen2009-08-061-0/+21
| |
| * Tests: Adapted uic baseline to 33604fb02fa463f36fa78e515bb42a34a746f0f2Friedemann Kleint2009-08-06100-200/+200
| |
| * QMenu: fix multi column autotest for styles which don't support itThierry Bastian2009-08-061-0/+7
| |
| * task256322_highlight() failed due to lack of delays before QVERIFYs.Gabriel de Dietrich2009-08-061-5/+8
| | | | | | | | | | | | Last QVERIFY still failing. Reviewed-by: olivier
| * Support _NET_WORKAREA on Xinerama setups in QDesktopWidgetBradley T. Hughes2009-08-061-2/+10
| | | | | | | | | | | | | | Instead of ignoring _NET_WORKAREA, merge it with each screen geometry to give a meaningful availableGeometry() for all screens. Reviewed-by: denis
| * Fix the setStyleShouldChangeSpacing test function for Mac.Olivier Goffart2009-08-061-0/+2
| |
| * Fixes one more autotest in QCompleter: task247560_keyboardNavigationLeonardo Sobral Cunha2009-08-061-0/+4
| | | | | | | | Reviewed-by: paul
| * Fix compilation of the testOlivier Goffart2009-08-061-8/+5
| | | | | | | | | | view doesn't exist anymore and the qWait should be enough to make the x11 call useless
| * Fixed QComboBox test on slow window managerOlivier Goffart2009-08-061-2/+2
| |
| * Fixes autotest task253125_lineEditCompletion in QCompleterLeonardo Sobral Cunha2009-08-061-1/+7
| | | | | | | | Reviewed-by: paul
| * Q3ProgressBar autotest fixed on macThierry Bastian2009-08-061-3/+4
| | | | | | | | | | | | | | - We need to process events in order to leave time to mac to update the widget. - When in undefined case, the progressbar is animated, so the number of paintevents might be bigger than 1.
| * Useless Q_ASSERTs made test crash.Gabriel de Dietrich2009-08-061-2/+0
| | | | | | | | | | Reviewed-by: thierry Reviewed-by: olivier
| * Test fail resolved. Waiting time after dialog.exec() was too short.Gabriel de Dietrich2009-08-061-1/+1
| |
| * Normalize line endings before comparing the lines.Jan-Arve Sæther2009-08-061-7/+18
| | | | | | | | | | | | We already trimmed away any \r from the expected line, but we did not trim away \r from the actual line. That caused some false negatives on windows.
* | In a .pro file the include() function does not warn if specified fileKeith Isdale2009-08-102-2/+2
|/ | | | | | | | | | | | | | | | can not be found change that behavior to warn by default. Currently the default behavior of include() in a .pro file is not to warn if the supplied file argument can not be found which can lead to hard to find build errors. The include() will now,by default, warn if the specified file can not be found. If a warning is not required because the included file is optional then example use in the .pro file: include(SomePriFile.pri", "", true) Task-number:259398 Reviewed-by:Marius Storm-Olsen
* Resolved tst_QCssParser::extractFontFamily_data on jackychanOlivier Goffart2009-08-061-2/+5
| | | | That machine has no 'Times New Roman' the test was reliying in
* Update baseline (project.ts.result) for the good:backslashes case.Jan-Arve Sæther2009-08-061-2/+2
|
* Merge commit 'origin/4.5'Rohan McGovern2009-08-0633-201/+237
|\ | | | | | | | | | | | | | | Conflicts: src/gui/dialogs/qfiledialog.cpp src/gui/dialogs/qfiledialog_win.cpp tests/auto/qicoimageformat/tst_qicoimageformat.cpp tests/auto/qscriptqobject/qscriptqobject.pro