mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 12:54:11 +02:00
Merge branch 'g_dbus' into 'main'
gdbus: Add g_dbus_is_error_name() symbol for g_dbus_is_interface_name() Closes #402 See merge request GNOME/glib!2156
This commit is contained in:
@@ -1162,9 +1162,15 @@ test_validate_names (void)
|
||||
g_assert (!g_dbus_is_unique_name (names[n].string));
|
||||
|
||||
if (names[n].interface)
|
||||
g_assert (g_dbus_is_interface_name (names[n].string));
|
||||
{
|
||||
g_assert (g_dbus_is_interface_name (names[n].string));
|
||||
g_assert (g_dbus_is_error_name (names[n].string));
|
||||
}
|
||||
else
|
||||
g_assert (!g_dbus_is_interface_name (names[n].string));
|
||||
{
|
||||
g_assert (!g_dbus_is_interface_name (names[n].string));
|
||||
g_assert (!g_dbus_is_error_name (names[n].string));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user