This patch provides the basics for detecting the googletest related
code.
Change-Id: I34da3e02596cdc0805f79633ecf2176807390fc1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
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>
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>
...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>
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>