servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/describe_0060.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:12:20 +0200
changeset 0 f5a58ecadc66
permissions -rw-r--r--
Revision: 201003

//describe_0060.ini

//////////////////////////////////////////////////////////////////
// ParentDeviceUid is the UID specified in device.xml
//Devicetype <= 64 characters
//Friendly name < 64characters
//Manufacturer < 64characters
//ManufacturerURL optional
//ModelDescription < 128
//ModelName < 32
//ModelNumber < 32
//ModelURL is optional
//SerialNumber Must be less than 64 characters
//UPC is optional - 12 numeric 
//ServiceType <= 64 characters
//DeviceType <= 64 characters
//1.readini = TRUE means giving uri value from ini 
//2.readini = FALSE means it'll take value from Discovery results
//3.In case 2, Before describe there must be Discover opeartion to be executed.
///////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////--------------UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0060-----------------////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
//////CONTROL POINT ON REMOTE MACHINE  AND SERVICE POINT ON LOACL MACHINE//////
///////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////
//POSITIVE CASE -- UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0001
//Publishing a embedded device level-1
//Discover the same
//Do describe the same
//Devicetype <= 64 characters 
//Input given here 65 characters 
//Wrong URI for description. It should be http
//////////////////////////////////////////////////////////////////
[upnp_validate_describe_requests_headers_0060_1]
listofsequences=publish_root_service,delay_1Min_1

[upnp_validate_describe_requests_headers_0060_1_server]
listofsequences=delay_0001,cpstatus_0001_1,discover_0001_1,describe_0001_1,Print_0001_1

[cpstatus_0001_1]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_1Min_1]
operationtype=starttimer
waittime=60000000

[delay_0001]
operationtype=starttimer
waittime=10000000


//ServiceType <= 64 characters
//Input given 65 characters
[publish_root_service]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml
servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService245678901234567890123456789012345678901234:1
usn=uuid:25a0be80-8775-4988-b627-720fbd44a627
cachecontrol=1810
period=180
positivecase=TRUE



[discover_0001_1]
othermachine=TRUE
listofmxtimes=30
listofservicetypes=ssdp:all
operationtype=discovery
schedulerstart=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000

//Wrong URI for description. It should be http
[describe_0001_1]
operationtype=describe
readini=TRUE
descriptionpath=htt://10.192.196.165:80/
expecteddescriptions=0
positivecase=FALSE
schedulerstart=FALSE

[Print_0001_1]
othermachine=TRUE
operationtype=printresults

/////////////////////////////////////////////////////////////////
//NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0002
//Publishing a embedded device level-2
//Discover the same
//Do describe the same
//Friendly name < 64characters
// Input given here 64 characters
//Wrong URI for description. It should start with http
//////////////////////////////////////////////////////////////////
[upnp_validate_describe_requests_headers_0060_2]
listofsequences=publish_device_0002_1,delay_2Min_2

[upnp_validate_describe_requests_headers_0060_2_server]
listofsequences=delay_0002,cpstatus_0002_1,discover_0002_1,describe_0002_1,Print_0002_1

[delay_2Min_2]
operationtype=starttimer
waittime=120000000

[cpstatus_0002_1]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_0002]
operationtype=starttimer
waittime=10000000

//Friendly name < 64characters
// Input given here 64 characters
[publish_device_0002_1]
operationtype=publishdevice
ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
DeviceType=urn:symbian.com:device:FirstVendorDevice:1
FriendlyName=FirstVendorDevice19012345678901234567890123456789012345678901234
Manufacturer=Symbian
ManufacturerURL=http://www.symbian.com/
ModelDescription=UPnP FIRSTDEVICE Ver1
ModelName=IWS-UPNP-FIRSTDEVICE-1
ModelNumber=IWS-UPNP-TESTDEVICE-1
ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
SerialNumber=UPNP0123456789012345678901234567890123456789
UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
UPC=123456789012
positivecase=FALSE
cachecontrol=1810

[discover_0002_1]
othermachine=TRUE
listofmxtimes=30
listofservicetypes=upnp:rootdevice
operationtype=discovery
schedulerstart=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000

//Wrong URI for description. It should start with http
[describe_0002_1]
operationtype=describe
readini=TRUE
descriptionpath=://10.192.196.165:80/
expecteddescriptions=0
positivecase=FALSE
schedulerstart=FALSE

[Print_0002_1]
othermachine=TRUE
operationtype=printresults


/////////////////////////////////////////////////////////////////
//NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0003
//Publishing a embedded device level-3
//Discover the same
//Do describe the same
//Manufacturer < 64characters
// Input given here 64 characters
//instead of this schemas-upnp-org -- given schemasupnporg in uri
//////////////////////////////////////////////////////////////////
[upnp_validate_describe_requests_headers_0060_3]
listofsequences=publish_device_0003_1,delay_2Min_3

[upnp_validate_describe_requests_headers_0060_3_server]
listofsequences=delay_0003,cpstatus_0003_1,discover_0003_1,describe_0003_1,Print_0003_1

[cpstatus_0003_1]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_0003]
operationtype=starttimer
waittime=10000000

[delay_2Min_3]
operationtype=starttimer
waittime=120000000

