Add exclude section in internal function for coverage 60/231060/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Apr 2020 05:26:12 +0000 (14:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 17 Apr 2020 05:26:12 +0000 (14:26 +0900)
Change-Id: Ibf1834757a985dd666a2f9f553c0599bb0f528c2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
client/autofill.c

index 4a744f0..5d3b150 100644 (file)
@@ -337,6 +337,7 @@ EXPORT_API int autofill_connect(autofill_h ah, autofill_connection_status_change
 
     ret = rpc_port_proxy_AutofillAppPort_connect(ah->rpc_h);
     if (ret != RPC_PORT_ERROR_NONE) {
+        //LCOV_EXCL_START
         switch(ret) {
             case RPC_PORT_ERROR_IO_ERROR:
                 LOGW("[ERROR] Failed to connect rpc port. I/O Error");
@@ -355,6 +356,7 @@ EXPORT_API int autofill_connect(autofill_h ah, autofill_connection_status_change
                 break;
         }
         return AUTOFILL_ERROR_OPERATION_FAILED;
+        //LCOV_EXCL_STOP
     }
     else {
         return AUTOFILL_ERROR_NONE;