Commit Graph

11 Commits

Author SHA1 Message Date
Christian Stenger
42def5bb05 Add basic support for gtest
This patch provides the basics for detecting the googletest related
code.

Change-Id: I34da3e02596cdc0805f79633ecf2176807390fc1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2016-01-05 14:51:31 +00:00
Christian Stenger
fb7ceae64b Use Qt style for enums
Change-Id: I10c1379dea467f10214772168f4c1ec3134a99ee
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-12-14 08:46:09 +00:00
Christian Stenger
33d1a8c307 Fix support for data tags
Functions defined within the declaration or inside a namespace had
no qualified name stored by the visitor.
This lead to ignoring them when creating the respective TestTreeItem.

Change-Id: Id57c0c492a0cba460aa2d47dc7283bb1ac6e4aa6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-11-02 11:28:23 +00:00
Christian Stenger
d284cd99d4 Add basic support for data tags
This enables displaying data tags for data functions inside the
test tree. Clicking on the data tag opens the editor at the location
the respective QTest::newRow() call is done.

Change-Id: Ia91bf87437c2608a05bae88ed715711217685fdf
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-31 11:22:16 +03:00
Christian Stenger
afcb9283b0 Store location of definition of functions...
...instead of declarations. Declarations will now be used only as
fallback if definition cannot be found for some reason.

Change-Id: I1b79622e70d2227cd715f3d82b12f36997080a2e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-24 16:50:30 +03:00
Christian Stenger
5b93689702 Detect special functions for Quick Tests
Quick Tests are capable of having benchmarks, data driven tests
and special functions (init/cleanup/...) as well.

Change-Id: Ieb9b6b1f842f1211a9d3192b486f789c987fa27b
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-05-19 09:00:15 +03:00
Christian Stenger
7f5db66596 Fix copyright headers
Change-Id: If02fedb7c191492ddfaf2eb34e74fcdb7a007c94
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-02-19 09:13:32 +02: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
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
2f4139e5d3 Initial commit 2014-12-04 13:52:14 +01:00