|
1 //describe_0060.ini |
|
2 |
|
3 ////////////////////////////////////////////////////////////////// |
|
4 // ParentDeviceUid is the UID specified in device.xml |
|
5 //Devicetype <= 64 characters |
|
6 //Friendly name < 64characters |
|
7 //Manufacturer < 64characters |
|
8 //ManufacturerURL optional |
|
9 //ModelDescription < 128 |
|
10 //ModelName < 32 |
|
11 //ModelNumber < 32 |
|
12 //ModelURL is optional |
|
13 //SerialNumber Must be less than 64 characters |
|
14 //UPC is optional - 12 numeric |
|
15 //ServiceType <= 64 characters |
|
16 //DeviceType <= 64 characters |
|
17 //1.readini = TRUE means giving uri value from ini |
|
18 //2.readini = FALSE means it'll take value from Discovery results |
|
19 //3.In case 2_rev, Before describe there must be Discover opeartion to be executed. |
|
20 /////////////////////////////////////////////////////////////////////////////// |
|
21 |
|
22 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
23 ///////////////////--------------UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0060-----------------//////////////////// |
|
24 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
25 |
|
26 /////////////////////////////////////////////////////////////////////////////// |
|
27 //////CONTROL POINT ON REMOTE MACHINE AND SERVICE POINT ON LOACL MACHINE////// |
|
28 /////////////////////////////////////////////////////////////////////////////// |
|
29 |
|
30 ////////////////////////////////////////////////////////////////// |
|
31 //POSITIVE CASE -- UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0001 |
|
32 //Publishing a embedded device level-1 |
|
33 //Discover the same |
|
34 //Do describe the same |
|
35 //Devicetype <= 64 characters |
|
36 //Input given here 65 characters |
|
37 //Wrong URI for description. It should be http |
|
38 ////////////////////////////////////////////////////////////////// |
|
39 [upnp_validate_describe_requests_headers_0060_1_rev] |
|
40 listofsequences=delay_0001_rev,cpstatus_0001_1_rev,discover_0001_1_rev,describe_0001_1_rev,Print_0001_1_rev |
|
41 |
|
42 [upnp_validate_describe_requests_headers_0060_1_rev_server] |
|
43 listofsequences=publish_root_service_rev,delay_1Min_1_rev |
|
44 |
|
45 [cpstatus_0001_1_rev] |
|
46 cpstatus=TRUE |
|
47 operationtype=opendiscoverer |
|
48 |
|
49 [delay_1Min_1_rev] |
|
50 operationtype=starttimer |
|
51 waittime=60000000 |
|
52 |
|
53 [delay_0001_rev] |
|
54 operationtype=starttimer |
|
55 waittime=10000000 |
|
56 |
|
57 //ServiceType <= 64 characters |
|
58 //Input given 64characters |
|
59 [publish_root_service_rev] |
|
60 operationtype=publishservice |
|
61 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml |
|
62 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService245678901234567890123456789012345678901234:1 |
|
63 usn=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
64 cachecontrol=1810 |
|
65 period=180 |
|
66 positivecase=TRUE |
|
67 schedulerstart=TRUE |
|
68 stopscheduler=TRUE |
|
69 |
|
70 [discover_0001_1_rev] |
|
71 othermachine=TRUE |
|
72 listofmxtimes=30 |
|
73 listofservicetypes=ssdp:all |
|
74 operationtype=discovery |
|
75 schedulerstart=TRUE |
|
76 delayenabled=FALSE |
|
77 //wait time in Tics |
|
78 waittime=50000000 |
|
79 |
|
80 //Wrong URI for description. It should be http |
|
81 [describe_0001_1_rev] |
|
82 operationtype=describe |
|
83 readini=TRUE |
|
84 descriptionpath=htt://10.192.196.165:80/ |
|
85 expecteddescriptions=0 |
|
86 positivecase=FALSE |
|
87 schedulerstart=FALSE |
|
88 |
|
89 [Print_0001_1_rev] |
|
90 othermachine=TRUE |
|
91 operationtype=printresults |
|
92 |
|
93 ///////////////////////////////////////////////////////////////// |
|
94 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0002 |
|
95 //Publishing a embedded device level-2 |
|
96 //Discover the same |
|
97 //Do describe the same |
|
98 //Friendly name < 64characters |
|
99 // Input given here 64 characters |
|
100 //Wrong URI for description. It should start with http |
|
101 ////////////////////////////////////////////////////////////////// |
|
102 [upnp_validate_describe_requests_headers_0060_2_rev] |
|
103 listofsequences=delay_0002_rev,cpstatus_0002_1_rev,discover_0002_1_rev,describe_0002_1_rev,Print_0002_1_rev |
|
104 |
|
105 [upnp_validate_describe_requests_headers_0060_2_rev_server] |
|
106 listofsequences=publish_device_0002_1_rev,delay_2Min_2_rev |
|
107 |
|
108 [delay_2Min_2_rev] |
|
109 operationtype=starttimer |
|
110 waittime=120000000 |
|
111 |
|
112 [cpstatus_0002_1_rev] |
|
113 cpstatus=TRUE |
|
114 operationtype=opendiscoverer |
|
115 |
|
116 [delay_0002_rev] |
|
117 operationtype=starttimer |
|
118 waittime=10000000 |
|
119 |
|
120 //Friendly name < 64characters |
|
121 // Input given here 64 characters |
|
122 [publish_device_0002_1_rev] |
|
123 operationtype=publishdevice |
|
124 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
125 DeviceType=urn:symbian.com:device:FirstVendorDevice:1 |
|
126 FriendlyName=FirstVendorDevice19012345678901234567890123456789012345678901234 |
|
127 Manufacturer=Symbian |
|
128 ManufacturerURL=http://www.symbian.com/ |
|
129 ModelDescription=UPnP FIRSTDEVICE Ver1 |
|
130 ModelName=IWS-UPNP-FIRSTDEVICE-1 |
|
131 ModelNumber=IWS-UPNP-TESTDEVICE-1 |
|
132 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
133 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
134 SerialNumber=UPNP0123456789012345678901234567890123456789 |
|
135 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1 |
|
136 UPC=123456789012 |
|
137 positivecase=FALSE |
|
138 cachecontrol=1810 |
|
139 |
|
140 [discover_0002_1_rev] |
|
141 othermachine=TRUE |
|
142 listofmxtimes=30 |
|
143 listofservicetypes=upnp:rootdevice |
|
144 operationtype=discovery |
|
145 schedulerstart=TRUE |
|
146 delayenabled=FALSE |
|
147 //wait time in Tics |
|
148 waittime=50000000 |
|
149 |
|
150 //Wrong URI for description. It should start with http |
|
151 [describe_0002_1_rev] |
|
152 operationtype=describe |
|
153 readini=TRUE |
|
154 descriptionpath=://10.192.196.165:80/ |
|
155 expecteddescriptions=0 |
|
156 positivecase=FALSE |
|
157 schedulerstart=FALSE |
|
158 |
|
159 [Print_0002_1_rev] |
|
160 othermachine=TRUE |
|
161 operationtype=printresults |
|
162 |
|
163 |
|
164 ///////////////////////////////////////////////////////////////// |
|
165 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0003 |
|
166 //Publishing a embedded device level-3 |
|
167 //Discover the same |
|
168 //Do describe the same |
|
169 //Manufacturer < 64characters |
|
170 // Input given here 64 characters |
|
171 //instead of this schemas-upnp-org -- given schemasupnporg in uri |
|
172 ////////////////////////////////////////////////////////////////// |
|
173 [upnp_validate_describe_requests_headers_0060_3_rev] |
|
174 listofsequences=delay_0003_rev,cpstatus_0003_1_rev,discover_0003_1_rev,describe_0003_1_rev,Print_0003_1_rev |
|
175 |
|
176 [upnp_validate_describe_requests_headers_0060_3_rev_server] |
|
177 listofsequences=publish_device_0003_1_rev,delay_2Min_3_rev |
|
178 |
|
179 |
|
180 [cpstatus_0003_1_rev] |
|
181 cpstatus=TRUE |
|
182 operationtype=opendiscoverer |
|
183 |
|
184 [delay_0003_rev] |
|
185 operationtype=starttimer |
|
186 waittime=10000000 |
|
187 |
|
188 [delay_2Min_3_rev] |
|
189 operationtype=starttimer |
|
190 waittime=120000000 |
|
191 |
|
192 //Manufacturer < 64characters |
|
193 // Input given here 64 characters |
|
194 [publish_device_0003_1_rev] |
|
195 operationtype=publishdevice |
|
196 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
197 DeviceType=urn:symbian.com:device:FirstVendorDevice:1 |
|
198 FriendlyName=FirstVendorDevice |
|
199 Manufacturer=Symbian890123456789012345678901234567890123456789012345678901234 |
|
200 ManufacturerURL=http://www.symbian.com/ |
|
201 ModelDescription=UPnP FIRSTDEVICE Ver1 |
|
202 ModelName=IWS-UPNP-FIRSTDEVICE-1 |
|
203 ModelNumber=IWS-UPNP-TESTDEVICE-1 |
|
204 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
205 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
206 SerialNumber=UPNP0123456789012345678901234567890123456789 |
|
207 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1 |
|
208 UPC=123456789012 |
|
209 positivecase=FALSE |
|
210 cachecontrol=1810 |
|
211 |
|
212 [discover_0003_1_rev] |
|
213 othermachine=TRUE |
|
214 listofmxtimes=30 |
|
215 listofservicetypes=ssdp:all |
|
216 operationtype=discovery |
|
217 schedulerstart=TRUE |
|
218 delayenabled=FALSE |
|
219 //wait time in Tics |
|
220 waittime=50000000 |
|
221 |
|
222 //wrong scheme |
|
223 [describe_0003_1_rev] |
|
224 operationtype=describe |
|
225 readini=TRUE |
|
226 descriptionpath=htttp://10.192.196.165:80/urn:schemasupnporg:service:AVTRANSPORTTestService245678901234567890123456789012345678901234:1 |
|
227 expecteddescriptions=0 |
|
228 positivecase=FALSE |
|
229 schedulerstart=FALSE |
|
230 |
|
231 |
|
232 [Print_0003_1_rev] |
|
233 othermachine=TRUE |
|
234 operationtype=printresults |
|
235 |
|
236 ///////////////////////////////////////////////////////////////// |
|
237 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0004 |
|
238 //Publishing a embedded device level-4 |
|
239 //Discover the same |
|
240 //Do describe the same |
|
241 //ModelDescription < 128 |
|
242 //ModelName < 32 |
|
243 //ModelNumber < 32 |
|
244 //In put given here 128, 32 and 32 respectively for above fields |
|
245 //describe uri is given wrong |
|
246 ////////////////////////////////////////////////////////////////// |
|
247 [upnp_validate_describe_requests_headers_0060_4_rev] |
|
248 listofsequences=delay_0004_rev,cpstatus_0004_1_rev,discover_0004_1_rev,describe_0004_1_rev,Print_0004_1_rev |
|
249 |
|
250 [upnp_validate_describe_requests_headers_0060_4_rev_server] |
|
251 listofsequences=publish_device_0004_1_rev,delay_2Min_4_rev |
|
252 |
|
253 [cpstatus_0004_1_rev] |
|
254 cpstatus=TRUE |
|
255 operationtype=opendiscoverer |
|
256 |
|
257 [delay_0004_rev] |
|
258 operationtype=starttimer |
|
259 waittime=10000000 |
|
260 |
|
261 [delay_2Min_4_rev] |
|
262 operationtype=starttimer |
|
263 waittime=120000000 |
|
264 |
|
265 //ModelDescription < 128 |
|
266 //ModelName < 32 |
|
267 //ModelNumber < 32 |
|
268 //In put given here 128_rev, 32 and 32 respectively for above fields |
|
269 [publish_device_0004_1_rev] |
|
270 operationtype=publishdevice |
|
271 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
272 DeviceType=urn:symbian.com:device:FirstVendorDevice:1 |
|
273 FriendlyName=FirstVendorDevice |
|
274 Manufacturer=Symbian |
|
275 ManufacturerURL=http://www.symbian.com/ |
|
276 ModelDescription=UPnPFIRSTDEVICEVer20123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 |
|
277 ModelName=IWS-UPNP-FIRSTDEVICE-23456789012 |
|
278 ModelNumber=IWS-UPNP-TESTDEVICE-223456789012 |
|
279 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
280 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
281 SerialNumber=UPNP0123456789012345678901234567890123456789 |
|
282 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1 |
|
283 UPC=123456789012 |
|
284 positivecase=TRUE |
|
285 cachecontrol=1810 |
|
286 positivecase=FALSE |
|
287 cachecontrol=1810 |
|
288 |
|
289 [discover_0004_1_rev] |
|
290 othermachine=TRUE |
|
291 listofmxtimes=30 |
|
292 listofservicetypes=ssdp:all |
|
293 operationtype=discovery |
|
294 schedulerstart=TRUE |
|
295 delayenabled=FALSE |
|
296 //wait time in Tics |
|
297 waittime=50000000 |
|
298 |
|
299 [describe_0004_1_rev] |
|
300 operationtype=describe |
|
301 readini=TRUE |
|
302 descriptionpath=http_://10.192.196.165:80/ |
|
303 expecteddescriptions=0 |
|
304 positivecase=FALSE |
|
305 schedulerstart=FALSE |
|
306 |
|
307 [Print_0004_1_rev] |
|
308 othermachine=TRUE |
|
309 operationtype=printresults |
|
310 |
|
311 ///////////////////////////////////////////////////////////////// |
|
312 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0005 |
|
313 //Publishing a embedded device level-5 |
|
314 //Discover the same |
|
315 //Do describe the same |
|
316 //ModelURL is optional --> so input is empty string |
|
317 //SerialNumber < 64 characters --> so input is given 64 characters |
|
318 //UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric |
|
319 //Wrong description Uri is given |
|
320 ////////////////////////////////////////////////////////////////// |
|
321 [upnp_validate_describe_requests_headers_0060_5_rev] |
|
322 listofsequences=delay_0005_rev,cpstatus_0005_1_rev,discover_0005_1_rev,describe_0005_1_rev,Print_0005_1_rev |
|
323 |
|
324 [upnp_validate_describe_requests_headers_0060_5_rev_server] |
|
325 listofsequences=publish_device_0005_1_rev,delay_3Min_5_rev |
|
326 |
|
327 [cpstatus_0005_1_rev] |
|
328 cpstatus=TRUE |
|
329 operationtype=opendiscoverer |
|
330 |
|
331 [delay_3Min_5_rev] |
|
332 operationtype=starttimer |
|
333 waittime=200000000 |
|
334 |
|
335 [delay_0005_rev] |
|
336 operationtype=starttimer |
|
337 waittime=10000000 |
|
338 |
|
339 //ModelURL is optional --> so input is empty string |
|
340 //SerialNumber < 64 characters --> so input is given 64 characters |
|
341 //UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric |
|
342 [publish_device_0005_1_rev] |
|
343 operationtype=publishdevice |
|
344 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
345 DeviceType=urn:symbian.com:device:FirstVendorDevice:1 |
|
346 FriendlyName=FirstVendorDevice |
|
347 Manufacturer=Symbian |
|
348 ManufacturerURL=http://www.symbian.com/ |
|
349 ModelDescription=UPnP FIRSTDEVICE Ver1 |
|
350 ModelName=IWS-UPNP-FIRSTDEVICE-1 |
|
351 ModelNumber=IWS-UPNP-TESTDEVICE-1 |
|
352 ModelURL= |
|
353 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
354 SerialNumber=UPNP567890123456789012345678901234567890123456789012345678901234 |
|
355 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1 |
|
356 UPC=abcdefghi012 |
|
357 positivecase=TRUE |
|
358 cachecontrol=1810 |
|
359 positivecase=FALSE |
|
360 cachecontrol=1810 |
|
361 |
|
362 [discover_0005_1_rev] |
|
363 othermachine=TRUE |
|
364 listofmxtimes=30 |
|
365 listofservicetypes=uuid:25a0be80-8775-4988-b628-ChildLevel-5 |
|
366 operationtype=discovery |
|
367 schedulerstart=TRUE |
|
368 delayenabled=FALSE |
|
369 //wait time in Tics |
|
370 waittime=50000000 |
|
371 |
|
372 [describe_0005_1_rev] |
|
373 operationtype=describe |
|
374 readini=TRUE |
|
375 descriptionpath=http123://10.192.196.165:80/ |
|
376 expecteddescriptions=0 |
|
377 positivecase=FALSE |
|
378 schedulerstart=FALSE |
|
379 |
|
380 [Print_0005_1_rev] |
|
381 othermachine=TRUE |
|
382 operationtype=printresults |
|
383 |