summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternsxqts
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-12 16:21:52 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-12 09:23:41 +0200
commit32d692798fef2cb34a0894959b83b7eab95649dd (patch)
tree64c52318a4c722d39a192ae94f726202204e7183 /tests/auto/xmlpatternsxqts
parenta981a2450a834370db511d8afa63da1c453847d9 (diff)
downloadqtxmlpatterns-32d692798fef2cb34a0894959b83b7eab95649dd.tar.gz
Remove dead code from autotests.
tests/auto/xmlpatterns.pri ensured that QTEST_XMLPATTERNS was always defined, so the preprocessor directives using this define were redundant. Change-Id: Id21d8b5cc4586ce0e92c1ee4a22c582eb3f76245 Reviewed-on: http://codereview.qt-project.org/6493 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/xmlpatternsxqts')
-rw-r--r--tests/auto/xmlpatternsxqts/tst_suitetest.cpp4
-rw-r--r--tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp5
2 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
index 76b7893..53541ac 100644
--- a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
+++ b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp
@@ -42,8 +42,6 @@
#include <QtTest/QtTest>
-#ifdef QTEST_XMLPATTERNS
-
#include <QProcess>
#include "TestSuite.h"
#include "TestSuiteResult.h"
@@ -172,7 +170,5 @@ bool tst_SuiteTest::dontRun() const
{
return m_abortRun;
}
-#endif
-
// vim: et:ts=4:sw=4:sts=4
diff --git a/tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp b/tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp
index ec14872..adb1f28 100644
--- a/tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp
+++ b/tests/auto/xmlpatternsxqts/tst_xmlpatternsxqts.cpp
@@ -42,8 +42,6 @@
#include <QtTest/QtTest>
-#ifdef QTEST_XMLPATTERNS
-
#include "tst_suitetest.h"
/*!
@@ -99,8 +97,5 @@ void tst_XmlPatternsXQTS::catalogPath(QString &write) const
QTEST_MAIN(tst_XmlPatternsXQTS)
#include "tst_xmlpatternsxqts.moc"
-#else
-QTEST_NOOP_MAIN
-#endif
// vim: et:ts=4:sw=4:sts=4