[Telepathy-commits] [telepathy-qt4/master] Changed tests/dbus/account-basics.cpp to have init/cleanup.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Jan 27 07:21:57 PST 2009


---
 tests/dbus/account-basics.cpp |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/tests/dbus/account-basics.cpp b/tests/dbus/account-basics.cpp
index f477da2..f5d4fa1 100644
--- a/tests/dbus/account-basics.cpp
+++ b/tests/dbus/account-basics.cpp
@@ -27,9 +27,11 @@ protected Q_SLOTS:
 
 private Q_SLOTS:
     void initTestCase();
+    void init();
 
     void testBasics();
 
+    void cleanup();
     void cleanupTestCase();
 
 private:
@@ -52,6 +54,11 @@ void TestAccountBasics::initTestCase()
     QCOMPARE(mAM->isReady(), false);
 }
 
+void TestAccountBasics::init()
+{
+    initImpl();
+}
+
 void TestAccountBasics::testBasics()
 {
     QVERIFY(connect(mAM->becomeReady(),
@@ -158,6 +165,11 @@ void TestAccountBasics::testBasics()
     QCOMPARE((bool) protocolInfo, !((ProtocolInfo *) 0));
 }
 
+void TestAccountBasics::cleanup()
+{
+    cleanupImpl();
+}
+
 void TestAccountBasics::cleanupTestCase()
 {
     if (mAM) {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list