summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-066-10/+46
|\ \
| * | Stabilize tests on X11Olivier Goffart2009-10-065-10/+12
| | |
| * | Don't output redundant setPen command when reusing PS printerEskil Abrahamsen Blomfeldt2009-10-061-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you reused a printer to paint to several different files, the results would sometimes be different, as the subsequent runs would have redundant setPen commands in its output. This was because the simplePen flag was not reset to its initial value when reusing the print engine. Task-number: QTBUG-4479 Reviewed-by: Trond
* | | Skipped enter/leave test for Windows CEninerider2009-10-061-0/+3
|/ / | | | | | | | | | | Currently Windows has no proper cursor support. Reviewed-by: Thomas Hartmann
* | Fix the pad navigator demo.Alexis Menard2009-10-061-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | QGraphicsWidget used to called setPosHelper where all the logic was. But since the new flag itemSendsGeometryChanges some part of the code inside setPosHelper move back to setPos. QGraphicsWidget was not updated after this change. It doesn't matter as it is but for QGraphicsProxyWidget which activate the flag itemSendsGeometryChanges it matters. ItemChange was never called so the proxy was never really moved. Task-number:QT-672 Reviewed-by:andreas
* | Fix auto test for QSound; find test wav file.Justin McPherson2009-10-062-2/+6
| | | | | | | | Reviewed-by: Bill King
* | Add autotest for mysql savepoints.Bill King2009-10-061-0/+15
| |
* | Stabilize tests on X11Olivier Goffart2009-10-055-21/+20
| |
* | Stabilize test on X11Olivier Goffart2009-10-054-9/+8
| |
* | Test fix : Move the global test model to a dir that the test won't delete.Alexis Menard2009-10-051-0/+2
| |
* | Fixed bug in X11 paint engine causing source pixmap depth to change.Samuel Rødal2009-10-051-0/+19
| | | | | | | | | | | | | | | | Setting a pixmap brush when painting to a 32-bit target might cause the source pixmap to be converted to 32-bit. We should detach the pixmap if we need to convert it. Reviewed-by: Trond
* | use QTRY_VERIFY instead of qWait() in tst_QDialog::reject()Bradley T. Hughes2009-10-051-17/+11
| | | | | | | | | | | | | | | | | | This test already uses qWaitForWindowManager(), but on X11, reshowing a dialog can take long as the window manager has to do more work before remapping the window. we should give it more time (hence the change to QTRY_VERIFY) Reviewed-by: Rohan McGovern
* | Test fix on MacOlivier Goffart2009-10-053-1/+6
| |
* | Fixes to qpixmapcache test cases, test case now adapts to cache_limit.Janne Anttila2009-10-051-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default cache_limit in different platforms have different value. For example in Symbian the default is currently 1024 KB where as for desktop platforms the default is 10 MB. The purpose of modified qpixmapcache test cases was to do operations until cache_limit was reached. This was achieved by hard coded 40000 iterations. However this hard-coded value is fargile for cache limit changes, and in addition it unnecessarily made the test exectuion to take very long time on platforms which had smaller cache limit. This patch changes the test so that number of expected items to fit in cache is calculated and then 1000 extra items is tried to put in cache to make sure limit is exceeded. Reviewed-by: Alexis Menard
* | QAbstractItemView: Make sure the view is updated when a delegate is set.Olivier Goffart2009-10-051-3/+4
| | | | | | | | | | | | | | The test tst_QListView::task254449_draggingItemToNegativeCoordinates was failing in cocoa because of this. (on, cocoa, the call to show was doing the first paintEvent) Reviewed-by: Thierry
* | Fix whatsThis breakage when using custom style sheet fontJens Bache-Wiig2009-09-141-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | When setting a large font using style sheets, the whats this popup size calculation would be incorrect resulting in half visible lables. By calling ensurePolished before showing the label, we ensure that this will be properly handled. We also added a new test case for whatsThis in tst_qtooltip Task-number: QTBUG-2416 Reviewed-by: ogoffart
* | Autotest: disable the forwardDeclared1 test in WinSCW too.Thiago Macieira2009-10-051-1/+1
| | | | | | | | | | | | | | | | | | It also invokes the destructor directly, even on forward-declared types. That must be an ABI convention. This test isn't reliable. Reviewed-by: TrustMe