From 6ef9eb3aaf80b63cff77c765973f22b660e485cc Mon Sep 17 00:00:00 2001 From: Danilo Cesar Lemes de Paula Date: Wed, 25 Jan 2012 08:41:39 -0200 Subject: [PATCH] Adapt tests to the latest protocol changes --- telepathy-ytstenut-glib/tests/server-client-pong.c | 10 ++++++++++ .../tests/server-passing-status.c | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/telepathy-ytstenut-glib/tests/server-client-pong.c b/telepathy-ytstenut-glib/tests/server-client-pong.c index 827198c..054f6a8 100644 --- a/telepathy-ytstenut-glib/tests/server-client-pong.c +++ b/telepathy-ytstenut-glib/tests/server-client-pong.c @@ -101,6 +101,16 @@ got_account (TpAccount *account, g_signal_connect (client, "received-channels", G_CALLBACK (received_channels), NULL); + + tp_yts_client_add_names (client, + "en_GB", "Pong service", + "es", "Pong de servicios", + NULL); + + tp_yts_client_add_capabilities (client, + "urn:ytstenut:capabilities:example-caps-pong", + NULL); + tp_yts_client_register (client, NULL); g_print ("listening...\n"); diff --git a/telepathy-ytstenut-glib/tests/server-passing-status.c b/telepathy-ytstenut-glib/tests/server-passing-status.c index df02e98..f351da6 100644 --- a/telepathy-ytstenut-glib/tests/server-passing-status.c +++ b/telepathy-ytstenut-glib/tests/server-passing-status.c @@ -131,9 +131,13 @@ status_ensured_cb (GObject *source_object, "urn:ytstenut:capabilities:yts-caps-cats", "passing.status", /* this should be the same as the client name */ "at how cute they " - "are!", + "capability='yts-caps-cats' " + "version='1.0' " + "activity='yts-activity-play'>" + "" + "Cats example" + "" + "", NULL, advertise_status_cb, NULL); } -- 1.7.8.3