summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/animation/qsequentialanimationgroup
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/animation/qsequentialanimationgroup
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/animation/qsequentialanimationgroup')
-rw-r--r--tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp23
1 files changed, 3 insertions, 20 deletions
diff --git a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp
index 42438a6827..44f0f12b74 100644
--- a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp
+++ b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp
@@ -51,14 +51,9 @@ Q_DECLARE_METATYPE(QAbstractAnimation*)
class tst_QSequentialAnimationGroup : public QObject
{
- Q_OBJECT
-public:
- tst_QSequentialAnimationGroup();
- virtual ~tst_QSequentialAnimationGroup();
-
+ Q_OBJECT
public Q_SLOTS:
- void init();
- void cleanup();
+ void initTestCase();
private slots:
void construction();
@@ -89,24 +84,12 @@ private slots:
void pauseResume();
};
-tst_QSequentialAnimationGroup::tst_QSequentialAnimationGroup()
-{
-}
-
-tst_QSequentialAnimationGroup::~tst_QSequentialAnimationGroup()
-{
-}
-
-void tst_QSequentialAnimationGroup::init()
+void tst_QSequentialAnimationGroup::initTestCase()
{
qRegisterMetaType<QAbstractAnimation::State>("QAbstractAnimation::State");
qRegisterMetaType<QAbstractAnimation*>("QAbstractAnimation*");
}
-void tst_QSequentialAnimationGroup::cleanup()
-{
-}
-
void tst_QSequentialAnimationGroup::construction()
{
QSequentialAnimationGroup animationgroup;