Commit Graph

16 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
194360a4de unit: Add gdbus/client_force_disconnect
This tests if watches created using g_dbus_proxy_set_removed_watch works
when the service disconnects from the bus.
2013-09-12 13:54:56 +03:00
Luiz Augusto von Dentz
90f13d3025 unit: Add gdbus/client_proxy_removed
This tests if watches created using g_dbus_proxy_set_removed_watch works
when the interface is removed.
2013-09-12 13:54:56 +03:00
Luiz Augusto von Dentz
5cd3828dba unit: Add gdbus/client_check_order 2013-09-09 17:35:30 +03:00
Luiz Augusto von Dentz
1eb95195cf unit: Add gdbus/client_string_changed 2013-02-28 15:03:24 +02:00
Luiz Augusto von Dentz
2adcb4bca9 unit: Add gdbus/client_set_string_property 2013-02-28 15:03:22 +02:00
Luiz Augusto von Dentz
ce3b4e0817 unit: Add gdbus/client_get_uint64_property 2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
3cbdf5607d unit: Add gdbus/client_get_array_property 2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
84bf1800e3 unit: Add gdbus/client_get_boolean_property 2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
ecb4a6c9d1 unit: Add gdbus/client_get_string_property 2013-01-18 13:33:43 +02:00
Luiz Augusto von Dentz
e0ef7d52a1 unit: Add gdbus/client_get_dict_property 2013-01-18 13:33:42 +02:00
Anderson Lizardo
e90c260d7d unit: Avoid D-Bus calling _exit() during SDP tests
While running tests, the D-Bus library was set to call _exit() when the
client leaves the bus. This caused the second test to be interrupted
without providing a PASS/FAIL result. This was confirmed by running
test-sdp with DBUS_VERBOSE=1.

This commit disables this behavior, which does not exist on BlueZ
because g_dbus_set_disconnect_function() implicitly does this.
2013-01-10 14:29:07 +02:00
Anderson Lizardo
6600b2585b unit: Print D-Bus error message in verbose mode
If g_dbus_setup_private() fails (e.g. a session bus is not available,
and there is no X11 for dbus-launch to work), the tests are silently
skipped.

With this commit, the D-Bus error message is also printed if verbose
mode is enabled. The test is still skipped as before.
2013-01-09 17:22:46 -08:00
Marcel Holtmann
55dcb118b8 unit: Use separate context for each D-Bus test case 2013-01-02 15:35:37 -08:00
Marcel Holtmann
0bca38fad0 unit: Update D-Bus client helper test handling 2012-12-28 00:10:07 -08:00
Marcel Holtmann
bea034e821 unit: Fix issue with D-Bus client unit test when building packages 2012-12-18 00:12:35 +01:00
Marcel Holtmann
81ae935d1b unit: Add test case for D-Bus client connect/disconnect handling 2012-12-16 23:03:16 +01:00