|
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_unsubscribe_0042_2.script |
|
17 //! @SYMTestSuiteName multiple_machines_server |
|
18 //! @SYMScriptTestEnvironment |
|
19 |
|
20 PRINT Run all multiple_machines_server |
|
21 |
|
22 LOAD_SUITE multiple_machines_server |
|
23 LOAD_SUITE test_synchronize_server |
|
24 |
|
25 START_TESTCASE upnp_unsubscribe_0042_2 |
|
26 //! @file |
|
27 //! @SYMTestCaseID UPNP - POS - 0042 |
|
28 //! @SYMTestCaseDesc Control point unsubscribe for state change in services. |
|
29 //! @SYMREQ REQ8634, REQ8627, REQ8629,REQ8605, REQ8606, REQ8607, REQ8611, REQ8681, REQ10588, REQ10589, REQ4877, REQ8617,REQ8618, REQ8626 |
|
30 //! @SYMTestStatus Implemented |
|
31 //! @SYMTestPriority 1 |
|
32 //! @SYMTestActions 1. Control point subscribes for state changes in services. |
|
33 //! 2. Control point unsubscribe for the state change using UNSUBSCRIBE method using the SID. |
|
34 //! 3. If requested UNSUBSCRIBE is approved then Service point may acknowledge with HTTP/1.1 200 OK within 30 sec, else with appropriate error messages. (may be like Incompatible headers, Invalid SID, or Missing SID) |
|
35 //! @SYMTestExpectedResults The control point must not receive any state change events from the device. |
|
36 //! @SYMTestType CIT |
|
37 |
|
38 RUN_TEST_STEP 1000 test_synchronize_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\test_synchronize_client.ini serverdata |
|
39 RUN_TEST_STEP 500 multiple_machines_server TestUPnPManager z:\upnp\testupnp\client\testdata\ini_files\subscribe_0042.ini upnp_unsubscribe_0042_2_server |
|
40 |
|
41 END_TESTCASE upnp_unsubscribe_0042_2 |