Commit Graph

5 Commits

Author SHA1 Message Date
Christian Stenger
418c7d108a AutoTest: Fix handling of parameterized boost tests
Setting the parameterized flag after the test case may
have been added to the found tests is useless.
Do it as early as possible to take it into account
when gathering information for location and type.

Beside this the filter for parameterized boost tests
had been wrong which in turn led to not executing
them at all.

Change-Id: I1a4345b2a751c79cc4fc6df8e201e9606c961aaf
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-10-17 05:53:55 +00:00
Christian Stenger
679b31f841 AutoTest: Add support for templated boost tests
Change-Id: I393d20f186a47d7d1d18775a8f1102890c9de9f4
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-06-07 06:41:15 +00:00
Christian Stenger
c20824f5ff AutoTest: Support data-driven test with fixture
Boost has a special macro to indicate a data-driven test
with support for a fixture class. Find and handle these
test cases as well.

Change-Id: I9f3d22b7b2df35edfdf0a017da3005f67ade017f
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-06-07 06:41:03 +00:00
Christian Stenger
6b124b580e AutoTest: Add support for decorator fixture
Boost tests and suites can have the fixture decorator.
Detect this and reflect it on the test tree view.

Change-Id: I16e0ddefcdc433647aa41810040d9d7cd0c4bf2d
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-06-07 06:40:39 +00:00
Christian Stenger
339f26aec1 AutoTest: Add basic boost test support
Provide experimental support for Boost UTF.
This patch adds the basic implementation for
 * parsing the code for Boost tests
 * executing the found tests
 * displaying respective results

This is just a basic and limited support which
needs to be enhanced and improved later on.

Task-number: QTCREATORBUG-21169
Change-Id: Ie0da5f51f90fb1fa7217eac461ebfc5214395ef6
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-05-20 13:09:08 +00:00