[next] telepathy-glib: Tests: Stop testing tp_channel_dispatch_operation_borrow_immutable_properties

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Dec 26 04:37:47 PST 2012


Module: telepathy-glib
Branch: next
Commit: 132d92218454f76edac185779dce6ecdb8e3921e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=132d92218454f76edac185779dce6ecdb8e3921e

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed Dec 26 11:01:08 2012 +0100

Tests: Stop testing tp_channel_dispatch_operation_borrow_immutable_properties

It is deprecated with no replacement and will soon be removed.

---

 tests/dbus/channel-dispatch-operation.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/tests/dbus/channel-dispatch-operation.c b/tests/dbus/channel-dispatch-operation.c
index bd32003..60cd793 100644
--- a/tests/dbus/channel-dispatch-operation.c
+++ b/tests/dbus/channel-dispatch-operation.c
@@ -382,9 +382,6 @@ check_immutable_properties (Test *test)
         TP_PROP_CHANNEL_DISPATCH_OPERATION_INTERFACES) != NULL);
   g_assert_cmpuint (g_hash_table_size (immutable_props), ==, 4);
   g_hash_table_unref (immutable_props);
-  immutable_props = tp_channel_dispatch_operation_borrow_immutable_properties (
-      test->cdo);
-  g_assert_cmpuint (g_hash_table_size (immutable_props), ==, 4);
 }
 
 static void
@@ -461,7 +458,6 @@ static void
 test_properties_fetched (Test *test,
     gconstpointer data G_GNUC_UNUSED)
 {
-  GHashTable *props;
   GQuark features[] = { TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE, 0 };
 
   test->cdo = tp_channel_dispatch_operation_new (test->dbus,
@@ -477,9 +473,6 @@ test_properties_fetched (Test *test,
       == NULL);
   g_assert (tp_channel_dispatch_operation_get_possible_handlers (test->cdo)
       == NULL);
-  props = tp_channel_dispatch_operation_borrow_immutable_properties (
-        test->cdo);
-  g_assert_cmpuint (g_hash_table_size (props), ==, 0);
 
   tp_proxy_prepare_async (test->cdo, features, features_prepared_cb, test);
   g_main_loop_run (test->mainloop);



More information about the telepathy-commits mailing list