//Manufacturer < 64characters
// Input given here 64 characters
[publish_device_0003_1]
operationtype=publishdevice
ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
DeviceType=urn:symbian.com:device:FirstVendorDevice:1
FriendlyName=FirstVendorDevice
Manufacturer=Symbian890123456789012345678901234567890123456789012345678901234
ManufacturerURL=http://www.symbian.com/
ModelDescription=UPnP FIRSTDEVICE Ver1
ModelName=IWS-UPNP-FIRSTDEVICE-1
ModelNumber=IWS-UPNP-TESTDEVICE-1
ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
SerialNumber=UPNP0123456789012345678901234567890123456789
UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
UPC=123456789012
positivecase=FALSE
cachecontrol=1810

[discover_0003_1]
othermachine=TRUE
listofmxtimes=30
listofservicetypes=ssdp:all
operationtype=discovery
schedulerstart=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000

//Wrong scheme
[describe_0003_1]
operationtype=describe
readini=TRUE
descriptionpath=htttp://10.192.196.165:80/urn:schemasupnporg:service:AVTRANSPORTTestService245678901234567890123456789012345678901234:1
expecteddescriptions=0
positivecase=FALSE
schedulerstart=FALSE

[Print_0003_1]
othermachine=TRUE
operationtype=printresults

/////////////////////////////////////////////////////////////////
//NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0004
//Publishing a embedded device level-4
//Discover the same
//Do describe the same
//ModelDescription < 128
//ModelName < 32
//ModelNumber < 32
//In put given here 128, 32 and 32 respectively for above fields
//describe uri is given wrong
//////////////////////////////////////////////////////////////////
[upnp_validate_describe_requests_headers_0060_4]
listofsequences=publish_device_0004_1,delay_2Min_4

[upnp_validate_describe_requests_headers_0060_4_server]
listofsequences=delay_0004,cpstatus_0004_1,discover_0004_1,describe_0004_1,Print_0004_1

[cpstatus_0004_1]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_0004]
operationtype=starttimer
waittime=10000000

[delay_2Min_4]
operationtype=starttimer
waittime=120000000

//ModelDescription < 128
//ModelName < 32
//ModelNumber < 32
//In put given here 128, 32 and 32 respectively for above fields
[publish_device_0004_1]
operationtype=publishdevice
ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
DeviceType=urn:symbian.com:device:FirstVendorDevice:1
FriendlyName=FirstVendorDevice
Manufacturer=Symbian
ManufacturerURL=http://www.symbian.com/
ModelDescription=UPnPFIRSTDEVICEVer20123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
ModelName=IWS-UPNP-FIRSTDEVICE-23456789012
ModelNumber=IWS-UPNP-TESTDEVICE-223456789012
ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
SerialNumber=UPNP0123456789012345678901234567890123456789
UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
UPC=123456789012
positivecase=TRUE
cachecontrol=1810
positivecase=FALSE
cachecontrol=1810

[discover_0004_1]
othermachine=TRUE
listofmxtimes=30
listofservicetypes=ssdp:all
operationtype=discovery
schedulerstart=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000

[describe_0004_1]
operationtype=describe
readini=TRUE
descriptionpath=http_://10.192.196.165:80/
expecteddescriptions=0
positivecase=FALSE
schedulerstart=FALSE

[Print_0004_1]
othermachine=TRUE
operationtype=printresults

/////////////////////////////////////////////////////////////////
//NEGATIVE CASE--UPNP_VALIDATE_DESCRIBE_REQUESTS_HEADERS_0005
//Publishing a embedded device level-5
//Discover the same
//Do describe the same
//ModelURL is optional --> so input is empty string
//SerialNumber < 64 characters --> so input is given 64 characters
//UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric
//Wrong description Uri is given
//////////////////////////////////////////////////////////////////
[upnp_validate_describe_requests_headers_0060_5]
listofsequences=publish_device_0005_1,publish_device_0005_2,publish_device_0005_3,publish_device_0005_4,publish_device_0005_5,delay_3Min_5

[upnp_validate_describe_requests_headers_0060_5_server]
listofsequences=delay_0005,cpstatus_0005_1,discover_0005_1,describe_0005_1,Print_0005_1

[cpstatus_0005_1]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_3Min_5]
operationtype=starttimer
waittime=200000000

[delay_0005]
operationtype=starttimer
waittime=10000000

//ModelURL is optional --> so input is empty string
//SerialNumber < 64 characters --> so input is given 64 characters
//UPC is optional -if exist it should be 12 numeric --> so input is given 12 alpha numeric
[publish_device_0005_1]
operationtype=publishdevice
ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
DeviceType=urn:symbian.com:device:FirstVendorDevice:1
FriendlyName=FirstVendorDevice
Manufacturer=Symbian
ManufacturerURL=http://www.symbian.com/
ModelDescription=UPnP FIRSTDEVICE Ver1
ModelName=IWS-UPNP-FIRSTDEVICE-1
ModelNumber=IWS-UPNP-TESTDEVICE-1
ModelURL=
PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1
SerialNumber=UPNP567890123456789012345678901234567890123456789012345678901234
UDN=uuid:25a0be80-8775-4988-b628-ChildLevel-1
UPC=abcdefghi012
positivecase=TRUE
cachecontrol=1810
positivecase=FALSE
cachecontrol=1810

[discover_0005_1]
othermachine=TRUE
listofmxtimes=30
listofservicetypes=uuid:25a0be80-8775-4988-b628-ChildLevel-5
operationtype=discovery
schedulerstart=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000

[describe_0005_1]
operationtype=describe
readini=TRUE
descriptionpath=http123://10.192.196.165:80/
expecteddescriptions=0
positivecase=FALSE
schedulerstart=FALSE

[Print_0005_1]
othermachine=TRUE
operationtype=printresults