improve line coverage
[platform/core/pim/contacts-service.git] / common / ipc / ctsvc_ipc_contact.c
index 09b2d47..67c8776 100644 (file)
@@ -106,12 +106,16 @@ static int __ctsvc_ipc_unmarshal_contact(pims_ipc_data_h ipc_data,
                        break;
                if (ctsvc_ipc_unmarshal_child_list(ipc_data, (contacts_list_h*)&pcontact->extensions) != CONTACTS_ERROR_NONE)
                        break;
+               if (ctsvc_ipc_unmarshal_child_list(ipc_data, (contacts_list_h*)&pcontact->sips) != CONTACTS_ERROR_NONE)
+                       break;
 
                return CONTACTS_ERROR_NONE;
        } while (0);
 
+       /* LCOV_EXCL_START */
        ERR("__ctsvc_ipc_unmarshal_contact() Fail");
        return CONTACTS_ERROR_INVALID_PARAMETER;
+       /* LCOV_EXCL_STOP */
 }
 
 static int __ctsvc_ipc_marshal_contact(const contacts_record_h record,
@@ -200,12 +204,16 @@ static int __ctsvc_ipc_marshal_contact(const contacts_record_h record,
                        break;
                if (ctsvc_ipc_marshal_list((contacts_list_h)pcontact->extensions, ipc_data) != CONTACTS_ERROR_NONE)
                        break;
+               if (ctsvc_ipc_marshal_list((contacts_list_h)pcontact->sips, ipc_data) != CONTACTS_ERROR_NONE)
+                       break;
 
                return CONTACTS_ERROR_NONE;
        } while (0);
 
+       /* LCOV_EXCL_START */
        ERR("_ctsvc_ipc_marshal() Fail");
        return CONTACTS_ERROR_INVALID_PARAMETER;
+       /* LCOV_EXCL_STOP */
 }
 
 ctsvc_ipc_marshal_record_plugin_cb_s _ctsvc_ipc_record_contact_plugin_cb = {