telepathy-qt: text-chan test: Ignore deprecations to use TpTextMixin for compatibility functionality testing
George Kiagiadakis
gkiagia at kemper.freedesktop.org
Wed May 23 05:43:40 PDT 2012
Module: telepathy-qt
Branch: master
Commit: 1c30a3e09f19fcd91b332abbbff0ce531f8afe0e
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=1c30a3e09f19fcd91b332abbbff0ce531f8afe0e
Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date: Wed May 23 15:16:14 2012 +0300
text-chan test: Ignore deprecations to use TpTextMixin for compatibility functionality testing
---
tests/dbus/text-chan.cpp | 3 +++
tests/lib/glib/echo/chan.c | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/text-chan.cpp b/tests/dbus/text-chan.cpp
index 51aeaa7..5bc5aa8 100644
--- a/tests/dbus/text-chan.cpp
+++ b/tests/dbus/text-chan.cpp
@@ -1,3 +1,6 @@
+// We need to use the deprecated TpTextMixin here to test compatibility functionality
+#define _TP_IGNORE_DEPRECATIONS
+
#include <tests/lib/test.h>
#include <tests/lib/glib-helpers/test-conn-helper.h>
diff --git a/tests/lib/glib/echo/chan.c b/tests/lib/glib/echo/chan.c
index d83019a..85a6e01 100644
--- a/tests/lib/glib/echo/chan.c
+++ b/tests/lib/glib/echo/chan.c
@@ -11,6 +11,9 @@
* notice and this notice are preserved.
*/
+// We need to use the deprecated TpTextMixin here to test compatibility functionality
+#define _TP_IGNORE_DEPRECATIONS
+
#include "chan.h"
#include <telepathy-glib/telepathy-glib.h>
More information about the telepathy-commits
mailing list