forked from qt-creator/qt-creator
It's not meant to be accessed from the outside. Change-Id: I0652ec8309e678a9b28e05acab6d0f77a0b13639 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
39 lines
989 B
C++
39 lines
989 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include "itestframework.h"
|
|
|
|
#include <utils/filepath.h>
|
|
|
|
namespace ProjectExplorer {
|
|
class Project;
|
|
class RunConfiguration;
|
|
}
|
|
|
|
namespace Autotest::Internal {
|
|
|
|
class TestProjectSettings;
|
|
|
|
struct ChoicePair
|
|
{
|
|
explicit ChoicePair(const QString &name = {}, const Utils::FilePath &exe = {})
|
|
: displayName(name), executable(exe) {}
|
|
bool matches(const ProjectExplorer::RunConfiguration *rc) const;
|
|
|
|
QString displayName;
|
|
Utils::FilePath executable;
|
|
};
|
|
|
|
TestProjectSettings *projectSettings(ProjectExplorer::Project *project);
|
|
TestFrameworks activeTestFrameworks();
|
|
void updateMenuItemsEnabledState();
|
|
void cacheRunConfigChoice(const QString &buildTargetKey, const ChoicePair &choice);
|
|
ChoicePair cachedChoiceFor(const QString &buildTargetKey);
|
|
void clearChoiceCache();
|
|
void popupResultsPane();
|
|
|
|
|
|
} // Autotest::Internal
|