summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qrect
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-07 15:33:49 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-07 13:26:41 +0100
commite8f7fccf227a4b3c9fe533cd94e1ffec0107a208 (patch)
treed6e3583b75c0099b44ebe9cc9470ebe76b082665 /tests/auto/corelib/tools/qrect
parent9ceb3b4f6f67cbfe3fb94402bb0f061f77b6da85 (diff)
Cleanup corelib autotests
Remove redundant empty constructors, destructors and test functions. Change-Id: Idb51368895e67ec3fc0345a9a5d33d77730c051b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qrect')
-rw-r--r--tests/auto/corelib/tools/qrect/tst_qrect.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/auto/corelib/tools/qrect/tst_qrect.cpp b/tests/auto/corelib/tools/qrect/tst_qrect.cpp
index fe3be33255..56db459c29 100644
--- a/tests/auto/corelib/tools/qrect/tst_qrect.cpp
+++ b/tests/auto/corelib/tools/qrect/tst_qrect.cpp
@@ -39,7 +39,6 @@
**
****************************************************************************/
-
#include <QtTest/QtTest>
#include <qrect.h>
#include <limits.h>
@@ -72,17 +71,10 @@ public:
NegXQPoint, NegYQPoint, RandomQPoint
};
- tst_QRect();
- virtual ~tst_QRect();
-
-
static QRect getQRectCase( QRectCases c );
static int getIntCase( IntCases i );
static QPoint getQPointCase( QPointCases p );
-public slots:
- void init();
- void cleanup();
private slots:
void isNull_data();
void isNull();
@@ -215,23 +207,6 @@ private slots:
#define LARGE 1000000000
static bool isLarge(int x) { return x > LARGE || x < -LARGE; }
-
-tst_QRect::tst_QRect()
-{
-}
-
-tst_QRect::~tst_QRect()
-{
-}
-
-void tst_QRect::init()
-{
-}
-
-void tst_QRect::cleanup()
-{
-}
-
QRect tst_QRect::getQRectCase( QRectCases c )
{
// Should return the best variety of possible QRects, if a