aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/gtest/gtestsettings.h
blob: f19baaf1dab6454b11792047a39a107231c4b34e (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <coreplugin/dialogs/ioptionspage.h>

#include <utils/aspects.h>

namespace Autotest {
namespace Internal {

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

    Utils::IntegerAspect iterations;
    Utils::IntegerAspect seed;
    Utils::BoolAspect runDisabled;
    Utils::BoolAspect shuffle;
    Utils::BoolAspect repeat;
    Utils::BoolAspect throwOnFailure;
    Utils::BoolAspect breakOnFailure;
    Utils::SelectionAspect groupMode;
    Utils::StringAspect gtestFilter;
};

class GTestSettingsPage final : public Core::IOptionsPage
{
public:
    GTestSettingsPage(GTestSettings *settings, Utils::Id settingsId);
};

} // namespace Internal
} // namespace Autotest