blob: 80052980b1da6f291ff31466f38742c2ed8edc76 (
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
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "../itestframework.h"
#include "gtestconstants.h"
namespace Autotest::Internal {
class GTestFramework : public ITestFramework
{
public:
GTestFramework();
Utils::IntegerAspect iterations{this};
Utils::IntegerAspect seed{this};
Utils::BoolAspect runDisabled{this};
Utils::BoolAspect shuffle{this};
Utils::BoolAspect repeat{this};
Utils::BoolAspect throwOnFailure{this};
Utils::BoolAspect breakOnFailure{this};
Utils::SelectionAspect groupMode{this};
Utils::StringAspect gtestFilter{this};
static GTest::Constants::GroupMode staticGroupMode();
static QString currentGTestFilter();
QStringList testNameForSymbolName(const QString &symbolName) const override;
QString groupingToolTip() const override;
ITestParser *createTestParser() override;
ITestTreeItem *createRootNode() override;
void readSettings() final;
};
GTestFramework &theGTestFramework();
} // Autotest::Internal
|