[MediaContent][Non-ACR] Added missed TC of face detection 94/203394/1
authorHaesu Gwon <haesu.gwon@samsung.com>
Fri, 12 Apr 2019 07:54:29 +0000 (16:54 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Fri, 12 Apr 2019 07:54:29 +0000 (16:54 +0900)
Change-Id: Ica10e562f2d5c2f52102c1772eac8a9237c40be1

tct-suite-vs/Tizen.Mediacontent.Tests/res/content/face_image_unsupported.gif [new file with mode: 0755]
tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand_DetectFace.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.Mediacontent.Tests/testcase/support/TestConstants.cs [changed mode: 0755->0644]

diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/res/content/face_image_unsupported.gif b/tct-suite-vs/Tizen.Mediacontent.Tests/res/content/face_image_unsupported.gif
new file mode 100755 (executable)
index 0000000..8626503
Binary files /dev/null and b/tct-suite-vs/Tizen.Mediacontent.Tests/res/content/face_image_unsupported.gif differ
old mode 100755 (executable)
new mode 100644 (file)
index e58f058..9bf6f3f
@@ -96,6 +96,9 @@ namespace Tizen.Content.MediaContent.Tests
         {
             await AssertHelper.ThrowsAsync<UnsupportedContentException>(
                 () => _cmd.DetectFaceAsync(_cmd.Add(TestConstants.WavFile).Id));
+
+            await AssertHelper.ThrowsAsync<UnsupportedContentException>(
+                () => _cmd.DetectFaceAsync(_cmd.Add(TestConstants.FaceImageFileUnSupported).Id));
         }
 
         [Test]
old mode 100755 (executable)
new mode 100644 (file)
index a9a8e63..9b104ad
@@ -20,6 +20,8 @@ namespace Tizen.Content.MediaContent.Tests
 
         internal static readonly string FaceImageFile = RootPath + "/face_image.jpg";
 
+        internal static readonly string FaceImageFileUnSupported = RootPath + "/face_image_unsupported.gif";
+
         internal static readonly string AudioFile = RootPath + "/sound.mp3";
 
         internal static readonly string VideoFile = RootPath + "/movie.mp4";