Add comments for line coverage 55/185155/1
authorpr.jung <pr.jung@samsung.com>
Thu, 26 Jul 2018 09:09:28 +0000 (18:09 +0900)
committerpr.jung <pr.jung@samsung.com>
Thu, 26 Jul 2018 09:09:28 +0000 (18:09 +0900)
Change-Id: I3d1b8a61d718608eec06736191961ea8fa4a8a04
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/storage-inhouse.c

index 3c36f58..060a36d 100755 (executable)
@@ -222,6 +222,7 @@ API int storage_get_storage_level(const char *path, char **level)
        return STORAGE_ERROR_NONE;
 }
 
+//LCOV_EXCL_START Not called callback
 static void mount_mmc_cb(GVariant *var, void *user_data, GError *err)
 {
        struct mmc_contents *mmc_data = (struct mmc_contents*)user_data;
@@ -244,6 +245,7 @@ exit:
                g_variant_unref(var);
        (mmc_data->mmc_cb)(mmc_ret, mmc_data->user_data);
 }
+//LCOV_EXCL_STOP
 
 API int storage_request_mount_mmc(struct mmc_contents *mmc_data)
 {
@@ -282,6 +284,7 @@ API int storage_request_mount_mmc(struct mmc_contents *mmc_data)
        return STORAGE_ERROR_NONE;
 }
 
+//LCOV_EXCL_START Not called callback
 static void unmount_mmc_cb(GVariant *var, void *user_data, GError *err)
 {
        struct mmc_contents *mmc_data = (struct mmc_contents*)user_data;
@@ -304,6 +307,7 @@ exit:
                g_variant_unref(var);
        (mmc_data->mmc_cb)(mmc_ret, mmc_data->user_data);
 }
+//LCOV_EXCL_STOP
 
 API int storage_request_unmount_mmc(struct mmc_contents *mmc_data, int option)
 {
@@ -345,6 +349,7 @@ API int storage_request_unmount_mmc(struct mmc_contents *mmc_data, int option)
        return STORAGE_ERROR_NONE;
 }
 
+//LCOV_EXCL_START Not called callback
 static void format_mmc_cb(GVariant *var, void *user_data, GError *err)
 {
        struct mmc_contents *mmc_data = (struct mmc_contents*)user_data;
@@ -367,6 +372,7 @@ exit:
                g_variant_unref(var);
        (mmc_data->mmc_cb)(mmc_ret, mmc_data->user_data);
 }
+//LCOV_EXCL_STOP
 
 API int storage_request_format_mmc(struct mmc_contents *mmc_data)
 {