aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/boost/boosttestframework.h
blob: da015fbd6f3b9e1b8d68398c5dc8e51ad1c3b25a (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
// Copyright (C) 2019 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 "boosttestsettings.h"

namespace Autotest::Internal {

class BoostTestFramework : public ITestFramework
{
public:
    BoostTestFramework() : ITestFramework(true) {}

private:
    const char *name() const override;
    QString displayName() const override;
    unsigned priority() const override;
    ITestSettings *testSettings() override { return &m_settings; }
    ITestParser *createTestParser() override;
    ITestTreeItem *createRootNode() override;

    BoostTestSettings m_settings{settingsId()};
};

} // Autotest::Internal