From: pr.jung Date: Thu, 26 Jul 2018 09:09:28 +0000 (+0900) Subject: Add comments for line coverage X-Git-Tag: accepted/tizen/unified/20180810.132529~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f508857ecc798a8634ba5e97968c1c987c4a6e39;p=platform%2Fcore%2Fsystem%2Flibstorage.git Add comments for line coverage Change-Id: I3d1b8a61d718608eec06736191961ea8fa4a8a04 Signed-off-by: pr.jung --- diff --git a/src/storage-inhouse.c b/src/storage-inhouse.c index 3c36f58..060a36d 100755 --- a/src/storage-inhouse.c +++ b/src/storage-inhouse.c @@ -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) {