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 3.5 - GPRS outgoing with ipv4 and route timeout |
|
18 |
|
19 |
|
20 LOAD_SUITE TE_Esock |
|
21 LOAD_SUITE te_esockutil |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script |
|
27 //CED z:\testdata\configs\te_esock.xml |
|
28 RUN_UTILS MkDir c:\private |
|
29 RUN_UTILS MkDir c:\private\10202be9 |
|
30 RUN_UTILS MkDir c:\private\10202be9\persists |
|
31 RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre |
|
32 RUN_UTILS CopyFile z:\testdata\configs\cccccc00_itest3.cre c:\private\10202be9\persists\cccccc00.cre |
|
33 |
|
34 |
|
35 |
|
36 // open socket server |
|
37 RUN_TEST_STEP 100 TE_Esock OpenServer |
|
38 |
|
39 |
|
40 START_TESTCASE NET-Integration-Gprs-0501 |
|
41 //! @SYMTestCaseID NET-Integration-Gprs-0501 |
|
42 |
|
43 |
|
44 // open socket |
|
45 RUN_TEST_STEP 100 TE_Esock Test1.2 z:\testdata\configs\integration\itest_s3\itest.ini |
|
46 |
|
47 // send Tcp Data (only) |
|
48 RUN_TEST_STEP 100 TE_Esock SendTcpData z:\testdata\configs\integration\itest_s3\ipv4.ini |
|
49 |
|
50 // wait more than routetimout |
|
51 print wait for more than Commdb AgentRouteTimeout |
|
52 run_test_step -1 te_esockutil TE_ESockUtilDelay z:\testdata\configs\integration\itest_s3\client_timeout.ini |
|
53 |
|
54 |
|
55 |
|
56 // check the connection has been disconnected |
|
57 RUN_TEST_STEP 100 te_esockutil TE_ESockUtilIsNetworkNotActive |
|
58 |
|
59 // close socket |
|
60 RUN_TEST_STEP 100 TE_Esock Test1.15 z:\testdata\configs\integration\itest_s3\itest.ini |
|
61 TEST_COMPLETE GPRS_test3_05 |
|
62 END_TESTCASE NET-Integration-Gprs-0501 |
|
63 |
|
64 // close socket server |
|
65 RUN_TEST_STEP 100 TE_Esock CloseServer |
|
66 // log result |
|
67 PRINT Result for Integration test 3.05 - GPRS Outgoing with ipv4 and route timeout |
|
68 |
|
69 |
|
70 |
|