diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-13 16:08:52 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-13 16:08:52 +0200 |
commit | 0e6ac1b857bd67cf69edd326ebec91fa1cfa6e43 (patch) | |
tree | c4af0cd8da179cf8ef9ee16a0989504c26d7ab17 | |
parent | 52e0563903297a5b9d4b8da1a9c4b42d9574f94b (diff) |
message-mixin: add DeliveryReportingSupport to the list of props
-rw-r--r-- | telepathy-glib/message-mixin.c | 1 | ||||
-rw-r--r-- | tests/dbus/message-mixin.c | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c index 05ebfb8b0..9daebe60e 100644 --- a/telepathy-glib/message-mixin.c +++ b/telepathy-glib/message-mixin.c @@ -1864,6 +1864,7 @@ tp_message_mixin_init_dbus_properties (GObjectClass *cls) { "PendingMessages", NULL, NULL }, { "SupportedContentTypes", NULL, NULL }, { "MessagePartSupportFlags", NULL, NULL }, + { "DeliveryReportingSupport", NULL, NULL }, { NULL } }; diff --git a/tests/dbus/message-mixin.c b/tests/dbus/message-mixin.c index 77bc6f4d8..50ad4cdf1 100644 --- a/tests/dbus/message-mixin.c +++ b/tests/dbus/message-mixin.c @@ -314,7 +314,7 @@ main (int argc, g_print ("\n\n==== Examining properties ====\n\n"); - MYASSERT (g_hash_table_size (properties) == 3, "%u", + MYASSERT (g_hash_table_size (properties) == 4, "%u", g_hash_table_size (properties)); MYASSERT (tp_asv_get_uint32 (properties, "MessagePartSupportFlags", NULL) @@ -335,6 +335,9 @@ main (int argc, messages = g_value_get_boxed (value); MYASSERT (messages->len == 0, "%u", messages->len); + g_assert_cmpuint (tp_asv_get_uint32 (properties, + "DeliveryReportingSupport", NULL), ==, 0); + g_hash_table_destroy (properties); } @@ -954,7 +957,7 @@ main (int argc, g_print ("\n\n==== Examining properties ====\n\n"); - MYASSERT (g_hash_table_size (properties) == 3, "%u", + MYASSERT (g_hash_table_size (properties) == 4, "%u", g_hash_table_size (properties)); MYASSERT (tp_asv_get_uint32 (properties, "MessagePartSupportFlags", NULL) @@ -969,6 +972,9 @@ main (int argc, g_message ("%s", contents); g_free (contents); + g_assert_cmpuint (tp_asv_get_uint32 (properties, + "DeliveryReportingSupport", NULL), ==, 0); + MYASSERT ((value = tp_asv_lookup (properties, "PendingMessages")) != NULL, ""); MYASSERT (G_VALUE_HOLDS_BOXED (value), ""); |