summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/resourcetester.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2016-11-25 14:12:04 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2016-11-29 16:16:33 (GMT)
commitc4d4becf8b79f68534eb8320ccd63218afa4ca31 (patch)
tree8b1bb531cfdb586c6c2729712919f435495bab3a /Tests/QtAutogen/resourcetester.cpp
parent2599f5d64b6d81967de9ba6f11420ec7815f618d (diff)
downloadCMake-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.cpp26
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()));
-}