serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/conf/tmediamgmttest_image.cfg
changeset 22 fc9cf246af83
parent 19 989d2f495d90
equal deleted inserted replaced
19:989d2f495d90 22:fc9cf246af83
   809 //Input: FileName as SortKey and Descending as SortOrder
   809 //Input: FileName as SortKey and Descending as SortOrder
   810 //Expected: list of images sorted in descending order based on FileName
   810 //Expected: list of images sorted in descending order based on FileName
   811 [Test]
   811 [Test]
   812 title Img_SortDescendingOnFileName
   812 title Img_SortDescendingOnFileName
   813 create tmediaprovidertesting foobar
   813 create tmediaprovidertesting foobar
   814 foobar GetFilesListL FileInfo Image Drive c: NULL FileName Descending 0 ExpectedStart StartMap FileName dreams EndMap StartMap FileName blue EndMap StartMap FileName ant EndMap StartMap FileName a EndMap ExpectedEnd
   814 foobar GetFilesListL FileInfo Image Drive c: NULL FileName Descending 0 ExpectedStart StartMap FileName dreams XPixels 800 YPixels 600 EndMap StartMap FileName blue XPixels 318 YPixels 301 EndMap StartMap FileName ant XPixels 329 YPixels 220 EndMap StartMap FileName a XPixels 1152 YPixels 864 EndMap ExpectedEnd
   815 delete foobar
   815 delete foobar
   816 [Endtest]
   816 [Endtest]
   817 
   817 
   818 
   818 
   819 //Case to check for all fields in output
   819 //Case to check for all fields in output
   825 foobar GetFilesListL FileInfo Image Drive e: NULL NULL NULL 0 ExpectedStart StartMap Type Media FileName stars FileExtension .jpg Drive e: FileSize 24790 FileDate 20081019:033638 FileNameAndPath e:\data\Images\stars.jpg MimeType image/jpeg EndMap ExpectedEnd
   825 foobar GetFilesListL FileInfo Image Drive e: NULL NULL NULL 0 ExpectedStart StartMap Type Media FileName stars FileExtension .jpg Drive e: FileSize 24790 FileDate 20081019:033638 FileNameAndPath e:\data\Images\stars.jpg MimeType image/jpeg EndMap ExpectedEnd
   826 delete foobar
   826 delete foobar
   827 [Endtest]
   827 [Endtest]
   828 
   828 
   829 
   829 
       
   830 //Case to check for the new output field resolution for Images only added for CJSE 2.0
       
   831 //Input: Image as FileType
       
   832 //Expected: list of all images files with Resolution map as output
       
   833 [Test]
       
   834 title Img_Resolution
       
   835 create tmediaprovidertesting foobar
       
   836 foobar GetFilesListL FileInfo Image Drive c: NULL NULL NULL 0 ExpectedStart StartMap Type Media FileName a FileExtension .jpg Drive c: FileSize 31097 FileDate 20070920:053905 FileNameAndPath c:\data\Images\a.jpg MimeType image/jpeg XPixels 1152 YPixels 864 EndMap StartMap Type Media FileName ant FileExtension .jpg Drive c: FileSize 8474 FileDate 20060819:102426 FileNameAndPath c:\data\Images\ant.jpg MimeType image/jpeg XPixels 329 YPixels 220 EndMap StartMap Type Media FileName blue FileExtension .png Drive c: FileSize 4796 FileDate 20070302:120443 FileNameAndPath c:\data\Images\blue.png MimeType image/png XPixels 318 YPixels 301 EndMap StartMap Type Media FileName dreams FileExtension .bmp Drive c: FileSize 73105 FileDate 20070108:015537 FileNameAndPath c:\data\Images\pictures\dreams.bmp MimeType image/bmp XPixels 800 YPixels 600 EndMap ExpectedEnd
       
   837 delete foobar
       
   838 [Endtest]
   830 
   839 
   831 ################################################################    Image Ends     ####################################################
   840 ################################################################    Image Ends     ####################################################