diff options
Diffstat (limited to 'test/plugins/pluginproxytest.c')
-rw-r--r-- | test/plugins/pluginproxytest.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/plugins/pluginproxytest.c b/test/plugins/pluginproxytest.c index 998abfe..811b541 100644 --- a/test/plugins/pluginproxytest.c +++ b/test/plugins/pluginproxytest.c @@ -134,10 +134,10 @@ gsignond_auth_session_notify_process_result ( gsignond_session_data_set_username(data, "megauser"); gsignond_session_data_set_secret(data, "megapassword"); - gsignond_plugin_proxy_process(proxy, iface, data, "password", + gsignond_plugin_proxy_process(proxy, iface, data, NULL, "password", proxy); - gsignond_plugin_proxy_process(proxy, iface, data, "password", + gsignond_plugin_proxy_process(proxy, iface, data, NULL, "password", proxy); gsignond_dictionary_unref(data); @@ -154,7 +154,7 @@ gsignond_auth_session_notify_process_result ( fail_if(data == NULL); for (i = 0; i < 9; i++) { - gsignond_plugin_proxy_process(proxy, iface, data, "mech1", + gsignond_plugin_proxy_process(proxy, iface, data, NULL, "mech1", proxy); } gsignond_dictionary_unref(data); @@ -303,7 +303,7 @@ START_TEST (test_pluginproxy_process) testing_proxy_process = TRUE; - gsignond_plugin_proxy_process(proxy, test_auth_session, data, "password", + gsignond_plugin_proxy_process(proxy, test_auth_session, data, NULL, "password", proxy); _run_mainloop (); @@ -335,7 +335,7 @@ START_TEST (test_pluginproxy_process_cancel) testing_proxy_process_cancel = TRUE; - gsignond_plugin_proxy_process(proxy, test_auth_session, data, "mech1", + gsignond_plugin_proxy_process(proxy, test_auth_session, data, NULL, "mech1", proxy); _run_mainloop (); @@ -369,7 +369,7 @@ START_TEST (test_pluginproxy_process_queue) testing_proxy_process_queue = TRUE; - gsignond_plugin_proxy_process(proxy, test_auth_session, data, "password", + gsignond_plugin_proxy_process(proxy, test_auth_session, data, NULL, "password", proxy); _run_mainloop (); @@ -399,7 +399,7 @@ START_TEST (test_pluginproxy_process_queue_cancel) testing_proxy_process_queue_cancel = TRUE; - gsignond_plugin_proxy_process(proxy, test_auth_session, data, "mech1", + gsignond_plugin_proxy_process(proxy, test_auth_session, data, NULL, "mech1", proxy); _run_mainloop (); @@ -498,7 +498,8 @@ START_TEST (test_pluginproxyfactory_add) fail_if(gsignond_plugin_proxy_factory_add_plugin(factory, proxy) == TRUE); fail_if(gsignond_plugin_proxy_factory_get_plugin(factory, "password") != proxy); - + g_object_unref(proxy); + g_object_unref(proxy); g_object_unref(factory); g_object_unref(config); |