summaryrefslogtreecommitdiff
path: root/test/plugins/pluginproxytest.c
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>2013-08-22 15:27:24 +0300
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>2013-08-22 16:59:26 +0300
commit1fd618eee96db111f3eea0806eccb8cf2ad91106 (patch)
treea5536e388228a0a1e51ffe8a49e0fc007d0074da /test/plugins/pluginproxytest.c
parente9a79beef3cd891ac16bae05a28c91c613df6442 (diff)
downloadgsignond-accepted/tizen/ivi/genivi.tar.gz
gsignond-accepted/tizen/ivi/genivi.tar.bz2
gsignond-accepted/tizen/ivi/genivi.zip
Diffstat (limited to 'test/plugins/pluginproxytest.c')
-rw-r--r--test/plugins/pluginproxytest.c17
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);