[TCT][media-content][Non-ACR] media-content module resource and code refactoring 86/302686/1
authorTarun Kumar <tarun1.kumar@samsung.com>
Tue, 12 Dec 2023 04:49:29 +0000 (10:19 +0530)
committerAbuzar Maqsood <abuzar.m@samsung.com>
Tue, 12 Dec 2023 05:39:44 +0000 (05:39 +0000)
Change-Id: Ifd63c8d0567ea515770b561caa70dfcf05aeb4bb
Signed-off-by: Tarun Kumar <tarun1.kumar@samsung.com>
(cherry picked from commit 696f13ffdb7ce82c8eec9ba113c78eaa2f7f89ee)

13 files changed:
scripts_tpk/spec.sh
src/itc/media-content/TestAudio.mp3 [deleted file]
src/itc/media-content/TestImage.jpg [deleted file]
src/itc/media-content/TestText.txt [deleted file]
src/itc/media-content/TestVideo.mp4 [deleted file]
src/itc/media-content/itc_test.epub [deleted file]
src/itc/media-content/itc_test.pdf [deleted file]
src/itc/media-content/res/TestAudio.mp3 [new file with mode: 0755]
src/itc/media-content/res/TestImage.jpg [new file with mode: 0755]
src/itc/media-content/res/TestText.txt [new file with mode: 0755]
src/itc/media-content/res/TestVideo.mp4 [new file with mode: 0755]
src/itc/media-content/res/itc_test.epub [new file with mode: 0755]
src/itc/media-content/res/itc_test.pdf [new file with mode: 0755]

index 96e476f0433ecb9bf268095e653da1ba7b724f2d..386b27490b10665ef921b5808f433f05f4f78f11 100644 (file)
@@ -291,23 +291,23 @@ case "$1" in
                        mkdir -p $APP_DATA_DIR/TestFolder
                        mkdir -p $APP_DATA_DIR/Videos
                        mkdir -p $APP_DATA_DIR/Music
-                       cp TestImage.jpg $APP_DATA_DIR/TestImage.jpg
-                       cp TestText.txt $APP_DATA_DIR/TestText.txt
-                       cp TestImage.jpg $APP_DATA_DIR/Remove.jpg
-                       cp TestAudio.mp3 $APP_DATA_DIR/TestAudio.mp3
-                       cp TestText.txt $APP_DATA_DIR/Text/TestText.txt
-                       cp TestImage.jpg $APP_DATA_DIR/Images/TestImage.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/BookMarkImage.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/ThumbNailImage.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/BurstImage1.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/BurstImage2.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/BurstImage3.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/Images/BurstImage4.jpg
-                       cp TestImage.jpg $APP_DATA_DIR/TestFolder/TestImage.jpg
-                       cp TestVideo.mp4 $APP_DATA_DIR/Videos/TestVideo.mp4
-                       cp TestAudio.mp3 $APP_DATA_DIR/Music/TestAudio.mp3
-                       cp itc_test.epub $APP_DATA_DIR/itc_test.epub
-                       cp itc_test.pdf $APP_DATA_DIR/itc_test.pdf
+                       cp res/TestImage.jpg $APP_DATA_DIR/TestImage.jpg
+                       cp res/TestText.txt $APP_DATA_DIR/TestText.txt
+                       cp res/TestImage.jpg $APP_DATA_DIR/Remove.jpg
+                       cp res/TestAudio.mp3 $APP_DATA_DIR/TestAudio.mp3
+                       cp res/TestText.txt $APP_DATA_DIR/Text/TestText.txt
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/TestImage.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/BookMarkImage.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/ThumbNailImage.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/BurstImage1.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/BurstImage2.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/BurstImage3.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/Images/BurstImage4.jpg
+                       cp res/TestImage.jpg $APP_DATA_DIR/TestFolder/TestImage.jpg
+                       cp res/TestVideo.mp4 $APP_DATA_DIR/Videos/TestVideo.mp4
+                       cp res/TestAudio.mp3 $APP_DATA_DIR/Music/TestAudio.mp3
+                       cp res/itc_test.epub $APP_DATA_DIR/itc_test.epub
+                       cp res/itc_test.pdf $APP_DATA_DIR/itc_test.pdf
                        chown -R 5000:5000 $APP_DATA_DIR
                        chmod -R 777 $APP_DATA_DIR
                        chsmack -a "User::App::Shared" $APP_DATA_DIR/*
diff --git a/src/itc/media-content/TestAudio.mp3 b/src/itc/media-content/TestAudio.mp3
deleted file mode 100755 (executable)
index 4109b72..0000000
Binary files a/src/itc/media-content/TestAudio.mp3 and /dev/null differ
diff --git a/src/itc/media-content/TestImage.jpg b/src/itc/media-content/TestImage.jpg
deleted file mode 100755 (executable)
index a1a4fc4..0000000
Binary files a/src/itc/media-content/TestImage.jpg and /dev/null differ
diff --git a/src/itc/media-content/TestText.txt b/src/itc/media-content/TestText.txt
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/src/itc/media-content/TestVideo.mp4 b/src/itc/media-content/TestVideo.mp4
deleted file mode 100755 (executable)
index 9cc7b55..0000000
Binary files a/src/itc/media-content/TestVideo.mp4 and /dev/null differ
diff --git a/src/itc/media-content/itc_test.epub b/src/itc/media-content/itc_test.epub
deleted file mode 100755 (executable)
index 90cc8a1..0000000
Binary files a/src/itc/media-content/itc_test.epub and /dev/null differ
diff --git a/src/itc/media-content/itc_test.pdf b/src/itc/media-content/itc_test.pdf
deleted file mode 100755 (executable)
index a7ed4f0..0000000
Binary files a/src/itc/media-content/itc_test.pdf and /dev/null differ
diff --git a/src/itc/media-content/res/TestAudio.mp3 b/src/itc/media-content/res/TestAudio.mp3
new file mode 100755 (executable)
index 0000000..4109b72
Binary files /dev/null and b/src/itc/media-content/res/TestAudio.mp3 differ
diff --git a/src/itc/media-content/res/TestImage.jpg b/src/itc/media-content/res/TestImage.jpg
new file mode 100755 (executable)
index 0000000..a1a4fc4
Binary files /dev/null and b/src/itc/media-content/res/TestImage.jpg differ
diff --git a/src/itc/media-content/res/TestText.txt b/src/itc/media-content/res/TestText.txt
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/src/itc/media-content/res/TestVideo.mp4 b/src/itc/media-content/res/TestVideo.mp4
new file mode 100755 (executable)
index 0000000..9cc7b55
Binary files /dev/null and b/src/itc/media-content/res/TestVideo.mp4 differ
diff --git a/src/itc/media-content/res/itc_test.epub b/src/itc/media-content/res/itc_test.epub
new file mode 100755 (executable)
index 0000000..90cc8a1
Binary files /dev/null and b/src/itc/media-content/res/itc_test.epub differ
diff --git a/src/itc/media-content/res/itc_test.pdf b/src/itc/media-content/res/itc_test.pdf
new file mode 100755 (executable)
index 0000000..a7ed4f0
Binary files /dev/null and b/src/itc/media-content/res/itc_test.pdf differ