servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/refresh_adv_0045_rev.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

//refresh_adv_0045_rev.ini

////////////////////////////////////////////////////////////////////////////////
//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_REFRESH_ADVERTISEMENT_0045_REV--------------------------//////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
///CONTROL POINT ON REMOTE MACHINE  AND SERVICE POINT ON LOACL MACHINE/////////
///DISCOVERY_rev, DESCRIBE AND SUBSCRIBE HAPPENS AT CONTROL POINT//////////////////
///ONLY PUBLISH AND SENDING NOTIFICATION SENT FROM SERVICE POINT///////////////
///////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
//Positive case -1 UPNP_REFRESH_ADVERTISEMENT_0045
//This test will run for 11 Minutes
//Publish service_rev,discover all_rev, describe_rev, subscribe and delay for 10 min
//////////////////////////////////////////////////////////////////////////

[UPnP_Refresh_Advertisement_0001_rev]
listofsequences=delay_0001_rev,cpstatus_0001_1_rev,discover_0001_rev,describe_0001_rev,subscribe_0001_rev,delay_0001_2_rev,Print_0001_rev

[UPnP_Refresh_Advertisement_0001_server_rev]
listofsequences=publish_service_0001_rev,delay_11Min_1_rev

[cpstatus_0001_1_rev]
cpstatus=TRUE
operationtype=opendiscoverer

[delay_0001_rev]
operationtype=starttimer
waittime=10000000

[delay_0001_2_rev]
operationtype=starttimer
waittime=600000000

[delay_11Min_1_rev]
operationtype=starttimer
waittime=660000000

//Publish a service in a root device
[publish_service_0001_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml
servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1
usn=uuid:25a0be80-8775-4988-b627-720fbd44a627
cachecontrol=1810
period=180
positivecase=TRUE
schedulerstart=TRUE
stopscheduler=TRUE

//Discover all
[discover_0001_rev]
listofmxtimes=50
listofservicetypes=ssdp:all
operationtype=discovery
schedulerstatus=TRUE
delayenabled=FALSE
waittime=50000000
canceldiscovery=FALSE
positivecase=TRUE

//Describe the Dev.Locations
[describe_0001_rev]
operationtype=describe
positivecase=TRUE
readini = FALSE

//Extracts EVENT SUB URLs and subscribe
[subscribe_0001_rev]
subscriptionduration=400
operationtype=subscribe
positivecase=TRUE
readini = FALSE
schedulerstart=TRUE
stopscheduler=TRUE
refersection=unsubscribe_0001
[unsubscribe_0001_rev]
readini = FALSE

[Print_0001_rev]
operationtype=printresults

///////////////////////////////////////////////////////////////////////////////////////
//Positive case -2 UPNP_REFRESH_ADVERTISEMENT_0045
//At service point
//PUBLISH 11 SERVICES IN FISRT LEVEL OF EMBEDDED DEVICE_rev, and wait for 11 minutes
//At control point Do register notify fro ssdp:all and wait for 11 min.
////////////////////////////////////////////////////////////////////////////////////////

[UPnP_Refresh_Advertisement_0002_rev]
listofsequences=cpstatus_0002_2_rev,register_0002_2_rev,delay_11Min_2_2_rev,Print_0002_rev

[UPnP_Refresh_Advertisement_0002_server_rev]
listofsequences=delay_0002_1_rev,publish_embedded_device_0002_1_rev,publish_service_0002_1_rev,publish_service_0002_2_rev,publish_service_0002_3_rev,publish_service_0002_4_rev,publish_service_0002_5_rev,publish_service_0002_6_rev,publish_service_0002_7_rev,publish_service_0002_8_rev,publish_service_0002_9_rev,publish_service_0002_10_rev,publish_service_0002_11_rev,delay_11Min_2_1_rev

[cpstatus_0002_2_rev]
cpstatus=TRUE
operationtype=opendiscoverer

[register_0002_2_rev]
listofuritypes=ssdp:all
operationtype=registernotify
schedulerstart=FALSE

//Delay for 11 min at CP
[delay_11Min_2_2_rev]
operationtype=starttimer
waittime=660000000

//delay for 10 sec at SP
[delay_0002_1_rev]
operationtype=starttimer
waittime=10000000

//Delay for 11 min at SP after Publish
[delay_11Min_2_1_rev]
operationtype=starttimer
waittime=660000000


//FirstDevice -- embedded device
[publish_embedded_device_0002_1_rev]
operationtype=publishdevice
ParentDeviceUid=uuid:25a0be80-8775-4988-b627-720fbd44a627
DeviceType=urn:schemas-upnp-org:device:FirstDevice:1
FriendlyName=FirstDevice
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-FirstDevice-1
PresentationURL=http://www.symbian.com/IWS-UPNP-FirstDevice-1
SerialNumber=UPNP0123456789012345678901234567890123456789
UDN=uuid:25a0be80-8775-4988-b628-FirstDevice-1
UPC=123456789012
positivecase=TRUE
cachecontrol=1810
schedulerstart=TRUE
stopscheduler=TRUE

//Publish a service1 in a embedded device -1
[publish_service_0002_1_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\avtransport2.xml
servicetype=urn:schemas-upnp-org:service:AVTRANSPORTTestService:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
period=180
positivecase=TRUE

//Publish a service2 in embedded dev-1
[publish_service_0002_2_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\connectionmanager2.xml
servicetype=urn:schemas-upnp-org:service:CONNECTIONMANAGERTestService2:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service3 in embedded dev-1
[publish_service_0002_3_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\contentdirectory2.xml
servicetype=urn:schemas-upnp-org:service:CONTENTDIRECTORYTestService3:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service4 in embedded dev-1
[publish_service_0002_4_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\renderingcontrol2.xml
servicetype=urn:schemas-upnp-org:service:RENDERINGCONTROLTestService4:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service5 in embedded dev-1
[publish_service_0002_5_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\scheduledrecording1.xml
servicetype=urn:schemas-upnp-org:service:SCHEDULEDRECORDINGTestService5:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service6 in embedded dev-1
[publish_service_0002_6_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\renderingcontrol1.xml
servicetype=urn:schemas-upnp-org:service:RENDERINGCONTROL1TestService6:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service7 in embedded dev-1
[publish_service_0002_7_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\scan1.xml
servicetype=urn:schemas-upnp-org:service:SCAN1TestService7:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service8 in embedded dev-1
[publish_service_0002_8_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\feeder1.xml
servicetype=urn:schemas-upnp-org:service:FEEDER1TestService8:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service9 in embedded dev-1
[publish_service_0002_9_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\avtransport1.xml
servicetype=urn:schemas-upnp-org:service:AVTRANSPORT1TestService9:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service10 in embedded dev-1
[publish_service_0002_10_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\contentdirectory1.xml 
servicetype=urn:schemas-upnp-org:service:CONTENTDIRECTORY1TestService10:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE

//Publish a service11 in embedded dev-1
[publish_service_0002_11_rev]
operationtype=publishservice
description=z:\upnp\testupnp\client\testdata\service\connectionmanager1.xml
servicetype=urn:schemas-upnp-org:service:CONNECTIONMANAGER1TestService11:1
usn=uuid:25a0be80-8775-4988-b628-FirstDevice-1
cachecontrol=1810
positivecase=TRUE
schedulerstart=TRUE
stopscheduler=TRUE

[Print_0002_rev]
operationtype=printresults