summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | implement property getters&setters for setProperty(quint32) overloadKent Hansen2009-10-061-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | It's better that this works rather than asserts. Reviewed-by: Olivier Goffart
| * | | statemachine: implement cloning of a whole bunch more GUI eventsKent Hansen2009-10-061-0/+27
| | | | | | | | | | | | | | | | | | | | Now using QEventTransition with almost any type of event will actually work, instead of causing an assert.
| * | | Fix regression in QUrl: IPv6 hosts should be lowercased like in Qt-4.5.David Faure2009-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | Merge-Request: 1709 Reviewed-By: Thiago Macieira <thiago.macieira@nokia.com>
| * | | Stabilize QWaitCondition test.Olivier Goffart2009-10-061-4/+4
| | |/ | |/| | | | | | | | | | | | | Wait a little bit more for thread synchronization Reviewed-by: Brad
| * | Autotest: add missing copyright attribution for tests copied fromThiago Macieira2009-10-061-0/+20
| | | | | | | | | | | | kurltest
| * | Merge branch '4.5' into 4.6Thiago Macieira2009-10-061-0/+1
| |\ \ | | |/
| | * Autotest: disable the globalObjects test.Thiago Macieira2009-10-061-0/+1
| | | | | | | | | | | | | | | We are not going to fix this in 4.5. I doubt we'll fix it in 4.6 either, so I'll reenable it for 4.7 only.
| * | Unified and increased some lackey timeouts in systemsemaphore test.Janne Anttila2009-10-061-11/+10
| | | | | | | | | | | | | | | | | | | | | In Symbian OS some timeouts needs to be higher ones, in order to test complete correctly. Reviewed-by: Miikka Heikkinen
| * | Decrease tst_QThreadOnce::multipleThreads test num of thread for SymbianJanne Anttila2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Symbian OS the maximum number of thread per process depends on stack size. With default 8KB stack size you can have 128 threads, with 16KB stack size you can have 64 threads etc. Since all qt threads nowadays have maximum stack size, we need to decrease the amount of threads in this test. Reviewed-by: TrustMe
| * | Increased tst_QSharedMemory::simpleProcessProducerConsumer timout.Janne Anttila2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Test fails sometimes in Symbian OS due to fact that lackey has not finished it's task in given time. Increase timeout to same value as used in waitForStarted statement. Reviewed-by: TrustMe
| * | Merge branch '4.5' into 4.6Thiago Macieira2009-10-063-5/+52
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/global/qglobal.h src/plugins/qpluginbase.pri src/qbase.pri tests/auto/qabstractitemview/tst_qabstractitemview.cpp tests/auto/qcssparser/qcssparser.pro tools/assistant/tools/assistant/doc/assistant.qdocconf tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf tools/qdoc3/test/qmake.qdocconf tools/qdoc3/test/qt-build-docs.qdocconf tools/qdoc3/test/qt.qdocconf
| | * tst_QCssParser::extractFontFamily fix Windows CE font deploymentJoerg Bornemann2009-10-062-3/+38
| | | | | | | | | | | | | | | | | | | | | On Windows mobile we usually don't have the "Times New Roman" font. Thus we must deploy and register it, if its not available. Reviewed-by: mauricek
| | * fix tst_QAbstractItemView::task250754_fontChange for Windows CEJoerg Bornemann2009-10-061-5/+17
| | | | | | | | | | | | | | | | | | | | | We need to give Windows mobile some more time to handle all internal timer events. Otherwise QTreeView::updateScrollBars doesn't get called. Reviewed-by: mauricek
| | * Fixing the autotest for other platforms, hopefully...João Abecasis2009-10-051-1/+1
| | | | | | | | | | | | Reviewed-by: Joerg Bornemann
| | * tst_QComboBox::task248169_popupWithMinimalSize() fixed for WinCEninerider2009-10-051-2/+4
| | | | | | | | | | | | | | | | | | | | | Changed the absolute size values for the combobox to desktop dependent sizes. Reviewed-by: Joerg
* | | Numerical issues on Windows CE caused some image comparisons to fail.ninerider2009-10-061-1/+8
|/ / | | | | | | | | | | | | | | | | On Windows CE and possibly Symbian some filtering and blending functions of the SVG renderer will alter different pixels in two otherwise apparently identical images. Until this is not addressed in the renderers an exact image comparison is not alsways successful. Reviewed-by: banana joe