Commit Graph

16 Commits

Author SHA1 Message Date
Tim Jenssen
ba8979d066 Get rid of the Locker in TestResultModel...
...use signals and slots instead.

Additionally re-use the existing item that is displaying the
"Entering Test Function..." information.

Change-Id: Ibedac01ced9e987d542aa4dc878588fbec84d585
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-01-09 08:24:39 +02:00
Tim Jenssen
be4c06fdaf introduce FaultyTestResult class
Change-Id: I5f20741492dbb3d553bea30a677965d46d6d8eb3
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-06 17:08:38 +02:00
Christian Stenger
ac24550a22 Add special message to results pane
This message just states which function actually is executed and will
always be on the bottom of the list of results.
When test run finishes this message will be completely removed.

Change-Id: Ie8fedfc74f67eba71a2bcf55f4dc1553754fca9a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-09 10:33:15 +02:00
Christian Stenger
e71a2c44fc Provide test settings and make use of them
Change-Id: Ia6fef10bc577f9722b6c063c2df4d1651a8be50d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-09 10:22:48 +02:00
Christian Stenger
edfd394bf5 Fix issue when buildQueueFinished signal is emitted too fast
Change-Id: I56ba8f9d0d4abe7627f9dd0d980774dda814d456
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2014-12-05 09:51:52 +02:00
Christian Stenger
32a6849fae Add support for minimal benchmarks 2014-12-04 13:52:16 +01:00
Christian Stenger
036c648650 Don't cancel test run if some test configurations are faulty
Instead just remove these from the current test run and add a
respective warning to the test results pane.

Additionally made a the message of having no test cases at all
a warning instead of a fatal.
2014-12-04 13:52:16 +01:00
Christian Stenger
b0c4a9cc3b Improve support for Qt Quick Tests 2014-12-04 13:52:16 +01:00
Christian Stenger
0357b0e98b Add basic support for Qt Quick Test 2014-12-04 13:52:16 +01:00
Christian Stenger
1258c58a7f Disable context menu on test tree when executing test 2014-12-04 13:52:15 +01:00
Christian Stenger
a2a4fe564a Cancel process when timeout is reached...
...and display fatal messages on the summary as well.
2014-12-04 13:52:15 +01:00
Christian Stenger
87e5cf87e1 Enable 'Run *' buttons only if tests are available 2014-12-04 13:52:15 +01:00
Christian Stenger
d5913658b2 Perform test execution in separate thread and add progress bar 2014-12-04 13:52:15 +01:00
Christian Stenger
431d15bd0c Add stop button and minor preparation for progress bar 2014-12-04 13:52:15 +01:00
Christian Stenger
345b4de47a Rework the parsing and fixing detection of changes
Additionally
* fixed some deletion of pointers
* const correctness
* small refactorings for readability
* better separation of responsibilities
2014-12-04 13:52:15 +01:00
Christian Stenger
44db2be195 Provide basic test runner and output pane 2014-12-04 13:52:15 +01:00