|
1 //upnp_abruptclosecp_rev.ini |
|
2 |
|
3 //////////////////////////////////////////////////////////////////////////////// |
|
4 //1.readini = TRUE means giving uri value from ini |
|
5 //2.readini = FALSE means it'll take value from Discovery results |
|
6 //3.In case 2_rev, Before describe there must be Discover opeartion to be executed. |
|
7 //////////////////////////////////////////////////////////////////////////////// |
|
8 |
|
9 ////////////////////////////////////////////////////////////////// |
|
10 //Positive case -1 UPNP_REGISTER_STATE_CHANGE_SERVICES_0038 |
|
11 //Publish service_rev,discover all and close abruptly after getting a response |
|
12 ///////////////////////////////////////////////////////////////// |
|
13 |
|
14 [UPnP_AbruptClose_Discovery_0001_rev] |
|
15 listofsequences=delay_0001_rev,cpstatus_0001_2_rev,discover_0001_rev,Print_0001_rev |
|
16 |
|
17 [UPnP_AbruptClose_Discovery_0001_rev_server] |
|
18 listofsequences=publish_service_0001_rev,delay_2Min_1_rev |
|
19 |
|
20 |
|
21 [cpstatus_0001_2_rev] |
|
22 cpstatus=TRUE |
|
23 operationtype=opendiscoverer |
|
24 |
|
25 [delay_0001_rev] |
|
26 operationtype=starttimer |
|
27 waittime=10000000 |
|
28 |
|
29 [delay_2Min_1_rev] |
|
30 operationtype=starttimer |
|
31 waittime=120000000 |
|
32 |
|
33 //Publish a service in a root device |
|
34 [publish_service_0001_rev] |
|
35 operationtype=publishservice |
|
36 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml |
|
37 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1 |
|
38 usn=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
39 cachecontrol=1810 |
|
40 period=180 |
|
41 positivecase=TRUE |
|
42 schedulerstart=TRUE |
|
43 stopscheduler=TRUE |
|
44 |
|
45 //Discover all |
|
46 [discover_0001_rev] |
|
47 listofmxtimes=50 |
|
48 listofservicetypes=ssdp:all |
|
49 operationtype=discovery |
|
50 schedulerstatus=TRUE |
|
51 delayenabled=FALSE |
|
52 waittime=50000000 |
|
53 canceldiscovery=FALSE |
|
54 positivecase=TRUE |
|
55 abruptdiscoveryclosecp=TRUE |
|
56 |
|
57 [Print_0001_rev] |
|
58 operationtype=printresults |
|
59 |
|
60 |
|
61 ////////////////////////////////////////////////////////////////// |
|
62 //Positive case -2 |
|
63 //Publish service_rev,discover all_rev, describe and close abruptly after getting a response |
|
64 ///////////////////////////////////////////////////////////////// |
|
65 |
|
66 [UPnP_AbruptClose_Describe_0001_rev] |
|
67 listofsequences=delay_0002_rev,cpstatus_0002_2_rev,discover_0002_rev,describe_0002_rev,Print_0002_rev |
|
68 |
|
69 [UPnP_AbruptClose_Describe_0001_server_rev] |
|
70 listofsequences=publish_service_0002_rev,delay_2Min_2_rev |
|
71 |
|
72 [cpstatus_0002_2_rev] |
|
73 cpstatus=TRUE |
|
74 operationtype=opendiscoverer |
|
75 |
|
76 [delay_0002_rev] |
|
77 operationtype=starttimer |
|
78 waittime=10000000 |
|
79 |
|
80 [delay_2Min_2_rev] |
|
81 operationtype=starttimer |
|
82 waittime=120000000 |
|
83 |
|
84 //Publish a service in a root device |
|
85 [publish_service_0002_rev] |
|
86 operationtype=publishservice |
|
87 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml |
|
88 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1 |
|
89 usn=uuid:25a0be80-8775-4988-b627-720fbd44a627 |
|
90 cachecontrol=1810 |
|
91 period=180 |
|
92 positivecase=TRUE |
|
93 schedulerstart=TRUE |
|
94 stopscheduler=TRUE |
|
95 |
|
96 //Discover all |
|
97 [discover_0002_rev] |
|
98 listofmxtimes=50 |
|
99 listofservicetypes=ssdp:all |
|
100 operationtype=discovery |
|
101 schedulerstatus=TRUE |
|
102 delayenabled=FALSE |
|
103 waittime=50000000 |
|
104 canceldiscovery=FALSE |
|
105 positivecase=TRUE |
|
106 |
|
107 |
|
108 //Describe the Dev.Locations |
|
109 [describe_0002_rev] |
|
110 operationtype=describe |
|
111 positivecase=TRUE |
|
112 readini = FALSE |
|
113 abruptdescribeclosecp=TRUE |
|
114 |
|
115 |
|
116 [Print_0002_rev] |
|
117 operationtype=printresults |