|
1 //canceldiscovery.ini |
|
2 |
|
3 ////////////////////////////////////////////////////////////////// |
|
4 //POSITIVE CASE -- UPNP_VENDOR_DEVICE_DESCRIPTION_0001 |
|
5 //Publishing a embedded device level-1 |
|
6 //Discover the same |
|
7 //Do describe the same |
|
8 ////////////////////////////////////////////////////////////////// |
|
9 [canceldiscovery] |
|
10 listofsequences=delay_0001,cpstatus_0001,discover_0001,Print_0001 |
|
11 |
|
12 [canceldiscovery_server] |
|
13 listofsequences=publish_0001,delay_three_minutes |
|
14 |
|
15 [delay_three_minutes] |
|
16 operationtype=starttimer |
|
17 waittime=120000000 |
|
18 |
|
19 [cpstatus_0001] |
|
20 operationtype=opendiscoverer |
|
21 cpstatus=TRUE |
|
22 |
|
23 [delay_0001] |
|
24 operationtype=starttimer |
|
25 waittime=10000000 |
|
26 |
|
27 [publish_0001] |
|
28 operationtype=publishdevice |
|
29 BaseURL=http://10.192.197.28/device.xml |
|
30 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
31 DeviceType=urn:schemas-upnp-org:device:TestDevice:1 |
|
32 FriendlyName=TestDevice1 |
|
33 Manufacturer=Symbian |
|
34 ManufacturerURL=http://www.symbian.com/ |
|
35 ModelDescription=UPnP TESTDEVICE Ver1 |
|
36 ModelName=IWS-UPNP-TESTDEVICE-1 |
|
37 ModelNumber=IWS-UPNP-TESTDEVICE-1 |
|
38 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
39 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 |
|
40 //Must be less than 64 characters |
|
41 SerialNumber=UPNP0123456789012345678901234567890123456789012345678901234567 |
|
42 UDN=uuid:25a0be80-8775-4988-b627-720fbd44a650 |
|
43 UPC=123456789012 |
|
44 cachecontrol=1810 |
|
45 schedulerstart=TRUE |
|
46 stopscheduler=TRUE |
|
47 |
|
48 [discover_0001] |
|
49 othermachine=TRUE |
|
50 listofmxtimes=50,30 |
|
51 listofservicetypes=ssdp:all,urn:schemas-upnp-org:device:TestDevice:1 |
|
52 operationtype=discovery |
|
53 duplicateuri=TRUE |
|
54 schedulerstart=TRUE |
|
55 delayenabled=FALSE |
|
56 //wait time in Tics |
|
57 waittime=50000000 |
|
58 canceldiscover=TRUE |
|
59 refersection=cancel_0001 |
|
60 |
|
61 [cancel_0001] |
|
62 servicetype=ssdp:all |
|
63 |
|
64 [Print_0001] |
|
65 othermachine=TRUE |
|
66 operationtype=printresults |
|
67 |
|
68 ////////////////////////////////////////////////////////////////// |
|
69 //NEGATIVE CASE -- Cancel discovery without discover |
|
70 //Do a Cancel discovery without doing a discovery |
|
71 // |
|
72 // |
|
73 ////////////////////////////////////////////////////////////////// |
|
74 [upnp_cancel_discovery_0001] |
|
75 listofsequences=cpstatus_0001,canceldiscovery_0001 |
|
76 |
|
77 [upnp_cancel_discovery_0001_server] |
|
78 listofsequences=publish_0001,delay_three_minutes |
|
79 |
|
80 [canceldiscovery_0001] |
|
81 operationtype=canceldiscovery |
|
82 servicetype=ssdp:all |
|
83 stopscheduler=FALSE |
|
84 |
|
85 ////////////////////////////////////////////////////////////////// |
|
86 //NEGATIVE CASE -- Cancel discovery giving a junk uri |
|
87 // |
|
88 // |
|
89 ////////////////////////////////////////////////////////////////// |
|
90 |
|
91 [canceldiscovery_1] |
|
92 listofsequences=delay_0001_1,cpstatus_0001_1,discover_0002,canceldiscovery_0002,Print_0001_1 |
|
93 [canceldiscovery_1_server] |
|
94 listofsequences=delay_0001_1,cpstatus_0001_1,discover_0002,canceldiscovery_0002,Print_0001_1 |
|
95 |
|
96 // Giving junk uri in the cancelDiscovery paramset. |
|
97 [cpstatus_0001_1] |
|
98 operationtype=opendiscoverer |
|
99 cpstatus=TRUE |
|
100 |
|
101 [delay_0001_1] |
|
102 operationtype=starttimer |
|
103 waittime=10000000 |
|
104 |
|
105 [discover_0002] |
|
106 othermachine=TRUE |
|
107 listofmxtimes=50 |
|
108 listofservicetypes=urn:schemas-upnp-org:device:TestDevice:1 |
|
109 operationtype=discovery |
|
110 schedulerstart=TRUE |
|
111 delayenabled=FALSE |
|
112 //wait time in Tics |
|
113 waittime=50000000 |
|
114 |
|
115 [canceldiscovery_0002] |
|
116 operationtype=canceldiscovery |
|
117 servicetype=urn:schemas-upnp-org:device:JunkDevice:2 |
|
118 stopscheduler=FALSE |
|
119 |
|
120 [Print_0001_1] |
|
121 operationtype=printresults |
|
122 |