mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02:00
gio/tests: fix a few more gdbus-testserver.py references
that got missed in Matthias's earlier patch
This commit is contained in:
@@ -224,7 +224,7 @@ test_proxy_well_known_name (void)
|
|||||||
* the 'y' property should be back at 1...
|
* the 'y' property should be back at 1...
|
||||||
*/
|
*/
|
||||||
/* this is safe; testserver will exit once the bus goes away */
|
/* this is safe; testserver will exit once the bus goes away */
|
||||||
g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
|
g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver", NULL));
|
||||||
/* check that we get the notify::g-name-owner signal */
|
/* check that we get the notify::g-name-owner signal */
|
||||||
_g_assert_property_notify (p, "g-name-owner");
|
_g_assert_property_notify (p, "g-name-owner");
|
||||||
/* Now we should have a name owner as well as properties */
|
/* Now we should have a name owner as well as properties */
|
||||||
|
@@ -569,7 +569,7 @@ test_bogus_property (GDBusProxy *proxy)
|
|||||||
static const gchar *frob_dbus_interface_xml =
|
static const gchar *frob_dbus_interface_xml =
|
||||||
"<node>"
|
"<node>"
|
||||||
" <interface name='com.example.Frob'>"
|
" <interface name='com.example.Frob'>"
|
||||||
/* PairReturn() is deliberately different from gdbus-testserver.py's definition */
|
/* PairReturn() is deliberately different from gdbus-testserver's definition */
|
||||||
" <method name='PairReturn'>"
|
" <method name='PairReturn'>"
|
||||||
" <arg type='u' name='somenumber' direction='in'/>"
|
" <arg type='u' name='somenumber' direction='in'/>"
|
||||||
" <arg type='s' name='somestring' direction='out'/>"
|
" <arg type='s' name='somestring' direction='out'/>"
|
||||||
@@ -583,9 +583,9 @@ static const gchar *frob_dbus_interface_xml =
|
|||||||
" </method>"
|
" </method>"
|
||||||
/* We deliberately only mention a single property here */
|
/* We deliberately only mention a single property here */
|
||||||
" <property name='y' type='y' access='readwrite'/>"
|
" <property name='y' type='y' access='readwrite'/>"
|
||||||
/* The 'i' property is deliberately different from gdbus-testserver.py's definition */
|
/* The 'i' property is deliberately different from gdbus-testserver's definition */
|
||||||
" <property name='i' type='u' access='readwrite'/>"
|
" <property name='i' type='u' access='readwrite'/>"
|
||||||
/* ::TestSignal2 is deliberately different from gdbus-testserver.py's definition */
|
/* ::TestSignal2 is deliberately different from gdbus-testserver's definition */
|
||||||
" <signal name='TestSignal2'>"
|
" <signal name='TestSignal2'>"
|
||||||
" <arg type='u' name='somenumber'/>"
|
" <arg type='u' name='somenumber'/>"
|
||||||
" </signal>"
|
" </signal>"
|
||||||
@@ -846,7 +846,7 @@ test_async (void)
|
|||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
/* this is safe; testserver will exit once the bus goes away */
|
/* this is safe; testserver will exit once the bus goes away */
|
||||||
g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL));
|
g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver", NULL));
|
||||||
|
|
||||||
g_timeout_add (10000, fail_test, NULL);
|
g_timeout_add (10000, fail_test, NULL);
|
||||||
g_main_loop_run (loop);
|
g_main_loop_run (loop);
|
||||||
|
Reference in New Issue
Block a user