aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangtools/clangtoolspreconfiguredsessiontests.h
blob: 0b5146472705513c2fca01564104ce0b59ba6298 (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) 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 <QObject>
#include <QString>

namespace ProjectExplorer {
class Project;
class Target;
}

namespace ClangTools {
namespace Internal {

class PreconfiguredSessionTests: public QObject
{
    Q_OBJECT

private slots:
    void initTestCase();

    void testPreconfiguredSession();
    void testPreconfiguredSession_data();

private:
    bool switchToProjectAndTarget(ProjectExplorer::Project *project,
                                  ProjectExplorer::Target *target);
};

} // namespace Internal
} // namespace ClangTools