|
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.18 - IR CSD Incoming with Ipv4 termination using Client timeout |
|
18 |
|
19 LOAD_SUITE TE_Esock |
|
20 LOAD_SUITE te_esockutil |
|
21 LOAD_SUITE te_esockteststepsSuite -SharedData |
|
22 |
|
23 |
|
24 START_TESTCASE NET-Integration-IrCsd-2001 |
|
25 //! @SYMTestCaseID NET-Integration-IrCsd-2001 |
|
26 |
|
27 // open connection using gencon - 1_3 deprecated to 5_1. |
|
28 //5_1 - startsconnection - then closes it during its startup |
|
29 //run_test_step 3000, ts_genconn test1_3 z:\testdata\configs\integration\itest_s5\genconn.ini |
|
30 //above can be done in test steps with OpenSocketServ, OpenConnection, StartConnection y |
|
31 RUN_TEST_STEP 3000 te_esockteststepsSuite creatersocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateSockSvr1 |
|
32 RUN_TEST_STEP 3000 te_esockteststepsSuite connectrsocketservStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini ConnectSockSvr1 |
|
33 RUN_TEST_STEP 3000 te_esockteststepsSuite createrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini CreateConn1 |
|
34 RUN_TEST_STEP 3000 te_esockteststepsSuite openrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini OpenConn1 |
|
35 RUN_TEST_STEP 3000 te_esockteststepsSuite startrconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini StartConn1 |
|
36 RUN_TEST_STEP 3000 te_esockteststepsSuite stoprconnectionStep z:\testdata\configs\integration\itest_s5\te_teststeps.ini StopConn1 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 // simulate incoming call - get the user to do this |
|
42 print User action required Generate incoming call |
|
43 print Press a key to continue when this has been done |
|
44 pause |
|
45 |
|
46 // somehow handle incoming call ? |
|
47 |
|
48 // wait for more than Commdb AgentClientTimeout |
|
49 print wait for more than Commdb AgentClientTimeout |
|
50 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s5\client_timeout.ini |
|
51 |
|
52 // check the network is NOT active |
|
53 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
54 |
|
55 // log result |
|
56 PRINT Result for Integration test 5.18 - IR CSD Incoming with Ipv4 termination using Client timeout |
|
57 TEST_COMPLETE IR_CSD_test5_18 |
|
58 |
|
59 END_TESTCASE NET-Integration-IrCsd-2001 |
|
60 |