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/qsourcelocation/tst_qsourcelocation.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/auto/qsourcelocation') diff --git a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp index 5d955d4..b6da435 100644 --- a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp +++ b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp @@ -42,9 +42,6 @@ #include -#ifdef QTEST_XMLPATTERNS -#include - /* We expect these headers to be available. */ #include #include @@ -391,8 +388,5 @@ void tst_QSourceLocation::withQHash() const QTEST_MAIN(tst_QSourceLocation) #include "tst_qsourcelocation.moc" -#else -QTEST_NOOP_MAIN -#endif // vim: et:ts=4:sw=4:sts=4 -- cgit v1.2.1