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/qxmlresultitems/tst_qxmlresultitems.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/auto/qxmlresultitems') diff --git a/tests/auto/qxmlresultitems/tst_qxmlresultitems.cpp b/tests/auto/qxmlresultitems/tst_qxmlresultitems.cpp index b4dee78..ea0b985 100644 --- a/tests/auto/qxmlresultitems/tst_qxmlresultitems.cpp +++ b/tests/auto/qxmlresultitems/tst_qxmlresultitems.cpp @@ -42,7 +42,6 @@ #include -#ifdef QTEST_XMLPATTERNS #include #include #include @@ -234,7 +233,5 @@ void tst_QXmlResultItems::evalateWithQueryError() const QTEST_MAIN(tst_QXmlResultItems) #include "tst_qxmlresultitems.moc" -#else -QTEST_NOOP_MAIN -#endif + // vim: et:ts=4:sw=4:sts=4 -- cgit v1.2.1