Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Tests/CMakeGUI/CMakeGUITest.h
3150 views
1
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2
file LICENSE.rst or https://cmake.org/licensing for details. */
3
#pragma once
4
5
#include <QObject>
6
7
class CMakeSetupDialog;
8
9
class CMakeGUITest : public QObject
10
{
11
Q_OBJECT
12
public:
13
CMakeGUITest(CMakeSetupDialog* window, QObject* parent = nullptr);
14
15
private:
16
CMakeSetupDialog* m_window = nullptr;
17
18
void tryConfigure(int expectedResult = 0, int timeout = 60000);
19
20
private slots:
21
void sourceBinaryArgs();
22
void sourceBinaryArgs_data();
23
void simpleConfigure();
24
void simpleConfigure_data();
25
void environment();
26
void presetArg();
27
void presetArg_data();
28
void changingPresets();
29
};
30
31