From 32d692798fef2cb34a0894959b83b7eab95649dd Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 12 Oct 2011 16:21:52 +1000 Subject: 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 Reviewed-by: Rohan McGovern --- tests/auto/xmlpatterns/tst_xmlpatterns.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/auto/xmlpatterns/tst_xmlpatterns.cpp') diff --git a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp index d52d3bc..ebe395a 100644 --- a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp +++ b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp @@ -43,8 +43,6 @@ #include #include -#ifdef QTEST_XMLPATTERNS - #include "../qxmlquery/TestFundament.h" #include "../network-settings.h" @@ -1015,8 +1013,5 @@ void tst_XmlPatterns::xsltSupport_data() const QTEST_MAIN(tst_XmlPatterns) #include "tst_xmlpatterns.moc" -#else -QTEST_NOOP_MAIN -#endif // vim: et:ts=4:sw=4:sts=4 -- cgit v1.2.1