aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/catch/catchtestsettings.h
blob: 9e1b639fd31c0c806804f64fa4ede31b2e1fe6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <coreplugin/dialogs/ioptionspage.h>

#include <utils/aspects.h>

namespace Autotest {
namespace Internal {

class CatchTestSettings : public Utils::AspectContainer
{
public:
    CatchTestSettings();

    Utils::IntegerAspect abortAfter;
    Utils::IntegerAspect benchmarkSamples;
    Utils::IntegerAspect benchmarkResamples;
    Utils::DoubleAspect confidenceInterval;
    Utils::IntegerAspect benchmarkWarmupTime;
    Utils::BoolAspect abortAfterChecked;
    Utils::BoolAspect samplesChecked;
    Utils::BoolAspect resamplesChecked;
    Utils::BoolAspect confidenceIntervalChecked;
    Utils::BoolAspect warmupChecked;
    Utils::BoolAspect noAnalysis;
    Utils::BoolAspect showSuccess;
    Utils::BoolAspect breakOnFailure;
    Utils::BoolAspect noThrow;
    Utils::BoolAspect visibleWhitespace;
    Utils::BoolAspect warnOnEmpty;
};

class CatchTestSettingsPage : public Core::IOptionsPage
{
public:
    CatchTestSettingsPage(CatchTestSettings *settings, Utils::Id settingsId);
};

} // namespace Internal
} // namespace Autotest