|
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_validate_discovery_response_time_0049_1.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 test_synchronize_client |
|
24 |
|
25 START_TESTCASE upnp_validate_discovery_response_time_0049_1 |
|
26 //! @file |
|
27 //! @SYMTestCaseID UPNP - POS – 0049 |
|
28 //! @SYMTestCaseDesc Service Point must wait for a random period of time between 0 seconds and the number of seconds specified in the MX ( <= 120 ) |
|
29 //! header before sending response for a discovery request. |
|
30 //! @SYMREQ REQ8614 REQ8615 |
|
31 //! @SYMTestStatus Implemented |
|
32 //! @SYMTestPriority 1 |
|
33 //! @SYMTestActions 1. Start one service point in UPnP enabled network. |
|
34 //! 2. Join a control point in the UPnP enabled network and issue a discovery request with ST:ssdp:root |
|
35 //! 3. Service Point must wait for a random period of time between 0 seconds and the number of seconds specified in the MX (<= 120) header before sending response |
|
36 //! 4. MX header value must be less than or equal to 120. If it exceeds 120 seconds then Service point chooses to wait between 0 to 120 seconds before responding. |
|
37 //! @SYMTestExpectedResults Service Point must wait for a random period of time between 0 seconds and the number of seconds specified in the MX (<=120) header before sending response. |
|
38 //! @SYMTestType CIT |
|
39 |
|
40 RUN_TEST_STEP 1000 test_synchronize_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\test_synchronize_client.ini clientdata |
|
41 RUN_TEST_STEP 500 multiple_machines_client TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\discovery_0049_rev.ini upnp_validate_discovery_response_time_0049_1_rev |
|
42 |
|
43 END_TESTCASE upnp_validate_discovery_response_time_0049_1 |