################################################################   Sound    ####################################################
/*
NOTE:
1. NULL input means not passing any value for the placeholder
2. NullValue means a NULL is passed as value to the placeholder
3. "NULL" as input to a parameter means a Null string or a string of value "NULL" is passed as input
4. All the fields in input is mandatory, if no value is to be passed for any field, a value NULL can be passed. And if NULL is to be passed as value, then 
	value "NULLVALUE" needs to be passed.
5. The key-value pair in Expected output can be in any order and all are optional.


Requirements:
The following sound files are expected to be present at the mentioned locations. All the cases below are written based on this assumption. 
The expected output is as per this list.

The Expected output is of the form where all fields of each map is written in between two keys StartMap and EndMap 
All the maps are written between two key words ExpectedStart and ExpectedEnd, as shown below

FileNameAndPath:											Expected o/p format for each file:
c:\data\others\music.wav							StartMap Type Media FileName music FileExtension .wav Drive c: FileSize 22965 FileDate 20081019:033638 FileNameAndPath c:\data\others\music.wav MimeType AUDIO/WAV EndMap
e:\data\sound\digital\noise.amr				StartMap Type Media FileName noise FileExtension .amr Drive e: FileSize 25031 FileDate 20081109:085028 FileNameAndPath e:\data\sounds\digital\noise.amr MimeType AUDIO/AMR EndMap
c:\data\sound\digital\raaga.wav				startMap Type Media FileName raaga FileExtension .wav Drive c: FileSize 22965 FileDate 20081019:033638 FileNameAndPath c:\data\sounds\digital\raaga.wav MimeType AUDIO/WAV EndMap
e:\data\sound\digital\rock_on.wav			StartMap Type Media FileName rock_on FileExtension .wav Drive e: FileSize 22965 FileDate 20081019:033638 FileNameAndPath e:\data\sounds\digital\rock_on.wav MimeType AUDIO/WAV EndMap
c:\data\sound\digital\sound.amr				StartMap Type Media FileName sound FileExtension .amr Drive c: FileSize 25031 FileDate 20081109:085028 FileNameAndPath c:\data\sounds\digital\sound.amr MimeType AUDIO/AMR EndMap
c:\data\sound\digital\tempo.wav				StartMap Type Media FileName tempo FileExtension .wav Drive c: FileSize 22965 FileDate 20081019:033638 FileNameAndPath c:\data\sounds\digital\tempo.wav MimeType AUDIO/WAV EndMap



//Testcase format:
//Description of the testcase
//Input: Input values
//Expected:(+ve/-ve case) Expected output or behaviour 
[Test]
title Sample
create tmediaprovidertesting foobar
//foobar GetFilesListL <Type> <FileType> <Key> <StartRange> <EndRange> <SortKey> <SortOrder> <expected error code> ExpectedStart StartMap Type <Type value> FileName <filename value FileExtension <FileExtension value> Drive <Drive value> FileSize <FileSize value> FileDate <FileDate value> FileNameAndPath <FileNameAndPath value> MimeType <MimeType value> EndMap ExpectedEnd
foobar GetFilesListL FileInfo Sound FileName tempo NULL NULL NULL 0 ExpectedStart StartMap Type Media FileName tempo FileExtension .wav Drive c: FileSize 22965 FileDate 20081019:033638 FileNameAndPath c:\data\sounds\digital\tempo.wav MimeType AUDIO/WAV EndMap ExpectedEnd
delete foobar
[Endtest]

*/

############################################### Test cases starts ###############################################

#########################################Type==“FileInfo” + Passing Filter Map with FileType==Sound + Key+Start Range############################


//GetList of sound files with NULL startrange
//Input: FileName as Key and NULLVALUE as startrange(means that NULL, all other inputs are NULL(means no value is passed)
//Expected: list of sound files with filename tempo
[Test]
title Sound_NullStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName NULL NULL NULL NULL 1003
delete foobar
[Endtest]

