|
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 //! @file |
|
17 //! @SYMTestSuiteName NET-BEARERMOBILITY |
|
18 //! @SYMScriptTestEnvironment Standard Symbian HRP or emulator environment |
|
19 |
|
20 // Load the test suite |
|
21 LOAD_SUITE te_BearerMobilityTestSuite |
|
22 |
|
23 // Set up the comms database and start esock in preparation for the test |
|
24 RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
25 CED -i z:\testdata\configs\BearerMobility\BearerMobility_001.ced.cfg c:\BearerMobility_001.ced.cfg.log |
|
26 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
27 |
|
28 |
|
29 START_TESTCASE COMINF-ESOCK-RConnection-Mobility-3705 |
|
30 //! @SYMTestCaseID COMINF-ESOCK-RConnection-Mobility-3705 |
|
31 //!@SYMTestCaseDesc Test that rejecting a bearer doesn't hold it open, yet we don't get KLinkLayerClosed by mistake |
|
32 //!@SYMPREQ PREQ1060 |
|
33 //!@SYMAPI |
|
34 //Mobility |
|
35 //RCommsMobilityApiExt |
|
36 //!@SYMTestPriority Critical |
|
37 //!@SYMTestActions |
|
38 // Bring up a snap with three bearers, all on. |
|
39 // Kill the top priority. |
|
40 // Accept the migration. |
|
41 // Reject the new carrier. |
|
42 // Verify that the new carrier has gone away. |
|
43 // Get offered the third priority. |
|
44 // Accept third priority |
|
45 // Verify KLinkLayerClosed is never received. |
|
46 // |
|
47 //!@SYMTestType CIT |
|
48 //!@SYMTestExpectedResults All progresses are as expected |
|
49 RUN_TEST_STEP 100 te_BearerMobilityTestSuite NET_BMOBILITY_761405 |
|
50 END_TESTCASE COMINF-ESOCK-RConnection-Mobility-3705 |
|
51 |
|
52 // Clean up |
|
53 RUN_SCRIPT Z:\TestData\Scripts\te_esock_test_stopallinterfaces.script |
|
54 RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
55 |
|
56 PRINT Completed NET_BMOBILITY_761405 |
|
57 |
|
58 |
|
59 |