From: hhk86.heo Date: Thu, 16 Jun 2016 02:00:25 +0000 (+0900) Subject: insert LCOV_EXCL_START and LCOV_EXCL_STOP for TC coverage measurement X-Git-Tag: submit/tizen/20160616.115303~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c669722477c076f52040cf1bedf78407875dea7;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git insert LCOV_EXCL_START and LCOV_EXCL_STOP for TC coverage measurement Change-Id: I0f3283ee312bf3b3aabf034430d94401cedfc2bc Signed-off-by: hyungkang heo --- diff --git a/mapi/msg_message.cpp b/mapi/msg_message.cpp index 8ba2cd1..9b8f0aa 100755 --- a/mapi/msg_message.cpp +++ b/mapi/msg_message.cpp @@ -634,6 +634,7 @@ void msg_message_copy_message(MSG_MESSAGE_HIDDEN_S *pSrc, MSG_MESSAGE_HIDDEN_S * } } +//LCOV_EXCL_START int msg_cb_message_get_int_value(void *data, int field, int *value) { if (!data) @@ -745,7 +746,7 @@ int msg_cb_message_get_str_value(void *data, int field, char *value, int size) return ret; } - +//LCOV_EXCL_STOP EXPORT_API int msg_get_mms_struct(msg_struct_t msg_struct_handle, msg_struct_t mms_struct_handle) diff --git a/mapi/msg_transport.cpp b/mapi/msg_transport.cpp index 89c43d1..0b61974 100755 --- a/mapi/msg_transport.cpp +++ b/mapi/msg_transport.cpp @@ -316,6 +316,7 @@ EXPORT_API int msg_syncml_message_operation(msg_handle_t handle, msg_message_id_ static msg_handle_t msgHandle = NULL; static msg_simple_sent_status_cb sentStatusCallback = NULL; +//LCOV_EXCL_START static void sent_status_cb_func(msg_handle_t handle, msg_struct_t sent_status, void *user_param) { /* MSG_DEBUG("Sent Status [%d]", sent_status->status); */ @@ -332,7 +333,7 @@ static void sent_status_cb_func(msg_handle_t handle, msg_struct_t sent_status, v * MSG_DEBUG("After msg_close_msg_handle."); */ } - +//LCOV_EXCL_STOP static int msg_send_single_sms(const char *phone_num, const char *sms_text, msg_simple_sent_status_cb cb, void *user_param) { @@ -872,7 +873,7 @@ int msg_request_set_struct_handle(msg_struct_s *msg_struct, int field, msg_struc return err; } - +//LCOV_EXCL_START int msg_sent_status_get_int(MSG_SENT_STATUS_S *sent_status_info, int field, int *value) { if (!sent_status_info) @@ -894,3 +895,4 @@ int msg_sent_status_get_int(MSG_SENT_STATUS_S *sent_status_info, int field, int return ret; } +//LCOV_EXCL_STOP