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

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


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

diff --git a/tests/dbus/chan-basics.cpp b/tests/dbus/chan-basics.cpp
index 21054ae..2baa3dc 100644
--- a/tests/dbus/chan-basics.cpp
+++ b/tests/dbus/chan-basics.cpp
@@ -36,11 +36,13 @@ protected Q_SLOTS:
 
 private Q_SLOTS:
     void initTestCase();
+    void init();
 
     void testRequestHandle();
     void testCreateChannel();
     void testEnsureChannel();
 
+    void cleanup();
     void cleanupTestCase();
 
 private:
@@ -218,6 +220,11 @@ void TestChanBasics::initTestCase()
     QVERIFY(mConn->requestsInterface() != 0);
 }
 
+void TestChanBasics::init()
+{
+    initImpl();
+}
+
 void TestChanBasics::testRequestHandle()
 {
     // Test identifiers
@@ -266,6 +273,11 @@ void TestChanBasics::testEnsureChannel()
     QCOMPARE(mLoop->exec(), 0);
 }
 
+void TestChanBasics::cleanup()
+{
+    cleanupImpl();
+}
+
 void TestChanBasics::cleanupTestCase()
 {
     if (mConn != 0) {
-- 
1.5.6.5




More information about the Telepathy-commits mailing list