diff options
Diffstat (limited to 'gdbus/tests/introspection.c')
-rw-r--r-- | gdbus/tests/introspection.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdbus/tests/introspection.c b/gdbus/tests/introspection.c index 77bd566..5fe84ed 100644 --- a/gdbus/tests/introspection.c +++ b/gdbus/tests/introspection.c @@ -79,9 +79,7 @@ introspection_on_proxy_appeared (GDBusConnection *connection, g_assert (method_info == NULL); method_info = g_dbus_interface_info_lookup_method (interface_info, "Introspect"); g_assert (method_info != NULL); - g_assert_cmpstr (method_info->in_signature, ==, ""); g_assert (method_info->in_args == NULL); - g_assert_cmpstr (method_info->out_signature, ==, "s"); g_assert (method_info->out_args != NULL); g_assert (method_info->out_args[0] != NULL); g_assert (method_info->out_args[1] == NULL); @@ -91,7 +89,14 @@ introspection_on_proxy_appeared (GDBusConnection *connection, g_assert (interface_info != NULL); signal_info = g_dbus_interface_info_lookup_signal (interface_info, "TestSignal"); g_assert (signal_info != NULL); - g_assert_cmpstr (signal_info->signature, ==, "sov"); + g_assert (signal_info->args != NULL); + g_assert (signal_info->args[0] != NULL); + g_assert_cmpstr (signal_info->args[0]->signature, ==, "s"); + g_assert (signal_info->args[1] != NULL); + g_assert_cmpstr (signal_info->args[1]->signature, ==, "o"); + g_assert (signal_info->args[2] != NULL); + g_assert_cmpstr (signal_info->args[2]->signature, ==, "v"); + g_assert (signal_info->args[3] == NULL); g_dbus_node_info_unref (node_info); g_variant_unref (result); |