telepathy-qt: textchan-null/textchan-group test CMs: Ignore deprecations for the moment

George Kiagiadakis gkiagia at kemper.freedesktop.org
Wed May 23 05:43:40 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 291346312c256b237f14de67092c4a8e64a179b0
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=291346312c256b237f14de67092c4a8e64a179b0

Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Wed May 23 15:18:01 2012 +0300

textchan-null/textchan-group test CMs: Ignore deprecations for the moment

These two service-side channel implementations are still using the
deprecated TpTextMixin. In the future, we should get rid of them and
use the echo2 CM as a replacement in the tests that use them.

---

 tests/lib/glib/textchan-group.c |    5 +++++
 tests/lib/glib/textchan-null.c  |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/tests/lib/glib/textchan-group.c b/tests/lib/glib/textchan-group.c
index 6a6f5d7..c6a2caf 100644
--- a/tests/lib/glib/textchan-group.c
+++ b/tests/lib/glib/textchan-group.c
@@ -9,6 +9,11 @@
  * notice and this notice are preserved.
  */
 
+//TODO This either needs to be ported away from TpTextMixin,
+//or we need to use another test CM instead of this one on the tests where it is used.
+//tp-glib has not ported it because it is used in TpTextMixin tests.
+#define _TP_IGNORE_DEPRECATIONS
+
 #include "textchan-group.h"
 
 #include <telepathy-glib/base-connection.h>
diff --git a/tests/lib/glib/textchan-null.c b/tests/lib/glib/textchan-null.c
index 4b9644d..aef9cba 100644
--- a/tests/lib/glib/textchan-null.c
+++ b/tests/lib/glib/textchan-null.c
@@ -9,6 +9,11 @@
  * notice and this notice are preserved.
  */
 
+//TODO This either needs to be ported away from TpTextMixin,
+//or we need to use another test CM instead of this one on the tests where it is used.
+//tp-glib has not ported it because it is used in TpTextMixin tests.
+#define _TP_IGNORE_DEPRECATIONS
+
 #include "textchan-null.h"
 
 #include <telepathy-glib/base-connection.h>



More information about the telepathy-commits mailing list