diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-25 14:12:04 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-29 16:16:33 (GMT) |
commit | c4d4becf8b79f68534eb8320ccd63218afa4ca31 (patch) | |
tree | 8b1bb531cfdb586c6c2729712919f435495bab3a /Tests/QtAutogen/resourcetester.cpp | |
parent | 2599f5d64b6d81967de9ba6f11420ec7815f618d (diff) | |
download | CMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.zip CMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.tar.gz CMake-c4d4becf8b79f68534eb8320ccd63218afa4ca31.tar.bz2 |
QtAutogen tests: Move the complex test case to a subdirectory
Diffstat (limited to 'Tests/QtAutogen/resourcetester.cpp')
-rw-r--r-- | Tests/QtAutogen/resourcetester.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Tests/QtAutogen/resourcetester.cpp b/Tests/QtAutogen/resourcetester.cpp deleted file mode 100644 index 4ecb6b4..0000000 --- a/Tests/QtAutogen/resourcetester.cpp +++ /dev/null @@ -1,26 +0,0 @@ - -#include "resourcetester.h" - -#include <QApplication> -#include <QDebug> -#include <QFile> -#include <QTimer> - -ResourceTester::ResourceTester(QObject* parent) - : QObject(parent) -{ -} - -void ResourceTester::doTest() -{ - if (!QFile::exists(":/CMakeLists.txt")) - qApp->exit(EXIT_FAILURE); - if (!QFile::exists(":/main.cpp")) - qApp->exit(EXIT_FAILURE); -#ifdef TEST_DEBUG_CLASS - if (!QFile::exists(":/debug_class.ui")) - qApp->exit(EXIT_FAILURE); -#endif - - QTimer::singleShot(0, qApp, SLOT(quit())); -} |