diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-12 16:21:52 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-12 09:23:41 +0200 |
commit | 32d692798fef2cb34a0894959b83b7eab95649dd (patch) | |
tree | 64c52318a4c722d39a192ae94f726202204e7183 /tests/auto/qautoptr | |
parent | a981a2450a834370db511d8afa63da1c453847d9 (diff) | |
download | qtxmlpatterns-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/qautoptr')
-rw-r--r-- | tests/auto/qautoptr/tst_qautoptr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qautoptr/tst_qautoptr.cpp b/tests/auto/qautoptr/tst_qautoptr.cpp index 14a1de9..8fa0355 100644 --- a/tests/auto/qautoptr/tst_qautoptr.cpp +++ b/tests/auto/qautoptr/tst_qautoptr.cpp @@ -42,8 +42,6 @@ #include <QtTest/QtTest> -#ifdef QTEST_XMLPATTERNS - #include "private/qautoptr_p.h" using namespace QPatternist; @@ -334,6 +332,3 @@ void tst_QAutoPtr::operatorBoolSignature() const QTEST_MAIN(tst_QAutoPtr) #include "tst_qautoptr.moc" -#else -QTEST_NOOP_MAIN -#endif |