diff -r 000000000000 -r f5a58ecadc66 servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/describe_0060_rev.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/describe_0060_rev.ini Tue Feb 02 01:12:20 2010 +0200 @@ -0,0 +1,383 @@ +//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_rev, 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_rev] +listofsequences=delay_0001_rev,cpstatus_0001_1_rev,discover_0001_1_rev,describe_0001_1_rev,Print_0001_1_rev + +[upnp_validate_describe_requests_headers_0060_1_rev_server] +listofsequences=publish_root_service_rev,delay_1Min_1_rev + +[cpstatus_0001_1_rev] +cpstatus=TRUE +operationtype=opendiscoverer + +[delay_1Min_1_rev] +operationtype=starttimer +waittime=60000000 + +[delay_0001_rev] +operationtype=starttimer +waittime=10000000 + +//ServiceType <= 64 characters +//Input given 64characters +[publish_root_service_rev] +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 +schedulerstart=TRUE +stopscheduler=TRUE + +[discover_0001_1_rev] +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_rev] +operationtype=describe +readini=TRUE +descriptionpath=htt://10.192.196.165:80/ +expecteddescriptions=0 +positivecase=FALSE +schedulerstart=FALSE + +[Print_0001_1_rev] +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_rev] +listofsequences=delay_0002_rev,cpstatus_0002_1_rev,discover_0002_1_rev,describe_0002_1_rev,Print_0002_1_rev + +[upnp_validate_describe_requests_headers_0060_2_rev_server] +listofsequences=publish_device_0002_1_rev,delay_2Min_2_rev + +[delay_2Min_2_rev] +operationtype=starttimer +waittime=120000000 + +[cpstatus_0002_1_rev] +cpstatus=TRUE +operationtype=opendiscoverer + +[delay_0002_rev] +operationtype=starttimer +waittime=10000000 + +//Friendly name < 64characters +// Input given here 64 characters +[publish_device_0002_1_rev] +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_rev] +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_rev] +operationtype=describe +readini=TRUE +descriptionpath=://10.192.196.165:80/ +expecteddescriptions=0 +positivecase=FALSE +schedulerstart=FALSE + +[Print_0002_1_rev] +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_rev] +listofsequences=delay_0003_rev,cpstatus_0003_1_rev,discover_0003_1_rev,describe_0003_1_rev,Print_0003_1_rev + +[upnp_validate_describe_requests_headers_0060_3_rev_server] +listofsequences=publish_device_0003_1_rev,delay_2Min_3_rev + + +[cpstatus_0003_1_rev] +cpstatus=TRUE +operationtype=opendiscoverer + +[delay_0003_rev] +operationtype=starttimer +waittime=10000000 + +[delay_2Min_3_rev] +operationtype=starttimer +waittime=120000000 + +//Manufacturer < 64characters +// Input given here 64 characters +[publish_device_0003_1_rev] +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_rev] +othermachine=TRUE +listofmxtimes=30 +listofservicetypes=ssdp:all +operationtype=discovery +schedulerstart=TRUE +delayenabled=FALSE +//wait time in Tics +waittime=50000000 + +//wrong scheme +[describe_0003_1_rev] +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_rev] +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_rev] +listofsequences=delay_0004_rev,cpstatus_0004_1_rev,discover_0004_1_rev,describe_0004_1_rev,Print_0004_1_rev + +[upnp_validate_describe_requests_headers_0060_4_rev_server] +listofsequences=publish_device_0004_1_rev,delay_2Min_4_rev + +[cpstatus_0004_1_rev] +cpstatus=TRUE +operationtype=opendiscoverer + +[delay_0004_rev] +operationtype=starttimer +waittime=10000000 + +[delay_2Min_4_rev] +operationtype=starttimer +waittime=120000000 + +//ModelDescription < 128 +//ModelName < 32 +//ModelNumber < 32 +//In put given here 128_rev, 32 and 32 respectively for above fields +[publish_device_0004_1_rev] +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_rev] +othermachine=TRUE +listofmxtimes=30 +listofservicetypes=ssdp:all +operationtype=discovery +schedulerstart=TRUE +delayenabled=FALSE +//wait time in Tics +waittime=50000000 + +[describe_0004_1_rev] +operationtype=describe +readini=TRUE +descriptionpath=http_://10.192.196.165:80/ +expecteddescriptions=0 +positivecase=FALSE +schedulerstart=FALSE + +[Print_0004_1_rev] +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_rev] +listofsequences=delay_0005_rev,cpstatus_0005_1_rev,discover_0005_1_rev,describe_0005_1_rev,Print_0005_1_rev + +[upnp_validate_describe_requests_headers_0060_5_rev_server] +listofsequences=publish_device_0005_1_rev,delay_3Min_5_rev + +[cpstatus_0005_1_rev] +cpstatus=TRUE +operationtype=opendiscoverer + +[delay_3Min_5_rev] +operationtype=starttimer +waittime=200000000 + +[delay_0005_rev] +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_rev] +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_rev] +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_rev] +operationtype=describe +readini=TRUE +descriptionpath=http123://10.192.196.165:80/ +expecteddescriptions=0 +positivecase=FALSE +schedulerstart=FALSE + +[Print_0005_1_rev] +othermachine=TRUE +operationtype=printresults +