networkingtestandutils/networkingintegrationtest/it_script_files/itest_s3/itest3_05c_wlan.script
branchRCL_3
changeset 21 abbed5a4b42a
equal deleted inserted replaced
20:7e41d162e158 21:abbed5a4b42a
       
     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 integration test 3.05c - GPRS outgoing with ipv4 and route timeout after socket close
       
    19 
       
    20 
       
    21 LOAD_SUITE TE_Esock
       
    22 LOAD_SUITE te_esockutil
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
       
    29 //CED z:\testdata\configs\te_esock.xml
       
    30 RUN_UTILS  MkDir c:\private
       
    31 RUN_UTILS  MkDir c:\private\10202be9
       
    32 RUN_UTILS  MkDir c:\private\10202be9\persists
       
    33 RUN_UTILS  MakeReadWrite c:\private\10202be9\persists\cccccc00.cre
       
    34 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest3.cre c:\private\10202be9\persists\cccccc00.cre
       
    35 
       
    36 
       
    37 
       
    38 
       
    39 
       
    40 // open socket server 
       
    41 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    42 
       
    43 
       
    44 START_TESTCASE			NET-Integration-Gprs-0701
       
    45 //! @SYMTestCaseID		NET-Integration-Gprs-0701
       
    46 
       
    47 // open socket
       
    48 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s3\itest.ini
       
    49 
       
    50 // send Tcp Data (only)
       
    51 RUN_TEST_STEP 100 TE_Esock SendTcpData z:\testdata\configs\integration\itest_s3\ipv4.ini
       
    52 
       
    53 // close socket
       
    54 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s3\itest.ini
       
    55 
       
    56 // wait more than routetimout
       
    57 print wait for more than Commdb AgentRouteTimeout
       
    58 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s3\route_timeout.ini
       
    59 
       
    60 
       
    61 // check the connection has been disconnected
       
    62 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    63 TEST_COMPLETE GPRS_test3_05c
       
    64 END_TESTCASE			NET-Integration-Gprs-0701
       
    65 
       
    66 // close socket server 
       
    67 RUN_TEST_STEP 100 TE_Esock CloseServer
       
    68 // log result
       
    69 PRINT Result for Integration test 3.05c - GPRS Outgoing terminated By route timeout
       
    70 
       
    71