From: Jihoon Kim Date: Sun, 19 Jul 2020 03:50:21 +0000 (+0900) Subject: Add exclude section for impossible execution code in tct X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5;p=platform%2Fcore%2Fuifw%2Fautofill.git Add exclude section for impossible execution code in tct Change-Id: Ic741875b4265cdbab74f7ea68b5d75cae7643648 Signed-off-by: Jihoon Kim --- diff --git a/service_lib/autofill_service.c b/service_lib/autofill_service.c index 3c26275..ff1b7cd 100644 --- a/service_lib/autofill_service.c +++ b/service_lib/autofill_service.c @@ -510,6 +510,7 @@ EXPORT_API int autofill_service_send_auth_info(int context_id, autofill_auth_inf return AUTOFILL_ERROR_INVALID_PARAMETER; } + //LCOV_EXCL_START autofill_auth_info_get_app_id(h, &app_id); autofill_auth_info_get_view_id(h, &view_id); autofill_auth_info_get_autofill_data_present(h, &autofill_data_present); @@ -549,6 +550,7 @@ EXPORT_API int autofill_service_send_auth_info(int context_id, autofill_auth_inf free(service_message); rpc_port_autofill_svc_auth_info_destroy(auth_info_h); + //LCOV_EXCL_STOP return ret; } @@ -659,6 +661,7 @@ EXPORT_API int autofill_service_send_fill_response(int context_id, autofill_fill return AUTOFILL_ERROR_INVALID_PARAMETER; } + //LCOV_EXCL_START rpc_port_autofill_svc_fill_response_create(&fill_response_h); if (h->app_id) @@ -684,6 +687,7 @@ EXPORT_API int autofill_service_send_fill_response(int context_id, autofill_fill ret = rpc_port_AutofillSvcPort_autofill_svc_fill_response_cb_invoke(g_fill_response_received_cb, context_id, fill_response_h); rpc_port_autofill_svc_fill_response_destroy(fill_response_h); + //LCOV_EXCL_STOP return ret; } @@ -740,6 +744,7 @@ EXPORT_API int autofill_service_send_error_info(int context_id, autofill_error_i return AUTOFILL_ERROR_INVALID_PARAMETER; } + //LCOV_EXCL_START autofill_error_info_get_app_id(h, &app_id); autofill_error_info_get_error_code(h, &error_code); @@ -754,6 +759,7 @@ EXPORT_API int autofill_service_send_error_info(int context_id, autofill_error_i free(app_id); rpc_port_autofill_svc_error_info_destroy(error_info_h); + //LCOV_EXCL_STOP return ret; }