networkingtestandutils/networkingintegrationtest/it_script_files/itest_s1/itest1_13.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 1.13 - CSD Outgoing terminated By Link failure with Ipv4
       
    18 
       
    19 // setup
       
    20 LOAD_SUITE TE_Esock
       
    21 LOAD_SUITE te_esockutil
       
    22 
       
    23 
       
    24 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
       
    25 CED z:\testdata\configs\integration\itest_s1\csd.xml
       
    26 
       
    27 
       
    28 // open socket server 
       
    29 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    30 
       
    31 
       
    32 START_TESTCASE			NET-Integration-Csd-0901
       
    33 //! @SYMTestCaseID		NET-Integration-Csd-0901
       
    34 
       
    35 // open Ipv4 socket
       
    36 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s1\itest.ini
       
    37 
       
    38 // do something
       
    39 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s1\ipv4.ini
       
    40 
       
    41 // simulate link failure - get the user to do this
       
    42 print User action required to break link
       
    43 print Press a key to continue when this has been done
       
    44 pause
       
    45 
       
    46 // check the link is closed
       
    47 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    48 
       
    49 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s1\itest.ini
       
    50 TEST_COMPLETE CSD_test1_13
       
    51 END_TESTCASE			NET-Integration-Csd-0901
       
    52 
       
    53 
       
    54 // close socket server 
       
    55 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    56 
       
    57 // log result
       
    58 PRINT Result for Integration test 1.13 - CSD Outgoing terminated By Link failure with Ipv4
       
    59 
       
    60