2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2016-07-08 12:07:53 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
|
|
namespace ProjectExplorer {
|
|
|
|
|
class Project;
|
|
|
|
|
class Target;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-14 12:58:12 +01:00
|
|
|
namespace ClangTools {
|
2016-07-08 12:07:53 +02:00
|
|
|
namespace Internal {
|
|
|
|
|
|
2018-05-08 17:33:29 +02:00
|
|
|
class PreconfiguredSessionTests: public QObject
|
2016-07-08 12:07:53 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void initTestCase();
|
|
|
|
|
|
|
|
|
|
void testPreconfiguredSession();
|
|
|
|
|
void testPreconfiguredSession_data();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
bool switchToProjectAndTarget(ProjectExplorer::Project *project,
|
|
|
|
|
ProjectExplorer::Target *target);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
2018-03-14 12:58:12 +01:00
|
|
|
} // namespace ClangTools
|