init and cleanup methods
authorMikko Keinänen <mikko.keinanen@gmail.com>
Mon, 29 Nov 2010 22:30:28 +0000 (00:30 +0200)
committerMikko Keinänen <mikko.keinanen@gmail.com>
Mon, 29 Nov 2010 22:30:28 +0000 (00:30 +0200)
testing/EmuFrontTesting/dbplatformtest.cpp
testing/EmuFrontTesting/dbplatformtest.h

index 812f0b8..6ab5a39 100644 (file)
@@ -1,3 +1,23 @@
 #include "dbplatformtest.h"
 
+void DbPlatformTest::init()
+{
+    // open db
+}
+
+void DbPlatformTest::cleanup()
+{
+    // close db
+}
+
+void DbPlatformTest::initTestCase()
+{
+    // initialize test data
+}
+
+void DbPlatformTest::cleanupTestCase()
+{
+    // cleanup test data
+}
+
 
index e5e0837..51ccd86 100644 (file)
@@ -12,6 +12,10 @@ class DbPlatformTest : public QObject
     Q_OBJECT
 
 private slots:
+    void init();
+    void cleanup();
+    void initTestCase();
+    void cleanupTestCase();
 
 /* Test the following operations:
     QSqlQueryModel* getDataModel(bool update = false);