Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHefee <hefee@netzguerilla.net>2016-05-11 02:17:16 +0300
committerHefee <hefee@netzguerilla.net>2016-05-12 12:34:21 +0300
commitedb37596847d59b6e5d470571a8cc197c474f36a (patch)
tree573c60012f3e5158c8526ded7f82d32df138e516 /test/testxmlparse.cpp
parent0f9c32452cb04d1862803a70c12262ba09db4f9a (diff)
For tests we do not need a xserver running.
Use for tests QTEST_GUILESS_MAIN and QTEST_APPLESS_MAIN.
Diffstat (limited to 'test/testxmlparse.cpp')
-rw-r--r--test/testxmlparse.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/testxmlparse.cpp b/test/testxmlparse.cpp
index a5b66aab2..5e49f7ee8 100644
--- a/test/testxmlparse.cpp
+++ b/test/testxmlparse.cpp
@@ -441,5 +441,10 @@ private slots:
};
-QTEST_MAIN(TestXmlParse)
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
+ QTEST_MAIN(TestXmlParse)
+#else
+ QTEST_GUILESS_MAIN(TestXmlParse)
+#endif
+
#include "testxmlparse.moc"