|
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_standard_service_description_0030_4_rev.script |
|
17 //! @SYMTestSuiteName multiple_machines_server |
|
18 //! @SYMScriptTestEnvironment |
|
19 |
|
20 PRINT Run all multiple_machines_server |
|
21 LOAD_SUITE multiple_machines_server |
|
22 LOAD_SUITE test_synchronize_server |
|
23 |
|
24 START_TESTCASE upnp_standard_service_description_0030_4_rev |
|
25 //! @file |
|
26 //! @SYMTestCaseID UPNP_POS_0030 |
|
27 //! @SYMTestCaseDesc Retrieve the service description of an UPnP device with a standard service type (urn:schemas-upnp-org:service: serviceType:v). |
|
28 //! @SYMREQ REQ8627, REQ8629, REQ8605, REQ8606, REQ8607, REQ8611, REQ8681, REQ10588, REQ10589,REQ4877, REQ8617,REQ8618 |
|
29 //! @SYMTestStatus Implemented |
|
30 //! @SYMTestPriority 1 |
|
31 //! @SYMTestActions 1. Issue a discovery search request for all UPnP enabled services of standard service type in the LAN with urn:schemas-upnp-org:service: serviceType:v. |
|
32 //! 2. Retrieve the Device description by issuing HTTP GET request for the URL retrieved from the LOCATION field specified in successful Discovery response. |
|
33 //! 3. From the step 2 above parse the data for SCPDURL, this specifies the relative URL for service description. |
|
34 //! 4. Retrieve the service description by issuing HTTP GET request for the URL (convert this to absolute URI) from step 3. |
|
35 //! @SYMTestExpectedResults |
|
36 //! 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 test_synchronize_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\test_synchronize_client.ini serverdata |
|
43 RUN_TEST_STEP 500 multiple_machines_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\describe_0030_rev.ini upnp_embedded_devices_5levels_std_service_description_rev_server |
|
44 |
|
45 END_TESTCASE upnp_standard_service_description_0030_4_rev |