author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 27 Aug 2009 07:43:07 +0300 | |
changeset 22 | fc9cf246af83 |
parent 19 | 989d2f495d90 |
permissions | -rw-r--r-- |
19 | 1 |
[Test] |
2 |
title AddSeqNumNegative |
|
3 |
create tcalendargenerictest foobar |
|
4 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
5 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map DeleteAll Bool 1 End Finish 0 NextCmd Add 0 NULL Type UnicodeString CalendarEntry Item Map SeqNum Int -1000 Type UnicodeString Meeting StartTime UnicodeString 20080101:083900 EndTime UnicodeString 20080101:083900 End Finish 0 Done |
|
6 |
delete foobar |
|
7 |
[Endtest] |
|
8 |
||
9 |
[Test] |
|
10 |
title AddPriorityNegative |
|
11 |
create tcalendargenerictest foobar |
|
12 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
13 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Priority Int -1000 Type UnicodeString ToDo EndTime UnicodeString 20080101:083900 End Finish 1000 Done |
|
14 |
delete foobar |
|
15 |
[Endtest] |
|
16 |
||
17 |
[Test] |
|
18 |
title AddMeetingWithStartTimeAfterEndTime |
|
19 |
create tcalendargenerictest foobar |
|
20 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
21 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Priority Int 50 Type UnicodeString Meeting StartTime UnicodeString 20080101:083900 EndTime UnicodeString 20070101:083900 End Finish 1000 Done |
|
22 |
delete foobar |
|
23 |
[Endtest] |
|
24 |
||
25 |
[Test] |
|
26 |
title AddMeetingWithInvalidAlarmTime |
|
27 |
create tcalendargenerictest foobar |
|
28 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
29 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Priority Int 50 Type UnicodeString Meeting StartTime UnicodeString 20080101:083900 EndTime UnicodeString 20080101:093900 AlarmTime UnicodeString 21000101:093900 End Finish 1004 Done |
|
30 |
delete foobar |
|
31 |
[Endtest] |
|
32 |
||
33 |
[Test] |
|
34 |
title AddCalendarWithInvalidType |
|
35 |
create tcalendargenerictest foobar |
|
36 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
37 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString Calendar Item Map CalendarName Int 50 End Finish 1000 Done |
|
38 |
delete foobar |
|
39 |
[Endtest] |
|
40 |
||
41 |
[Test] |
|
42 |
title AddCalendarEntryWithInvalidSummary |
|
43 |
create tcalendargenerictest foobar |
|
44 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
45 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Summary Int 50 End Finish 1000 Done |
|
46 |
delete foobar |
|
47 |
[Endtest] |
|
48 |
||
49 |
[Test] |
|
50 |
title AddCalendarEntryWithInvalidSeqNum |
|
51 |
create tcalendargenerictest foobar |
|
52 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
53 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map SeqNum UnicodeString Meeting End Finish 1000 Done |
|
54 |
delete foobar |
|
55 |
[Endtest] |
|
56 |
||
57 |
[Test] |
|
58 |
title AddCalendarEntryWithInvalidStartTime |
|
59 |
create tcalendargenerictest foobar |
|
60 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
61 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map StartTime Int 50 End Finish 1000 Done |
|
62 |
delete foobar |
|
63 |
[Endtest] |
|
64 |
||
65 |
[Test] |
|
66 |
title AddCalendarEntryWithInvalidPriority |
|
67 |
create tcalendargenerictest foobar |
|
68 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
69 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Priority String 50 End Finish 1000 Done |
|
70 |
delete foobar |
|
71 |
[Endtest] |
|
72 |
||
73 |
[Test] |
|
74 |
title AddCalendarEntryWithInvalidRepeatDates |
|
75 |
create tcalendargenerictest foobar |
|
76 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
77 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map RepeatDates Int 50 End Finish 1000 Done |
|
78 |
delete foobar |
|
79 |
[Endtest] |
|
80 |
||
81 |
[Test] |
|
82 |
title AddCalendarEntryWithInvalidAttendees |
|
83 |
create tcalendargenerictest foobar |
|
84 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
85 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Attendees Int 50 End Finish 1000 Done |
|
86 |
delete foobar |
|
87 |
[Endtest] |
|
88 |
||
89 |
[Test] |
|
90 |
title AddCalendarEntryWithInvalidAttendeeAddress |
|
91 |
create tcalendargenerictest foobar |
|
92 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
93 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Attendees List Map Address Int 345 End End End Finish 1000 Done |
|
94 |
delete foobar |
|
95 |
[Endtest] |
|
96 |
||
97 |
[Test] |
|
98 |
title GetListWithInvalidGuid |
|
99 |
create tcalendargenerictest foobar |
|
100 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
101 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map id UnicodeString ajkiopssaghathtaaaaaaaaaaaaaaaaaaaahat5edvbd56dhh End Finish 0 Done |
|
102 |
delete foobar |
|
103 |
[Endtest] |
|
104 |
||
105 |
[Test] |
|
106 |
title GetListWithInvalidLuid |
|
107 |
create tcalendargenerictest foobar |
|
108 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
109 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map LocalId UnicodeString 5000000 End Finish 0 Done |
|
110 |
delete foobar |
|
111 |
[Endtest] |
|
112 |
||
113 |
[Test] |
|
114 |
title GetListWithInvalidStartAndEndRange |
|
115 |
create tcalendargenerictest foobar |
|
116 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
117 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map StartRange UnicodeString 17000101:083900 EndRange UnicodeString 22000101:083900 End Finish 1000 Done |
|
118 |
delete foobar |
|
119 |
[Endtest] |
|
120 |
||
121 |
[Test] |
|
122 |
title GetListWithStartRangeAfterEndRange |
|
123 |
create tcalendargenerictest foobar |
|
124 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
125 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map StartRange UnicodeString 22000101:083900 EndRange UnicodeString 17000101:083900 End Finish 1000 Done |
|
126 |
delete foobar |
|
127 |
[Endtest] |
|
128 |
||
129 |
[Test] |
|
130 |
title GetListWithInvalidContentType |
|
131 |
create tcalendargenerictest foobar |
|
132 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
133 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarData Finish 1000 Done |
|
134 |
delete foobar |
|
135 |
[Endtest] |
|
136 |
||
137 |
[Test] |
|
138 |
title GetListWithInvalidGlobalUid |
|
139 |
create tcalendargenerictest foobar |
|
140 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
141 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map id Int 5 End Finish 1000 Done |
|
142 |
delete foobar |
|
143 |
[Endtest] |
|
144 |
||
145 |
[Test] |
|
146 |
title GetListWithInvalidLocalUid |
|
147 |
create tcalendargenerictest foobar |
|
148 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
149 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map LocalId Int 5 End Finish 1000 Done |
|
150 |
delete foobar |
|
151 |
[Endtest] |
|
152 |
||
153 |
[Test] |
|
154 |
title GetListWithInvalidSearchText |
|
155 |
create tcalendargenerictest foobar |
|
156 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
157 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map SearchText Int 5 End Finish 1000 Done |
|
158 |
delete foobar |
|
159 |
[Endtest] |
|
160 |
||
161 |
[Test] |
|
162 |
title GetListWithInvalidType |
|
163 |
create tcalendargenerictest foobar |
|
164 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
165 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map Type Int 5 End Finish 1000 Done |
|
166 |
delete foobar |
|
167 |
[Endtest] |
|
168 |
||
169 |
[Test] |
|
170 |
title MultipleCommands |
|
171 |
create tcalendargenerictest foobar |
|
172 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
173 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map Type Int 5 End Finish 1000 NextCmd GetList 0 NULL Type UnicodeString CalendarEntry Filter Map Type Int 5 End Finish 1000 Done |
|
174 |
delete foobar |
|
175 |
[Endtest] |
|
176 |
||
177 |
// Import test cases |
|
178 |
[Test] |
|
179 |
title ImportWithInvalidContentType |
|
180 |
create tcalendargenerictest foobar |
|
181 |
foobar CheckInputArgumentType Service.Calendar IDataSource Import 0 NULL Type Int CalendarEntry Finish 1000 Done |
|
182 |
delete foobar |
|
183 |
[Endtest] |
|
184 |
||
185 |
[Test] |
|
186 |
title ImportWithInvalidDataType |
|
187 |
create tcalendargenerictest foobar |
|
188 |
foobar CheckInputArgumentType Service.Calendar IDataSource Import 0 NULL Type UnicodeString CalendarEntry Data Int 50 Finish 1000 Done |
|
189 |
delete foobar |
|
190 |
[Endtest] |
|
191 |
||
192 |
[Test] |
|
193 |
title ImportWithInvalidCalendarNameType |
|
194 |
create tcalendargenerictest foobar |
|
195 |
foobar CheckInputArgumentType Service.Calendar IDataSource Import 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName Int 50 End Finish 1000 Done |
|
196 |
delete foobar |
|
197 |
[Endtest] |
|
198 |
||
199 |
[Test] |
|
200 |
title ImportWithInvalidFileNameType |
|
201 |
create tcalendargenerictest foobar |
|
202 |
foobar CheckInputArgumentType Service.Calendar IDataSource Import 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar FileName Int 50 End Finish 1000 Done |
|
203 |
delete foobar |
|
204 |
[Endtest] |
|
205 |
||
206 |
[Test] |
|
207 |
title ImportWithInvalidFormatType |
|
208 |
create tcalendargenerictest foobar |
|
209 |
foobar CheckInputArgumentType Service.Calendar IDataSource Import 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar FileName UnicodeString c:\import.txt FileName Int 50 End Finish 1000 Done |
|
210 |
delete foobar |
|
211 |
[Endtest] |
|
212 |
||
213 |
||
214 |
// Export test cases |
|
215 |
[Test] |
|
216 |
title ExportWithInvalidContentType |
|
217 |
create tcalendargenerictest foobar |
|
218 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type Int CalendarEntry Finish 1000 Done |
|
219 |
delete foobar |
|
220 |
[Endtest] |
|
221 |
||
222 |
[Test] |
|
223 |
title ExportWithInvalidDataType |
|
224 |
create tcalendargenerictest foobar |
|
225 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Int 50 Finish 1000 Done |
|
226 |
delete foobar |
|
227 |
[Endtest] |
|
228 |
||
229 |
[Test] |
|
230 |
title ExportWithInvalidCalendarNameType |
|
231 |
create tcalendargenerictest foobar |
|
232 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName Int 50 End Finish 1000 Done |
|
233 |
delete foobar |
|
234 |
[Endtest] |
|
235 |
||
236 |
[Test] |
|
237 |
title ExportWithInvalidFileNameType |
|
238 |
create tcalendargenerictest foobar |
|
239 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar FileName Int 50 End Finish 1000 Done |
|
240 |
delete foobar |
|
241 |
[Endtest] |
|
242 |
||
243 |
[Test] |
|
244 |
title ExportWithInvalidFormatType |
|
245 |
create tcalendargenerictest foobar |
|
246 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar FileName UnicodeString c:\import.txt FileName Int 50 End Finish 1000 Done |
|
247 |
delete foobar |
|
248 |
[Endtest] |
|
249 |
||
250 |
[Test] |
|
251 |
title ExportWithInvalidLocalUidListType |
|
252 |
create tcalendargenerictest foobar |
|
253 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar LocalIdList Int 50 End Finish 1000 Done |
|
254 |
delete foobar |
|
255 |
[Endtest] |
|
256 |
||
257 |
[Test] |
|
258 |
title ExportWithInvalidLocalUidListElementType |
|
259 |
create tcalendargenerictest foobar |
|
260 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar LocalIdList List Int 50 End End Finish 1000 Done |
|
261 |
delete foobar |
|
262 |
[Endtest] |
|
263 |
||
264 |
[Test] |
|
265 |
title ExportWithInvalidGlobalUidListType |
|
266 |
create tcalendargenerictest foobar |
|
267 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar IdList Int 50 End Finish 1000 Done |
|
268 |
delete foobar |
|
269 |
[Endtest] |
|
270 |
||
271 |
[Test] |
|
272 |
title ExportWithInvalidGlobalUidListElementType |
|
273 |
create tcalendargenerictest foobar |
|
274 |
foobar CheckInputArgumentType Service.Calendar IDataSource Export 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar IdList List Int 50 End End Finish 1000 Done |
|
275 |
delete foobar |
|
276 |
[Endtest] |
|
277 |
||
278 |
||
279 |
||
280 |
// Request Notification test cases |
|
281 |
[Test] |
|
282 |
title ReqNotWithInvalidContentType |
|
283 |
create tcalendargenerictest foobar |
|
284 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type Int CalendarEntry Finish 1000 Done |
|
285 |
delete foobar |
|
286 |
[Endtest] |
|
287 |
||
288 |
[Test] |
|
289 |
title ReqNotWithInvalidFilterType |
|
290 |
create tcalendargenerictest foobar |
|
291 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Int 50 Finish 1000 Done |
|
292 |
delete foobar |
|
293 |
[Endtest] |
|
294 |
||
295 |
[Test] |
|
296 |
title ReqNotWithInvalidCalendarNameType |
|
297 |
create tcalendargenerictest foobar |
|
298 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName Int 50 End Finish 1000 Done |
|
299 |
delete foobar |
|
300 |
[Endtest] |
|
301 |
||
302 |
[Test] |
|
303 |
title ReqNotWithInvalidLocalUidListType |
|
304 |
create tcalendargenerictest foobar |
|
305 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar LocalIdList Int 50 End Finish 1000 Done |
|
306 |
delete foobar |
|
307 |
[Endtest] |
|
308 |
||
309 |
[Test] |
|
310 |
title ReqNotWithInvalidLocalUidListElementType |
|
311 |
create tcalendargenerictest foobar |
|
312 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar LocalIdList List Int 50 End End Finish 1000 Done |
|
313 |
delete foobar |
|
314 |
[Endtest] |
|
315 |
||
316 |
[Test] |
|
317 |
title ReqNotWithInvalidStartRangeType |
|
318 |
create tcalendargenerictest foobar |
|
319 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar StartRange Int 50 End Finish 1000 Done |
|
320 |
delete foobar |
|
321 |
[Endtest] |
|
322 |
||
323 |
[Test] |
|
324 |
title ReqNotWithInvalidEndRangeType |
|
325 |
create tcalendargenerictest foobar |
|
326 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar EndRange Int 50 End Finish 1000 Done |
|
327 |
delete foobar |
|
328 |
[Endtest] |
|
329 |
||
330 |
[Test] |
|
331 |
title ReqNotWithInvalidUndatedToDoType |
|
332 |
create tcalendargenerictest foobar |
|
333 |
foobar CheckInputArgumentType Service.Calendar IDataSource RequestNotification 1 callback Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar IncludeUndatedTodos UnicodeString include End Finish 1000 Done |
|
334 |
delete foobar |
|
335 |
[Endtest] |
|
336 |
||
337 |
||
338 |
||
339 |
// Delete test cases |
|
340 |
[Test] |
|
341 |
title DeleteWithInvalidContentType |
|
342 |
create tcalendargenerictest foobar |
|
343 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type Int CalendarEntry Finish 1000 Done |
|
344 |
delete foobar |
|
345 |
[Endtest] |
|
346 |
||
347 |
[Test] |
|
348 |
title DeleteWithInvalidDataType |
|
349 |
create tcalendargenerictest foobar |
|
350 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Int 50 Finish 1000 Done |
|
351 |
delete foobar |
|
352 |
[Endtest] |
|
353 |
||
354 |
[Test] |
|
355 |
title DeleteWithMissingData |
|
356 |
create tcalendargenerictest foobar |
|
357 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Finish 1000 Done |
|
358 |
delete foobar |
|
359 |
[Endtest] |
|
360 |
||
361 |
[Test] |
|
362 |
title DeleteWithInvalidCalendarNameType |
|
363 |
create tcalendargenerictest foobar |
|
364 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName Int 50 End Finish 1000 Done |
|
365 |
delete foobar |
|
366 |
[Endtest] |
|
367 |
||
368 |
[Test] |
|
369 |
title DeleteWithInvalidLocalUidListType |
|
370 |
create tcalendargenerictest foobar |
|
371 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar LocalIdList Int 50 End Finish 1000 Done |
|
372 |
delete foobar |
|
373 |
[Endtest] |
|
374 |
||
375 |
[Test] |
|
376 |
title DeleteWithInvalidLocalUidListElementType |
|
377 |
create tcalendargenerictest foobar |
|
378 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Filter Map CalendarName UnicodeString c:calendar LocalIdList List Int 50 End End Finish 1000 Done |
|
379 |
delete foobar |
|
380 |
[Endtest] |
|
381 |
||
382 |
[Test] |
|
383 |
title DeleteWithInvalidGlobalUidListType |
|
384 |
create tcalendargenerictest foobar |
|
385 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar IdList Int 50 End Finish 1000 Done |
|
386 |
delete foobar |
|
387 |
[Endtest] |
|
388 |
||
389 |
[Test] |
|
390 |
title DeleteWithInvalidLocalUidListElementType |
|
391 |
create tcalendargenerictest foobar |
|
392 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar IdList List Int 50 End End Finish 1000 Done |
|
393 |
delete foobar |
|
394 |
[Endtest] |
|
395 |
||
396 |
[Test] |
|
397 |
title DeleteWithInvalidStartRangeType |
|
398 |
create tcalendargenerictest foobar |
|
399 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar StartRange Int 50 End Finish 1000 Done |
|
400 |
delete foobar |
|
401 |
[Endtest] |
|
402 |
||
403 |
[Test] |
|
404 |
title DeleteWithInvalidEndRangeType |
|
405 |
create tcalendargenerictest foobar |
|
406 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar EndRange Int 50 End Finish 1000 Done |
|
407 |
delete foobar |
|
408 |
[Endtest] |
|
409 |
||
410 |
[Test] |
|
411 |
title DeleteWithInvalidDeleteAllType |
|
412 |
create tcalendargenerictest foobar |
|
413 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar DeleteAll UnicodeString includeall End Finish 1000 Done |
|
414 |
delete foobar |
|
415 |
[Endtest] |
|
416 |
||
417 |
//General |
|
418 |
[Test] |
|
419 |
title TestInvalidCommand |
|
420 |
create tcalendargenerictest foobar |
|
421 |
foobar CheckInputArgumentType Service.Calendar IDataSource InvalidCommand 0 NULL Type UnicodeString CalendarEntry Data Map CalendarName UnicodeString c:calendar DeleteAll UnicodeString includeall End Finish 1004 Done |
|
422 |
delete foobar |
|
423 |
[Endtest] |
|
424 |
||
425 |
[Test] |
|
426 |
title TestInvalidInterface |
|
427 |
create tcalendargenerictest foobar |
|
428 |
foobar TestInvalidInterface |
|
429 |
delete foobar |
|
430 |
[Endtest] |
|
431 |
||
432 |
[Test] |
|
433 |
title AddCallWithAsyncParam |
|
434 |
create tcalendargenerictest foobar |
|
435 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
436 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 1 callback Type UnicodeString CalendarEntry Item Map SeqNum Int -1000 Type UnicodeString ToDo EndTime UnicodeString 20080101:083900 End Finish 1004 Done |
|
437 |
delete foobar |
|
438 |
[Endtest] |
|
439 |
||
440 |
[Test] |
|
441 |
title GetListCallWithAsyncParam |
|
442 |
create tcalendargenerictest foobar |
|
443 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
22
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
444 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 1 callback Type UnicodeString CalendarEntry Item Map SeqNum Int 50 Type UnicodeString ToDo EndTime UnicodeString 20080101:083900 End Finish 0 Done |
19 | 445 |
delete foobar |
446 |
[Endtest] |
|
447 |
||
448 |
//[Test] |
|
449 |
//title CallingAllApisInSOmeOrder |
|
450 |
//create tcalendargenerictest foobar |
|
451 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish //expectedvalue |
|
452 |
//foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map SeqNum //Int 500 Type UnicodeString Reminder StartTime UnicodeString 20080101:083900 End Finish 0 NextCmd Service.Calendar //IDataSource Export 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName //UnicodeString C:\\exportfile.txt End Finish 0 NextCmd Service.Calendar IDataSource GetList 0 NULL Type UnicodeString //Calendar Filter Map DefaultCalendar Bool 1 End Finish 0 NextCmd Service.Calendar IDataSource Import 1 Callback Type //UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 //NextCmd Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map DeleteAll Bool 1 End //Finish 0 Done |
|
453 |
//delete foobar |
|
454 |
//[Endtest] |
|
455 |
||
456 |
//[Test] |
|
457 |
//title CallingAllApisInReverseOrder |
|
458 |
//create tcalendargenerictest foobar |
|
459 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish //expectedvalue |
|
460 |
//foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map //DeleteAll Bool 1 End Finish 0 NextCmd Service.Calendar IDataSource Import 1 Callback Type UnicodeString CalendarEntry //Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd Service.Calendar //IDataSource GetList 0 NULL Type UnicodeString Calendar Filter Map DefaultCalendar Bool 1 End Finish 0 NextCmd //Service.Calendar IDataSource Export 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal //FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd Service.Calendar IDataSource Add 0 NULL Type //UnicodeString CalendarEntry Item Map SeqNum Int 500 Type UnicodeString Reminder StartTime UnicodeString //20080101:083900 End Finish 0 Done |
|
461 |
//delete foobar |
|
462 |
//[Endtest] |
|
463 |
||
464 |
[Test] |
|
465 |
title DeleteCalendarWithInvalidName |
|
466 |
create tcalendargenerictest foobar |
|
467 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString Calendar Data Map CalendarName UnicodeString C:shfwhfhjeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeekkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll End Finish 1000 Done |
|
468 |
delete foobar |
|
469 |
[Endtest] |
|
470 |
||
471 |
[Test] |
|
472 |
title DeleteCalendarEntryWithInvalidFilter |
|
473 |
create tcalendargenerictest foobar |
|
474 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map IdList List UnicodeString 980:jioshfskbglsllsgl End StartRange UnicodeString 20080101:083900 End Finish 0 Done |
|
475 |
delete foobar |
|
476 |
[Endtest] |
|
477 |
||
478 |
[Test] |
|
479 |
title DeleteCalendarEntryWithInvalidFilterStartRange |
|
480 |
create tcalendargenerictest foobar |
|
481 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map IdList List UnicodeString 980:jioshfskbglsllsgl End StartRange UnicodeString 99990101:083900 StartRange UnicodeString 20080101:083900 End Finish 0 Done |
|
482 |
delete foobar |
|
483 |
[Endtest] |
|
484 |
||
485 |
[Test] |
|
486 |
title CallingAllApisInSOmeOrder |
|
487 |
create tcalendargenerictest foobar |
|
488 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
489 |
foobar CheckInputArgumentType Service.Calendar IDataSource Add 0 NULL Type UnicodeString CalendarEntry Item Map Type UnicodeString Reminder StartTime UnicodeString 20080101:083900 End Finish 0 NextCmd Export 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd GetList 0 NULL Type UnicodeString Calendar Filter Map DefaultCalendar Bool 1 End Finish 0 NextCmd Import 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd Delete 0 NULL Type UnicodeString CalendarEntry Data Map DeleteAll Bool 1 End Finish 0 Done |
|
490 |
delete foobar |
|
491 |
[Endtest] |
|
492 |
||
493 |
[Test] |
|
494 |
title CallingAllApisInReverseOrder |
|
495 |
create tcalendargenerictest foobar |
|
496 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
497 |
foobar CheckInputArgumentType Service.Calendar IDataSource Delete 0 NULL Type UnicodeString CalendarEntry Data Map DeleteAll Bool 1 End Finish 0 NextCmd Import 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd GetList 0 NULL Type UnicodeString Calendar Filter Map DefaultCalendar Bool 1 End Finish 0 NextCmd Export 1 Callback Type UnicodeString CalendarEntry Data Map Format UnicodeString VCal FileName UnicodeString C:\\exportfile.txt End Finish 0 NextCmd Add 0 NULL Type UnicodeString CalendarEntry Item Map Type UnicodeString Reminder StartTime UnicodeString 20080101:083900 End Finish 0 Done |
|
498 |
delete foobar |
|
499 |
[Endtest] |
|
500 |
||
501 |
[Test] |
|
502 |
title GetListCheckForEmptyFilter |
|
503 |
create tcalendargenerictest foobar |
|
504 |
//foobar CheckInputArgumentType service InterfaceName Command Synchronousbit Callback varname vartype value Finish expectedvalue |
|
505 |
foobar CheckInputArgumentType Service.Calendar IDataSource GetList 0 NULL Type UnicodeString CalendarEntry Filter Map End Finish 0 Done |
|
506 |
delete foobar |
|
507 |
[Endtest] |
|
508 |