//GetList of sound files with startrange for FileName
//Input: FileName as Key and value tempo as startrange, all other inputs are NULL(means no value is passed)
//Expected: list of sound files with filename tempo
[Test]
title Sound_FileNameKeyWithvalidStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName tempo NULL NULL NULL 0 ExpectedStart StartMap FileName tempo EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files  with startrange for FileExtension
//Input: FileExtension as Key and value .wav as startrange, all other inputs are NULL(means no value is passed)
//Expected: list of all sound files with .wav as FileExtension are expected
[Test]
title Sound_FileExtensionKeyWithvalidStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileExtension .wav NULL NULL NULL 0 ExpectedStart StartMap FileName music FileExtension .wav EndMap StartMap FileName raaga FileExtension .wav EndMap StartMap FileName rock_on FileExtension .wav EndMap StartMap FileName tempo FileExtension .wav EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files with startrange for Drive
//Input: Drive as Key and value e: as startrange
//Expected: list of sound files filtered by Drive
[Test]
title Sound_DriveKey_e:StartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL NULL NULL 0 ExpectedStart StartMap FileName noise Drive e: EndMap StartMap FileName rock_on Drive e: EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files with startrange for FileSize
//Input: FileSize as Key and value 25301 as startrange
//Expected: list of sound files filtered by FileSize
[Test]
title Sound_FileSizeKeyWithvalidStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 25031 NULL NULL NULL 0 ExpectedStart StartMap FileName noise FileSize 25031 EndMap StartMap FileName sound FileSize 25031 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files with startrange for FileDate
//Input: FileDate as Key and value 20081109:085028 as startrange
//Expected: list of sound files filtered by FileDate
[Test]
title Sound_FileDateKeyWithvalidStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate 20081109:085028 NULL NULL NULL 0 ExpectedStart StartMap FileName noise FileDate 20081109:085028 EndMap StartMap FileName sound FileDate 20081109:085028 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files with startrange for MimeType
//Input: MimeType as Key and value AUDIO/WAV as startrange
//Expected: list of sound files filtered by MimeType
[Test]
title Sound_MimeTypeKey_audio/wavStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound MimeType AUDIO/WAV NULL NULL NULL 0 ExpectedStart StartMap FileName music MimeType AUDIO/WAV EndMap StartMap FileName raaga MimeType AUDIO/WAV EndMap StartMap FileName rock_on MimeType AUDIO/WAV EndMap StartMap FileName tempo MimeType AUDIO/WAV EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList of sound files with startrange for FileNameAndPath
//Input: FileNameAndPath as Key and value c:\data\sounds\digital\tempo.wav  as startrange
//Expected: list of sound files filtered by FileNameAndPath
[Test]
title Sound_FileNameAndPathKeyWithvalidStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileNameAndPath c:\data\sounds\digital\tempo.wav NULL NULL NULL 0 ExpectedStart StartMap FileNameAndPath c:\data\sounds\digital\tempo.wav EndMap ExpectedEnd
delete foobar
[Endtest]


//GetList of sound files with negative startrange for FileSize
//Input: FileSize as key and -400 as value for startrange 
//Expected: errorcode 1002-BadArgumentType
[Test]
title SoundNeg_NegativeFileSize
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize -400 NULL NULL NULL 1002
delete foobar
[Endtest]

//GetList of sound files with negative startrange for FileDate
//Input: FileDate as key and -12 as value for startrange 
//Expected: errorcode 1002-BadArgumentType
[Test]
title SoundNeg_NegativeFileDate
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate -12 NULL NULL NULL 1002
delete foobar
[Endtest]

//GetList with FileSize with value more than the value of all files expected
//Input: FileSize as key and 40000 as value for startrange 
//Expected: errorcode 0 and empty list as output
[Test]
title Sound_ValidFileSize_NoExpectedo/p
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 40000 NULL NULL NULL 0
delete foobar
[Endtest]

//GetList with FileDate with value more than the value of aall files expected
//Input: FileDate as key and 20091010:040404 as value for startrange 
//Expected: errorcode 0 and empty list as output
[Test]
title Sound_ValidFileDate_NoExpectedo/p
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate 20091010:040404 NULL NULL NULL 0
delete foobar
[Endtest]

//GetList with FileDate having invalid value
//Input: FileDate as key and 20094545:909834 as value for startrange 
//Expected: errorcode 1002- BadArgumentType
[Test]
title SoundNeg_InvalidFileDate
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate 20094545:909834 NULL NULL NULL 1002
delete foobar
[Endtest]

