|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // WAP stack test main script file |
|
15 // |
|
16 // |
|
17 |
|
18 PRINT GT167-WAP stack tests |
|
19 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
20 ced -i z:\testdata\configs\WapStackSuite.xml WapStackSuite.log |
|
21 run_script z:\TestData\scripts\te_esock_test_loadesock.script |
|
22 |
|
23 //delete any existing config.txt |
|
24 RUN_UTILS MakeReadWrite c:\config.txt |
|
25 RUN_UTILS copyfile c:\config.txt c:\config.old |
|
26 RUN_UTILS DeleteFile c:\config.txt |
|
27 |
|
28 //copy our config file |
|
29 run_utils copyfile z:\testdata\configs\WapSIMTSY.txt c:\Config.txt |
|
30 RUN_UTILS MakeReadWrite c:\config.txt |
|
31 |
|
32 //Delete any previous wapstackconfig file |
|
33 RUN_UTILS MakeReadWrite c:\system\data\wapstackconfig.old |
|
34 RUN_UTILS copyfile c:\system\data\wapstackconfig.ini c:\system\data\wapstackconfig.old |
|
35 RUN_UTILS MakeReadWrite c:\system\data\wapstackconfig.ini |
|
36 RUN_UTILS DeleteFile c:\system\data\wapstackconfig.ini |
|
37 |
|
38 RUN_SCRIPT z:\testdata\scripts\WapBoundWDP.script |
|
39 RUN_SCRIPT z:\testdata\scripts\WapFullySpecWDP.script |
|
40 RUN_SCRIPT z:\testdata\scripts\WapBoundPush.script |
|
41 RUN_SCRIPT z:\testdata\scripts\WapFullySpecPush.script |
|
42 RUN_SCRIPT z:\testdata\scripts\WapBoundWSP.script |
|
43 RUN_SCRIPT z:\testdata\scripts\WapFullySpecWSP.script |
|
44 RUN_SCRIPT z:\testdata\scripts\UDPPush.script |
|
45 |
|
46 START_TESTCASE WAP-WAPMESSAGE-0110 |
|
47 //! @SYMTestCaseID WAP-WAPMESSAGE-0110 |
|
48 LOAD_SUITE WapStackSuite |
|
49 RUN_TEST_STEP 100 WapStackSuite BoundWDP_OutOfMemory |
|
50 END_TESTCASE WAP-WAPMESSAGE-0110 |
|
51 |
|
52 //Delete our config file |
|
53 run_utils delete c:\Config.txt |
|
54 //put back the old config.txt |
|
55 RUN_UTILS copyfile c:\config.old c:\config.txt |
|
56 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script |
|
57 |
|
58 //put back any previous wapstackconfig.ini file |
|
59 RUN_UTILS MakeReadWrite c:\system\data\wapstackconfig.ini |
|
60 RUN_UTILS copyfile c:\system\data\wapstackconfig.old c:\system\data\wapstackconfig.ini |
|
61 |
|
62 PRINT GT167-WAP stack tests finished |
|
63 |
|
64 |