summaryrefslogtreecommitdiffstats
path: root/src/testlib
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in header guard.Jason McDonald2011-09-061-1/+1
| | | | Task-number: QTBUG-21210
* Update licenseheader text in source filesJyri Tahtela2011-05-1364-1076/+1076
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Merge commit 'refs/merge-requests/1108' of git://gitorious.org/qt/qt into ↵David Boddie2011-02-235-9/+43
|\ | | | | | | | | | | | | merge-requests/1108 Conflicts: doc/src/declarative/basictypes.qdoc
| * Export symbols from qtestlib required for QtQuickTestRhys Weatherley2011-02-175-9/+43
| | | | | | | | | | Task-number: QTBUG-16084 Reviewed-by: Jason McDonald
* | Doc: Ensured that code snippets have appropriate file names.David Boddie2011-02-082-6/+6
|/ | | | | This helps them to be marked up correctly in cases where code markers are available.
* Update copyright year to 2011.Jason McDonald2011-01-1064-64/+64
| | | | Reviewed-by: Trust Me
* Improve docs for QTEST_MAIN macro.Jason McDonald2010-12-231-1/+5
| | | | | | | | The macro doesn't always create a QApplication, it depends on whether QT_GUI_LIB is defined. Task-number: QTBUG-3899 Reviewed-by: Rohan McGovern
* silence compiler warningsHarald Fernengel2010-11-191-2/+2
| | | | Silence shadowing warnings from gcc.
* Added an example for QTest::touchEvent to the documentation.Denis Dzyubenko2010-11-111-0/+3
| | | | Reviewed-by: trustme
* Doc: Fixed the in-repository licenses for the documentation.David Boddie2010-10-042-10/+10
| | | | | | In the repository, we should always use the No Commercial license alongside the GNU Free Documentation License for documentation files.
* Fixed spelling, broken links, and missing default values.Jerome Pasion2010-08-301-1/+1
| | | | | Tasks: QTBUG-13271, QTBUG-13212, QTBUG-12321 Reviewer: David Boddie
* Use QElapsedTimer for the benchlib tests.Thiago Macieira2010-08-241-2/+2
| | | | | | | It's faster to calculate the time with it, since it doesn't need to convert to local time first. Reviewed-By: Harald Fernengel
* Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-08-111-3/+13
|\ | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qt_s60_p.h src/opengl/qglextensions.cpp src/opengl/qglshaderprogram.cpp tests/auto/mediaobject/tst_mediaobject.cpp
| * Add QDir::homePath() for the log file in QTestFileLogger in testlib on ↵Liang Qi2010-08-031-3/+13
| | | | | | | | | | | | | | Symbian, both hardware and emulator. Task-number: QTBUG-12622 Reviewed-by: Shane Kearns
* | Merge remote branch 'origin/4.6' into 4.7-from-4.6Rohan McGovern2010-07-201-29/+1
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: tests/auto/qimagereader/tst_qimagereader.cpp tools/qtestlib/chart/database.cpp tools/qtestlib/chart/database.h tools/qtestlib/chart/reportgenerator.cpp tools/qtestlib/chart/reportgenerator.h
| * Revert "Add the chart utility from qtestlib-tools."Rohan McGovern2010-07-201-29/+1
| | | | | | | | | | | | | | | | This reverts commit 453abe70fec02456aba2219025f5202060eaece1. Task-number: QT-3583 Reviewed-by: Jason McDonald
* | Doc: Relicensed the documentation under the GNU FDL version 1.3.David Boddie2010-06-212-50/+22
| | | | | | | | | | Reviewed-by: Trust Me Requested-by: Legal
* | Fixed bug where testlib would not respect the -iterations option.Samuel Rødal2010-05-281-1/+1
| | | | | | | | Reviewed-by: Morten Sørvig
* | Improve precision of testlib benchmarking.Samuel Rødal2010-05-282-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 20 ms is a bit too to get a precise measurement due to limited timer resolution. We increase the limit to 50 ms and introduce a warm-up iteration to prevent any state or cache-related issues which can be hard to account for in the tests. On the N900 this seems to decrease the variance of test results by 30 %, and fixes some cases where the results were way off due to hidden state. Task-number: QT-3390 Reviewed-by: Morten Sørvig
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-05-041-0/+1
|\ \ | |/ | | | | | | Conflicts: translations/translations.pri
| * Fixing small memory leak in testlib.Aleksandar Sasha Babic2010-05-031-0/+1
| | | | | | | | Reviewed-by: Jason Barron
* | Testlib XML flush: use benchmarkMetricName (identifier) overall instead of ↵Thiago Macieira2010-04-291-1/+1
| | | | | | | | benchmarkMetricUnit (human text)
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-04-213-28/+60
|\ \ | |/ | | | | | | | | | | Conflicts: src/openvg/qpaintengine_vg.cpp src/script/bridge/qscriptqobject_p.h tests/auto/bic/tst_bic.cpp
| * Fixed DataTag missing from testlib XML in some cases.Rohan McGovern2010-04-193-5/+33
| | | | | | | | Task-number: QTBUG-6320
| * Fixed "pass" incident missing from test xml in some casesRohan McGovern2010-04-191-22/+26
| | | | | | | | Task-number: QTBUG-6278
| * Reverted "qwarn" -> "qwarning" attribute change in XML test logs.Rohan McGovern2010-04-191-1/+1
| | | | | | | | | | XML test logger message type changed from "qwarn" to "qwarning" for warnings, apparently accidentally.
| * Fixed failure of tst_selftests::runSubTest(subtest xml)Rohan McGovern2010-04-191-1/+1
| |
* | Rename QTimestamp to QElapsedTimerThiago Macieira2010-03-171-2/+2
| |
* | Port QTest::qWait also to use QTimestamp.Thiago Macieira2010-03-171-2/+2
| | | | | | | | | | To avoid using QTimestamp to test QTimestamp, use QTest::qSleep in QTimestamp's own testcase.
* | Cleanup: Removed include file and comment.jasplin2010-03-171-5/+0
| |
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-03-151-1/+1
|\ \ | |/ | | | | | | Conflicts: src/gui/styles/qs60style_s60.cpp
| * Typo fix in qtestlibMarkus Goetz2010-03-141-1/+1
| | | | | | | | Reviewed-by: TrustMe
* | QMetaObject::invokeMethod: print a warning if the method is not found.Olivier Goffart2010-03-011-7/+21
| | | | | | | | | | | | | | | | Also adapt QTestLib not to call invokeMethod on unexisting method to avoid warnings Task-number: QTBUG-7331 Reviewed-by: Brad
* | Don't include private headers from public headers.Morten Johan Sørvig2010-02-221-1/+1
| |
* | Merge branch 'master' of git:qt/qtThiago Macieira2010-02-211-1/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/declarative/advtutorial1.qdoc doc/src/declarative/advtutorial2.qdoc doc/src/declarative/advtutorial3.qdoc doc/src/declarative/advtutorial4.qdoc doc/src/declarative/tutorial1.qdoc doc/src/declarative/tutorial2.qdoc doc/src/declarative/tutorial3.qdoc
| * \ Merge remote branch 'origin/master' into qt-master-from-4.6Thiago Macieira2010-02-201-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp src/opengl/qgl.cpp
| * \ \ Merge remote branch 'origin/master' into qt-master-from-4.6Thiago Macieira2010-02-182-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/codecs/qtextcodec.h tests/auto/gestures/tst_gestures.cpp
| * \ \ \ Merge branch '4.6' into qt-master-from-4.6Thiago Macieira2010-02-171-1/+21
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: mkspecs/common/symbian/symbian.conf src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp tools/assistant/tools/assistant/helpviewer.cpp
| | * | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-02-161-0/+8
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (26 commits) QLocalSocket::isValid on Windows must check for broken connection fix pipe handle leak in qlocalsocket_win.cpp GraphicsViewBenchmark: Run app in full screen mode on small desktops. Fix Thai text on Windows 7 Fix License headers. QTextCodec::codecForName. Insert in the cache in all cases. Prevented calling the pixmap filter implementations with null pixmaps. Make it possible to run benchmarks with the "-graphicssystem" switch. Add support for running the GraphicsViewBenchmark application manually. Bump version to 4.6.3. Fixed a GLX warning that occured with some Intel chipsets under X11. Fixed compile for maemo6. Cleanup QEglContext & EGLDisplays Moved 'hasAlpha' property from GL2 engine to GL paint device. Remove useless qDebug in QTextCodec autotest QTextCodec: Symbian has codec for UCS2, only fallback to UTF16 if UCS2 codec cannot be loaded Add caching to QTextCodec::codecForName and QTextCodec::codecForMib Add benchmark for QTextCodec Fix several bugs with GL texture cache Compile fix for OpenGL ES. ...
| | | * | | Make it possible to run benchmarks with the "-graphicssystem" switch.Bjørn Erik Nilsen2010-02-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was that the "-graphicssystem" switch were not recognized as a valid benchmark option so the test failed to execute with the following warning: "Unknown option: "-graphicssystem"". We have to pass it through to QApplication, in the same fashion as we do for "-qws". Reviewed-by: jasplin
| | * | | | QTestLib: don't crash if data tag requested, none availableJoão Abecasis2010-02-121-1/+13
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specific test functions and data tags are requested from the command line, a non-existing data tag will produce error output *iif* data tags are available for the function. However, if no data tags are available, element 0 in testData would be dereferenced, resulting in a crash. Special case the empty data tag, even if no tags are available, because some loggers (e.g., the QXmlTestLogger) will output results with no tag the same way as those with an empty data tag. Reviewed-by: Morten Sørvig
* | | | | Merge remote branch 'origin/master'Thiago Macieira2010-02-201-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: doc/src/declarative/advtutorial1.qdoc
| * | | | Merge remote branch 'qt/master' into staging-2-masterQt Continuous Integration System2010-02-182-2/+2
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: tools/assistant/tools/assistant/helpviewer_qtb.h tools/assistant/tools/assistant/helpviewer_qwv.cpp tools/assistant/tools/assistant/helpviewer_qwv.h
| * | | | Always accept values reported directly using QTest::setBenchmarkResult.Samuel Rødal2010-02-181-1/+1
| | |/ / | |/| | | | | | | | | | Reviewed-by: jasplin
* | | | Fix compilation on GNU/Hurd (SA_SIGINFO isn't defined)Thiago Macieira2010-02-191-1/+5
| |/ / |/| | | | | | | | | | | | | | Task-number: QTBUG-7805 Patch-by: Pino Toscano Reviewed-by: Trust Me
* | | Fix copyright year.Jason McDonald2010-02-162-2/+2
|/ / | | | | | | Reviewed-by: Trust Me
* | Doc: more \since 4.7Volker Hilsheimer2010-02-051-0/+2
| |
* | doc: Fixed some qdoc warnings.Martin Smith2010-02-041-0/+28
| |
* | BenchLib: update the result format and self-test.Thiago Macieira2010-01-271-1/+2
| | | | | | | | | | | | | | | | Since BenchLib now uses floating point for its calculations, we should format both the value per-iteration and the total the same way. Otherwise, it would output something like "2e+08" for the total. Reviewed-by: Morten Sørvig
* | Fix crash handler regression introduced by c7739f7dd.Thiago Macieira2010-01-271-1/+2
| | | | | | | | | | | | | | The crash handler is removed when the FatalSignalHandler object goes out of scope, which it did right inside that if. Reviewed-By: Harald Fernengel