//GetList with startrange and no key
//Input: NULL as Key and 20000 and 30000 as start and end range values respectively
//Expected: list of all sound files is expected
[Test]
title Sound_NoKeyWithRangeValues
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound NULL 20000 30000 NULL NULL 0
delete foobar
[Endtest]


//GetList with empty string as startrange
//Input: FileName as Key and empty string as startrange
//Expected: errorcode 0 is returned and empty list is returned
[Test]
title Sound_FileNameKey_EmptyStringStartRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName "" NULL NULL NULL 0 
delete foobar
[Endtest]

//GetList with integer as startrange
//Input: FileName as Key and integer value 12 as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_IntegerStartRangeForFileNameKey
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName 12 NULL NULL NULL 0
delete foobar
[Endtest]


//GetList of sound files with a Null string as staratrange for FileName
//Input: FileName as Key and null string "NULL" as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_NullStringStartRangeForFileNameKey
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName "NULL" NULL NULL NULL 0 
delete foobar
[Endtest]

//GetList of sound files with a Null string as staratrange for FileExtension
//Input: FileExtension as Key and null string "NULL" as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_NullStringStartRangeForFileExtensionKey
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileExtension "NULL" NULL NULL NULL 0 
delete foobar
[Endtest]

//GetList of sound files with a Null string as staratrange for Drive
//Input: Drive as Key and null string "NULL" as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_NullStringKeyForDriveKey
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive "NULL" NULL NULL NULL 0 
delete foobar
[Endtest]


//GetList of sound files with a Null string as staratrange for MimeType
//Input: MimeType as Key and null string "NULL" as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_NullStringStartRangeForMimeType
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound MimeType "NULL" NULL NULL NULL 0 
delete foobar
[Endtest]

//GetList of sound files with a Null string as staratrange for FileNameAndPath
//Input: FileNameAndPath as Key and null string "NULL" as startrange
//Expected: errorcode 0 and empty list is returned
[Test]
title Sound_NullStringStartRangeForFileNameAndPath
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileNameAndPath "NULL" NULL NULL NULL 0 
delete foobar
[Endtest]

################################# Type==“FileInfo” + Passing Filter Map with FileType==Sound + Key+Start Range + End Range ######################

//GetList of sound files with endrange less than startrange for FileSize
//Input: FileSize as Key and 22400 as startrange and 2000 as endrange
//Expected: errorcode 1002-BadArgumentType
[Test]
title SoundNeg_StartRangeGTEndRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 22400 2000 NULL NULL 1002
delete foobar
[Endtest]

//GetList of sound files with negative endrange for FileSize
//Input: FileSize as Key and -12 as value for endrange
//Expected: errorcode 1002-BadArgumentType
[Test]
title SoundNeg_NegativeFileSizeEndRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 22400 -12 NULL NULL 1002
delete foobar
[Endtest]

//GetList of sound files with negative endrange for FileDate
//Input: FileDate as Key and -24 as end range
//Expected: errorcode 1002-BadArgumentType
[Test]
title SoundNeg_NegativeFileDateEndRange
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate 20090103:075032 -24 NULL NULL 1002
delete foobar
[Endtest]

//GetList of sound files with endrange where it is not applicable
//Input: FileName as Key and raaga as startrange and tempo as endrange
//Expected: the details of file named raaga is expected and the endrange is ignored
[Test]
title Sound_EndRangeForFileNameKey
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileName raaga tempo NULL NULL 0 ExpectedStart StartMap FileName raaga EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with valid startrange for FileSize Key
//Input: FileSize as Key and 20000 and 25000 as start and end range values respectively
//Expected: list of all sound files in the file size range 20000 to 25000 is expected
[Test]
title Sound_ValidRangeForFileSize
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 20000 25000 NULL NULL 0 ExpectedStart StartMap FileName music FileSize 22965 EndMap StartMap FileName raaga FileSize 22965 EndMap StartMap FileName rock_on FileSize 22965 EndMap StartMap FileName tempo FileSize 22965 EndMap ExpectedEnd
delete foobar
[Endtest]


