|
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 5.03 - IR CSD outgoing with ipv4 and ipv6 |
|
18 |
|
19 LOAD_SUITE TE_Esock |
|
20 LOAD_SUITE te_esockutil |
|
21 |
|
22 |
|
23 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
24 //below fails as '-i' confuses test tool, tried csd_ir.xml file, but test fails with it |
|
25 //CED z:\testdata\configs\integration\itest_s5\csd-ir.xml |
|
26 //CED z:\testdata\configs\te_esock.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_itest5.cre c:\private\10202be9\persists\cccccc00.cre |
|
32 //RUN_SCRIPT Z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
33 |
|
34 |
|
35 |
|
36 // open socket server |
|
37 RUN_TEST_STEP 100 TE_Esock OpenServer |
|
38 |
|
39 START_TESTCASE NET-Integration-IrCsd-0301 |
|
40 //! @SYMTestCaseID NET-Integration-IrCsd-0301 |
|
41 |
|
42 |
|
43 // open Ipv4 socket |
|
44 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini |
|
45 |
|
46 // do test |
|
47 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv4.ini |
|
48 |
|
49 // close socket |
|
50 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini |
|
51 |
|
52 // open Ipv6 socket |
|
53 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s5\itest.ini |
|
54 |
|
55 // do test |
|
56 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s5\ipv6.ini |
|
57 |
|
58 // close socket |
|
59 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s5\itest.ini |
|
60 |
|
61 // close socket server |
|
62 RUN_TEST_STEP 100 TE_Esock CloseServer |
|
63 |
|
64 // wait for more than Commdb AgentClientTimeout |
|
65 print wait for more than Commdb AgentClientTimeout |
|
66 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s5\route_timeout.ini |
|
67 |
|
68 |
|
69 // check the network is NOT active |
|
70 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
71 |
|
72 // log result |
|
73 PRINT Result for Integration test 5.03 - IR CSD outgoing with ipv4 and ipv6 |
|
74 TEST_COMPLETE IR_CSD_test5_03 |
|
75 |
|
76 END_TESTCASE NET-Integration-IrCsd-0301 |
|
77 |