diff options
author | manish.r <manish.r@samsung.com> | 2016-06-15 16:45:06 +0530 |
---|---|---|
committer | manish.r <manish.r@samsung.com> | 2016-06-16 14:30:38 +0530 |
commit | 152c27359b88857b4b816cf2f14c0f9b32a67af4 (patch) | |
tree | 4ac5156dcbd2fb2b2b0d250ddfb0aa89f92ccb4d | |
parent | 442c5ca9bd46e716f3a04ea8ac6ff45b6b37520b (diff) | |
download | media-content-152c27359b88857b4b816cf2f14c0f9b32a67af4.tar.gz media-content-152c27359b88857b4b816cf2f14c0f9b32a67af4.tar.bz2 media-content-152c27359b88857b4b816cf2f14c0f9b32a67af4.zip |
Updating TCT Structure as per suprem Structure
Adding TCTs for add/remove batch APIs
Change-Id: Ia675f94d0fbb9889caffdbcc90039761e907751e
Signed-off-by: manish.r <manish.r@samsung.com>
25 files changed, 183 insertions, 191 deletions
diff --git a/tct-mediacontent-tizen-tests/bin/tct-mediacontent-tizen-tests.exe b/tct-mediacontent-tizen-tests/bin/tct-mediacontent-tizen-tests.exe Binary files differindex a34bc2c..e909eff 100755 --- a/tct-mediacontent-tizen-tests/bin/tct-mediacontent-tizen-tests.exe +++ b/tct-mediacontent-tizen-tests/bin/tct-mediacontent-tizen-tests.exe diff --git a/tct-mediacontent-tizen-tests/lib/Tizen.Content.MediaContent.dll b/tct-mediacontent-tizen-tests/lib/Tizen.Content.MediaContent.dll Binary files differnew file mode 100644 index 0000000..0f7743f --- /dev/null +++ b/tct-mediacontent-tizen-tests/lib/Tizen.Content.MediaContent.dll diff --git a/tct-mediacontent-tizen-tests/lib/Tizen.Content.dll b/tct-mediacontent-tizen-tests/lib/Tizen.Content.dll Binary files differdeleted file mode 100644 index 27902d5..0000000 --- a/tct-mediacontent-tizen-tests/lib/Tizen.Content.dll +++ /dev/null diff --git a/tct-mediacontent-tizen-tests/org.test.mediacontent.tizen.tpk b/tct-mediacontent-tizen-tests/org.test.tizen.mediacontent.tpk Binary files differindex b03d4fa..590a23e 100644 --- a/tct-mediacontent-tizen-tests/org.test.mediacontent.tizen.tpk +++ b/tct-mediacontent-tizen-tests/org.test.tizen.mediacontent.tpk diff --git a/tct-mediacontent-tizen-tests/res/ReadMe.md b/tct-mediacontent-tizen-tests/res/ReadMe.md index 51968b0..30ca821 100755 --- a/tct-mediacontent-tizen-tests/res/ReadMe.md +++ b/tct-mediacontent-tizen-tests/res/ReadMe.md @@ -1,6 +1,6 @@ # Naming conventions -1) "TC" refers to "org.test.mediacontent.tizen". +1) "TC" refers to "org.test.tizen.mediacontent". # purpose of those scripts diff --git a/tct-mediacontent-tizen-tests/res/Result/MediaInformationT.xml b/tct-mediacontent-tizen-tests/res/Result/Mediacontent.xml index 0127586..8d9a12a 100644 --- a/tct-mediacontent-tizen-tests/res/Result/MediaInformationT.xml +++ b/tct-mediacontent-tizen-tests/res/Result/Mediacontent.xml @@ -14,7 +14,7 @@ <capabilities> <capability name="http://sample.cSharp.org/feature" /> </capabilities> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSAlbum.albumCount_CHECK_RESULT" priority="" purpose="Test for Group count ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSAlbum.albumCount_CHECK_RESULT" priority="" purpose="Test for Group count ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -31,7 +31,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSAlbum.albumList_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSAlbum.albumList_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -48,7 +48,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSAlbum.albumMediaCount_CHECK_RESULT" priority="" purpose="Test for MediaInformation count in Album ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSAlbum.albumMediaCount_CHECK_RESULT" priority="" purpose="Test for MediaInformation count in Album ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -65,7 +65,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSAlbum.albummediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Album ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSAlbum.albummediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Album ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -82,7 +82,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSAlbum.readAlbumProperties_CHECK_RESULT" priority="" purpose="Test for Album properties..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSAlbum.readAlbumProperties_CHECK_RESULT" priority="" purpose="Test for Album properties..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -99,7 +99,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.BookmarkT.MediaBookmark_CREATION" priority="" purpose="Test MediaBookmark constructor" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.BookmarkT.MediaBookmark_CREATION" priority="" purpose="Test MediaBookmark constructor" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -116,7 +116,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.BookmarkT.Id_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:Id is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.BookmarkT.Id_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:Id is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -133,7 +133,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.BookmarkT.ThumbnailPath_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:ThumbnailPath is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.BookmarkT.ThumbnailPath_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:ThumbnailPath is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -150,7 +150,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.BookmarkT.Offset_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:Offset is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.BookmarkT.Offset_READ_ONLY" priority="" purpose="Test if get for MediaBookmark:Offset is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -167,23 +167,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSContentManager.scanFile_CHECK_RESULT" priority="" purpose="Test for ScanFile in ContentManager ..." onload_delay="" result="FAIL"> - <description> - <test_script_entry> - </test_script_entry> - </description> - <result_info> - <actual_result>FAIL</actual_result> - <start> - </start> - <end> - </end> - <stdout> [Message] </stdout> - <stderr> - </stderr> - </result_info> - </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSContentManager.invalidScanFile_CHECK_RESULT" priority="" purpose="Test for ScanFile in ContentManager ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSContentManager.scanFile_CHECK_RESULT" priority="" purpose="Test for ScanFile in ContentManager ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -200,59 +184,41 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSContentManager.scanFolder_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSContentManager.invalidScanFile_CHECK_RESULT" priority="" purpose="Test for ScanFile in ContentManager ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> - <start> - </start> - <end> - </end> - <stdout> [Message] </stdout> - <stderr> - </stderr> - </result_info> - </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSContentManager.insertBatch_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="FAIL"> - <description> - <test_script_entry> - </test_script_entry> - </description> - <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] Message: Directory '/home/owner/content/uts-media/batch' not found., Trace: at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) <0xadf16828 + 0x0017c> in <filename unknown>:0 - at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) <0xadf165b8 + 0x00063> in <filename unknown>:0 - at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) <0xadf16568 + 0x00023> in <filename unknown>:0 - at TizenTest.MediaInformationT.TSContentManager+<insertBatch_CHECK_RESULT>c__async1.MoveNext () <0xadf16138 + 0x000b3> in <filename unknown>:0 -</stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSContentManager.removeBatch_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSContentManager.scanFolder_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] </stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSFolder.folderCount_CHECK_RESULT" priority="" purpose="Test for Folder count ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSContentManager.insertBatch_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -269,7 +235,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSFolder.folderName_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSContentManager.removeBatch_CHECK_RESULT" priority="" purpose="Test for ScanFolder in ContentManager ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -286,7 +252,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSFolder.folderMediaCount_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSFolder.folderCount_CHECK_RESULT" priority="" purpose="Test for Folder count ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -303,7 +269,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSFolder.folderMediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Folder ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSFolder.folderName_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -320,7 +286,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSGroup.groupCount_CHECK_RESULT" priority="" purpose="Test for Group count ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSFolder.folderMediaCount_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -337,7 +303,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSGroup.groupList_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSFolder.folderMediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Folder ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -354,7 +320,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSGroup.groupmediaCount_CHECK_RESULT" priority="" purpose="Test for MediaInformation count in Group ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSGroup.groupCount_CHECK_RESULT" priority="" purpose="Test for Group count ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -371,7 +337,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSGroup.groupmediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Group ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSGroup.groupList_CHECK_RESULT" priority="" purpose="Test for Group list ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -388,7 +354,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.MediaFace_CONSTRUCTOR" priority="" purpose="Test MediaFace constructor" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSGroup.groupmediaCount_CHECK_RESULT" priority="" purpose="Test for MediaInformation count in Group ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -405,7 +371,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.Id_READ_ONLY" priority="" purpose="Test if get for MediaFace:Id is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSGroup.groupmediaInfo_CHECK_RESULT" priority="" purpose="Test for MediaInformation in Group ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -422,7 +388,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.MediaInformationId_READ_ONLY" priority="" purpose="Test if get for MediaFace:MediaInformationId is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.MediaFace_CONSTRUCTOR" priority="" purpose="Test MediaFace constructor" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -439,7 +405,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.Rect_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Rect is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.Id_READ_ONLY" priority="" purpose="Test if get for MediaFace:Id is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -456,7 +422,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.Tag_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Tag is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.MediaInformationId_READ_ONLY" priority="" purpose="Test if get for MediaFace:MediaInformationId is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -473,7 +439,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="tct.src.testcases.MediaFaceT.Orientation_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Orientation is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.Rect_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Rect is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -490,7 +456,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.GetMediaInformationAsync_RETURN_VALUE" priority="" purpose="Test for GetMediaInformationAsync ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.Tag_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Tag is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -507,7 +473,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.Getters_USAGE" priority="" purpose="Test for MediaInformation Getters ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaFaceT.Orientation_READ_ONLY" priority="" purpose="Test if get/set for MediaFace:Orientation is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -524,7 +490,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.Setters_USAGE" priority="" purpose="Test for MediaInformation Setters ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.GetMediaInformationAsync_RETURN_VALUE" priority="" purpose="Test for GetMediaInformationAsync ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -541,7 +507,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.CreateThumbnailAsync_RETURN_VALUE" priority="" purpose="Test for CreateThumbnailAsync ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.Getters_USAGE" priority="" purpose="Test for MediaInformation Getters ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -558,7 +524,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.CreateThumbnailAsyncCancel_RETURN_VALUE" priority="" purpose="Test for CreateThumbnailAsync with Cancellation..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.Setters_USAGE" priority="" purpose="Test for MediaInformation Setters ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -575,7 +541,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.Refresh_RETURN_VALUE" priority="" purpose="Test for Refresh ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.CreateThumbnailAsync_RETURN_VALUE" priority="" purpose="Test for CreateThumbnailAsync ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -592,7 +558,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.MediaInformationTest.Move_RETURN_VALUE" priority="" purpose="Test for Move ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.CreateThumbnailAsyncCancel_RETURN_VALUE" priority="" purpose="Test for CreateThumbnailAsync with Cancellation..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -609,7 +575,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.PlayList_CONSTRUCTOR" priority="" purpose="Test PlayList constructor" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.Refresh_RETURN_VALUE" priority="" purpose="Test for Refresh ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -626,7 +592,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.Id_READ_ONLY" priority="" purpose="Test if get for PlayList:Id is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.MediaInformationTest.Move_RETURN_VALUE" priority="" purpose="Test for Move ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -643,7 +609,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.Name_READ_WRITE" priority="" purpose="Test if get/set for PlayList:Name is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.PlayList_CONSTRUCTOR" priority="" purpose="Test PlayList constructor" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -660,7 +626,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.ThumbnailPath_READ_WRITE" priority="" purpose="Test if get/set for PlayList:ThumbnailPath is working properly" onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.Id_READ_ONLY" priority="" purpose="Test if get for PlayList:Id is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -677,96 +643,92 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.AddItem_CHECK_LENGTH" priority="" purpose="Test if PlayList:AddItem & PlayList:GetMediaInformationCount APIs are working properly" onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.Name_READ_WRITE" priority="" purpose="Test if get/set for PlayList:Name is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] Message: Object reference not set to an instance of an object, Trace: at Tizen.Content.MediaContent.PlayList.AddItem (Tizen.Content.MediaContent.MediaInformation mediaContent) <0xacf33578 + 0x00020> in <filename unknown>:0 - at TizenTest.PlayListT.PlayListT.AddItem_CHECK_LENGTH () <0xacf33298 + 0x0011f> in <filename unknown>:0 - at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) - at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb0416bc0 + 0x000ab> in <filename unknown>:0 </stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.RemoveItem_CHECK_LENGTH" priority="" purpose="Test if PlayList:RemoveItem & PlayList:GetMediaInformationCount APIs are working properly" onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.ThumbnailPath_READ_WRITE" priority="" purpose="Test if get/set for PlayList:ThumbnailPath is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] </stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.PlayOrder_READ_WRITE" priority="" purpose="Test if PlayList:SetPlayOrder & PlayList:GetPlayOrder APIs are working properly" onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.AddItem_CHECK_LENGTH" priority="" purpose="Test if PlayList:AddItem & PlayList:GetMediaInformationCount APIs are working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] Message: Object reference not set to an instance of an object, Trace: at Tizen.Content.MediaContent.PlayList.AddItem (Tizen.Content.MediaContent.MediaInformation mediaContent) <0xacf33578 + 0x00020> in <filename unknown>:0 - at TizenTest.PlayListT.PlayListT.PlayOrder_READ_WRITE () <0xacf33ec8 + 0x000bf> in <filename unknown>:0 - at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) - at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb0416bc0 + 0x000ab> in <filename unknown>:0 </stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.PlayList_READ_WRITE" priority="" purpose="Test if PlayList:Import & PlayList:Export APIs are working properly" onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.RemoveItem_CHECK_LENGTH" priority="" purpose="Test if PlayList:RemoveItem & PlayList:GetMediaInformationCount APIs are working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] Message: Failed to import playlist playlist_work_imported from /home/owner/content/Music/playlist_work_imported.m3u Inavlid operation, Trace: at Tizen.Content.MediaContent.PlayList.Import (System.String name, System.String filePath) <0xacf347c0 + 0x000b0> in <filename unknown>:0 - at TizenTest.PlayListT.PlayListT.PlayList_READ_WRITE () <0xacf34350 + 0x000b7> in <filename unknown>:0 - at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) - at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb0416bc0 + 0x000ab> in <filename unknown>:0 </stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.PlayListT.PlayListT.GetMediaInformationsAsync_MEDIA_INFORMATION" priority="" purpose="Test if PlayList:GetMediaInformationsAsync is working properly" onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.PlayListT.GetMediaInformationsAsync_MEDIA_INFORMATION" priority="" purpose="Test if PlayList:GetMediaInformationsAsync is working properly" onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>FAIL</actual_result> + <actual_result>PASS</actual_result> <start> </start> <end> </end> - <stdout> [Message] Expects true, but got false.</stdout> + <stdout> + </stdout> <stderr> </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSStorage.StorageId_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSStorage.StorageId_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -783,7 +745,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSStorage.StoragePath_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSStorage.StoragePath_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -800,7 +762,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSStorage.StorageType_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSStorage.StorageType_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -817,7 +779,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSStorage.StorageMediaCount_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSStorage.StorageMediaCount_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -834,7 +796,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSStorage.StorageMediaInformation_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="FAIL"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSStorage.StorageMediaInformation_READ" priority="" purpose="Test for Storage Properties Getter ..." onload_delay="" result="FAIL"> <description> <test_script_entry> </test_script_entry> @@ -850,7 +812,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSTag.TagId_READ" priority="" purpose="Test for Tag Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSTag.TagId_READ" priority="" purpose="Test for Tag Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -867,7 +829,7 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSTag.TagName_READ" priority="" purpose="Test for Tag Properties Getter ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSTag.TagName_READ" priority="" purpose="Test for Tag Properties Getter ..." onload_delay="" result="PASS"> <description> <test_script_entry> </test_script_entry> @@ -884,19 +846,18 @@ </stderr> </result_info> </testcase> - <testcase component="" execution_type="" id="TizenTest.MediaInformationT.TSTag.TagAddAndRemoveItem_CHECK_RESULT" priority="" purpose="Test for Tag add/remove Methods ..." onload_delay="" result="PASS"> + <testcase component="" execution_type="" id="TizenTest.Mediacontent.TSTag.TagAddAndRemoveItem_CHECK_RESULT" priority="" purpose="Test for Tag add/remove Methods ..." onload_delay="" result="FAIL"> <description> <test_script_entry> </test_script_entry> </description> <result_info> - <actual_result>PASS</actual_result> + <actual_result>FAIL</actual_result> <start> </start> <end> </end> - <stdout> - </stdout> + <stdout> [Message] </stdout> <stderr> </stderr> </result_info> diff --git a/tct-mediacontent-tizen-tests/res/Result/summary.xml b/tct-mediacontent-tizen-tests/res/Result/summary.xml index 74d5db7..e19ec39 100644 --- a/tct-mediacontent-tizen-tests/res/Result/summary.xml +++ b/tct-mediacontent-tizen-tests/res/Result/summary.xml @@ -8,12 +8,12 @@ <start_at>2016-04-20_18_37_38</start_at> <end_at>2016-04-20_18_37_38</end_at> </summary> - <suite name="MediaInformationT"> - <total_case>52</total_case> - <pass_case>40</pass_case> - <pass_rate>77</pass_rate> - <fail_case>12</fail_case> - <fail_rate>23</fail_rate> + <suite name="Mediacontent"> + <total_case>50</total_case> + <pass_case>48</pass_case> + <pass_rate>96</pass_rate> + <fail_case>2</fail_case> + <fail_rate>4</fail_rate> <block_case>0</block_case> <na_case>0</na_case> <block_rate>0</block_rate> diff --git a/tct-mediacontent-tizen-tests/res/install.sh b/tct-mediacontent-tizen-tests/res/install.sh index 658395e..3a38d9c 100755 --- a/tct-mediacontent-tizen-tests/res/install.sh +++ b/tct-mediacontent-tizen-tests/res/install.sh @@ -1,2 +1,2 @@ -pkgcmd -u -n org.test.mediacontent.tizen -pkgcmd -t tpk -i -p org.test.mediacontent.tizen.tpk -q +pkgcmd -u -n org.test.tizen.mediacontent +pkgcmd -t tpk -i -p org.test.tizen.mediacontent.tpk -q diff --git a/tct-mediacontent-tizen-tests/res/pull.sh b/tct-mediacontent-tizen-tests/res/pull.sh index 7059ade..a6861ff 100755 --- a/tct-mediacontent-tizen-tests/res/pull.sh +++ b/tct-mediacontent-tizen-tests/res/pull.sh @@ -1,4 +1,4 @@ # pull result file sdb root on -sdb pull /home/owner/share/MediaInformationT/MediaInformationT.xml Result/ -sdb pull /home/owner/share/MediaInformationT/summary.xml Result/ +sdb pull /home/owner/share/Mediacontent/Mediacontent.xml Result/ +sdb pull /home/owner/share/Mediacontent/summary.xml Result/ diff --git a/tct-mediacontent-tizen-tests/res/push.sh b/tct-mediacontent-tizen-tests/res/push.sh index 29c5e3a..cf7ec51 100755 --- a/tct-mediacontent-tizen-tests/res/push.sh +++ b/tct-mediacontent-tizen-tests/res/push.sh @@ -1,2 +1,2 @@ sdb root on -sdb push ../org.test.mediacontent.tizen.tpk install.sh run.sh /home/owner +sdb push ../org.test.tizen.mediacontent.tpk install.sh run.sh /home/owner diff --git a/tct-mediacontent-tizen-tests/res/run.sh b/tct-mediacontent-tizen-tests/res/run.sh index 5943a2b..769295c 100644..100755 --- a/tct-mediacontent-tizen-tests/res/run.sh +++ b/tct-mediacontent-tizen-tests/res/run.sh @@ -1,12 +1,12 @@ # install & run TC -app_launcher -t org.test.mediacontent.tizen +app_launcher -t org.test.tizen.mediacontent rm /opt/home/owner/content/Airlift.mp3 rm /opt/home/owner/content/Chrysanthemum.jpg rm /opt/home/owner/content/Wildlife.wmv rm /opt/home/owner/content/Images/Chrysanthemum.jpg rm -r /home/owner/content/uts-media -cp /opt/home/owner/apps_rw/org.test.mediacontent.tizen/data/Airlift.mp3 /opt/home/owner/content/ -cp /opt/home/owner/apps_rw/org.test.mediacontent.tizen/data/Chrysanthemum.jpg /opt/home/owner/content/ -cp /opt/home/owner/apps_rw/org.test.mediacontent.tizen/data/Wildlife.wmv /opt/home/owner/content/ -cp -r /opt/home/owner/apps_rw/org.test.mediacontent.tizen/data/uts-media /home/owner/content/ -app_launcher -s org.test.mediacontent.tizen +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Airlift.mp3 /opt/home/owner/content/ +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Chrysanthemum.jpg /opt/home/owner/content/ +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Wildlife.wmv /opt/home/owner/content/ +cp -r /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/uts-media /home/owner/content/ +app_launcher -s org.test.tizen.mediacontent diff --git a/tct-mediacontent-tizen-tests/script/install.sh b/tct-mediacontent-tizen-tests/script/install.sh new file mode 100755 index 0000000..8984e3e --- /dev/null +++ b/tct-mediacontent-tizen-tests/script/install.sh @@ -0,0 +1,3 @@ +MOD_NAME=mediacontent +pkgcmd -u -n org.test.tizen.$MOD_NAME +pkgcmd -t tpk -i -p org.test.tizen.$MOD_NAME.tpk -q diff --git a/tct-mediacontent-tizen-tests/script/push.sh b/tct-mediacontent-tizen-tests/script/push.sh new file mode 100755 index 0000000..34862bf --- /dev/null +++ b/tct-mediacontent-tizen-tests/script/push.sh @@ -0,0 +1,8 @@ +MOD_NAME=mediacontent +DEVICE_TCT_DIR=tct-suite + +sdb root on +sdb shell rm -rf /home/owner/$DEVICE_TCT_DIR/$MOD_NAME +sdb shell mkdir -p /home/owner/$DEVICE_TCT_DIR/$MOD_NAME + +sdb push ../../../package/org.test.tizen.$MOD_NAME.tpk install.sh run.sh /home/owner/$DEVICE_TCT_DIR/$MOD_NAME diff --git a/tct-mediacontent-tizen-tests/script/run.sh b/tct-mediacontent-tizen-tests/script/run.sh new file mode 100755 index 0000000..4d57164 --- /dev/null +++ b/tct-mediacontent-tizen-tests/script/run.sh @@ -0,0 +1,16 @@ +MOD_NAME=mediacontent + +# Kill the application if it's running +app_launcher -k org.test.tizen.$MOD_NAME + +# Run the application +rm /opt/home/owner/content/Airlift.mp3 +rm /opt/home/owner/content/Chrysanthemum.jpg +rm /opt/home/owner/content/Wildlife.wmv +rm /opt/home/owner/content/Images/Chrysanthemum.jpg +rm -r /home/owner/content/uts-media +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Airlift.mp3 /opt/home/owner/content/ +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Chrysanthemum.jpg /opt/home/owner/content/ +cp /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/Wildlife.wmv /opt/home/owner/content/ +cp -r /opt/home/owner/apps_rw/org.test.tizen.mediacontent/data/uts-media /home/owner/content/ +app_launcher -s org.test.tizen.$MOD_NAME diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSAlbum.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSAlbum.cs index 98e089f..5ab883b 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSAlbum.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSAlbum.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Album Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSBookmark.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSBookmark.cs index bac291b..18d0b85 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSBookmark.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSBookmark.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace tct.src.testcases +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Bookmark Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSContentManager.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSContentManager.cs index df2325b..86cb2ee 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSContentManager.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSContentManager.cs @@ -6,7 +6,7 @@ using Tizen.Content.MediaContent; using System.IO; using System.Threading; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.ContentManager Tests")] @@ -134,56 +134,60 @@ namespace TizenTest.MediaInformationT // Tizen.Log.Info(TAG, "Executing Aditya TC:cancelScanFolder_CHECK_RESULT ContentManager end"); //} - //[Test] - //[Category("P1")] - //[Description("Test for ScanFolder in ContentManager ...")] - //[Property("SPEC", " Tizen.Content.MediaContent.ContentManager.AddMediaInformationBatchAsync M")] - //[Property("SPEC_URL", "-")] - //[Property("CRITERIA", "MR")] - //[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")] - //public static async Task insertBatch_CHECK_RESULT() - //{ - // Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager"); - // //string path = "/home/owner/content/test_media_batch"; - // string[] files = Directory.GetFiles(_rootPath + "test_media_batch", "*.png"); - // ContentFilter filter = new ContentFilter(); - // filter.Condition = "MEDIA_PATH = " + _rootPath + "test_media_batch"; - // try - // { - // await ContentManager.RemoveMediaInformationBatchAsync(filter); - // await ContentManager.AddMediaInformationBatchAsync(files); - // } - // catch (Exception e) - // { - // Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager failed : " + e.Message); - // Assert.Fail(); - // } - // Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager end"); - //} + [Test] + [Category("P1")] + [Description("Test for ScanFolder in ContentManager ...")] + [Property("SPEC", " Tizen.Content.MediaContent.ContentManager.AddMediaInformationBatchAsync M")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "MR")] + [Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")] + public static async Task insertBatch_CHECK_RESULT() + { + Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager"); + string[] files = Directory.GetFiles(_rootPath + "test_media_batch", "*.png"); + Tizen.Log.Info(TAG, "Total Files : " + files.Length); + IList<string> filesList = new List<string>(); + foreach (string filePath in files) + { + filesList.Add(filePath); + Tizen.Log.Info(TAG, "Filepath : " + filePath); + } + Tizen.Log.Info(TAG, "FilesList.Length = " + filesList.Count); + try + { + await ContentManager.AddMediaInformationBatchAsync(filesList); + } + catch (Exception e) + { + Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager failed : " + e.Message); + Assert.Fail(); + } + Tizen.Log.Info(TAG, "Executing TC:insertBatch_CHECK_RESULT ContentManager end"); + } - //[Test] - //[Category("P1")] - //[Description("Test for ScanFolder in ContentManager ...")] - //[Property("SPEC", " Tizen.Content.MediaContent.ContentManager.RemoveMediaInformationBatchAsync M")] - //[Property("SPEC_URL", "-")] - //[Property("CRITERIA", "MR")] - //[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")] - //public static async Task removeBatch_CHECK_RESULT() - //{ - // ContentFilter filter = new ContentFilter(); - // filter.Condition = "MEDIA_PATH = " + _rootPath + "test_media_batch"; - // Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager"); - // try - // { - // await ContentManager.RemoveMediaInformationBatchAsync(filter); + [Test] + [Category("P1")] + [Description("Test for ScanFolder in ContentManager ...")] + [Property("SPEC", " Tizen.Content.MediaContent.ContentManager.RemoveMediaInformationBatchAsync M")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "MR")] + [Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")] + public static async Task removeBatch_CHECK_RESULT() + { + ContentFilter filter = new ContentFilter(); + filter.Condition = "MEDIA_PATH = " + "\'" + _rootPath + "test_media_batch\'"; + Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager"); + try + { + await ContentManager.RemoveMediaInformationBatchAsync(filter); - // } - // catch (Exception e) - // { - // Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager failed : " + e.Message); - // Assert.Fail(); - // } - // Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager end"); - //} + } + catch (Exception e) + { + Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager failed : " + e.Message); + Assert.Fail(); + } + Tizen.Log.Info(TAG, "Executing TC:removeBatch_CHECK_RESULT ContentManager end"); + } } } diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSFolder.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSFolder.cs index 1db927f..72a8eaa 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSFolder.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSFolder.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Folder Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSGroup.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSGroup.cs index 1eb1422..11a064e 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSGroup.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSGroup.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Group Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSMediaFace.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSMediaFace.cs index 24c3347..e2cf792 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSMediaFace.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSMediaFace.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace tct.src.testcases +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Bookmark Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSMediaInformation.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSMediaInformation.cs index 9697c23..8c27121 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSMediaInformation.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSMediaInformation.cs @@ -18,7 +18,7 @@ using System.Collections.Specialized; using System.Runtime.InteropServices; -namespace TizenTest.MediaInformationT { +namespace TizenTest.Mediacontent { [TestFixture] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSPlayList.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSPlayList.cs index bf9b614..a6165f8 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSPlayList.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSPlayList.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.PlayListT +namespace TizenTest.Mediacontent { [TestFixture] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSStorage.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSStorage.cs index d4a84f6..4b2d755 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSStorage.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSStorage.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Storage Tests")] diff --git a/tct-mediacontent-tizen-tests/src/Testcase/TSTag.cs b/tct-mediacontent-tizen-tests/src/Testcase/TSTag.cs index 2bbcb89..29c2a6b 100644..100755 --- a/tct-mediacontent-tizen-tests/src/Testcase/TSTag.cs +++ b/tct-mediacontent-tizen-tests/src/Testcase/TSTag.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using TestFramework; using Tizen.Content.MediaContent; -namespace TizenTest.MediaInformationT +namespace TizenTest.Mediacontent { [TestFixture] [Description("Tizen.Content.MediaContent.Tag Tests")] diff --git a/tct-mediacontent-tizen-tests/tizen-manifest.xml b/tct-mediacontent-tizen-tests/tizen-manifest.xml index 4b44c8c..d01132e 100755 --- a/tct-mediacontent-tizen-tests/tizen-manifest.xml +++ b/tct-mediacontent-tizen-tests/tizen-manifest.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.test.mediacontent.tizen" version="1.0.0"> - <ui-application appid="org.test.mediacontent.tizen" exec="tct-mediacontent-tizen-tests" type="capp" multiple="false" taskmanage="true" nodisplay="false"> +<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.test.tizen.mediacontent" version="1.0.0"> + <ui-application appid="org.test.tizen.mediacontent" exec="tct-mediacontent-tizen-tests" type="capp" multiple="false" taskmanage="true" nodisplay="false"> <icon>icon.png</icon> <label>tct-mediacontent-tizen-tests</label> </ui-application> |