networkingtestandutils/networkingintegrationtest/it_script_files/itest_s5/itest5_17.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 
       
    18 PRINT Integration test 5.17 - IR CSD outgoing with Ipv4 and Client timeout
       
    19 
       
    20 LOAD_SUITE TE_Esock
       
    21 LOAD_SUITE te_esockutil
       
    22 LOAD_SUITE te_esockteststepsSuite -SharedData
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
       
    28 //tried csd-ir.xml - '-i' causes test tool problems, tried csd_ir.xml and tests fail
       
    29 CED z:\testdata\configs\te_esock.xml
       
    30 
       
    31 
       
    32 START_TESTCASE			NET-Integration-IrCsd-1901
       
    33 //! @SYMTestCaseID		NET-Integration-IrCsd-1901
       
    34 
       
    35 
       
    36 // open connection using gencon
       
    37 //run_test_step 3000 ts_genconn test1_1 z:\testdata\configs\integration\itest_s5\genconn.ini		
       
    38 //original genconn.ini says to leave connected after opening.
       
    39 //above call results in OpenSocketServ, OpenConnection, StartConnection which are all provided by
       
    40 //TE_EsockTestSteps
       
    41 RUN_TEST_STEP 3000 te_esockteststepsSuite creatersocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateSockSvr1
       
    42 RUN_TEST_STEP 3000 te_esockteststepsSuite connectrsocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini ConnectSockSvr1
       
    43 RUN_TEST_STEP 3000 te_esockteststepsSuite createrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateConn1
       
    44 RUN_TEST_STEP 3000 te_esockteststepsSuite openrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini OpenConn1
       
    45 RUN_TEST_STEP 3000 te_esockteststepsSuite startrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini StartConn1
       
    46 
       
    47 END_TESTCASE			NET-Integration-IrCsd-1901
       
    48 
       
    49 
       
    50 // open socket server 
       
    51 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    52 
       
    53 START_TESTCASE			NET-Integration-IrCsd-1902
       
    54 //! @SYMTestCaseID		NET-Integration-IrCsd-1902
       
    55 
       
    56 // open socket
       
    57 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini
       
    58 
       
    59 // use socket
       
    60 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini
       
    61 
       
    62 // close socket
       
    63 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini
       
    64 
       
    65 // close socket server 
       
    66 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    67 
       
    68 // wait for more than Commdb AgentClientTimeout
       
    69 print wait for more than Commdb AgentClientTimeout
       
    70 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s5\client_timeout.ini	
       
    71 
       
    72 
       
    73 // check the network is NOT active
       
    74 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    75 
       
    76 
       
    77 // log result
       
    78 PRINT Result for Integration test 5.17 - IR CSD outgoing with Ipv4 and Client timeout
       
    79 TEST_COMPLETE IR_CSD_test5_17
       
    80 
       
    81 END_TESTCASE			NET-Integration-IrCsd-1902
       
    82