|
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 WapFullySpecPush test script file |
|
15 // |
|
16 // |
|
17 |
|
18 PRINT GT167-WAP stack FULLY_SPECIFIED-PUSH test |
|
19 |
|
20 LOAD_SUITE WapStackSuite |
|
21 |
|
22 // --------------------------------------------------------------------------------- |
|
23 // TEST(1) Load implementation |
|
24 // --------------------------------------------------------------------------------- |
|
25 START_TESTCASE WAP-WAPMESSAGE-0501 |
|
26 //! @SYMTestCaseID WAP-WAPMESSAGE-0501 |
|
27 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_1 z:\testdata\configs\WapStackSuite.ini COMMON |
|
28 END_TESTCASE WAP-WAPMESSAGE-0501 |
|
29 |
|
30 // --------------------------------------------------------------------------------- |
|
31 // TEST(2) Connect using different bearers (tests 1.7, 1.8, 1.9, 1.10 must fail) |
|
32 // --------------------------------------------------------------------------------- |
|
33 START_TESTCASE WAP-WAPMESSAGE-0502 |
|
34 //! @SYMTestCaseID WAP-WAPMESSAGE-0502 |
|
35 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.1 |
|
36 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.2 |
|
37 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.3 |
|
38 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.4 |
|
39 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.5 |
|
40 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.7 |
|
41 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.8 |
|
42 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.9 |
|
43 // Reconnect |
|
44 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_2 z:\testdata\configs\WapStackSuite.ini Test_2.10 |
|
45 END_TESTCASE WAP-WAPMESSAGE-0502 |
|
46 |
|
47 // --------------------------------------------------------------------------------- |
|
48 // TEST(3) Unconnected |
|
49 // --------------------------------------------------------------------------------- |
|
50 START_TESTCASE WAP-WAPMESSAGE-0503 |
|
51 //! @SYMTestCaseID WAP-WAPMESSAGE-0503 |
|
52 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_3 z:\testdata\configs\WapStackSuite.ini Test_3 |
|
53 END_TESTCASE WAP-WAPMESSAGE-0503 |
|
54 |
|
55 // --------------------------------------------------------------------------------- |
|
56 // TEST(4) Normal condition/Multiple receive |
|
57 // --------------------------------------------------------------------------------- |
|
58 START_TESTCASE WAP-WAPMESSAGE-0504 |
|
59 //! @SYMTestCaseID WAP-WAPMESSAGE-0504 |
|
60 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.4.1 |
|
61 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.4.2 |
|
62 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.4.3 |
|
63 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_4 z:\testdata\configs\WapStackSuite.ini Test_4.4.4 |
|
64 END_TESTCASE WAP-WAPMESSAGE-0504 |
|
65 |
|
66 // --------------------------------------------------------------------------------- |
|
67 // TEST(5) Cancel |
|
68 // --------------------------------------------------------------------------------- |
|
69 START_TESTCASE WAP-WAPMESSAGE-0505 |
|
70 //! @SYMTestCaseID WAP-WAPMESSAGE-0505 |
|
71 //RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_5 z:\testdata\configs\WapStackSuite.ini |
|
72 END_TESTCASE WAP-WAPMESSAGE-0505 |
|
73 |
|
74 // --------------------------------------------------------------------------------- |
|
75 // TEST(6) Timeout |
|
76 // --------------------------------------------------------------------------------- |
|
77 START_TESTCASE WAP-WAPMESSAGE-0506 |
|
78 //! @SYMTestCaseID WAP-WAPMESSAGE-0506 |
|
79 //RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_6 z:\testdata\configs\WapStackSuite.ini |
|
80 END_TESTCASE WAP-WAPMESSAGE-0506 |
|
81 |
|
82 // --------------------------------------------------------------------------------- |
|
83 // TEST(7) Wrong sequence |
|
84 // --------------------------------------------------------------------------------- |
|
85 START_TESTCASE WAP-WAPMESSAGE-0507 |
|
86 //! @SYMTestCaseID WAP-WAPMESSAGE-0507 |
|
87 RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_7 z:\testdata\configs\WapStackSuite.ini Test_7.1 |
|
88 END_TESTCASE WAP-WAPMESSAGE-0507 |
|
89 |
|
90 // --------------------------------------------------------------------------------- |
|
91 // TEST(8) API low/high in parameter |
|
92 // --------------------------------------------------------------------------------- |
|
93 START_TESTCASE WAP-WAPMESSAGE-0508 |
|
94 //! @SYMTestCaseID WAP-WAPMESSAGE-0508 |
|
95 //RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_8 z:\testdata\configs\WapStackSuite.ini |
|
96 END_TESTCASE WAP-WAPMESSAGE-0508 |
|
97 |
|
98 // --------------------------------------------------------------------------------- |
|
99 // TEST(9) |
|
100 // --------------------------------------------------------------------------------- |
|
101 START_TESTCASE WAP-WAPMESSAGE-0509 |
|
102 //! @SYMTestCaseID WAP-WAPMESSAGE-0509 |
|
103 //RUN_TEST_STEP 100 WapStackSuite FullySpecCLPush_9 z:\testdata\configs\WapStackSuite.ini |
|
104 END_TESTCASE WAP-WAPMESSAGE-0509 |
|
105 |
|
106 PRINT GT167-WAP stack FULLY_SPECIFIED-PUSH test finished |
|
107 |
|
108 |