networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_19.script
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     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 
       
    17 PRINT Integration test 5.19 - IR CSD Incoming with Ipv4 and Link failure while waiting for incoming call
       
    18 
       
    19 LOAD_SUITE TE_Esock
       
    20 LOAD_SUITE te_esockutil
       
    21 LOAD_SUITE te_esockteststepsSuite -SharedData
       
    22 
       
    23 START_TESTCASE			NET-Integration-IrCsd-2101
       
    24 //! @SYMTestCaseID		NET-Integration-IrCsd-2101
       
    25 
       
    26 
       
    27 // open connection using gencon - 1_3 deprecated to 5_1.
       
    28 //5_1 - startsconnection - then closes it during its startup
       
    29 //run_test_step 3000, ts_genconn test1_3 z:\testdata\configs\integration\itest_s5\genconn.ini
       
    30 //can be done in test steps with OpenSocketServ, OpenConnection, StartConnection y
       
    31 RUN_TEST_STEP 3000 te_esockteststepsSuite creatersocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateSockSvr1
       
    32 RUN_TEST_STEP 3000 te_esockteststepsSuite connectrsocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini ConnectSockSvr1
       
    33 RUN_TEST_STEP 3000 te_esockteststepsSuite createrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateConn1
       
    34 RUN_TEST_STEP 3000 te_esockteststepsSuite openrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini OpenConn1
       
    35 RUN_TEST_STEP 3000 te_esockteststepsSuite startrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini StartConn1
       
    36 RUN_TEST_STEP 3000 te_esockteststepsSuite stoprconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini StopConn1
       
    37 
       
    38 
       
    39 
       
    40 // simulate incoming call - get the user to do this
       
    41 print User action required Generate incoming call
       
    42 print Press a key to continue when this has been done
       
    43 pause
       
    44 
       
    45 // somehow handle incoming call ?
       
    46 
       
    47 // generate link failure
       
    48 // simulate link failure - get the user to do this
       
    49 print User action required to break link
       
    50 print Press a key to continue when this has been done
       
    51 pause
       
    52 
       
    53 // check the link is closed
       
    54 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    55 
       
    56 // log result
       
    57 PRINT Result for Integration test 5.19 - IR CSD Incoming with Ipv4 and Link failure while waiting for incoming call
       
    58 TEST_COMPLETE IR_CSD_test5_19
       
    59 
       
    60 END_TESTCASE			NET-Integration-IrCsd-2101
       
    61