2014-12-04 14:05:19 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2016-01-22 10:37:55 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2014-12-04 14:05:19 +01:00
|
|
|
**
|
2016-01-22 10:37:55 +01:00
|
|
|
** This file is part of Qt Creator.
|
2014-12-04 14:05:19 +01:00
|
|
|
**
|
2016-01-22 10:37:55 +01:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
2014-12-04 14:05:19 +01:00
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-22 10:37:55 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2014-12-04 14:05:19 +01:00
|
|
|
**
|
2016-01-22 10:37:55 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
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
|