summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-28 16:57:35 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-28 16:57:35 +0100
commitde7f581297e8cc50d5fe9694bbccfb7e131ee009 (patch)
treed95f34f7e892253eefdbdac67afa3d4eb2e8cd4d /tests
parent2d8217676a5765fa580d48f37310ecc0b2c8a5f1 (diff)
downloadtelepathy-glib-de7f581297e8cc50d5fe9694bbccfb7e131ee009.tar.gz
protocol: add TpProtocol:protocol-properties-vardict
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/protocol-objects.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dbus/protocol-objects.c b/tests/dbus/protocol-objects.c
index 5498d4c9f..5b73a0abe 100644
--- a/tests/dbus/protocol-objects.c
+++ b/tests/dbus/protocol-objects.c
@@ -453,6 +453,7 @@ test_protocol_object (Test *test,
{
GHashTable *props;
TpProtocol *protocol;
+ GVariant *vardict;
g_assert_cmpstr (tp_connection_manager_get_name (test->cm), ==,
"example_echo_2");
@@ -475,6 +476,12 @@ test_protocol_object (Test *test,
check_tp_protocol (protocol);
+ vardict = tp_protocol_dup_immutable_properties (test->protocol);
+ g_assert (vardict != NULL);
+ g_assert (g_variant_is_of_type (vardict, G_VARIANT_TYPE_VARDICT));
+
+ g_variant_unref (vardict);
+
g_object_unref (protocol);
g_hash_table_unref (props);
}