summaryrefslogtreecommitdiffstats
path: root/src/testlib
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'qt/master-stable'Jason Barron2009-07-273-29/+198
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe qmake/Makefile.unix qmake/generators/makefile.cpp src/corelib/global/qglobal.h src/corelib/kernel/kernel.pri src/corelib/kernel/qcoreevent.cpp src/corelib/kernel/qsharedmemory_unix.cpp src/gui/graphicsview/qgraphicsscene.cpp src/gui/kernel/qaction.cpp src/gui/kernel/qaction.h src/gui/kernel/qaction_p.h src/gui/kernel/qapplication.cpp src/gui/kernel/qapplication.h src/gui/kernel/qwidget.cpp src/gui/kernel/qwidget.h src/gui/kernel/qwidget_mac.mm src/gui/painting/qgraphicssystemfactory.cpp src/gui/styles/qwindowsstyle.cpp src/gui/text/qfontengine_qpf.cpp src/gui/widgets/qabstractscrollarea_p.h src/network/access/qnetworkaccessdebugpipebackend.cpp src/network/socket/qlocalsocket_unix.cpp src/network/socket/qnativesocketengine_p.h src/network/socket/qnativesocketengine_unix.cpp src/openvg/qpaintengine_vg.cpp tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qcssparser/qcssparser.pro tests/auto/qdir/tst_qdir.cpp tests/auto/qfile/tst_qfile.cpp tests/auto/qobject/tst_qobject.cpp tests/auto/qpathclipper/qpathclipper.pro tests/auto/qprocess/tst_qprocess.cpp tests/auto/qsettings/tst_qsettings.cpp tests/auto/qsharedpointer/qsharedpointer.pro tests/auto/qsqlquerymodel/qsqlquerymodel.pro tests/auto/qsqlrelationaltablemodel/qsqlrelationaltablemodel.pro tests/auto/qsqltablemodel/qsqltablemodel.pro tests/auto/qsqlthread/qsqlthread.pro tests/auto/qwidget/tst_qwidget.cpp
| * Fixed valgrind warnings related to sigaction from every testcase.Rohan McGovern2009-07-211-1/+1
| | | | | | | | Whoops, don't do sigaction for (nonexistent) signal 0.
| * Compile with QT_NO_PROCESS or QT_NO_SETTINGSHarald Fernengel2009-07-211-3/+3
| | | | | | | | | | | | Feature define logic was wrong Reviewed-by: Robert Griebl
| * Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-191-6/+0
| |
| * Doc: Documentation for QTouchEventSequenceVolker Hilsheimer2009-07-181-12/+102
| |
| * Fixed failure of badxml selftest on Windows.Rohan McGovern2009-07-171-8/+17
| | | | | | | | | | | | Don't try to write to files with special characters in the name. Also fix bizarre indent.
| * Use Unix signal handlers to properly close the test log when a test isRohan McGovern2009-07-151-5/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminated by a signal. The new XML testloggers in Qt 4.6 only output a testlog after the test completes. Therefore, if a test crashes, no testlog will be output at all. This is a functional regression from Qt 4.5 and earlier where the testlog would be output up to the point where the crash occurred. This is a Unix-specific fix for this problem. This change is also useful for hanging tests; if the test is killed with SIGTERM it will output the test log up to the current test before it exits.
| * src/testlib: LPCWSTR -> wchar_t*Marius Storm-Olsen2009-07-011-1/+1
| | | | | | | | | | Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* | Merge commit 'origin/master' into 4.6-mergedJason Barron2009-07-093-35/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/kernel/qcoreevent.cpp src/corelib/tools/qdumper.cpp src/gui/kernel/qwidget.cpp src/gui/kernel/qwidget_p.h src/gui/kernel/qwidget_s60.cpp src/gui/text/qfontdatabase.cpp src/network/access/qnetworkreplyimpl.cpp src/sql/drivers/ibase/qsql_ibase.cpp src/testlib/qtestcase.cpp src/testlib/testlib.pro tests/auto/network-settings.h tests/auto/q3sqlcursor/tst_q3sqlcursor.cpp tests/auto/qobjectrace/tst_qobjectrace.cpp tests/auto/qsqldatabase/tst_qsqldatabase.cpp tools/configure/configureapp.cpp translations/qt_ru.ts
| * | Fixed warnings because of multiple macro definitions.axis2009-07-061-1/+1
| | |
| * | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicMiikka Heikkinen2009-06-3040-81/+81
| |\ \
| | * \ Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-2940-80/+80
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore src/gui/dialogs/qfiledialog_p.h src/gui/painting/qpaintengine_raster.cpp src/gui/text/qfontdatabase.cpp tests/auto/network-settings.h tests/auto/qitemdelegate/tst_qitemdelegate.cpp
| | * \ \ Merge branch 'warningRemovals'axis2009-06-291-1/+1
| | |\ \ \
| | | * | | Fixed various useless warnings.axis2009-06-291-1/+1
| | | | | |
| * | | | | Missed these exports when removing NokiaX86 specific hacks.Miikka Heikkinen2009-06-301-2/+2
| |/ / / /
| * | | | Removed the need for NokiaX86 compiler specific hacks from qtestcase.h byMiikka Heikkinen2009-06-292-88/+64
| |/ / / | | | | | | | | | | | | properly exporting the toString specializations in qtestcase.cpp.
* | | | Merge commit 'qt/master-stable' into 4.6-mergedJason Barron2009-06-3060-118/+273
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore configure.exe src/corelib/concurrent/qtconcurrentthreadengine.h src/corelib/global/qnamespace.h src/gui/graphicsview/qgraphicssceneevent.h src/gui/kernel/qapplication.cpp src/gui/kernel/qapplication.h src/gui/kernel/qapplication_p.h src/gui/kernel/qapplication_qws.cpp src/gui/kernel/qwidget.h src/gui/painting/qpaintengine_raster.cpp src/gui/text/qfontdatabase.cpp src/network/access/qnetworkaccesshttpbackend.cpp tests/auto/network-settings.h tests/auto/qscriptjstestsuite/qscriptjstestsuite.pro tests/auto/qvariant/tst_qvariant.cpp
| * | | Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-291-2/+2
| | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | Fixed link error of some test tools due to multiply definedRohan McGovern2009-06-271-0/+1
| | | | | | | | | | | | | | | | QTest::touchEvent().
| * | | Add QTouchEvent::DeviceType and deviceType()Bradley T. Hughes2009-06-241-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enum indicates what kind of device generated the touch event (TouchScreen or TouchPad). We use this information to control how touch events are sent, specifically we restrict touch events to a single widget/QGraphicsItem on touch-pads, since there is no direct relationship between the physical touch location on the pad and the on- using the touch-pad).
| * | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-231-1/+1
| |\ \ \
| | * | | Mention -maxwarnings in debug outputHarald Fernengel2009-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes the very frequently asked question "how do I see the full output?"
| * | | | compile after small API changesBradley T. Hughes2009-06-181-3/+2
| | | | |
| * | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-1758-116/+116
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene_p.h
| | * | | Update license headers in files that are new in 4.6.Jason McDonald2009-06-1718-36/+36
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| | * | | Merge license header changes from 4.5Volker Hilsheimer2009-06-1640-80/+80
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Update license headers as requested by the marketing department.Jason McDonald2009-06-1640-80/+80
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | Merge of masterBradley T. Hughes2009-06-151-0/+60
| | | | |
| * | | | remove duplicated code and API (merge QTouchEvent and QGraphicsSceneTouchEvent)Bradley T. Hughes2009-06-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the API for these 2 classes is identical, the implementation is almost identical, they share the same data structures, so bite the bullet and merge them. this means we go back to using screenPos() instead of globalPos() again
| * | | | s,RawKeyEvent,RawTouchEvent,gBradley T. Hughes2009-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | how embarassing :/
| * | | | Fix linking on WindowsBradley T. Hughes2009-06-081-1/+2
| | | | | | | | | | | | | | | | | | | | Need to move the extern declaration out of the QtTest namespace
| * | | | Compile after API updatesBradley T. Hughes2009-06-051-38/+20
| | | | |
| * | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtBradley T. Hughes2009-06-0512-12/+66
| |\ \ \ \
| * | | | | Improved touch event emulation code in testlib.Denis Dzyubenko2009-06-031-26/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a context for the touch positions in press(), move(), release() functions. * Sending RawTouch events to QApplication object if the target widget is not specified.
| * | | | | Moved the QTest::touchEvent() implementation to testlib.Denis Dzyubenko2009-06-033-1/+171
| | | | | | | | | | | | | | | | | | | | | | | | Modified it the same time to remove refcount and static variable.
* | | | | | Merge commit 'qt/master-stable' into 4.6-stableJason Barron2009-06-2531-159/+2957
|\ \ \ \ \ \ | | |_|/ / / | |/| | | / | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Qt 4.6 into the Qt-S60 repo. Conflicts: configure.exe mkspecs/features/qttest_p4.prf qmake/generators/makefile.cpp src/corelib/io/qdir.cpp src/corelib/io/qprocess.h src/corelib/kernel/qcoreevent.h src/corelib/kernel/qobject.cpp src/corelib/kernel/qsharedmemory_unix.cpp src/corelib/thread/qthread_p.h src/corelib/tools/qvector.h src/gui/dialogs/qdialog.cpp src/gui/dialogs/qfiledialog.cpp src/gui/dialogs/qfiledialog_p.h src/gui/dialogs/qmessagebox.cpp src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsview.cpp src/gui/image/qpixmapcache.cpp src/gui/kernel/qapplication.cpp src/gui/kernel/qapplication_p.h src/gui/kernel/qwidget.cpp src/gui/kernel/qwidget_p.h src/gui/painting/qdrawhelper.cpp src/gui/painting/qpaintengine_raster.cpp src/gui/text/qfontengine_qpf.cpp src/gui/widgets/qmenubar.cpp src/network/socket/qlocalserver.cpp src/testlib/qtestcase.cpp src/testlib/testlib.pro tests/auto/qimagereader/tst_qimagereader.cpp tests/auto/qitemdelegate/tst_qitemdelegate.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp tests/auto/qpixmap/qpixmap.pro
| * | | | doc: Fixed several qdoc warnings.Martin Smith2009-06-121-0/+60
| | |/ / | |/| |
| * | | All of Qt's own code compiles with -pedantic now (but pcre and webkit don't ↵David Faure2009-06-042-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | seem fixable easily) Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
| * | | Fix headers in the XUnit feature.Thiago Macieira2009-06-049-7/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All Qt headers must have QT_BEGIN_HEADER, QT_END_HEADER and QT_MODULE. These headers didn't have this. Reviewed-by: TrustMe
| * | | Enable valgrind on Mac OS X as well.Morten Sørvig2009-06-041-1/+1
| |/ /
| * | improved string operations all over the placeThierry Bastian2009-05-284-13/+13
| | | | | | | | | | | | | | | used character operations whenever possible better usage of QLatin1String
| * | Fixed incorrect pass/fail semantics for xpass/xfail when usingRohan McGovern2009-05-191-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xunitxml testlib logger. In the testlib plain logger, xfail is considered a pass and xpass considered a fail. xunitxml had the opposite behavior; change it to be the same. Autotest: included
| * | Find chart.exe on windows.Morten Sørvig2009-05-141-2/+6
| | |
| * | Add the chart utility from qtestlib-tools.Morten Sørvig2009-05-121-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now possible run the benchmarks with "-chart" to generate charts for benchmarks that produce chartable data. See examples/qtestlib/tutorial5 for an example. This patch has minimal inpact on QTestLib itself. Most of the functionality is implemented in a separate tool which QTestLIb calls after detecting the chart command line option.
| * | Add the "We mean it" warning to a private header that didn't have it.Jason McDonald2009-05-071-0/+11
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Add license header to source files that don't have one.Jason McDonald2009-05-0720-2/+739
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fixed qDebugs within tests being written as "error" tags in theRohan McGovern2009-05-079-16/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xunitxml testlog. `error' in xunit causes many xunit processing tools to consider the test as failing. This is different semantics from native testlib XML, where a qDebug is considered a message and not a failure. Change it to put qDebugs under the "system-err" tag when using xunitxml to retain semantic compatibility with testlib XML. Autotest: tst_selftests
| * | Fixed invalid XML from testlib: `<Incident type="fail" (null)="" ...'Rohan McGovern2009-05-061-1/+4
| | | | | | | | | | | | | | | | | | | | | When failing without a filename, setting file to 0 does not work. File must be set to "". Autotest: 2d194009379a4e199ec246ca053ee97ee733482f
| * | Fixed invalid XML from testlib.Rohan McGovern2009-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Obvious typo in format string: `<DataTag><![CDATA[%s]]></Description>', closing tag should be `DataTag'. Autotest: 2d194009379a4e199ec246ca053ee97ee733482f
| * | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-04-231-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Conflicts: src/corelib/global/qfeatures.h src/gui/painting/qtransform.cpp util/scripts/make_qfeatures_dot_h