summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed QPainter::begin() so that it fails gracefully.Kim Motoyoshi Kalland2009-10-151-0/+40
| | | | | | | | | | Fixed QPainter::begin() so that if it fails, it can still be used on other paint devices without causing an assert. Autotest included. I also made begin() fail on images with the QImage::Format_Indexed8 format and added warnings in the documentation since painting on such images is not supported. Reviewed-by: Trond
* Add a way to allow tracking the originating object with QNetworkRequest.Simon Hausmann2009-10-091-0/+16
| | | | | | | | Added setOriginatingObject() and originatingObject() to QNetworkRequest that internally tracks the QObject using a QWeakPointer. Reviewed-by: Lars Knoll Rubberstamped-by: Thiago
* Autotest: fix false positives with MSVC.NET 2003Thiago Macieira2009-10-091-1/+19
| | | | | | | | This is definitely a compiler bug. The compiler forgets to adjust the value of the pointers inside the template operator== function. If you make the call outside the template function, it works as expected. Reviewed-by: Trust Me
* Autotest: fix forward-declaration test.Thiago Macieira2009-10-091-1/+5
| | | | | | | The problem was that we forward-declared as struct, but the function was implemented as class. It's different on MSVC. Reviewed-by: Trust Me
* Help Nokia X86 compiler to compiler qbuttongroup autotest.Janne Anttila2009-10-091-1/+1
| | | | Reviewed-by: TrustMe
* Fixes XPASS on the QFileDialog test on CarbonOlivier Goffart2009-10-081-1/+1
| | | | Reviewed-by: alexis
* Skip the crashing selftest on MacOlivier Goffart2009-10-081-1/+1
| | | | | | The signal handler does seem to work on Mac for segfault Reviewed-by: Rohan McGovern
* Stabilize TestsOlivier Goffart2009-10-082-9/+9
|
* Skipped test for Windows Mobile involving mouse move events.ninerider2009-10-081-0/+3
| | | | | | | Events caused by dragging a mouse are currently unavailable in Windows Mobile. Reviewed-by: Joerg
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-082-3/+19
|\
| * Mac: fix auto test to reflect recent changes in wheel event handlingRichard Moe Gustavsen2009-10-081-1/+17
| | | | | | | | | | | | | | | | | | | | ...on mac. Since mouse wheel events are accelerated by the OS on mac, we cannot multiply the delta with QApplication::wheelScrollLines, since this will make scrolling behave far to fast. To change the speed of wheel events on Mac, one should use system preferences. This patch updates the test to reflect his difference. Rev-By: ogoffart
| * Fixed trailing whitespaces for f831c60a.Janne Anttila2009-10-081-2/+2
| | | | | | | | Reviewed-by: TrustMe
* | Non-Zero timer livelock test expected to fail on Windows CEninerider2009-10-081-6/+3
| | | | | | | | | | | | Timing issues prevent this test from working correctly on Windows CE. Reviewed-by: Joerg
* | Comparison tolerance increased for handheldsninerider2009-10-081-1/+5
|/ | | | | | | The 'fuzzy' value for the was not relaxed enoough for small devices such as Windows Mobile and the like. Reviewed-by: Joerg
* Fix for "Braces mismatch \tests\auto\qsqlrecord\qsqlrecord.pro:16"Janne Anttila2009-10-081-3/+3
| | | | Reviewed-by: Miikka Heikkinen
* Fix qsound autotest build break in Symbian.Janne Anttila2009-10-082-1/+5
| | | | Reviewed-by: TrustMe
* Fix tst_QTextLayout::testTabDPIScale for WinCE/SymbianAlessandro Portale2009-10-071-11/+7
| | | | | | | Make tst_QTextLayout::testTabDPIScale work by increasing the tab stop distances. Now, systems with higher DPIs can pass this test. Review-By: Joerg Bornemann
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-071-5/+0
|\
| * Revert "Fix tst_QTextLayout::testTabDPIScale"Alessandro Portale2009-10-071-5/+0
| | | | | | | | | | | | | | | | This reverts commit bf8d74bb8e849cb9eea74ef8fdb82d8926c48880. Breaks more cases than it actually fixes. modified: tests/auto/qtextlayout/tst_qtextlayout.cpp
* | Skip the srcoll per pixel mouse wheel test on Windows CEninerider2009-10-071-0/+6
|/ | | | | | | | The test data does not account for different geometries on different devices. The 'magic number' 89 would have to be adapted for each variant. A more robust test would be required to suit all cases. Reviewed-by: banana joe
* Fix tst_QTextLayout::testTabDPIScaleAlessandro Portale2009-10-071-0/+5
| | | | | | | Symbian has a different default font size than other OSses. Consider that fact in tst_QTextLayout::testTabDPIScale Reviewed-By: Liang QI
* Support small screen for QToolBar auto test.Liang QI2009-10-071-17/+106
| | | | | | We need to test through extension tool button and menu for it when there is no enough width on embedded devices. Reviewed-by: TrustMe
* tests/auto/qscriptengine/qscriptengine.pro Windows CE fixJoerg Bornemann2009-10-071-1/+6
| | | | Reviewed-by: TrustMe
* Fixed deployment when using cetest.axis2009-10-0719-70/+115
| | | | | | | | | | | Cetest (and other programs that upload dlls manually without using a package) need to deploy some plugins for specific tests. If those tests are deployed in a normal package however, the installation will fail because the plugins are already included in the Qt installation. Fixed that by putting the deployment inside a scope that cetest will define. RevBy: Miikka Heikkinen
* Merge branch 'openbossa-expanding' into 4.6Jan-Arve Sæther2009-10-072-5/+281
|\
| * Make some lines in the autotest more readable.Jan-Arve Sæther2009-10-071-11/+6
| |
| * QGraphicsAnchorLayout: Enable "float" Orbit testEduardo M. Fleury2009-10-061-3/+0
| | | | | | | | | | | | | | Now supported after float patches. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
| * QGraphicsAnchorLayout: Adding a Float Conflict test caseJesus Sanchez-Palencia2009-10-062-1/+72
| | | | | | | | | | | | | | | | Now we don't support floating items and so we should consider that the layout has a conflict when handling this situation. Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
| * QGraphicsAnchorLayout: Fix creation of internal layout anchorsEduardo M. Fleury2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Since the AnchorData cleanup commit (c974aca8) all anchor initialization is being done by refreshSizeHints. However that method was not able to properly initialize the internal layout anchors. This commit refactors that method both to add the functionality and improve readability. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
| * QGraphicsAnchorLayout Tests: Enable expanding testsEduardo M. Fleury2009-10-061-9/+8
| | | | | | | | | | | | | | | | Removing QEXPECT_FAIL and making minor corrections on expected values. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
| * QGraphicsAnchorLayout: add autotests for QSizePolicy::ExpandFlagCaio Marcelo de Oliveira Filho2009-10-061-0/+214
| | | | | | | | | | | | | | | | | | Add autotests that use the ExpandFlag via QSizePolicy::Expanding policy. Those tests cover the simple cases and behaviours with sequential and parallel anchor setups. Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
* | QUrl autotest additionsDavid Faure2009-10-071-2/+9
| | | | | | | | | | | | | | | | | | Add autotest which actually passes, the problem (in kurltest) was the underscore in the hostname. Rename ok_hostname to bad_hostname in the error test, for clarity. Merge-request: 1710 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* | A test requiring an enter/leave signal to be emitted is skipped.ninerider2009-10-071-0/+3
| | | | | | | | | | | | Enter leave signals are not yet supported on Windows Mobile. Reviewed-by: Joerg
* | Whe STL is not enabled, most of the test threads failed to start.ninerider2009-10-071-1/+26
| | | | | | | | | | | | | | | | A second worker function that was not defined in the descendant classes was used in these cases. The missing worker functions have been supplied and some tests skipped that depend on iterator ranges. Reviewed-by: Joerg
* | implement qHash function for QScriptStringKent Hansen2009-10-071-0/+17
| | | | | | | | Reviewed-by: Olivier Goffart
* | Merge branch '4.5' into 4.6Thiago Macieira2009-10-061-6/+80
|\ \ | | | | | | | | | | | | Conflicts: tests/auto/networkselftest/tst_networkselftest.cpp
| * | Autotest: add a few more tests, with IP address and actual hostnameThiago Macieira2009-10-061-4/+74
| | |
| * | Autotest: use port 12346 instead of 1, to ensure that it's not aThiago Macieira2009-10-061-2/+7
| | | | | | | | | | | | | | | | | | firewall issue Also check if we're not timing out instead of being able to fail.
* | | QScriptContext::parentContext: don't skip unessecary framesOlivier Goffart2009-10-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Calling QScriptValue::call doesn't create a fake frame. We can detect a real fake frame as it does not have a callee. Task-number: QT-2270 Reviewed-by: Kent Hansen
* | | tst_qnetworkreply: httpConnectionCount test improvementsMarkus Goetz2009-10-061-3/+7
| | | | | | | | | | | | Reviewed-by: TrustMe
* | | add test for QT-2270Kent Hansen2009-10-061-0/+17
| | |
* | | tst_qhttpnetworkconnection: Some more checksMarkus Goetz2009-10-061-2/+14
| | | | | | | | | | | | | | | | | | Some more checks (test still passes) Reviewed-by: TrustMe
* | | Merge commit 'origin/4.5' into 4.6Joerg Bornemann2009-10-062-0/+3
|\ \ \ | |/ / | | | | | | | | | Conflicts: tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
| * | tst_QGraphicsItem::QTBUG_4233_updateCachedWithSceneRect WinCE fixJoerg Bornemann2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | We need some more time on Windows mobile to receive all events. Reviewed-by: thartman
| * | tst_QGraphicsView::task245469_itemsAtPointWithClip Windows mobile fixJoerg Bornemann2009-10-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We must make sure that the graphics view scene is centered to make this test work. On Windows mobile, the widget was too wide and the scene wasn't centered. Reviewed-by: thartman
| * | tst_QGraphicsLinearLayout::layoutDirection fixed for Windows mobileJoerg Bornemann2009-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | This test depends on a layout spacing set to 6. The Windows mobile style has layout spacing 8. Reviewed-by: mauricek
* | | tst_qnetworkreply: Add ioPostToHttpsUploadProgressMarkus Goetz2009-10-063-0/+143
| | | | | | | | | | | | | | | | | | Add a currently failing testcase. Related to task 261806 and others. Reviewed-by: Peter Hartmann
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-0614-24/+657
|\ \ \
| * | | Span update after row and column insertion and removal in QTableView.Gabriel de Dietrich2009-10-062-1/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The feature had not been implemented yet. Auto-test and benchmark included. As a bonus, single cell spans are no longer added to the span collection. Reviewed-by: Thierry Task-number: 245327 Task-number: QTBUG-3610
| * | | QParallelAnimationGroup: set the correct state for the animationsThierry Bastian2009-10-061-1/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There were cases (now covered by autotests) where the state of the animations could be wrong. Reviewed-by: janarve