From e8f7fccf227a4b3c9fe533cd94e1ffec0107a208 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 7 Nov 2011 15:33:49 +1000 Subject: Cleanup corelib autotests Remove redundant empty constructors, destructors and test functions. Change-Id: Idb51368895e67ec3fc0345a9a5d33d77730c051b Reviewed-by: Rohan McGovern --- tests/auto/corelib/tools/qdate/tst_qdate.cpp | 32 +--------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'tests/auto/corelib/tools/qdate/tst_qdate.cpp') diff --git a/tests/auto/corelib/tools/qdate/tst_qdate.cpp b/tests/auto/corelib/tools/qdate/tst_qdate.cpp index b1e0f33ba6..3aa7d03d81 100644 --- a/tests/auto/corelib/tools/qdate/tst_qdate.cpp +++ b/tests/auto/corelib/tools/qdate/tst_qdate.cpp @@ -39,7 +39,6 @@ ** ****************************************************************************/ - #include #include #include @@ -49,15 +48,7 @@ class tst_QDate : public QObject { -Q_OBJECT - -public: - tst_QDate(); - virtual ~tst_QDate(); - -public slots: - void init(); - void cleanup(); + Q_OBJECT private slots: void toString(); void isValid_data(); @@ -104,27 +95,6 @@ private slots: Q_DECLARE_METATYPE(QDate) -tst_QDate::tst_QDate() -{ -} - -tst_QDate::~tst_QDate() -{ - -} - -void tst_QDate::init() -{ -// This will be executed immediately before each test is run. -// TODO: Add initialization code here. -} - -void tst_QDate::cleanup() -{ -// This will be executed immediately after each test is run. -// TODO: Add cleanup code here. -} - void tst_QDate::isValid_data() { QTest::addColumn("year"); -- cgit v1.2.3