|
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.05 - IR CSD outgoing with ipv4 and route timeout |
|
18 |
|
19 LOAD_SUITE TE_Esock |
|
20 LOAD_SUITE te_esockutil |
|
21 |
|
22 |
|
23 // open socket server |
|
24 RUN_TEST_STEP 100 TE_Esock OpenServer |
|
25 |
|
26 |
|
27 START_TESTCASE NET-Integration-IrCsd-0501 |
|
28 //! @SYMTestCaseID NET-Integration-IrCsd-0501 |
|
29 |
|
30 |
|
31 // open socket |
|
32 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini |
|
33 |
|
34 // send Tcp Data (only) |
|
35 RUN_TEST_STEP 100 TE_Esock SendTcpData z:\testdata\configs\integration\itest_s5\ipv4.ini |
|
36 |
|
37 // wait more than routetimout |
|
38 print wait for more than Commdb AgentRouteTimeout |
|
39 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s5\route_timeout.ini |
|
40 |
|
41 |
|
42 |
|
43 // check the connection has been disconnected |
|
44 RUN_TEST_STEP 3000 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
45 |
|
46 // close socket |
|
47 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini |
|
48 TEST_COMPLETE IR_CSD_test5_05 |
|
49 END_TESTCASE NET-Integration-IrCsd-0501 |
|
50 |
|
51 // close socket server |
|
52 RUN_TEST_STEP 100 TE_Esock CloseServer |
|
53 |
|
54 // log result |
|
55 PRINT Result for Integration test 5.05 - IR CSD outgoing with ipv4 and route timeout |
|
56 |