1 // |
|
2 // Copyright (c) 2010 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 |
|
17 |
|
18 PRINT Running CASE29 |
|
19 PRINT Validating AP Queries on the PDP tier. |
|
20 |
|
21 // |
|
22 LOAD_SUITE te_esockteststepsSuite -SharedData |
|
23 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
24 |
|
25 START_TESTCASE PDP-ControlPlane-0029 |
|
26 //! @SYMTestCaseID PDP-ControlPlane-0029 |
|
27 //! @SYMTestCaseDesc Validating AP Queries on the PDP tier. |
|
28 //! @SYMPREQ 2624 |
|
29 //! @SYMTestActions Creating server connection, opening connections on SIM1/SIM2 validating AP Query for PDP Tier. |
|
30 //! @SYMTestExpectedResults AP Queries successful. |
|
31 //! @SYMTestPriority High |
|
32 //! @SYMTestStatus Under development |
|
33 //! @SYMTestType UT |
|
34 |
|
35 // start simtsy |
|
36 RUN_TEST_STEP 100 te_esockteststepsSuite StartSimTSYStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SimTsy |
|
37 |
|
38 // create and open the first connection |
|
39 RUN_TEST_STEP 100 te_esockteststepsSuite creatersocketservStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CreateSockSvr1 |
|
40 RUN_TEST_STEP 100 te_esockteststepsSuite connectrsocketservStep z:\testdata\configs\te_controlplanenetworkside_test29.ini ConnectSockSvr1 |
|
41 RUN_TEST_STEP 100 te_esockteststepsSuite createrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CreateConn1 |
|
42 RUN_TEST_STEP 100 te_esockteststepsSuite openrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test29.ini OpenConn1 |
|
43 |
|
44 // Connect at *link* tier |
|
45 RUN_TEST_STEP 100 te_esockteststepsSuite CreateRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CreateConnectionServ1 |
|
46 RUN_TEST_STEP 100 te_esockteststepsSuite ConnectRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test29.ini ConnectConnectionServ1 |
|
47 |
|
48 // Make first *link* AP unavailable *AP2* |
|
49 RUN_TEST_STEP 100 te_esockteststepsSuite SetPacketDataAccessPointAvailabilityStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SetSimTsyAvailable |
|
50 |
|
51 RUN_TEST_STEP 100 te_esockteststepsSuite AccessPointStatusQueryStep z:\testdata\configs\te_controlplanenetworkside_test29.ini APQuery1 |
|
52 |
|
53 // Make first *link* AP available *AP2* |
|
54 RUN_TEST_STEP 100 te_esockteststepsSuite SetPacketDataAccessPointAvailabilityStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SetSimTsyUnavailable |
|
55 |
|
56 RUN_TEST_STEP 100 te_esockteststepsSuite AccessPointStatusQueryStep z:\testdata\configs\te_controlplanenetworkside_test29.ini APQuery1a |
|
57 |
|
58 // Start connection on bearer and detect change at AP |
|
59 RUN_TEST_STEP 100 te_esockteststepsSuite startrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test29.ini StartConn1_1 |
|
60 // This will tell us the number of started APs (1) and its id. |
|
61 RUN_TEST_STEP 100 te_esockteststepsSuite AccessPointStatusQueryStep z:\testdata\configs\te_controlplanenetworkside_test29.ini APQuery2 |
|
62 |
|
63 // Clean up connections |
|
64 |
|
65 RUN_TEST_STEP 100 te_esockteststepsSuite stoprconnectionStep z:\testdata\configs\te_controlplanenetworkside_test29.ini StopConn1_1 |
|
66 RUN_TEST_STEP 100 te_esockteststepsSuite SetPacketDataAccessPointAvailabilityStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SetSimTsyUnavailable |
|
67 |
|
68 RUN_TEST_STEP 100 te_esockteststepsSuite AccessPointStatusQueryStep z:\testdata\configs\te_controlplanenetworkside_test29.ini APQuery1a |
|
69 |
|
70 RUN_TEST_STEP 100 te_esockteststepsSuite closerconnectionStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CloseConn1 |
|
71 |
|
72 // Close and cleanup resources |
|
73 RUN_TEST_STEP 100 te_esockteststepsSuite CloseRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CloseConnectionServ1 |
|
74 RUN_TEST_STEP 100 te_esockteststepsSuite closersocketservStep z:\testdata\configs\te_controlplanenetworkside_test29.ini CloseSockSvr1 |
|
75 RUN_TEST_STEP 100 te_esockteststepsSuite cleanallStep |
|
76 |
|
77 // stop simtsy |
|
78 RUN_TEST_STEP 100 te_esockteststepsSuite StopSimTSYStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SimTsy |
|
79 |
|
80 // Shutdown |
|
81 RUN_SCRIPT Z:\TestData\Scripts\te_esock_test_stopallinterfaces.script |
|
82 RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
83 |
|
84 END_TESTCASE PDP-ControlPlane-0029 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|