networkingtestandutils/networkingintegrationtest/it_script_files/itest_s1/itest1_03_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 PRINT Integration test 1.03 - CSD outgoing with ipv4 and ipv6 
       
    18 
       
    19 // setup
       
    20 LOAD_SUITE TE_Esock
       
    21 LOAD_SUITE te_esockutil
       
    22 
       
    23 
       
    24 
       
    25 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
       
    26 //CED z:\testdata\configs\integration\itest_s1\csd.xml
       
    27 RUN_UTILS  MkDir c:\private
       
    28 RUN_UTILS  MkDir c:\private\10202be9
       
    29 RUN_UTILS  MkDir c:\private\10202be9\persists
       
    30 RUN_UTILS  MakeReadWrite c:\private\10202be9\persists\cccccc00.cre
       
    31 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest1.cre c:\private\10202be9\persists\cccccc00.cre
       
    32 
       
    33 
       
    34 // open socket server 
       
    35 RUN_TEST_STEP 100 TE_Esock OpenServer   
       
    36 
       
    37 
       
    38 START_TESTCASE			NET-Integration-Csd-0301
       
    39 //! @SYMTestCaseID		NET-Integration-Csd-0301
       
    40 
       
    41 // open Ipv4 socket
       
    42 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s1\itest.ini
       
    43 
       
    44 // send some data
       
    45 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s1\ipv4.ini
       
    46 
       
    47 // close socket
       
    48 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s1\itest.ini
       
    49 
       
    50 // open Ipv6 socket
       
    51 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s1\itest.ini
       
    52 
       
    53 // send some data
       
    54 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s1\ipv6.ini
       
    55 
       
    56 // close socket
       
    57 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s1\itest.ini
       
    58 
       
    59 // wait for more than Commdb AgentClientTimeout
       
    60 print wait for more than Commdb AgentClientTimeout
       
    61 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s1\client_timeout.ini
       
    62 
       
    63 
       
    64 
       
    65 // check the network is NOT active
       
    66 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive
       
    67 TEST_COMPLETE CSD_test1_3
       
    68 END_TESTCASE			NET-Integration-Csd-0301
       
    69 
       
    70 
       
    71 // close socket server 
       
    72 RUN_TEST_STEP 100 TE_Esock CloseServer   
       
    73 
       
    74 // log result
       
    75 PRINT Result for Integration test 1.03 - CSD outgoing with ipv4 and ipv6
       
    76 
       
    77 
       
    78