Commit Graph

15 Commits

Author SHA1 Message Date
Christian Stenger
2ce99680b2 Decouple code parser and model
Additionally some minor refactorings to increase readability.

Change-Id: I0be120fcedcf31dbb0116d84f0d3c23cf95e7d91
Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
2015-02-16 15:43:02 +02:00
Christian Stenger
61c50e4aa3 Fix wrong behavior for gathering test configuration
If the current project mixed named and unnamed Quick tests
determing the test configuration failed due to running into
the assert if you had no auto tests for the current project
selected as well.

Change-Id: I5c98316fada704cd7e021becab897d168a19b99b
Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
2015-02-16 15:42:25 +02:00
Christian Stenger
834c52f483 Avoid crash when using wrongly created test tree
Change-Id: I686f0cf285daeb3889161109964efd6e9ac47a40
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-02-05 08:25:01 +02:00
Tim Jenssen
6571c85f3d fix that windows can find the file
added missing .exe file suffix

Change-Id: I537736a95de778e0a498c37d21baf0d717eb8c4d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 09:26:19 +02:00
Tim Jenssen
2a78ffea8d refactor if clause
Change-Id: I3ce6e711392f35c89dfcbecc3c8fcb8aca293602
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-01-21 09:24:47 +02:00
Christian Stenger
35939ac402 Avoid executing unnamed Quick Tests if no related main is executed anyway
Change-Id: I521065577c195713bc252e6762a88011996f045c
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-01-09 08:24:45 +02:00
Christian Stenger
b0c4a9cc3b Improve support for Qt Quick Tests 2014-12-04 13:52:16 +01:00
Christian Stenger
9a644d1257 Support sorting of test tree
Additionally preparation of filtering has been done.
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
87e5cf87e1 Enable 'Run *' buttons only if tests are available 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
eba497d921 Add filtering to test results 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
Christian Stenger
2f4139e5d3 Initial commit 2014-12-04 13:52:14 +01:00