aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/catch/catchtestsettings.h
blob: 71c1caf583995152dfc9842dbbc93931ced2bcfb (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
// 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>

namespace Autotest::Internal {

class CatchTestSettings : public Core::PagedSettings
{
public:
    explicit CatchTestSettings(Utils::Id settingsId);

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

} // Autotest::Internal