2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2014-12-04 14:05:19 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2014-12-04 14:05:19 +01:00
|
|
|
|
2016-06-06 15:35:00 +02:00
|
|
|
#include <QHash>
|
|
|
|
|
|
2020-06-17 09:14:47 +02:00
|
|
|
namespace Utils {
|
|
|
|
|
class Id;
|
|
|
|
|
}
|
2014-12-04 14:05:19 +01:00
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
class QSettings;
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
|
|
namespace Autotest {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2019-09-13 10:50:32 +02:00
|
|
|
enum class RunAfterBuildMode
|
|
|
|
|
{
|
|
|
|
|
None,
|
|
|
|
|
All,
|
|
|
|
|
Selected
|
|
|
|
|
};
|
|
|
|
|
|
2014-12-04 14:05:19 +01:00
|
|
|
struct TestSettings
|
|
|
|
|
{
|
|
|
|
|
TestSettings();
|
|
|
|
|
void toSettings(QSettings *s) const;
|
2016-09-13 09:30:59 +02:00
|
|
|
void fromSettings(QSettings *s);
|
2014-12-04 14:05:19 +01:00
|
|
|
|
|
|
|
|
int timeout;
|
2016-09-13 09:30:59 +02:00
|
|
|
bool omitInternalMssg = true;
|
|
|
|
|
bool omitRunConfigWarn = false;
|
|
|
|
|
bool limitResultOutput = true;
|
2021-07-27 14:26:28 +02:00
|
|
|
bool limitResultDescription = false;
|
|
|
|
|
int resultDescriptionMaxSize = 10;
|
2016-09-13 09:30:59 +02:00
|
|
|
bool autoScroll = true;
|
2017-09-01 14:59:39 +02:00
|
|
|
bool processArgs = false;
|
2019-02-01 12:24:56 +01:00
|
|
|
bool displayApplication = false;
|
2019-03-13 11:05:22 +01:00
|
|
|
bool popupOnStart = true;
|
|
|
|
|
bool popupOnFinish = true;
|
|
|
|
|
bool popupOnFail = false;
|
2019-09-13 10:50:32 +02:00
|
|
|
RunAfterBuildMode runAfterBuild = RunAfterBuildMode::None;
|
2020-06-17 09:14:47 +02:00
|
|
|
QHash<Utils::Id, bool> frameworks;
|
|
|
|
|
QHash<Utils::Id, bool> frameworksGrouping;
|
2020-10-19 14:46:21 +02:00
|
|
|
QHash<Utils::Id, bool> tools;
|
2014-12-04 14:05:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Autotest
|