author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 24 Nov 2009 08:56:33 +0200 | |
changeset 33 | 50974a8b132e |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 1 |
F// =========================================================================== |
2 |
// Copyright © 2005-2006 Nokia Corporation. |
|
3 |
// This material, including documentation and any related |
|
4 |
// computer programs, is protected by copyright controlled by |
|
5 |
// Nokia Corporation. All rights are reserved. Copying, |
|
6 |
// including reproducing, storing, adapting or translating, any |
|
7 |
// or all of this material requires the prior written consent of |
|
8 |
// Nokia Corporation. This material also contains confidential |
|
9 |
// information which may not be disclosed to others without the |
|
10 |
// prior written consent of Nokia Corporation. |
|
11 |
// ============================================================================ |
|
12 |
// |
|
13 |
[Test] |
|
14 |
title MG_GetFilesInfo_Sound_FileSize_100_NULL_FileName_Ascending_0 |
|
15 |
create tmediamgmtprovidertest foobar |
|
16 |
foobar InterfaceClass GetList FileInfo Sound FileSize 100 NULL FileName Ascending 5 100 0 |
|
17 |
delete foobar |
|
18 |
[Endtest] |
|
19 |
||
20 |
[Test] |
|
21 |
title Loading_twice_MG_GetFilesInfo_Sound_FileSize_100_NULL_FileName_Ascending_0 |
|
22 |
create tmediamgmtprovidertest foobar |
|
23 |
foobar InterfaceClass GetList FileInfo Sound FileSize 100 NULL FileName Ascending 6 0 |
|
24 |
delete foobar |
|
25 |
[Endtest] |
|
26 |
||
27 |
||
28 |
[Test] |
|
29 |
title MG_GetFilesInfo_Image_FileSize_10_5_FileSize_Ascending_0 |
|
30 |
create tmediamgmtprovidertest foobar |
|
31 |
foobar InterfaceClass GetList FileInfo Image FileSize 10 5 FileSize Ascending 0 -1 |
|
32 |
delete foobar |
|
33 |
[Endtest] |
|
34 |
||
35 |
[Test] |
|
36 |
title MG_GetFilesInfo_Music_FileSize_NULL_NULL_FileName_Ascending_-1 |
|
37 |
create tmediamgmtprovidertest foobar |
|
38 |
foobar InterfaceClass GetList FileInfo Music FileSize NULL NULL FileName Ascending 0 -1 |
|
39 |
delete foobar |
|
40 |
[Endtest] |
|
41 |
||
42 |
[Test] |
|
43 |
title MG_GetFilesInfo_Sound_FileSize_100_NULL_FileName_Ascending_0 |
|
44 |
create tmediamgmtprovidertest foobar |
|
45 |
foobar InterfaceClass GetList FileInfo Sound FileSize 100 NULL FileName Ascending 0 0 |
|
46 |
delete foobar |
|
47 |
[Endtest] |
|
48 |
||
49 |
[Test] |
|
50 |
title MG_GetFilesInfo_Video_NULL_NULL_NULL_FileName_Ascending_0 |
|
51 |
create tmediamgmtprovidertest foobar |
|
52 |
foobar InterfaceClass GetList FileInfo Video NULL NULL NULL FileName Ascending 0 0 |
|
53 |
delete foobar |
|
54 |
[Endtest] |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
55 |
/* |
19 | 56 |
[Test] |
57 |
title MG_GetFilesInfo_Video_NULL_NULL_NULL_FileName_Ascending_0 |
|
58 |
create tmediamgmtprovidertest foobar |
|
59 |
foobar InterfaceClass GetList FileInfo StreamingURL NULL NULL NULL FileName Ascending 0 0 |
|
60 |
delete foobar |
|
61 |
[Endtest] |
|
62 |
||
63 |
[Test] |
|
64 |
title MG_GetFilesInfo_StreamingURL_FileDate_20070220:_20070323:_NULL_Ascending_0 |
|
65 |
create tmediamgmtprovidertest foobar |
|
66 |
foobar InterfaceClass GetList FileInfo StreamingURL FileDate 20070220: 20070323: NULL Ascending 0 0 |
|
67 |
delete foobar |
|
68 |
[Endtest] |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
69 |
*/ |
19 | 70 |
[Test] |
71 |
title MG_GetFilesInfo_Music_Artist_NULL_NULL_Artist_Ascending_-1 |
|
72 |
create tmediamgmtprovidertest foobar |
|
73 |
foobar InterfaceClass GetList FileInfo Music Artist NULL NULL Artist Ascending 0 -1 |
|
74 |
delete foobar |
|
75 |
[Endtest] |
|
76 |
||
77 |
[Test] |
|
78 |
title MG_GetFilesInfo_Music_Artist_NULL_MLTR_Artist_Ascending__-1 |
|
79 |
create tmediamgmtprovidertest foobar |
|
80 |
foobar InterfaceClass GetList FileInfo Music Artist NULL MLTR Artist Ascending 0 -1 |
|
81 |
delete foobar |
|
82 |
[Endtest] |
|
83 |
||
84 |
||
85 |
[Test] |
|
86 |
title MG_GetFilesInfo_Music_Artist_MLTR_NULL_Artist_Ascending_0 |
|
87 |
create tmediamgmtprovidertest foobar |
|
88 |
foobar InterfaceClass GetList FileInfo Music Artist MLTR NULL Artist Ascending 0 0 |
|
89 |
delete foobar |
|
90 |
[Endtest] |
|
91 |
||
92 |
[Test] |
|
93 |
title MG_GetFilesInfo_Music_Artist_MLTR_800_Artist_Ascending_0 |
|
94 |
create tmediamgmtprovidertest foobar |
|
95 |
foobar InterfaceClass GetList FileInfo Music Artist MLTR 800 Artist Ascending 0 0 |
|
96 |
delete foobar |
|
97 |
[Endtest] |
|
98 |
||
99 |
||
100 |
[Test] |
|
101 |
title MG_GetFilesInfo_Music_Artist_800_NULL_Artist_Ascending_0 |
|
102 |
create tmediamgmtprovidertest foobar |
|
103 |
foobar InterfaceClass GetList FileInfo Music Artist 800 NULL Artist Ascending 0 0 |
|
104 |
delete foobar |
|
105 |
[Endtest] |
|
106 |
||
107 |
[Test] |
|
108 |
title MG_GetFilesInfo_Music_SongName_Words_NULL_Artist_Ascending_0 |
|
109 |
create tmediamgmtprovidertest foobar |
|
110 |
foobar InterfaceClass GetList FileInfo Music SongName Words NULL Artist Ascending 0 0 |
|
111 |
delete foobar |
|
112 |
[Endtest] |
|
113 |
||
114 |
[Test] |
|
115 |
title MG_GetFilesInfo_Music_TrackNumber_1_NULL_Genre_Ascending_0 |
|
116 |
create tmediamgmtprovidertest foobar |
|
117 |
foobar InterfaceClass GetList FileInfo Music TrackNumber 1 NULL Genre Ascending 0 0 |
|
118 |
delete foobar |
|
119 |
[Endtest] |
|
120 |
||
121 |
[Test] |
|
122 |
title MG_GetFilesInfo_Music_Genre_Pop_NULL_SongName_Descending_0 |
|
123 |
create tmediamgmtprovidertest foobar |
|
124 |
foobar InterfaceClass GetList FileInfo Music Genre Pop NULL SongName Descending 0 0 |
|
125 |
delete foobar |
|
126 |
[Endtest] |
|
127 |
||
128 |
[Test] |
|
129 |
title MG_GetFilesInfo_Music_Composer_Pop_NULL_Composer_Descending_0 |
|
130 |
create tmediamgmtprovidertest foobar |
|
131 |
foobar InterfaceClass GetList FileInfo Music Composer Pop NULL Composer Descending 0 0 |
|
132 |
delete foobar |
|
133 |
[Endtest] |
|
134 |
||
135 |
[Test] |
|
136 |
title MG_GetFilesInfo_Music_LinkFirstURL_Words_NULL_Composer_Descending_0 |
|
137 |
create tmediamgmtprovidertest foobar |
|
138 |
foobar InterfaceClass GetList FileInfo Music LinkFirstURL Words NULL Composer Descending 0 -1 |
|
139 |
delete foobar |
|
140 |
[Endtest] |
|
141 |
||
142 |
[Test] |
|
143 |
title MG_GetFilesInfo_Music_NULL_NULL_NULL_LinkFirstURL_Ascending_-1 |
|
144 |
create tmediamgmtprovidertest foobar |
|
145 |
foobar InterfaceClass GetList FileInfo Music NULL NULL NULL LinkFirstURL Ascending 0 -1 |
|
146 |
delete foobar |
|
147 |
[Endtest] |
|
148 |
||
149 |
[Test] |
|
150 |
title MG_GetFilesInfo_Music_NULL_NULL_NULL_FileNameAndPath_Ascending_0 |
|
151 |
create tmediamgmtprovidertest foobar |
|
152 |
foobar InterfaceClass GetList FileInfo Music NULL NULL NULL FileNameAndPath Ascending 0 0 |
|
153 |
delete foobar |
|
154 |
[Endtest] |
|
155 |
||
156 |
[Test] |
|
157 |
title MG_GetFilesInfo_Music_MimeType_audio/mpeg_MimeType_Ascending_0 |
|
158 |
create tmediamgmtprovidertest foobar |
|
159 |
foobar InterfaceClass GetList FileInfo Music MimeType audio/mpeg NULL MimeType Ascending 0 0 |
|
160 |
delete foobar |
|
161 |
[Endtest] |
|
162 |
||
163 |
[Test] |
|
164 |
title MG_GetFilesInfo_Music_FileSize_NULL_3500000_NULL_Ascending_0 |
|
165 |
create tmediamgmtprovidertest foobar |
|
166 |
foobar InterfaceClass GetList FileInfo Music FileSize NULL 3500000 NULL Ascending 0 0 |
|
167 |
delete foobar |
|
168 |
[Endtest] |
|
169 |
||
170 |
[Test] |
|
171 |
title MG_GetFilesInfo_Music_FileSize_3500000_NULL_NULL_Ascending_0 |
|
172 |
create tmediamgmtprovidertest foobar |
|
173 |
foobar InterfaceClass GetList FileInfo Music FileSize 3500000 NULL NULL Ascending 0 0 |
|
174 |
delete foobar |
|
175 |
[Endtest] |
|
176 |
||
177 |
[Test] |
|
178 |
title MG_GetFilesInfo_Music_FileDate_20070100:_NULL_Composer_Ascending_0 |
|
179 |
create tmediamgmtprovidertest foobar |
|
180 |
foobar InterfaceClass GetList FileInfo Music FileDate 20070100: NULL Composer Ascending 0 0 |
|
181 |
delete foobar |
|
182 |
[Endtest] |
|
183 |
||
184 |
[Test] |
|
185 |
title MG_GetFilesInfo_Music_FileDate_NULL_20070100:_NULL_Ascending_0 |
|
186 |
create tmediamgmtprovidertest foobar |
|
187 |
foobar InterfaceClass GetList FileInfo Music FileDate NULL 20070100: NULL Ascending 0 -1 |
|
188 |
delete foobar |
|
189 |
[Endtest] |
|
190 |
||
191 |
[Test] |
|
192 |
title MG_GetFilesInfo_Video_LinkFirstURL_150_NULL_FileName_Ascending_0 |
|
193 |
create tmediamgmtprovidertest foobar |
|
194 |
foobar InterfaceClass GetList FileInfo Video LinkFirstURL 150 NULL FileName Ascending 0 -1 |
|
195 |
delete foobar |
|
196 |
[Endtest] |
|
197 |
||
198 |
[Test] |
|
199 |
title MG_GetFilesInfo_Video_FileDate_NULL_NULL_FileName_Descending_-1 |
|
200 |
create tmediamgmtprovidertest foobar |
|
201 |
foobar InterfaceClass GetList FileInfo Video FileDate NULL NULL FileName Descending 0 -1 |
|
202 |
delete foobar |
|
203 |
[Endtest] |
|
204 |
||
205 |
[Test] |
|
206 |
title MG_GetFilesInfo_Video_FileSize_100_100000_FileName_Ascending_0 |
|
207 |
create tmediamgmtprovidertest foobar |
|
208 |
foobar InterfaceClass GetList FileInfo Video FileSize 100 100000 FileName Ascending 0 0 |
|
209 |
delete foobar |
|
210 |
[Endtest] |
|
211 |
||
212 |
[Test] |
|
213 |
title MG_GetFilesInfo_Video_FileDate_20070221:_NULL_FileSize_Descending_0 |
|
214 |
create tmediamgmtprovidertest foobar |
|
215 |
foobar InterfaceClass GetList FileInfo Video FileDate 20070221: NULL FileSize Descending 0 0 |
|
216 |
delete foobar |
|
217 |
[Endtest] |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
218 |
/* |
19 | 219 |
[Test] |
220 |
title MG_GetFilesInfo_StreamingURL_FileSize_NULL_2000_NULL_Ascending_0 |
|
221 |
create tmediamgmtprovidertest foobar |
|
222 |
foobar InterfaceClass GetList FileInfo StreamingURL FileSize NULL 2000 NULL Ascending 0 0 |
|
223 |
delete foobar |
|
224 |
[Endtest] |
|
225 |
||
226 |
[Test] |
|
227 |
title MG_GetFilesInfo_StreamingURL_LinkFirstURL rtsp:\/\/link1_NULL_NULL_Ascending_0 |
|
228 |
create tmediamgmtprovidertest foobar |
|
229 |
foobar InterfaceClass GetList FileInfo StreamingURL LinkFirstURL rtsp:\/\/link1 NULL NULL Ascending 0 0 |
|
230 |
delete foobar |
|
231 |
[Endtest] |
|
232 |
||
233 |
[Test] |
|
234 |
title MG_GetFilesInfo_StreamingURL_FileNameAndPath_C:\Data\Dlink.ram_NULL_NULL_Ascending_0 |
|
235 |
create tmediamgmtprovidertest foobar |
|
236 |
foobar InterfaceClass GetList FileInfo StreamingURL FileNameAndPath C:\Data\Dlink.ram NULL NULL Ascending 0 0 |
|
237 |
delete foobar |
|
238 |
[Endtest] |
|
33
50974a8b132e
Revision: 200945
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
239 |
*/ |
19 | 240 |
[Test] |
241 |
title MG_GetFilesInfo_Image_FileSize_0_1100000_FileName_Ascending_0 |
|
242 |
create tmediamgmtprovidertest foobar |
|
243 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 0 0 |
|
244 |
delete foobar |
|
245 |
[Endtest] |
|
246 |
||
247 |
[Test] |
|
248 |
title MG_GetFilesInfo_Image_FileSize_0_1100000_FileName_0_Ascending_0 |
|
249 |
create tmediamgmtprovidertest foobar |
|
250 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 0 0 |
|
251 |
delete foobar |
|
252 |
[Endtest] |
|
253 |
||
254 |
[Test] |
|
255 |
title MG_FileInfo_Image_FileSize_0_1100000_FileName_Ascending_Asynch_0 |
|
256 |
create tmediamgmtprovidertest foobar |
|
257 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
258 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2, expectedresult, |
|
259 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 0 0 |
|
260 |
delete foobar |
|
261 |
[Endtest] |
|
262 |
||
263 |
[Test] |
|
264 |
title MG_IncorrectCommand_FileInfo_Image_FileSize_0_1100000_FileName_Asc_ asynch |
|
265 |
create tmediamgmtprovidertest foobar |
|
266 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
267 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2, expectedresult, |
|
268 |
foobar InterfaceClass IncorrectCommand FileInfo Image FileSize 0 1100000 FileName Ascending 0 -1 |
|
269 |
delete foobar |
|
270 |
[Endtest] |
|
271 |
||
272 |
[Test] |
|
273 |
title MG_IncorrectDataSource_Image_FileSize_0_1100000_FileName_Asc_asynch |
|
274 |
create tmediamgmtprovidertest foobar |
|
275 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
276 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2, expectedresult, |
|
277 |
foobar InterfaceClass GetList IncorrectDataSource Image FileSize 0 1100000 FileName Ascending 0 -1 |
|
278 |
delete foobar |
|
279 |
[Endtest] |
|
280 |
||
281 |
[Test] |
|
282 |
title MG_cancel_FileInfo_Image_FileSize_0_1100000_FileName_Asc |
|
283 |
create tmediamgmtprovidertest foobar |
|
284 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
285 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2, expectedresult, |
|
286 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 1 0 |
|
287 |
delete foobar |
|
288 |
[Endtest] |
|
289 |
||
290 |
[Test] |
|
291 |
title MG_b2b_FileInfo_Image_FileSize_0_1100000_FileName_Asc |
|
292 |
create tmediamgmtprovidertest foobar |
|
293 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
294 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2/backtobackrequest= 3, expectedresult, |
|
295 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 3 -1 |
|
296 |
delete foobar |
|
297 |
[Endtest] |
|
298 |
||
299 |
[Test] |
|
300 |
title MG_Synch_FileInfo_Image_FileSize_0_1100000_FileName_Asc |
|
301 |
create tmediamgmtprovidertest foobar |
|
302 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
303 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2/backtobackrequest= 3, expectedresult, |
|
304 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 2 -1 |
|
305 |
delete foobar |
|
306 |
[Endtest] |
|
307 |
||
308 |
[Test] |
|
309 |
title MG_Close_FileInfo_Image_FileSize_0_1100000_FileName_Asc |
|
310 |
create tmediamgmtprovidertest foobar |
|
311 |
//Testfunction command, DataSourceName, Mediatype, Filterdata, startval, endval, |
|
312 |
//sortingfiled, sortingorder, Asynch= 0/cancel=1/synch=2/backtobackrequest= 3/close =4, expectedresult, |
|
313 |
foobar InterfaceClass GetList FileInfo Image FileSize 0 1100000 FileName Ascending 4 0 |
|
314 |
delete foobar |
|
315 |
[Endtest] |