- d2d feature is now included in model-config, so enable feature checking routine.
- remote unnecessary comments related to LCOV. ( LCOV_EXCL_START / LCOV_EXCL_STOP )
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Id92b50bd1d93db6281f66cf6cdc0c7763ce45d28
g_mainloop = g_main_loop_new(NULL, FALSE);
-#if 0
g_feature = false;
ret = system_info_get_platform_bool("http://tizen.org/feature/convergence.d2d", &g_feature);
if (ret != SYSTEM_INFO_ERROR_NONE)
return;
-#else
- g_feature = true; // temp
-#endif
}
/**
*/
int utc_d2d_conv_manager_conv_create_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_destroy_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_discovery_start_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_discovery_stop_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
g_mainloop = g_main_loop_new(NULL, FALSE);
-#if 0
g_feature = false;
ret = system_info_get_platform_bool("http://tizen.org/feature/convergence.d2d", &g_feature);
if (ret != SYSTEM_INFO_ERROR_NONE)
return;
-#else
- g_feature = true; // temp
-#endif
}
/**
*/
int utc_d2d_conv_manager_conv_channel_create_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_channel_h channel_handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_channel_destroy_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_channel_h channel_handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_channel_get_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_channel_h channel_handle;
char *value = NULL;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_channel_set_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_channel_h channel_handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
g_mainloop = g_main_loop_new(NULL, FALSE);
-#if 0
g_feature = false;
ret = system_info_get_platform_bool("http://tizen.org/feature/convergence.d2d", &g_feature);
if (ret != SYSTEM_INFO_ERROR_NONE)
return;
-#else
- g_feature = true; // temp
-#endif
}
/**
g_mainloop = g_main_loop_new(NULL, FALSE);
-#if 0
g_feature = false;
ret = system_info_get_platform_bool("http://tizen.org/feature/convergence.d2d", &g_feature);
if (ret != SYSTEM_INFO_ERROR_NONE)
return;
-#else
- g_feature = true; // temp
-#endif
}
/**
*/
int utc_d2d_conv_manager_conv_payload_create_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_destroy_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_set_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_get_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
char *value;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_set_app_control_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
app_control_h app_control = NULL;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_get_app_control_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
app_control_h app_control = NULL;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_set_byte_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
unsigned char *value = (unsigned char *)"test_byte";
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_payload_get_byte_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_payload_h handle;
unsigned char *value = (unsigned char *)"test_byte";
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
g_mainloop = g_main_loop_new(NULL, FALSE);
-#if 0
g_feature = false;
ret = system_info_get_platform_bool("http://tizen.org/feature/convergence.d2d", &g_feature);
if (ret != SYSTEM_INFO_ERROR_NONE)
return;
-#else
- g_feature = true; // temp
-#endif
}
/**
*/
int utc_d2d_conv_manager_conv_service_create_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_clone_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h original_handle;
conv_service_h target_handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_destroy_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_get_property_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
char *value;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_set_property_string_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_get_connection_state_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
conv_service_connection_state_e state;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_get_type_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
conv_service_e value = CONV_SERVICE_APP_TO_APP_COMMUNICATION;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_set_type_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
conv_service_e value = CONV_SERVICE_APP_TO_APP_COMMUNICATION;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_set_listener_cb_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
void *user_data = NULL;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**
*/
int utc_d2d_conv_manager_conv_service_unset_listener_cb_p(void)
{
- //LCOV_EXCL_START
int ret = CONV_ERROR_NONE;
conv_service_h handle;
void *user_data = NULL;
assert_eq(ret, CONV_ERROR_NONE);
return 0;
- //LCOV_EXCL_STOP
}
/**