CMakeGUITest.h 678 B

1234567891011121314151617181920212223242526272829
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include <QObject>
  5. class CMakeSetupDialog;
  6. class CMakeGUITest : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. CMakeGUITest(CMakeSetupDialog* window, QObject* parent = nullptr);
  11. private:
  12. CMakeSetupDialog* m_window = nullptr;
  13. void tryConfigure(int expectedResult = 0, int timeout = 60000);
  14. private slots:
  15. void sourceBinaryArgs();
  16. void sourceBinaryArgs_data();
  17. void simpleConfigure();
  18. void simpleConfigure_data();
  19. void environment();
  20. void presetArg();
  21. void presetArg_data();
  22. void changingPresets();
  23. };