diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-07 17:29:45 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2013-01-09 14:04:58 +0100 |
commit | 18dd2cc616621f796bf1d1987e55b51eedca00b8 (patch) | |
tree | 08be253a7ed81c8827bff3bbd54ade8a5f963035 /tests/dbus | |
parent | 15b8eea5133e683ac14c79734dfbea6747af6e5f (diff) | |
download | telepathy-glib-18dd2cc616621f796bf1d1987e55b51eedca00b8.tar.gz |
TpAccount: implement change notification on uri-schemes property
Diffstat (limited to 'tests/dbus')
-rw-r--r-- | tests/dbus/account.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/dbus/account.c b/tests/dbus/account.c index dc27ac102..b921f4068 100644 --- a/tests/dbus/account.c +++ b/tests/dbus/account.c @@ -678,6 +678,15 @@ test_addressing (Test *test, "telnet")); g_assert (!tp_account_associated_with_uri_scheme (test->account, "xmpp")); + + g_signal_connect (test->account, "notify::uri-schemes", + G_CALLBACK (notify_cb), test); + + tp_tests_simple_account_add_uri_scheme (test->account_service, "xmpp"); + g_main_loop_run (test->mainloop); + + g_assert (tp_account_associated_with_uri_scheme (test->account, + "xmpp")); } static void |