|
1 //discovery.ini |
|
2 |
|
3 //////////////////////////////////////////////////////////////////// |
|
4 //Positive test case |
|
5 //search for ALL devices |
|
6 //////////////////////////////////////////////////////////////////// |
|
7 [UPnP_Discover_all_001] |
|
8 //later introduce Publish first and then do discovery |
|
9 listofsequences=discover_all_001,print_disc_all_001 |
|
10 |
|
11 [discover_all_001] |
|
12 listofmxtimes=30 |
|
13 listofservicetypes=ssdp:all |
|
14 operationtype=discovery |
|
15 schedulerstatus=TRUE |
|
16 delayenabled=FALSE |
|
17 //wait time in Tics |
|
18 waittime=50000000 |
|
19 |
|
20 [print_disc_all_001] |
|
21 operationtype=printresults |
|
22 //This may be modified later |
|
23 resultscount=0 |
|
24 |
|
25 |
|
26 //////////////////////////////////////////////////////////////////// |
|
27 //Positive test case |
|
28 //search for ROOT devices |
|
29 //////////////////////////////////////////////////////////////////// |
|
30 [UPnP_Discover_root_001] |
|
31 //later introduce Publish first and then do discovery |
|
32 listofsequences=discover_root_001,print_disc_root_001 |
|
33 |
|
34 [discover_root_001] |
|
35 listofmxtimes=10 |
|
36 listofservicetypes=upnp:rootdevice |
|
37 operationtype=discovery |
|
38 schedulerstatus=TRUE |
|
39 delayenabled=FALSE |
|
40 //wait time in Tics |
|
41 waittime=50000000 |
|
42 |
|
43 |
|
44 [print_disc_root_001] |
|
45 operationtype=printresults |
|
46 //This may be modified later |
|
47 resultscount=0 |
|
48 |
|
49 |
|
50 //////////////////////////////////////////////////////////////////// |
|
51 //Negative test case |
|
52 //servicetype= "upnp:root" instead of "upnp:rootdevice" |
|
53 //////////////////////////////////////////////////////////////////// |
|
54 [UPnP_Discover_all_100] |
|
55 //later introduce Publish first and then do discovery |
|
56 listofsequences=discover_all_100,print_disc_all_100 |
|
57 |
|
58 [discover_all_100] |
|
59 listofmxtimes=10 |
|
60 listofservicetypes=upnp:root |
|
61 operationtype=discovery |
|
62 schedulerstatus=TRUE |
|
63 delayenabled=FALSE |
|
64 //wait time in Tics |
|
65 waittime=50000000 |
|
66 |
|
67 |
|
68 [print_disc_all_100] |
|
69 operationtype=printresults |
|
70 //This may be modified later |
|
71 resultscount=0 |
|
72 |
|
73 //////////////////////////////////////////////////////////////////// |
|
74 //Negative test case |
|
75 //servicetype= "upnp:root" instead of "upnp:rootdevice" |
|
76 //////////////////////////////////////////////////////////////////// |
|
77 [UPnP_Discover_all_101] |
|
78 //later introduce Publish first and then do discovery |
|
79 listofsequences=discover_all_101,print_disc_all_101 |
|
80 |
|
81 [discover_all_101] |
|
82 listofmxtimes=10,20,30 |
|
83 listofservicetypes=ssdp:all,ssdp:all,upnp:rootdevice |
|
84 operationtype=discovery |
|
85 duplicateuri=TRUE |
|
86 schedulerstatus=TRUE |
|
87 delayenabled=FALSE |
|
88 //wait time in Tics |
|
89 waittime=50000000 |
|
90 |
|
91 |
|
92 [print_disc_all_101] |
|
93 operationtype=printresults |
|
94 //This may be modified later |
|
95 resultscount=0 |
|
96 |
|
97 ////////////////////////////////////////////////////////////// |
|
98 [UPnP_Discover_0001] |
|
99 |
|
100 listofsequences=discover_0_1,startscheduler_0_1,print_0_1 |
|
101 |
|
102 [discover_0_1] |
|
103 responsetime=50 |
|
104 servicetype=ssdp:all |
|
105 threadname=control_1 |
|
106 operationtype=discovery |
|
107 delayenabled=TRUE |
|
108 waittime=50000000 |
|
109 canceldiscovery=TRUE |
|
110 |
|
111 [canceldiscover_0_1] |
|
112 servicetype=ssdp:all |
|
113 operationtype=canceldiscovery |
|
114 |
|
115 |
|
116 [startscheduler_0_1] |
|
117 operationtype=startscheduler |
|
118 |
|
119 |
|
120 |
|
121 [Print_0_1] |
|
122 operationtype=printdiscover |
|
123 |
|
124 |
|
125 [delay_0_1] |
|
126 delayenabled=TRUE |
|
127 waittime=50000000 |
|
128 operationtype=starttimer |
|
129 |
|
130 [validate_0_1] |
|
131 threadname=control_1 |
|
132 operationtype=validatediscoveryresults |
|
133 signalmanager=TRUE |
|
134 |
|
135 [discoveryresponse_0_1] |
|
136 //Expected response from observer |
|
137 //cachecontrol or maxage |
|
138 expirytime=1800 |
|
139 location = http://10.192.196.185:58168/ |
|
140 //searchtarget |
|
141 uri=ssdp:rootdevice |
|
142 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
143 |
|
144 [discoveryresponse_0_2] |
|
145 //Expected response from observer |
|
146 //cachecontrol or maxage |
|
147 expirytime=1800 |
|
148 location = http://10.192.196.185:58168/ |
|
149 //searchtarget |
|
150 uri=ssdp:rootdevice |
|
151 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
152 |
|
153 //////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
154 |
|
155 [UPnP_Discover_0002] |
|
156 |
|
157 listofcontrolPointServices=CP_0_1 |
|
158 listofsequences=discover_0_1,waitonsemaphore_0_1,Print_0_1 |
|
159 |
|
160 [CP_0_1] |
|
161 threadname=control_1 |
|
162 controlpoint=TRUE |
|
163 servicepoint=FALSE |
|
164 |
|
165 |
|
166 [discover_0_1] |
|
167 responsetime=10 |
|
168 servicetype=urn:schemas-upnp-org:device:BinaryLight:1 |
|
169 threadname=control_1 |
|
170 operationtype=discovery |
|
171 |
|
172 [waitonsemaphore_0_1] |
|
173 waitonsemaphore=TRUE |
|
174 waitcount=1 |
|
175 signalmanager=TRUE |
|
176 |
|
177 [Print_0_1] |
|
178 threadname=control_1 |
|
179 operationtype=print |
|
180 signalmanager=TRUE |
|
181 |
|
182 |
|
183 [delay_0_1] |
|
184 delayenabled=TRUE |
|
185 waittime=50000000 |
|
186 |
|
187 [validate_0_1] |
|
188 threadname=control_1 |
|
189 operationtype=validatediscoveryresults |
|
190 signalmanager=TRUE |
|
191 |
|
192 [discoveryresponse_0_1] |
|
193 //Expected response from observer |
|
194 //cachecontrol or maxage |
|
195 expirytime=1800 |
|
196 location = http://10.192.196.185:58168/ |
|
197 //searchtarget |
|
198 uri=ssdp:rootdevice |
|
199 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
200 |
|
201 [discoveryresponse_0_2] |
|
202 //Expected response from observer |
|
203 //cachecontrol or maxage |
|
204 expirytime=1800 |
|
205 location = http://10.192.196.185:58168/ |
|
206 //searchtarget |
|
207 uri=ssdp:rootdevice |
|
208 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
209 ///////////////////////////////////////////////////////////////////////////////////////////// |
|
210 |
|
211 |
|
212 [UPnP_Discover_Multiple_0001] |
|
213 listofcontrolPointServices=CP_0_1,CP_0_2 |
|
214 listofsequences=discover_0_2,waitonsemaphore_0_1,Print_0_1 |
|
215 |
|
216 [CP_0_1] |
|
217 threadname=control_1 |
|
218 controlpoint=TRUE |
|
219 servicepoint=FALSE |
|
220 |
|
221 [CP_0_2] |
|
222 threadname=control_2 |
|
223 controlpoint=TRUE |
|
224 servicepoint=FALSE |
|
225 |
|
226 [discover_0_1] |
|
227 responsetime=10 |
|
228 servicetype=ssdp:all |
|
229 threadname=control_1 |
|
230 operationtype=discovery |
|
231 |
|
232 [discover_0_2] |
|
233 responsetime=100 |
|
234 servicetype=upnp::rootdevice |
|
235 threadname=control_2 |
|
236 operationtype=discovery |
|
237 |
|
238 |
|
239 [waitonsemaphore_0_1] |
|
240 waitonsemaphore=TRUE |
|
241 waitcount=1 |
|
242 signalmanager=TRUE |
|
243 |
|
244 [Print_0_1] |
|
245 threadname=control_2 |
|
246 operationtype=print |
|
247 signalmanager=TRUE |
|
248 |
|
249 [Print_0_2] |
|
250 threadname=control_1 |
|
251 operationtype=print |
|
252 signalmanager=TRUE |
|
253 |
|
254 [delay_0_1] |
|
255 delayenabled=TRUE |
|
256 waittime=50000000 |
|
257 |
|
258 [validate_0_1] |
|
259 threadname=control_1 |
|
260 operationtype=validatediscoveryresults |
|
261 signalmanager=TRUE |
|
262 |
|
263 [discoveryresponse_0_1] |
|
264 //Expected response from observer |
|
265 //cachecontrol or maxage |
|
266 expirytime=1800 |
|
267 location = http://10.192.196.185:58168/ |
|
268 //searchtarget |
|
269 uri=ssdp:rootdevice |
|
270 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
271 |
|
272 [discoveryresponse_0_2] |
|
273 //Expected response from observer |
|
274 //cachecontrol or maxage |
|
275 expirytime=1800 |
|
276 location = http://10.192.196.185:58168/ |
|
277 //searchtarget |
|
278 uri=ssdp:rootdevice |
|
279 usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58 |
|
280 |