[Telepathy-commits] [telepathy-qt4/master] Changed tests/dbus/handles.cpp to have init/cleanup.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Jan 27 07:24:31 PST 2009
---
tests/dbus/handles.cpp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/handles.cpp b/tests/dbus/handles.cpp
index c5ac3b8..272872c 100644
--- a/tests/dbus/handles.cpp
+++ b/tests/dbus/handles.cpp
@@ -34,9 +34,11 @@ protected Q_SLOTS:
private Q_SLOTS:
void initTestCase();
+ void init();
void testRequestAndRelease();
+ void cleanup();
void cleanupTestCase();
private:
@@ -155,6 +157,11 @@ void TestHandles::initTestCase()
}
}
+void TestHandles::init()
+{
+ initImpl();
+}
+
void TestHandles::testRequestAndRelease()
{
// Test identifiers
@@ -204,6 +211,11 @@ void TestHandles::testRequestAndRelease()
}
}
+void TestHandles::cleanup()
+{
+ cleanupImpl();
+}
+
void TestHandles::cleanupTestCase()
{
if (mConn) {
--
1.5.6.5
More information about the Telepathy-commits
mailing list