summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-04-05 06:26:44 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-04-05 06:26:44 (GMT)
commitbfbf0888930d73540bd65a01da093b0da3582ecd (patch)
treefec74d767f6c2f402ebfa71497b0771a50cc6e67 /tests/auto
parent692c519a09fbb8e5feef9046844627c9e172a64b (diff)
downloadQt-bfbf0888930d73540bd65a01da093b0da3582ecd.zip
Qt-bfbf0888930d73540bd65a01da093b0da3582ecd.tar.gz
Qt-bfbf0888930d73540bd65a01da093b0da3582ecd.tar.bz2
Remove redundant includes and functions from qpointer autotest.
Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qpointer/tst_qpointer.cpp29
1 files changed, 0 insertions, 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 <QtTest/QtTest>
-#include <QApplication>
-#include <QDebug>
#include <QPointer>
#include <QWidget>
@@ -51,17 +48,9 @@ class tst_QPointer : public QObject
{
Q_OBJECT
public:
- tst_QPointer();
- ~tst_QPointer();
-
inline tst_QPointer *me() const
{ return const_cast<tst_QPointer *>(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<QObject> p1;