From fa56b4b2c420fd133c579e843bf54ec54117616e Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Thu, 1 Dec 2016 17:57:18 +0900 Subject: [PATCH] Add testcode Change-Id: Ifd76105cd77bea23eeaef8d68617fd88d842c215 Signed-off-by: Minje Ahn --- tests/mm_file_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/mm_file_test.c b/tests/mm_file_test.c index 80c4cbb..4b7c325 100755 --- a/tests/mm_file_test.c +++ b/tests/mm_file_test.c @@ -80,6 +80,7 @@ typedef struct _TagContext { mmfile_value_t unsynclyrics; mmfile_value_t synclyrics_size; mmfile_value_t rotate; /*string */ + mmfile_value_t stitched_info; } TagContext_t; typedef struct _ContentContext { @@ -345,6 +346,7 @@ static int mmfile_get_file_infomation(void *data, void *user_data, bool file_tes MM_FILE_TAG_UNSYNCLYRICS, &ctag.unsynclyrics.value.s_val, &ctag.unsynclyrics.len, MM_FILE_TAG_SYNCLYRICS_NUM, &ctag.synclyrics_size.value.i_val, MM_FILE_TAG_ROTATE, &ctag.rotate.value.s_val, &ctag.rotate.len, + MM_FILE_TAG_STITCHED_INFO, &ctag.stitched_info.value.i_val, NULL); if (ret != FILEINFO_ERROR_NONE && err_attr_name) { printf("failed to get %s attrs\n", err_attr_name); @@ -386,6 +388,7 @@ static int mmfile_get_file_infomation(void *data, void *user_data, bool file_tes printf("# unsynclyrics: [%s]\n", ctag.unsynclyrics.value.s_val); printf("# synclyrics size: [%d]\n", ctag.synclyrics_size.value.i_val); printf("# rotate: [%s]\n", ctag.rotate.value.s_val); + printf("# stitched_info: [%d]\n", ctag.stitched_info.value.i_val); if (ctag.synclyrics_size.value.i_val > 0) { int idx = 0; -- 2.7.4