summaryrefslogtreecommitdiffstats
path: root/src/testlib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * 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