Christian Stenger
ca4b66e8ad
Refactor TestCodeParser
...
Change-Id: I5fdb6429e8509468b7a710414af250ea6464d92d
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-02-05 08:25:11 +02:00
Christian Stenger
3629aa9044
Fetch current project always before accessing
...
This fixes two different crashes when TestCodeParser tried
to access m_currentProject, but the object this pointer was
referencing had been deleted already.
Change-Id: Ie59e027394e613a8ef1e4f32f97abed6e8cb007a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2015-01-28 15:29:23 +02:00
Tim Jenssen
e0616dc889
use variable instead of anonymous "false"
...
Change-Id: I4ca2f7d82e70306ffae50d5eea31357e9fcfd0aa
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-01-09 14:19:45 +02:00
Christian Stenger
d778fc5477
Post-pone parsing for test if CppModelManager is parsing
...
Change-Id: I7af93eb587e55f7d6e4ee14ed9808ceeb41ed8a3
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com >
2014-12-18 18:32:01 +02:00
Christian Stenger
0fc6d113d1
Update test tree when configuration changes
...
This takes especially configurations in account when subprojects
are enabled/disabled conditionally.
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
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
85efa2c3c9
Update internal cache / test tree only if necessary
2014-12-04 13:52:16 +01:00
Christian Stenger
8e4181c3af
Use TestInfo as object instead of pointer
...
No need for having this more complicated than necessary.
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
Christian Stenger
2f4139e5d3
Initial commit
2014-12-04 13:52:14 +01:00