summaryrefslogtreecommitdiffstats
path: root/src/testlib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * 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 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.
* 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
| * Fixes unit tests always giving 0 exit code when Qt is configured withRohan McGovern2009-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | `-developer-build'. This was an undocumented hack to make it easier for our autotest scripts to detect crashes in unit tests. Going forward, it should not be required. Reviewed-by: Shane Bradley Acked-by: Jesper Thomschütz
| * Long live Qt 4.5!Lars Knoll2009-03-2344-0/+13329
|
* Fixes compile of testlib when Qt is configured with `-qtnamespace'.Rohan McGovern2009-03-2419-3/+88
| | | | Reviewed-by: Andy Shaw
* Long live Qt!Lars Knoll2009-03-2362-0/+15123