From bfbf0888930d73540bd65a01da093b0da3582ecd Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 5 Apr 2011 16:26:44 +1000 Subject: Remove redundant includes and functions from qpointer autotest. Reviewed-by: Rohan McGovern --- tests/auto/qpointer/tst_qpointer.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/tests/auto/qpointer/tst_qpointer.cpp b/tests/auto/qpointer/tst_qpointer.cpp index 0485a17..6c2dee8 100644 --- a/tests/auto/qpointer/tst_qpointer.cpp +++ b/tests/auto/qpointer/tst_qpointer.cpp @@ -39,11 +39,8 @@ ** ****************************************************************************/ - #include -#include -#include #include #include @@ -51,17 +48,9 @@ class tst_QPointer : public QObject { Q_OBJECT public: - tst_QPointer(); - ~tst_QPointer(); - inline tst_QPointer *me() const { return const_cast(this); } -public slots: - void initTestCase(); - void cleanupTestCase(); - void init(); - void cleanup(); private slots: void constructors(); void destructor(); @@ -76,24 +65,6 @@ private slots: void threadSafety(); }; -tst_QPointer::tst_QPointer() -{ } - -tst_QPointer::~tst_QPointer() -{ } - -void tst_QPointer::initTestCase() -{ } - -void tst_QPointer::cleanupTestCase() -{ } - -void tst_QPointer::init() -{ } - -void tst_QPointer::cleanup() -{ } - void tst_QPointer::constructors() { QPointer p1; -- cgit v0.12