diff -r 000000000000 -r f5a58ecadc66 servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/canceldiscovery.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/canceldiscovery.ini Tue Feb 02 01:12:20 2010 +0200 @@ -0,0 +1,122 @@ +//canceldiscovery.ini + +////////////////////////////////////////////////////////////////// +//POSITIVE CASE -- UPNP_VENDOR_DEVICE_DESCRIPTION_0001 +//Publishing a embedded device level-1 +//Discover the same +//Do describe the same +////////////////////////////////////////////////////////////////// +[canceldiscovery] +listofsequences=delay_0001,cpstatus_0001,discover_0001,Print_0001 + +[canceldiscovery_server] +listofsequences=publish_0001,delay_three_minutes + +[delay_three_minutes] +operationtype=starttimer +waittime=120000000 + +[cpstatus_0001] +operationtype=opendiscoverer +cpstatus=TRUE + +[delay_0001] +operationtype=starttimer +waittime=10000000 + +[publish_0001] +operationtype=publishdevice +BaseURL=http://10.192.197.28/device.xml +ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627 +DeviceType=urn:schemas-upnp-org:device:TestDevice:1 +FriendlyName=TestDevice1 +Manufacturer=Symbian +ManufacturerURL=http://www.symbian.com/ +ModelDescription=UPnP TESTDEVICE Ver1 +ModelName=IWS-UPNP-TESTDEVICE-1 +ModelNumber=IWS-UPNP-TESTDEVICE-1 +ModelURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 +PresentationURL=http://www.symbian.com/IWS-UPNP-TESTDEVICE-1 +//Must be less than 64 characters +SerialNumber=UPNP0123456789012345678901234567890123456789012345678901234567 +UDN=uuid:25a0be80-8775-4988-b627-720fbd44a650 +UPC=123456789012 +cachecontrol=1810 +schedulerstart=TRUE +stopscheduler=TRUE + +[discover_0001] +othermachine=TRUE +listofmxtimes=50,30 +listofservicetypes=ssdp:all,urn:schemas-upnp-org:device:TestDevice:1 +operationtype=discovery +duplicateuri=TRUE +schedulerstart=TRUE +delayenabled=FALSE +//wait time in Tics +waittime=50000000 +canceldiscover=TRUE +refersection=cancel_0001 + +[cancel_0001] +servicetype=ssdp:all + +[Print_0001] +othermachine=TRUE +operationtype=printresults + +////////////////////////////////////////////////////////////////// +//NEGATIVE CASE -- Cancel discovery without discover +//Do a Cancel discovery without doing a discovery +// +// +////////////////////////////////////////////////////////////////// +[upnp_cancel_discovery_0001] +listofsequences=cpstatus_0001,canceldiscovery_0001 + +[upnp_cancel_discovery_0001_server] +listofsequences=publish_0001,delay_three_minutes + +[canceldiscovery_0001] +operationtype=canceldiscovery +servicetype=ssdp:all +stopscheduler=FALSE + +////////////////////////////////////////////////////////////////// +//NEGATIVE CASE -- Cancel discovery giving a junk uri +// +// +////////////////////////////////////////////////////////////////// + +[canceldiscovery_1] +listofsequences=delay_0001_1,cpstatus_0001_1,discover_0002,canceldiscovery_0002,Print_0001_1 +[canceldiscovery_1_server] +listofsequences=delay_0001_1,cpstatus_0001_1,discover_0002,canceldiscovery_0002,Print_0001_1 + +// Giving junk uri in the cancelDiscovery paramset. +[cpstatus_0001_1] +operationtype=opendiscoverer +cpstatus=TRUE + +[delay_0001_1] +operationtype=starttimer +waittime=10000000 + +[discover_0002] +othermachine=TRUE +listofmxtimes=50 +listofservicetypes=urn:schemas-upnp-org:device:TestDevice:1 +operationtype=discovery +schedulerstart=TRUE +delayenabled=FALSE +//wait time in Tics +waittime=50000000 + +[canceldiscovery_0002] +operationtype=canceldiscovery +servicetype=urn:schemas-upnp-org:device:JunkDevice:2 +stopscheduler=FALSE + +[Print_0001_1] +operationtype=printresults +