mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 00:13:40 +02:00
Improve GDBus introspection test coverage
This commit is contained in:
@@ -99,12 +99,16 @@ test_interface_method_call (GDBusConnection *connection,
|
||||
gpointer user_data)
|
||||
{
|
||||
PeerData *data = user_data;
|
||||
const GDBusMethodInfo *info;
|
||||
|
||||
data->num_method_calls++;
|
||||
|
||||
g_assert_cmpstr (object_path, ==, "/org/gtk/GDBus/PeerTestObject");
|
||||
g_assert_cmpstr (interface_name, ==, "org.gtk.GDBus.PeerTestInterface");
|
||||
|
||||
info = g_dbus_method_invocation_get_method_info (invocation);
|
||||
g_assert_cmpstr (info->name, ==, method_name);
|
||||
|
||||
if (g_strcmp0 (method_name, "HelloPeer") == 0)
|
||||
{
|
||||
const gchar *greeting;
|
||||
|
Reference in New Issue
Block a user