summaryrefslogtreecommitdiffstats
path: root/src
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 <matthew.vogt@qinetic.com.au>
* 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 <richard.braakman@jollamobile.com> Change-Id: I8d32c42536aafae1570b273655f200e037582948 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-2881-243/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*) /\1Contact: 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 <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fixed licensesTeemu Kaukoranta2013-05-2881-1207/+1288
| | | | | | | | | Updated licenses using replace-licenses.zsh from mkdist repo. Possible copyright and contact changes will come later. Change-Id: Ib9f0616600aa0a3461a1aa08b9da8545a85259e9 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* 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 <dmitry.rozhkov@jollamobile.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Generate real mouse events on mouseMoveMatt Vogt2013-01-083-8/+49
| | | | | | | | | | | | | | 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 <robin+qt@viroteck.net>
* Make it possible to use QtQuickTest with QtQuick2Rhys Weatherley2011-02-153-86/+192
|
* Added try catch around JSON.stringifySascha Kolewa2011-01-101-1/+5
| | | | avoids stopped tests due to exceptions in formatting
* Merge branch 'Extend_compare_for_objects_and_arrays'Sascha Kolewa2011-01-101-16/+150
|\
| * Added function to compare objectsSascha Kolewa2010-12-211-30/+116
| | | | | | | | | | | | Taken over quite some object comparison functionality from QUnit or http://philrathe.com/articles/equiv to compare different types of Javascript objects
| * Added object comparison to TestCase QML classSascha Kolewa2010-12-211-1/+49
| |
* | Remove support for tests in qrc resources.Rhys Weatherley2011-01-041-16/+1
|/
* Run named test functions from the command-lineRhys Weatherley2010-12-163-2/+54
| | | | Data tags are not currently supported.
* Print the available tests when -functions suppliedRhys Weatherley2010-12-162-1/+30
|
* Store test function names from the command-lineRhys Weatherley2010-12-163-6/+107
|
* Improve verbose output modeRhys Weatherley2010-12-162-9/+19
|
* qdoc fixesRhys Weatherley2010-12-161-4/+4
|
* Fix expectFail() example and clarify documentationRhys Weatherley2010-12-162-11/+25
|
* Add a SignalSpy item for watching signalsRhys Weatherley2010-12-156-1/+346
|
* 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-146-0/+540
|
* Add some self tests for QtQuickTestRhys Weatherley2010-12-131-12/+13
|
* Better documentation for optional parametersRhys Weatherley2010-12-131-23/+15
|
* Convert the documentation into qdoc formRhys Weatherley2010-12-101-5/+35
| | | | Use "make docs" to generate the documentation under "doc/html".
* Document the TestCase element using qdoc syntaxRhys Weatherley2010-12-102-0/+515
|
* Prefix internal identifiers with "qtest_"Rhys Weatherley2010-12-101-105/+104
|
* Better handling for uncaught exceptionsRhys Weatherley2010-12-101-1/+2
|
* 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-104-2/+126
|\
| * Add a stand-alone test runner for QML unit testsRhys Weatherley2010-12-104-1/+90
| | | | | | | | | | 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-102-4/+3
|/ | | | | | | | - 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-093-4/+180
| | | | | 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-096-77/+77
|
* Fix program name in warning messageRhys Weatherley2010-12-091-1/+1
|
* Use QtQuickTest as the uniform name for the moduleRhys Weatherley2010-12-098-32/+32
|
* Triggering tests to run after the window is shownRhys Weatherley2010-12-082-6/+60
|
* Run tests that are not bound as resourcesRhys Weatherley2010-12-082-4/+26
|
* Add file/line information to fail messagesRhys Weatherley2010-12-084-30/+114
|
* Add tryCompare() function for asynchronous testingRhys Weatherley2010-12-071-8/+31
|
* Add equivalents of qWait() and qSleep()Rhys Weatherley2010-12-073-0/+22
|
* Reset data tag after running test functionRhys Weatherley2010-12-071-1/+1
|
* Add ignoreWarning() helper functionRhys Weatherley2010-12-063-0/+12
|
* Left over mention of global tagsRhys Weatherley2010-12-061-1/+0
|