//GetList with valid startrange for FileDate Key
//Input: FileDate as Key and 20081022:030000 and 20081110:090000 as start and end range values respectively
//Expected: list of all sound files in the file date range mentioned are expected
[Test]
title Sound_ValidRangeForFileDate
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileDate 20081022:030000 20081110:090000 NULL NULL 0 ExpectedStart StartMap FileName noise FileDate 20081109:085028 EndMap StartMap FileName sound FileDate 20081109:085028 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with valid startrange for FileSize Key, but no files being present in that range
//Input: FileSize as Key and 40000 and 50000 as start and end range values respectively
//Expected: 0 errorcode and empty list is expected
[Test]
title Sound_ValidRangeForFileSize_NoExpectedo/p
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileSize 40000 50000 NULL NULL 0 
delete foobar
[Endtest]

########################  Type==“FileInfo” + Passing Filter Map with FileType==Sound + Sort Map ########################


//GetList with Ascending order for a given drive
//Input: FileExtension as Key .amr as startrange, Drive as SortKey and Ascending as SortOrder
//Expected: list of sound files with file extension .amr,in ascending order of drive
[Test]
title Sound_SortAscendingOnDrive
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileExtension .amr NULL Drive Ascending 0 ExpectedStart StartMap FileName sound Drive c: EndMap StartMap FileName noise Drive e: EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Descending order for a given drive
//Input: FileExtension as Key .amr as startrange, Drive as SortKey and Descending as SortOrder
//Expected: list of sound files with .amr file extension, in descending order of drive
[Test]
title Sound_SortDescendingOnDrive
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound FileExtension .amr NULL Drive Descending 0 ExpectedStart StartMap FileName noise FileExtension .amr Drive e: EndMap StartMap FileName sound FileExtension .amr Drive c: EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Ascending order for a given FileExtension
////Input: Drive as Key e: as startrange, FileExtension as SortKey and Ascending as SortOrder
//Expected: list of sound files, in e: drive, in ascending order of FileExtension
[Test]
title Sound_SortAscendingOnFileExtension
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileExtension Ascending 0 ExpectedStart StartMap FileName noise FileExtension .amr EndMap StartMap FileName rock_on FileExtension .wav EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Descending order for a given FileExtension
//Input: Drive as Key e: as startrange, FileExtension as SortKey and Descending as SortOrder
//Expected: list of sound files, in e: drive, in descending order of FileExtension
[Test]
title Sound_SortDescendingOnFileExtension
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileExtension Descending 0 ExpectedStart StartMap FileName rock_on FileExtension .wav EndMap StartMap FileName noise FileExtension .amr EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Ascending order for a given MimeType
//Input: Drive as Key, e: as value for startrange, MimeType as SortKey, Ascending as SortOrder
//Expected: list of sound files,in e: drive, in ascending order of MimeType
[Test]
title Sound_SortAscendingOnMimeType
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL MimeType Ascending 0 ExpectedStart StartMap FileName noise MimeType AUDIO/AMR EndMap StartMap FileName rock_on MimeType AUDIO/WAV EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Descending order for a given MimeType
//Input: Drive as Key, e: as value for startrange, MimeType as SortKey, Descending as SortOrder
//Expected: list of sound files,in e: drive, in descending order of MimeType
[Test]
title Sound_SortDescendingOnMimeType
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL MimeType Descending 0 ExpectedStart StartMap FileName rock_on MimeType AUDIO/WAV EndMap StartMap FileName noise MimeType AUDIO/AMR EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Ascending order for a given FileSize
//Input: Drive as Key, e: as value for startrange, FileSize as SortKey, Ascending as SortOrder
//Expected: list of sound files,in e: drive, in ascending order of FileSize
[Test]
title Sound_SortAscendingOnFileSize
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileSize Ascending 0 ExpectedStart StartMap FileName rock_on FileSize 22965 EndMap StartMap FileName noise FileSize 25031 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Descending order for a given FileSize
//Input: Drive as Key, e: as value for startrange, FileSize as SortKey, Descending as SortOrder
//Expected: list of sound files in descending order of FileSize
[Test]
title Sound_SortDescendingOnFileSize
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileSize Descending 0 ExpectedStart StartMap FileName noise FileSize 25031 EndMap StartMap FileName rock_on FileSize 22965 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Ascending order for a given FileDate
//Input: Drive as Key, e: as value for startrange, FileDate as SortKey, Ascending as SortOrder
//Expected: list of sound files,in e: drive, in ascending order of FileDate
[Test]
title Sound_SortAscendingOnFileDate
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileDate Ascending 0 ExpectedStart StartMap FileName rock_on FileDate 20081019:033638 EndMap StartMap FileName noise FileDate 20081109:085028 EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList with Descending order for a given FileDate
//Input: Drive as Key, e: as value for startrange, FileDate as SortKey, Descending as SortOrder
//Expected: list of sound files,in e: drive, in descending order of FileDate
[Test]
title Sound_SortDescendingOnFileDate
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileDate Descending 0 ExpectedStart StartMap FileName noise FileDate 20081109:085028 EndMap StartMap FileName rock_on FileDate 20081019:033638 EndMap ExpectedEnd
delete foobar
[Endtest]


