AutoTest: Extract function to get active frameworks

For later re-use.

Change-Id: I87cf6db4de861b626e4669351df3f5119952328f
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2023-02-06 14:29:24 +01:00
parent 96185ca4f1
commit 9277bb5111
3 changed files with 22 additions and 16 deletions

View File

@@ -3,7 +3,7 @@
#pragma once
#include "autotest_global.h"
#include "itestframework.h"
#include <extensionsystem/iplugin.h>
@@ -45,6 +45,7 @@ public:
static TestSettings *settings();
static TestProjectSettings *projectSettings(ProjectExplorer::Project *project);
static TestFrameworks activeTestFrameworks();
static void updateMenuItemsEnabledState();
static void cacheRunConfigChoice(const QString &buildTargetKey, const ChoicePair &choice);
static ChoicePair cachedChoiceFor(const QString &buildTargetKey);