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.13 - CSD Outgoing terminated By Link failure with Ipv4 |
|
18 |
|
19 // setup |
|
20 LOAD_SUITE TE_Esock |
|
21 LOAD_SUITE te_esockutil |
|
22 |
|
23 |
|
24 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
25 //CED z:\testdata\configs\integration\itest_s1\csd.xml |
|
26 RUN_UTILS MkDir c:\private |
|
27 RUN_UTILS MkDir c:\private\10202be9 |
|
28 RUN_UTILS MkDir c:\private\10202be9\persists |
|
29 RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre |
|
30 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest1.cre c:\private\10202be9\persists\cccccc00.cre |
|
31 |
|
32 // open socket server |
|
33 RUN_TEST_STEP 100 TE_Esock OpenServer |
|
34 |
|
35 |
|
36 START_TESTCASE NET-Integration-Csd-0901 |
|
37 //! @SYMTestCaseID NET-Integration-Csd-0901 |
|
38 |
|
39 // open Ipv4 socket |
|
40 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s1\itest.ini |
|
41 |
|
42 // do something |
|
43 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s1\ipv4.ini |
|
44 |
|
45 // simulate link failure - get the user to do this |
|
46 print User action required to break link |
|
47 print Press a key to continue when this has been done |
|
48 pause |
|
49 |
|
50 // check the link is closed |
|
51 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
52 |
|
53 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s1\itest.ini |
|
54 TEST_COMPLETE CSD_test1_13 |
|
55 END_TESTCASE NET-Integration-Csd-0901 |
|
56 |
|
57 |
|
58 // close socket server |
|
59 RUN_TEST_STEP 100 TE_Esock CloseServer |
|
60 |
|
61 // log result |
|
62 PRINT Result for Integration test 1.13 - CSD Outgoing terminated By Link failure with Ipv4 |
|
63 |
|
64 |
|