//GetList with no sort order 
//Input: Drive as Key, e: as value for startrange, FileName as SortKey, no sortorder(NULL as sortorder)
//Expected: list of sound files,in e: drive, in ascending order(default order) of FileName
[Test]
title Sound_NoSortOrder
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileName NULL 0 ExpectedStart StartMap FileName noise EndMap StartMap FileName rock_on EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList Nokia as SortOrder
//Input: FileDate as SortKey and Nokia as SortOrder
//Expected: errorcode 1002-BadArgumentType is expected output, as the value for SortOrder is invalid
[Test]
title Sound_NokiaSortOrder
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound NULL NULL NULL FileDate Nokia 1002
delete foobar
[Endtest]


//GetList ascending(case sensitive) as sort order
//Input: Drive as Key, e: as value for startrange, FileDate as value for SortKey and ascending(lower case) as value for SortOrder
//filters as per the filter key and order mentioned
[Test]
title Sound_lowercase_ascendingSortOrder
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileDate ascending 0 ExpectedStart StartMap FileName rock_on FileDate 20081019:033638 EndMap StartMap FileName noise FileDate 20081109:085028 EndMap ExpectedEnd
delete foobar
[Endtest]


//GetList Ascending sort order for FileNameAndPath
//Input: FileNameAndPath as SortKey and Ascending as SortOrder
//Expected: list of sound files in ascending order of FileNameAndPath
[Test]
title Sound_SortAscendingOnFileNameAndPath
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive c: NULL FileNameAndPath Ascending 0 ExpectedStart StartMap FileNameAndPath c:\data\others\music.wav EndMap StartMap FileNameAndPath c:\data\sounds\digital\raaga.wav EndMap StartMap FileNameAndPath c:\data\sounds\digital\sound.amr EndMap StartMap FileNameAndPath c:\data\sounds\digital\tempo.wav EndMap ExpectedEnd
delete foobar
[Endtest]


//GetList Descending order for FileName
//Input: FileName as SortKey and Descending as value for SortOrder
//Expected: list of sound files in descending order of FileName
[Test]
title Sound_SortDescendingOnFileName
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound MimeType AUDIO/AMR NULL FileName Descending 0 ExpectedStart StartMap FileName sound MimeType AUDIO/AMR EndMap StartMap FileName noise MimeType AUDIO/AMR EndMap ExpectedEnd
delete foobar
[Endtest]

//GetList to check for all fields
//Input: Drive as FilterKey and e: as startrange FileName as SortKey and Descending as value for SortOrder
//Expected: list of sound files in e: drive, in descending order of FileName
[Test]
title Sound_DriveKey_e:StartRange_CheckForAllKeysInExpectedO/p
create tmediaprovidertesting foobar
foobar GetFilesListL FileInfo Sound Drive e: NULL FileName Descending 0 ExpectedStart StartMap Type Media FileName rock_on FileExtension .wav Drive e: FileSize 22965 FileDate 20081019:033638 FileNameAndPath e:\data\sounds\digital\rock_on.wav MimeType AUDIO/WAV EndMap StarMap Type Media FileName noise FileExtension .amr Drive e: FileSize 25031 FileDate 20081109:085028 FileNameAndPath e:\data\sounds\digital\noise.amr MimeType AUDIO/AMR EndMap ExpectedEnd
delete foobar
[Endtest]

############################################ End Sound #################################################