AutoTest: Add project based {en|dis}abling of test frameworks

Provide integration into the 'Project' view which allows to set
some settings on a per project base.
For now only enabling or disabling of test frameworks.

Task-number: QTCREATORBUG-16704
Change-Id: Iedd9a300164931e07a21cbb4e5a222be3266c81e
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-08-05 15:47:10 +02:00
committed by David Schulz
parent edcd955aad
commit 43e27f76b3
13 changed files with 476 additions and 49 deletions

View File

@@ -31,13 +31,17 @@
#include <QMap>
namespace ProjectExplorer { class RunConfiguration; }
namespace ProjectExplorer {
class Project;
class RunConfiguration;
}
namespace Autotest {
namespace Internal {
class TestFrameworkManager;
class TestNavigationWidgetFactory;
class TestProjectSettings;
class TestResultsPane;
struct TestSettings;
class TestSettingsPage;
@@ -67,6 +71,7 @@ public:
ShutdownFlag aboutToShutdown() override;
static QSharedPointer<TestSettings> settings();
static TestProjectSettings *projectSettings(ProjectExplorer::Project *project);
static void updateMenuItemsEnabledState();
static void cacheRunConfigChoice(const QString &buildTargetKey, const ChoicePair &choice);
static ChoicePair cachedChoiceFor(const QString &buildTargetKey);