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 4.11 - CDMA Outgoing terminated By Rnif::Stop with Ipv6,Ipv4 |
|
18 |
|
19 LOAD_SUITE TE_Esock |
|
20 LOAD_SUITE te_esockutil |
|
21 |
|
22 |
|
23 |
|
24 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
25 //CED z:\testdata\configs\te_esock.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_itest4.cre c:\private\10202be9\persists\cccccc00.cre |
|
31 |
|
32 |
|
33 |
|
34 // open socket server |
|
35 RUN_TEST_STEP 100 TE_Esock OpenServer |
|
36 |
|
37 START_TESTCASE NET-Integration-Cdma-1001 |
|
38 //! @SYMTestCaseID NET-Integration-Cdma-1001 |
|
39 |
|
40 |
|
41 // open Ipv4 socket |
|
42 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s4\itest.ini |
|
43 |
|
44 // use Ipv4 socket |
|
45 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s4\ipv4.ini |
|
46 |
|
47 // close socket |
|
48 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s4\itest.ini |
|
49 |
|
50 // open Ipv6 socket |
|
51 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s4\itest.ini |
|
52 |
|
53 // use Ipv6 socket |
|
54 RUN_TEST_STEP 1000 TE_Esock SendData z:\testdata\configs\integration\itest_s4\ipv6.ini |
|
55 |
|
56 // close using rnif::stop |
|
57 RUN_TEST_STEP 3000 te_esockutil TE_ESockUtilStopAllInterfaces |
|
58 |
|
59 // check the network is NOT active |
|
60 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
61 |
|
62 |
|
63 |
|
64 // close socket |
|
65 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s4\itest.ini |
|
66 TEST_COMPLETE CDMA_test4_11 |
|
67 END_TESTCASE NET-Integration-Cdma-1001 |
|
68 |
|
69 // close socket server |
|
70 RUN_TEST_STEP 100 TE_Esock CloseServer |
|
71 |
|
72 // log result |
|
73 PRINT Result for Integration test 4.11 - CDMA Outgoing terminated By Rnif::Stop with Ipv6,Ipv4 |
|
74 |
|
75 |
|