Change-Id: Iebb3f11831dd0ee78c44ac01fae903f5172cae7f
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
static void test_connection_set_default_callback(connection_error_e result, void* user_data)
{
+ g_CallbackRet = result;
+ QUIT_GMAIN_LOOP;
}
static void test_connection_reset_profile_callback(connection_error_e result, void* user_data)
assert_eq(ret, CONNECTION_ERROR_NONE);
ret = connection_set_default_cellular_service_profile_async(connection, service_type, profile_cellular, test_connection_set_default_callback, NULL);
+ RUN_GMAIN_LOOP;
assert_eq(ret, CONNECTION_ERROR_NONE);
return 0;