telephonyprotocols/pdplayer/test/controlplane/scripts/te_pdp-controlplane28.script
branchRCL_3
changeset 8 3f227a47ad75
parent 7 fe8b59ab9fa0
child 9 2492a6e4aed7
equal deleted inserted replaced
7:fe8b59ab9fa0 8:3f227a47ad75
     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 CASE28
       
    19 PRINT Validating notifications 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-0028
       
    26 //! @SYMTestCaseID		PDP-ControlPlane-0028
       
    27 //! @SYMTestCaseDesc  Validating notifications on the PDP tier
       
    28 //! @SYMPREQ 2624
       
    29 //! @SYMTestActions         Creating server connection to PDP tier, opening connections on SIM1/SIM2. 
       
    30 //! @SYMTestExpectedResults Validating that notifications are received when a connection is opened on SIM1/SIM2
       
    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_test28.ini SimTsy
       
    37 
       
    38 // create and open the first connection
       
    39 RUN_TEST_STEP 100 te_esockteststepsSuite creatersocketservStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CreateSockSvr1
       
    40 RUN_TEST_STEP 100 te_esockteststepsSuite connectrsocketservStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ConnectSockSvr1
       
    41 RUN_TEST_STEP 100 te_esockteststepsSuite createrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CreateConn1
       
    42 RUN_TEST_STEP 100 te_esockteststepsSuite openrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test28.ini OpenConn1
       
    43 
       
    44 // Connect at *link* tier
       
    45 RUN_TEST_STEP 100 te_esockteststepsSuite CreateRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CreateConnectionServA
       
    46 RUN_TEST_STEP 100 te_esockteststepsSuite ConnectRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ConnectConnectionServA
       
    47 RUN_TEST_STEP 100 te_esockteststepsSuite CreateRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CreateConnectionServS
       
    48 RUN_TEST_STEP 100 te_esockteststepsSuite ConnectRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ConnectConnectionServS
       
    49 
       
    50 // Request all changes to AP active status
       
    51 RUN_TEST_STEP 100 te_esockteststepsSuite RequestAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini APNotificationRequest1A
       
    52 RUN_TEST_STEP 100 te_esockteststepsSuite RequestAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini APNotificationRequest1S
       
    53 
       
    54 // Start connection on bearer and detect change at AP
       
    55 RUN_TEST_STEP 100 te_esockteststepsSuite startrconnectionStep z:\testdata\configs\te_controlplanenetworkside_test28.ini StartConn1_1
       
    56 RUN_TEST_STEP 100 te_esockteststepsSuite ReceiveAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ReceiveNotification1A
       
    57 RUN_TEST_STEP 100 te_esockteststepsSuite ReceiveAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ReceiveNotification1S
       
    58 
       
    59 // Stop connection and detect change at AP
       
    60 RUN_TEST_STEP 100 te_esockteststepsSuite stoprconnectionStep z:\testdata\configs\te_controlplanenetworkside_test28.ini StopConn1_1
       
    61 RUN_TEST_STEP 100 te_esockteststepsSuite SetPacketDataAccessPointAvailabilityStep z:\testdata\configs\te_controlplanenetworkside_test29.ini SetSimTsyUnavailable
       
    62 RUN_TEST_STEP 100 te_esockteststepsSuite ReceiveAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ReceiveNotification2A
       
    63 RUN_TEST_STEP 100 te_esockteststepsSuite ReceiveAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini ReceiveNotification2S
       
    64 
       
    65 
       
    66 // Cancel the notification request
       
    67 RUN_TEST_STEP 100 te_esockteststepsSuite CancelAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CancelAPNotifRequestA
       
    68 RUN_TEST_STEP 100 te_esockteststepsSuite CancelAccessPointNotificationStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CancelAPNotifRequestS
       
    69 
       
    70 // Clean up connections
       
    71 RUN_TEST_STEP 100 te_esockteststepsSuite closerconnectionStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CloseConn1
       
    72 
       
    73 // Close and cleanup resources
       
    74 RUN_TEST_STEP 100 te_esockteststepsSuite CloseRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CloseConnectionServA
       
    75 RUN_TEST_STEP 100 te_esockteststepsSuite CloseRConnectionServStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CloseConnectionServS
       
    76 RUN_TEST_STEP 100 te_esockteststepsSuite closersocketservStep z:\testdata\configs\te_controlplanenetworkside_test28.ini CloseSockSvr1
       
    77 RUN_TEST_STEP 100 te_esockteststepsSuite cleanallStep
       
    78 
       
    79 // stop simtsy
       
    80 RUN_TEST_STEP 100 te_esockteststepsSuite StopSimTSYStep z:\testdata\configs\te_controlplanenetworkside_test28.ini SimTsy
       
    81 
       
    82 // Shutdown
       
    83 RUN_SCRIPT Z:\TestData\Scripts\te_esock_test_stopallinterfaces.script
       
    84 RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    85 
       
    86 END_TESTCASE			PDP-ControlPlane-0028