summaryrefslogtreecommitdiffstats
path: root/src/quicktestlib
Commit message (Collapse)AuthorAgeFilesLines
* Remove QUICK_TEST_SCENEGRAPH.HEADmasterRobin Burchell2013-06-112-158/+65
| | | | | | | | This is outdated (QSGView and friends are long gone) and not really needed given that Qt 5 has its own copy of this code living in qtdeclarative. Change-Id: I947366ce280a87c59c9e60f6665f8c6ab52b832f Reviewed-by: Matthew Vogt <[email protected]>
* Add an option for qmltestrunner to load translation files.Robin Burchell2013-06-111-0/+16
| | | | | | | | | | This is virtually a backport of qtdeclarative/0339d34691ecf4d67d4ef41c028a687251c2d81a. Done-with: Richard Braakman <[email protected]> Change-Id: I8d32c42536aafae1570b273655f200e037582948 Reviewed-by: Matthew Vogt <[email protected]> Reviewed-by: Robin Burchell <[email protected]>
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-2872-216/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*Nokia.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT/ !{ s/(^[ \t:#*]*)([a-z ]*)(Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I } }') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*https:\/\/p.rizon.top:443\/http\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*) /\1Contact: https:\/\/p.rizon.top:443\/http\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Change-Id: I09634a31c17fc328d04265bd87e7f4a5ef795760 Reviewed-by: Janne Anttila <[email protected]> Reviewed-by: Sergio Ahumada <[email protected]>
* Fixed licensesTeemu Kaukoranta2013-05-2872-1072/+1144
| | | | | | | | | Updated licenses using replace-licenses.zsh from mkdist repo. Possible copyright and contact changes will come later. Change-Id: Ib9f0616600aa0a3461a1aa08b9da8545a85259e9 Reviewed-by: Sergio Ahumada <[email protected]> Reviewed-by: Janne Anttila <[email protected]>
* Don't create event loop in quick_test_main() if it exists alreadyRobin Burchell2013-04-031-1/+2
| | | | | | | | | | An application using quicktestlib might wish to tweak the event loop to make it compatible with another event loop used in component under test. Change-Id: Ifc5fa3992e969044772a13df7aef997ba5625181 Done-with: Dmitry Rozhkov <[email protected]> Reviewed-by: Matthew Vogt <[email protected]>
* Generate real mouse events on mouseMoveMatt Vogt2013-01-082-6/+25
| | | | | | | | | | | | | | Actual mouseMove events are necessary to properly simulate the behavior of complex components such as Flickable. Instead of just manipulating the cursor position, record the current button state so that we can generate move events that are not suppressed. In addition, add a mouseStartDrag() convenience function so that client code does not need to be aware of QML's interpretation of the drag threshold value. Change-Id: I1ded27f976846660a0ec91906d0b2a6372efccd5 Reviewed-by: Robin Burchell <[email protected]>
* Make it possible to use QtQuickTest with QtQuick2Rhys Weatherley2011-02-153-86/+192
|
* Remove support for tests in qrc resources.Rhys Weatherley2011-01-041-16/+1
|
* Run named test functions from the command-lineRhys Weatherley2010-12-162-0/+15
| | | | Data tags are not currently supported.
* Print the available tests when -functions suppliedRhys Weatherley2010-12-161-1/+7
|
* Store test function names from the command-lineRhys Weatherley2010-12-163-6/+107
|
* Improve verbose output modeRhys Weatherley2010-12-161-7/+13
|
* Fix whitespace issuesRhys Weatherley2010-12-151-1/+1
|
* Deprecate running tests from resourcesRhys Weatherley2010-12-151-4/+16
| | | | | | Too much house-keeping is needed to run tests from resources, so start the process of removing support to discourage the creation of poor test harnesses.
* Remove "file://" prefix from filenames in the logsRhys Weatherley2010-12-151-10/+19
|
* Report QML compile errors in the logRhys Weatherley2010-12-151-7/+15
|
* Fix style problemRhys Weatherley2010-12-141-1/+1
|
* Simulation of keyboard and mouse eventsRhys Weatherley2010-12-143-0/+307
|
* Fix for INCLUDEPATH in quicktestlib.pro fileRhys Weatherley2010-12-101-0/+1
|
* Merge branch 'master' of scm.dev.nokia.troll.no:research/qtest-qmlDaniel Pope2010-12-101-1/+38
|\
| * Add a stand-alone test runner for QML unit testsRhys Weatherley2010-12-101-0/+2
| | | | | | | | | | Usage: "qmltestrunner -input testdir" where "testdir" contains the QML unit tests to be executed.
| * Handle import paths in the test harnessRhys Weatherley2010-12-101-1/+36
| | | | | | | | | | The -import option can be supplied to the test harness to add extra import directories.
* | Windows-ification of the QML test framework... In summary:Daniel Pope2010-12-101-3/+2
|/ | | | | | | | - added QtScript dependency - fix a dllimport related typo - remove automatic building of debug AND release for one of the projects (I don't want a release build in debug mode, and vice-versa). Happy testing one and all.
* Add benchmark support to the QML test frameworkRhys Weatherley2010-12-092-1/+138
| | | | | Test functions called "benchmark_foo()" will be run as benchmarks inside an implicit QBENCHMARK {} block.
* QTEST_QUICK -> QUICK_TESTRhys Weatherley2010-12-092-14/+14
|
* Move headers to QtQuickTest directoryRhys Weatherley2010-12-094-4/+6
| | | | | This should help make the user application code and the example code the same.
* QDeclarative -> QuickTest for the test classesRhys Weatherley2010-12-095-74/+74
|
* Fix program name in warning messageRhys Weatherley2010-12-091-1/+1
|
* Use QtQuickTest as the uniform name for the moduleRhys Weatherley2010-12-095-17/+17
|
* Triggering tests to run after the window is shownRhys Weatherley2010-12-081-6/+42
|
* Run tests that are not bound as resourcesRhys Weatherley2010-12-082-4/+26
|
* Add file/line information to fail messagesRhys Weatherley2010-12-082-22/+35
|
* Add equivalents of qWait() and qSleep()Rhys Weatherley2010-12-072-0/+14
|
* Add ignoreWarning() helper functionRhys Weatherley2010-12-062-0/+6
|
* Left over mention of global tagsRhys Weatherley2010-12-061-1/+0
|
* Load test cases out of qrc resourcesRhys Weatherley2010-12-062-76/+60
|
* Revert "Export some QTestLib functions."Rhys Weatherley2010-12-063-3/+2
| | | | | | This reverts commit f527dc068bced4685fc5b332f0970320f9aa3bfb. Don't need as much exported any more.
* Replace TestReport with TestResultRhys Weatherley2010-12-066-349/+79
|
* Add expectFail; remove global data tagsRhys Weatherley2010-12-062-66/+20
|
* QObject wrapper for QTestResultRhys Weatherley2010-12-063-2/+646
|
* Export some QTestLib functions.Rhys Weatherley2010-12-033-4/+5
|
* Add the QTestLib sourcesRhys Weatherley2010-12-0369-1/+17463
| | | | | | We will need to make some modifications to QTestLib to process QML unit tests. Once we know what modifications we need, we can copy them back into the real QTestLib.
* Make TestReport private APIRhys Weatherley2010-12-034-6/+8
|
* Don't need the import pathRhys Weatherley2010-12-031-1/+0
|
* Add a test harness for launching QML testsRhys Weatherley2010-12-036-42/+353
|
* Backport Qt3D.Test and make it generic againRhys Weatherley2010-12-034-0/+376