servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/describe_0060.ini
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     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, 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]
       
    40 listofsequences=publish_root_service,delay_1Min_1
       
    41 
       
    42 [upnp_validate_describe_requests_headers_0060_1_server]
       
    43 listofsequences=delay_0001,cpstatus_0001_1,discover_0001_1,describe_0001_1,Print_0001_1
       
    44 
       
    45 [cpstatus_0001_1]
       
    46 cpstatus=TRUE
       
    47 operationtype=opendiscoverer
       
    48 
       
    49 [delay_1Min_1]
       
    50 operationtype=starttimer
       
    51 waittime=60000000
       
    52 
       
    53 [delay_0001]
       
    54 operationtype=starttimer
       
    55 waittime=10000000
       
    56 
       
    57 
       
    58 //ServiceType <= 64 characters
       
    59 //Input given 65 characters
       
    60 [publish_root_service]
       
    61 operationtype=publishservice
       
    62 description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml
       
    63 servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService245678901234567890123456789012345678901234:1
       
    64 usn=uuid:25a0be80-8775-4988-b627-720fbd44a627
       
    65 cachecontrol=1810
       
    66 period=180
       
    67 positivecase=TRUE
       
    68 
       
    69 
       
    70 
       
    71 [discover_0001_1]
       
    72 othermachine=TRUE
       
    73 listofmxtimes=30
       
    74 listofservicetypes=ssdp:all
       
    75 operationtype=discovery
       
    76 schedulerstart=TRUE
       
    77 delayenabled=FALSE
       
    78 //wait time in Tics
       
    79 waittime=50000000
       
    80 
       
    81 //Wrong URI for description. It should be http
       
    82 [describe_0001_1]
       
    83 operationtype=describe
       
    84 readini=TRUE
       
    85 descriptionpath=htt://10.192.196.165:80/
       
    86 expecteddescriptions=0
       
    87 positivecase=FALSE
       
    88 schedulerstart=FALSE
       
    89 
       
    90 [Print_0001_1]
       
    91 othermachine=TRUE
       
    92 operationtype=printresults
       
    93 
       
    94 /////////////////////////////////////////////////////////////////
       
    95 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0002
       
    96 //Publishing a embedded device level-2
       
    97 //Discover the same
       
    98 //Do describe the same
       
    99 //Friendly name < 64characters
       
   100 // Input given here 64 characters
       
   101 //Wrong URI for description. It should start with http
       
   102 //////////////////////////////////////////////////////////////////
       
   103 [upnp_validate_describe_requests_headers_0060_2]
       
   104 listofsequences=publish_device_0002_1,delay_2Min_2
       
   105 
       
   106 [upnp_validate_describe_requests_headers_0060_2_server]
       
   107 listofsequences=delay_0002,cpstatus_0002_1,discover_0002_1,describe_0002_1,Print_0002_1
       
   108 
       
   109 [delay_2Min_2]
       
   110 operationtype=starttimer
       
   111 waittime=120000000
       
   112 
       
   113 [cpstatus_0002_1]
       
   114 cpstatus=TRUE
       
   115 operationtype=opendiscoverer
       
   116 
       
   117 [delay_0002]
       
   118 operationtype=starttimer
       
   119 waittime=10000000
       
   120 
       
   121 //Friendly name < 64characters
       
   122 // Input given here 64 characters
       
   123 [publish_device_0002_1]
       
   124 operationtype=publishdevice
       
   125 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
       
   126 DeviceType=urn:symbian.com:device:FirstVendorDevice:1
       
   127 FriendlyName=FirstVendorDevice19012345678901234567890123456789012345678901234
       
   128 Manufacturer=Symbian
       
   129 ManufacturerURL=http://www.symbian.com/
       
   130 ModelDescription=UPnP FIRSTDEVICE Ver1
       
   131 ModelName=IWS-UPNP-FIRSTDEVICE-1
       
   132 ModelNumber=IWS-UPNP-TESTDEVICE-1
       
   133 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
       
   134 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
       
   135 SerialNumber=UPNP0123456789012345678901234567890123456789
       
   136 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
       
   137 UPC=123456789012
       
   138 positivecase=FALSE
       
   139 cachecontrol=1810
       
   140 
       
   141 [discover_0002_1]
       
   142 othermachine=TRUE
       
   143 listofmxtimes=30
       
   144 listofservicetypes=upnp:rootdevice
       
   145 operationtype=discovery
       
   146 schedulerstart=TRUE
       
   147 delayenabled=FALSE
       
   148 //wait time in Tics
       
   149 waittime=50000000
       
   150 
       
   151 //Wrong URI for description. It should start with http
       
   152 [describe_0002_1]
       
   153 operationtype=describe
       
   154 readini=TRUE
       
   155 descriptionpath=://10.192.196.165:80/
       
   156 expecteddescriptions=0
       
   157 positivecase=FALSE
       
   158 schedulerstart=FALSE
       
   159 
       
   160 [Print_0002_1]
       
   161 othermachine=TRUE
       
   162 operationtype=printresults
       
   163 
       
   164 
       
   165 /////////////////////////////////////////////////////////////////
       
   166 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0003
       
   167 //Publishing a embedded device level-3
       
   168 //Discover the same
       
   169 //Do describe the same
       
   170 //Manufacturer < 64characters
       
   171 // Input given here 64 characters
       
   172 //instead of this schemas-upnp-org -- given schemasupnporg in uri
       
   173 //////////////////////////////////////////////////////////////////
       
   174 [upnp_validate_describe_requests_headers_0060_3]
       
   175 listofsequences=publish_device_0003_1,delay_2Min_3
       
   176 
       
   177 [upnp_validate_describe_requests_headers_0060_3_server]
       
   178 listofsequences=delay_0003,cpstatus_0003_1,discover_0003_1,describe_0003_1,Print_0003_1
       
   179 
       
   180 [cpstatus_0003_1]
       
   181 cpstatus=TRUE
       
   182 operationtype=opendiscoverer
       
   183 
       
   184 [delay_0003]
       
   185 operationtype=starttimer
       
   186 waittime=10000000
       
   187 
       
   188 [delay_2Min_3]
       
   189 operationtype=starttimer
       
   190 waittime=120000000
       
   191 
       
   192 //Manufacturer < 64characters
       
   193 // Input given here 64 characters
       
   194 [publish_device_0003_1]
       
   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]
       
   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]
       
   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 [Print_0003_1]
       
   232 othermachine=TRUE
       
   233 operationtype=printresults
       
   234 
       
   235 /////////////////////////////////////////////////////////////////
       
   236 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0004
       
   237 //Publishing a embedded device level-4
       
   238 //Discover the same
       
   239 //Do describe the same
       
   240 //ModelDescription < 128
       
   241 //ModelName < 32
       
   242 //ModelNumber < 32
       
   243 //In put given here 128, 32 and 32 respectively for above fields
       
   244 //describe uri is given wrong
       
   245 //////////////////////////////////////////////////////////////////
       
   246 [upnp_validate_describe_requests_headers_0060_4]
       
   247 listofsequences=publish_device_0004_1,delay_2Min_4
       
   248 
       
   249 [upnp_validate_describe_requests_headers_0060_4_server]
       
   250 listofsequences=delay_0004,cpstatus_0004_1,discover_0004_1,describe_0004_1,Print_0004_1
       
   251 
       
   252 [cpstatus_0004_1]
       
   253 cpstatus=TRUE
       
   254 operationtype=opendiscoverer
       
   255 
       
   256 [delay_0004]
       
   257 operationtype=starttimer
       
   258 waittime=10000000
       
   259 
       
   260 [delay_2Min_4]
       
   261 operationtype=starttimer
       
   262 waittime=120000000
       
   263 
       
   264 //ModelDescription < 128
       
   265 //ModelName < 32
       
   266 //ModelNumber < 32
       
   267 //In put given here 128, 32 and 32 respectively for above fields
       
   268 [publish_device_0004_1]
       
   269 operationtype=publishdevice
       
   270 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
       
   271 DeviceType=urn:symbian.com:device:FirstVendorDevice:1
       
   272 FriendlyName=FirstVendorDevice
       
   273 Manufacturer=Symbian
       
   274 ManufacturerURL=http://www.symbian.com/
       
   275 ModelDescription=UPnPFIRSTDEVICEVer20123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
       
   276 ModelName=IWS-UPNP-FIRSTDEVICE-23456789012
       
   277 ModelNumber=IWS-UPNP-TESTDEVICE-223456789012
       
   278 ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
       
   279 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
       
   280 SerialNumber=UPNP0123456789012345678901234567890123456789
       
   281 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
       
   282 UPC=123456789012
       
   283 positivecase=TRUE
       
   284 cachecontrol=1810
       
   285 positivecase=FALSE
       
   286 cachecontrol=1810
       
   287 
       
   288 [discover_0004_1]
       
   289 othermachine=TRUE
       
   290 listofmxtimes=30
       
   291 listofservicetypes=ssdp:all
       
   292 operationtype=discovery
       
   293 schedulerstart=TRUE
       
   294 delayenabled=FALSE
       
   295 //wait time in Tics
       
   296 waittime=50000000
       
   297 
       
   298 [describe_0004_1]
       
   299 operationtype=describe
       
   300 readini=TRUE
       
   301 descriptionpath=http_://10.192.196.165:80/
       
   302 expecteddescriptions=0
       
   303 positivecase=FALSE
       
   304 schedulerstart=FALSE
       
   305 
       
   306 [Print_0004_1]
       
   307 othermachine=TRUE
       
   308 operationtype=printresults
       
   309 
       
   310 /////////////////////////////////////////////////////////////////
       
   311 //NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0005
       
   312 //Publishing a embedded device level-5
       
   313 //Discover the same
       
   314 //Do describe the same
       
   315 //ModelURL is optional --> so input is empty string
       
   316 //SerialNumber < 64 characters --> so input is given 64 characters
       
   317 //UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric
       
   318 //Wrong description Uri is given
       
   319 //////////////////////////////////////////////////////////////////
       
   320 [upnp_validate_describe_requests_headers_0060_5]
       
   321 listofsequences=publish_device_0005_1,publish_device_0005_2,publish_device_0005_3,publish_device_0005_4,publish_device_0005_5,delay_3Min_5
       
   322 
       
   323 [upnp_validate_describe_requests_headers_0060_5_server]
       
   324 listofsequences=delay_0005,cpstatus_0005_1,discover_0005_1,describe_0005_1,Print_0005_1
       
   325 
       
   326 [cpstatus_0005_1]
       
   327 cpstatus=TRUE
       
   328 operationtype=opendiscoverer
       
   329 
       
   330 [delay_3Min_5]
       
   331 operationtype=starttimer
       
   332 waittime=200000000
       
   333 
       
   334 [delay_0005]
       
   335 operationtype=starttimer
       
   336 waittime=10000000
       
   337 
       
   338 //ModelURL is optional --> so input is empty string
       
   339 //SerialNumber < 64 characters --> so input is given 64 characters
       
   340 //UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric
       
   341 [publish_device_0005_1]
       
   342 operationtype=publishdevice
       
   343 ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
       
   344 DeviceType=urn:symbian.com:device:FirstVendorDevice:1
       
   345 FriendlyName=FirstVendorDevice
       
   346 Manufacturer=Symbian
       
   347 ManufacturerURL=http://www.symbian.com/
       
   348 ModelDescription=UPnP FIRSTDEVICE Ver1
       
   349 ModelName=IWS-UPNP-FIRSTDEVICE-1
       
   350 ModelNumber=IWS-UPNP-TESTDEVICE-1
       
   351 ModelURL=
       
   352 PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
       
   353 SerialNumber=UPNP567890123456789012345678901234567890123456789012345678901234
       
   354 UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
       
   355 UPC=abcdefghi012
       
   356 positivecase=TRUE
       
   357 cachecontrol=1810
       
   358 positivecase=FALSE
       
   359 cachecontrol=1810
       
   360 
       
   361 [discover_0005_1]
       
   362 othermachine=TRUE
       
   363 listofmxtimes=30
       
   364 listofservicetypes=uuid:25a0be80-8775-4988-b628-ChildLevel-5
       
   365 operationtype=discovery
       
   366 schedulerstart=TRUE
       
   367 delayenabled=FALSE
       
   368 //wait time in Tics
       
   369 waittime=50000000
       
   370 
       
   371 [describe_0005_1]
       
   372 operationtype=describe
       
   373 readini=TRUE
       
   374 descriptionpath=http123://10.192.196.165:80/
       
   375 expecteddescriptions=0
       
   376 positivecase=FALSE
       
   377 schedulerstart=FALSE
       
   378 
       
   379 [Print_0005_1]
       
   380 othermachine=TRUE
       
   381 operationtype=printresults
       
   382