summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Small improvements to some autotests.Denis Dzyubenko2009-09-183-128/+54
| | | | | | | This should improve qgraphicsview, qgraphicsitem and qtableview autotests on slow window managers on X11. Reviewed-by: trustme
* make tests/auto/qicon/qicon.pro work in shadow buildsJoerg Bornemann2009-09-181-5/+7
| | | | Reviewed-by: TrustMe
* Adding support for symbian graphics resources.Aleksandar Sasha Babic2009-09-181-0/+3
| | | | | | | | | | | | | | This enables us to convert from and to new Symbian type of graphics resource, namely SgImage. This only supported with the OpenVG graphics system. On other graphics systems this will return null QPixmap. Conflicts: src/corelib/global/qglobal.h src/gui/image/qpixmap.h src/gui/image/qpixmap_s60.cpp Reviewed-by: Jason Barron
* Add debug outputPaul Olav Tvete2009-09-181-0/+7
| | | | | | | | This test mysteriously fails when run from the autotest system, but succeeds when run manually. We need more data to find out what is going on. Sort-of-reviewed-by: Jesper
* Change name of test to tst_QGraphicsAnchorLayout1Jan-Arve Sæther2009-09-181-31/+31
|
* Stabilize testOlivier Goffart2009-09-182-3/+3
|
* Don't fail if no printers are available.Paul Olav Tvete2009-09-181-0/+3
|
* Only ignore the addChildLayoutItem warning in debug builds.Jan-Arve Sæther2009-09-181-1/+4
| | | | We only output that message in debug builds....
* Autotest: fix compilation with a more strict compiler / libc.Thiago Macieira2009-09-182-0/+5
| | | | Reviewed-By: TrustMe
* QGraphicsAnchorLayout: Added an auto test for size policyAnselmo Lacerda S. de Melo2009-09-181-0/+86
| | | | | | | | | | Added an auto test for the currently supported size policies set. This is a simple test containing a single item anchored to the layout vertical and horizontally. The size policies are set, then the item's minimum, preferred and maximum sizes are compared to the expected ones, according to each policy. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
* Stabilize testOlivier Goffart2009-09-171-4/+1
|
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Tom Cooksey2009-09-1716-25/+3611
|\ | | | | | | | | Conflicts: tests/auto/qtwidgets/tst_qtwidgets.cpp
| * Fixed the invalid license header.Trond Kjernåsen2009-09-171-39/+39
| | | | | | | | | | | | This caused the tests/header test to fail. Reviewed-by: Kim
| * Clean up my previous commit (remove comment and whitespace fix)Jan-Arve Sæther2009-09-171-3/+1
| |
| * Fix the scrollTo() test function on Windows.Jan-Arve Sæther2009-09-171-4/+7
| | | | | | | | | | | | | | | | | | | | After the QTRY_COMPARE was added, the size of the view suddenly became a hard requirement. However, this reqirement was not met on windows, since the forcedSize was smaller than the minimum size allowed for the view. Thus, it would never have its size set to forcedSize and the QTRY_COMPARE would fail.
| * Fixed a bug in QToolTip when internal tool tips where reused.Trond Kjernaasen2009-09-171-3/+8
| | | | | | | | | | | | | | | | | | If a tool tip is to be reused, it *has* to be visible otherwise it *may* get destroyed by the expiration timer before the timer is reset. The tst_qtooltip::setPalette() test triggered this obscure bug under Windows. Reviewed-by: Kim
| * Implement hasConflicts().Jan-Arve Sæther2009-09-171-1/+43
| |
| * Merge branch 'orbit-fixes' into 4.6Jan-Arve Sæther2009-09-173-0/+3097
| |\
| | * Add QEXPECT_FAIL for the one test that fails.Jan-Arve Sæther2009-09-171-0/+2
| | | | | | | | | | | | | | | Note that t does not fail with simplification turned off (QT_ANCHORLAYOUT_NO_SIMPLIFICATION=1)
| | * Add QTest::ignoreMessage() calls in order to reduce some console noise.Jan-Arve Sæther2009-09-171-0/+28
| | |
| | * QGraphicsAnchorLayout: Added new autotests fileJesus Sanchez-Palencia2009-09-173-0/+3067
| | | | | | | | | | | | | | | | | | | | | | | | Several autotests written by the Orbit team were added as a new QGraphicsAnchorLayout autotests file. Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
| * | Control-drag header selection behaved wierdly.Gabriel de Dietrich2009-09-171-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QItemSelectionModel::Current was not set in QTableViewPrivate::selectColumn(). However, Control-drag selection in QTableView behaved differently than other software such as OpenOffice's spreadsheet. Now the behaviour when Control-dragging is that the selection will be set to the opposite of the selection state of the first cell. If that cell is selected, we will deselected the cells while dragging, and conversely, if it isn't selected, the cells will be selected. Reviewed-by: Olivier Task-number: QT-1435 Task-number: 191545
| * | Merge branch '4.6' of git://scm.dev.nokia.troll.no/qt/qt-releases; branch ↵Jason McDonald2009-09-171-4/+14
| |\ \ | | | | | | | | | | | | '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
| | * | Fixed QFileInfo autotest absolute path tests not to expect C-drive.Miikka Heikkinen2009-09-171-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | Changed absolute path tests so that they will work from any drive. Reviewed-by: Shane Kearns
| * | | Fix license headers.Jason McDonald2009-09-176-2/+247
| |/ / | | | | | | | | | Reviewed-by: Trust Me
| * | Stabilize tst_QGraphicsItem::hoverEventsGenerateRepaints.Bjørn Erik Nilsen2009-09-171-9/+7
| | | | | | | | | | | | | | | Make the test independent of window activation; we're only interested in the behavior for hover events.
| * | Stabilize tst_QGraphicsItem::cacheMode on the Mac.Bjørn Erik Nilsen2009-09-171-0/+3
| |/ | | | | | | | | Problem was that the window got activated *after* the items were added to the scene, causing two repaints on the viewport.
| * Add a new wildcard mode similar to bash in QRegExpBenjamin Poulain2009-09-171-1/+74
| | | | | | | | | | | | | | | | | | | | | | It is not possible to escape a wildcard character in the Wildcard mode of QRegExp. This follows the kind of wildcard of the CLI of Windows The new WildCardUnix follows the escaping of a unix's bash. Task-number: 241346 Reviewed-by: Olivier Goffart Reviewed-by: Matthew Cattell
| * Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-09-177-10/+85
| |\ | | | | | | | | | | | | | | | Conflicts: tests/auto/qimagereader/tst_qimagereader.cpp tests/auto/qtwidgets/tst_qtwidgets.cpp
* | \ Merge branch '4.5' into 4.6Tom Cooksey2009-09-178-10/+80
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/qimagereader/tst_qimagereader.cpp tests/auto/qpainter/tst_qpainter.cpp tests/auto/qtwidgets/tst_qtwidgets.cpp
| * | | Revert "Added autotest to demonstrate clipping path problem"Alexis Menard2009-09-171-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e7042dea2431b8f64574d4e97eb896285b328c8b. Alexis : This should never have been here. E-mail is invalid.
| * | | Fix crash or painting error when drawing dashed lines with penWidth > 1Eskil Abrahamsen Blomfeldt2009-09-171-0/+25
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the width is multiplied into the dash, it needs to be divided out, otherwise you can get a dashOffset which is greater than the pattern at the index, and the dash can become negative. This will in turn lead to passing a negative width to the rasterizer, which at some point will get cast to an unsigned int and overflow. Depending on the position of the line and size of the buffer, this will either crash or produce garbled output. Task-number: QT-4444 Reviewed-by: Samuel
| * | Fixes issue of forward only datasets failing when not set so.Bill King2009-09-171-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously you had to set forward only on non-scrollable datasets explicitly. This queries ODBC, to determine if it's a scrollable dataset, and sets forwardOnly to false if it isn't. Task-number: QT-353 Reviewed-by: Justin McPherson
| * | Fixed the qkeysequence::translated autotest.Kim Motoyoshi Kalland2009-09-164-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | The test failed because it tried to open a .qm file which didn't exist in Qt's translations directory. Fixed by running lrelease on the .ts file and copying the resulting .qm into the test directory. Reviewed-by: Trond
| * | Disabled the qtwidgets test for the times being.Trond Kjernaasen2009-09-161-0/+2
| | | | | | | | | | | | Reviewed-by: Jesper
| * | Fixed the QThread tests for Windows.Trond Kjernaasen2009-09-161-9/+18
| | | | | | | | | | | | | | | Backported d04d67e146bce3d407f992c283d7ab3d0c25d428 and 08b54f274d57e4735d0042e295237f176506433d from 4.6.
| * | Fixed QImageReader autotests.Trond Kjernaasen2009-09-161-10/+11
| | | | | | | | | | | | Reviewed-by: Kim
| * | Added autotest to demonstrate clipping path problemandyc2009-09-151-0/+32
| | |
* | | Skip the multipleFBOInterleavedRendering autotest on when using OpenGL 1Tom Cooksey2009-09-171-0/+5
| |/ |/| | | | | | | | | | | Interleaved rendering to GL targets is going to be flaky with the GL1 engine and wont be supported. Reviewed-by: Trustme
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Shane Kearns2009-09-1619-89/+112
|\ \
| * | Fixed linking on Windows.Trond Kjernaasen2009-09-161-1/+1
| | | | | | | | | | | | Reviewed-by: Kim
| * | Stabilize testsOlivier Goffart2009-09-165-4/+19
| | |
| * | Fix tst_QGL::openGLVersionCheck() autotest on OpenGL ES platformsTom Cooksey2009-09-161-1/+9
| | | | | | | | | | | | Reviewed-by: Trustme
| * | Make test pass after license header changesPaul Olav Tvete2009-09-161-3/+3
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | Updating line numbers in uic3 auto-testsJoão Abecasis2009-09-1611-80/+80
| | |
* | | Fix QTimer overflow with interval > 35 minutes on symbianShane Kearns2009-09-161-0/+12
|/ / | | | | | | | | | | | | | | For long intervals, restart the system timer every 2000 seconds New autotest to verify long timers don't crash or complete immediately Task-number: QT-651 Reviewed-by: axis
* | Stabilize tst_QComboBox::task260974_menuItemRectangleForComboBoxPopupOlivier Goffart2009-09-151-1/+1
| |
* | Slightly better code for the test.Alexis Menard2009-09-151-5/+6
| | | | | | | | | | | | Then the test doesn't leak. Reviewed-by:ogoffart
* | Fix macplist autotestJoão Abecasis2009-09-151-1/+0
| | | | | | | | | | This goes to show that once a test is running no one will look at the results...
* | Increasing a timeout on QProcess testsJoão Abecasis2009-09-151-1/+1
| | | | | | | | | | Not a proper fix, but let's see if this increases reliability of the results.