Changeset 3356
- Timestamp:
- 06/13/08 14:13:35 (4 months ago)
- Files:
-
- trunk/tests/client-tests/check_proxy.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tests/client-tests/check_proxy.c
r3324 r3356 102 102 fail_unless(error == NULL, NULL); 103 103 104 char *config = g_strdup("<config><directory><path>data1</path><objtype>file</objtype><objformat>mockformat1</objformat></directory></config>");104 OSyncPluginConfig *config = simple_plugin_config(NULL, "data1", "mockformat1", NULL); 105 105 fail_unless(osync_client_proxy_initialize(proxy, initialize_callback, GINT_TO_POINTER(1), testbed, testbed, "mock-sync", "test", testbed, config, &error), NULL); 106 g_free(config);106 osync_plugin_config_unref(config); 107 107 108 108 fail_unless(error == NULL, NULL); … … 144 144 fail_unless(error == NULL, NULL); 145 145 146 char *config = g_strdup("<config><directory><path>data1</path><objtype>file</objtype><objformat>mockformat1</objformat></directory></config>");146 OSyncPluginConfig *config = simple_plugin_config(NULL, "data1", "mockformat1", NULL); 147 147 fail_unless(osync_client_proxy_initialize(proxy, initialize_callback, GINT_TO_POINTER(1), testbed, testbed, "mock-sync", "test", testbed, config, &error), NULL); 148 g_free(config);148 osync_plugin_config_unref(config); 149 149 150 150 fail_unless(error == NULL, NULL); … … 203 203 fail_unless(error == NULL, NULL); 204 204 205 char *config = g_strdup("<config><directory><path>data1</path><objtype>file</objtype><objformat>mockformat1</objformat></directory></config>");205 OSyncPluginConfig *config = simple_plugin_config(NULL, "data1", "mockformat1", NULL); 206 206 fail_unless(osync_client_proxy_initialize(proxy, initialize_callback, GINT_TO_POINTER(1), testbed, testbed, "mock-sync", "test", testbed, config, &error), NULL); 207 g_free(config);207 osync_plugin_config_unref(config); 208 208 fail_unless(error == NULL, NULL); 209 209
