|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //upnp_vendor_service_description_0031.script |
|
17 //! @SYMTestSuiteName multiple_machines_client |
|
18 //! @SYMScriptTestEnvironment |
|
19 |
|
20 PRINT Run all multiple_machines_client |
|
21 |
|
22 LOAD_SUITE multiple_machines_client |
|
23 LOAD_SUITE testdelay |
|
24 |
|
25 START_TESTCASE upnp_vendor_service_description_0031 |
|
26 //! @file |
|
27 //! @SYMTestCaseID UPNP - POS - 0031 |
|
28 //! @SYMTestCaseDesc Retrieve the service description of an UPnP device with a vendor defined service type (ST:urn:domain-name:service:serviceType:v). |
|
29 //! @SYMREQ REQ8627 |
|
30 //! @SYMTestStatus Implemented |
|
31 //! @SYMTestPriority 1 |
|
32 //! @SYMTestActions 1. Issue a discovery search request for all UPnP enabled services of standard service type in the LAN with ST:urn:domain-name:service:serviceType:v. |
|
33 //! 2. Retrieve the Device description by issuing HTTP GET request for the URL retrieved from the LOCATION field specified in successful Discovery response. |
|
34 //! 3. From the step 2 above parse the data for SCPDURL, this specifies the relative URL for service description. |
|
35 //! 4. Retrieve the service description by issuing HTTP GET request for the URL (convert this to absolute URI) from step 3. |
|
36 //! @SYMTestExpectedResults Retrieval of service description for a standard service of UPnP Device is completed. i.e., |
|
37 //! If control point provides a valid LOCATION then it retrieves a file containing standard service description for a root device. |
|
38 //! It is expected to receive only one describe response for describe request. |
|
39 //! If it is an invalid location or unable to retrieve the description then it is expected return with appropriate error message. |
|
40 //! @SYMTestType CIT |
|
41 |
|
42 RUN_TEST_STEP 1000 testdelay TestUPnPManager |
|
43 RUN_TEST_STEP 1000 testdelay TestUPnPManager |
|
44 RUN_TEST_STEP 200 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe.ini UPnP_Describe_Vendor_Root_Service |
|
45 Delay 100 |
|
46 RUN_TEST_STEP 200 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe.ini UPnP_Describe_vendor_Root_MltplServices |
|
47 Delay 100 |
|
48 RUN_TEST_STEP 200 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe.ini upnp_embedded_device_vendor_service_level1_description |
|
49 Delay 100 |
|
50 RUN_TEST_STEP 200 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe.ini upnp_embedded_devices_5levels_vendor_service_description |
|
51 Delay 100 |
|
52 RUN_TEST_STEP 200 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe.ini upnp_embd_devices_3levels_multiple_vendor_service_description |
|
53 Delay 100 |
|
54 END_TESTCASE upnp_vendor_service_description_0031 |