networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_15.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.15 - IR CSD Outgoing with Ipv4 and Linkfailure
       
    18 
       
    19 LOAD_SUITE TE_Esock
       
    20 LOAD_SUITE te_esockutil
       
    21 
       
    22 
       
    23 // open socket server 
       
    24 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    25 
       
    26 START_TESTCASE			NET-Integration-IrCsd-1701
       
    27 //! @SYMTestCaseID		NET-Integration-IrCsd-1701
       
    28 
       
    29 
       
    30 // open socket
       
    31 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    32 
       
    33 // use socket connection
       
    34 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini
       
    35 
       
    36 // close socket
       
    37 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini
       
    38 
       
    39 // open Ipv6 connection
       
    40 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    41 
       
    42 // use Ipv6 socket connection
       
    43 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv6.ini
       
    44 
       
    45 // simulate link failure - get the user to do this
       
    46 print User action required to break link
       
    47 print Press a key to continue when this has been done
       
    48 pause
       
    49 
       
    50 // check the link is closed
       
    51 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    52 
       
    53 
       
    54 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s4\itest.ini
       
    55 TEST_COMPLETE IR_CSD_test5_15
       
    56 END_TESTCASE			NET-Integration-IrCsd-1701
       
    57 
       
    58 // close socket server 
       
    59 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    60 
       
    61 // log result
       
    62 PRINT Result for Integration test 5.15 - IR CSD Outgoing with Ipv4 and Linkfailure
       
    63