|
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 WapBoundWSP test script file |
|
15 // |
|
16 // |
|
17 |
|
18 PRINT GT167-WAP stack BOUND-WSP test |
|
19 |
|
20 LOAD_SUITE WapStackSuite |
|
21 |
|
22 // --------------------------------------------------------------------------------- |
|
23 // TEST(1) Load implementation |
|
24 // --------------------------------------------------------------------------------- |
|
25 START_TESTCASE WAP-WAPMESSAGE-0401 |
|
26 //! @SYMTestCaseID WAP-WAPMESSAGE-0401 |
|
27 RUN_TEST_STEP 100 WapStackSuite BoundWSP_1 z:\testdata\configs\WapStackSuite.ini COMMON |
|
28 END_TESTCASE WAP-WAPMESSAGE-0401 |
|
29 |
|
30 // --------------------------------------------------------------------------------- |
|
31 // TEST(2) Connect using different bearers (tests 1.7, 1.8, 1.10 must fail) |
|
32 // --------------------------------------------------------------------------------- |
|
33 START_TESTCASE WAP-WAPMESSAGE-0402 |
|
34 //! @SYMTestCaseID WAP-WAPMESSAGE-0402 |
|
35 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1 |
|
36 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.2 |
|
37 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.3 |
|
38 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.4 |
|
39 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.5 |
|
40 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.6 |
|
41 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.7 |
|
42 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.8 |
|
43 // Reconnect |
|
44 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.10 |
|
45 |
|
46 CONCURRENT |
|
47 // Connect to the same port (second test should fail) |
|
48 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1 |
|
49 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.1 |
|
50 |
|
51 // Connect to the different ports at the same time |
|
52 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.2 |
|
53 RUN_TEST_STEP 100 WapStackSuite BoundWSP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.3 |
|
54 |
|
55 CONSECUTIVE |
|
56 END_TESTCASE WAP-WAPMESSAGE-0402 |
|
57 |
|
58 // --------------------------------------------------------------------------------- |
|
59 // TEST(3) Unconnected |
|
60 // --------------------------------------------------------------------------------- |
|
61 START_TESTCASE WAP-WAPMESSAGE-0403 |
|
62 //! @SYMTestCaseID WAP-WAPMESSAGE-0403 |
|
63 RUN_TEST_STEP 100 WapStackSuite BoundWSP_3 z:\testdata\configs\WapStackSuite.ini Test_3 |
|
64 END_TESTCASE WAP-WAPMESSAGE-0403 |
|
65 |
|
66 // --------------------------------------------------------------------------------- |
|
67 // TEST(4) Normal condition/Multiple receive |
|
68 // --------------------------------------------------------------------------------- |
|
69 START_TESTCASE WAP-WAPMESSAGE-0404 |
|
70 //! @SYMTestCaseID WAP-WAPMESSAGE-0404 |
|
71 //RUN_TEST_STEP 100 WapStackSuite BoundWSP_4 z:\testdata\configs\WapStackSuite.ini |
|
72 END_TESTCASE WAP-WAPMESSAGE-0404 |
|
73 |
|
74 // --------------------------------------------------------------------------------- |
|
75 // TEST(5) Cancel |
|
76 // --------------------------------------------------------------------------------- |
|
77 START_TESTCASE WAP-WAPMESSAGE-0405 |
|
78 //! @SYMTestCaseID WAP-WAPMESSAGE-0405 |
|
79 //RUN_TEST_STEP 100 WapStackSuite BoundWSP_5 z:\testdata\configs\WapStackSuite.ini |
|
80 END_TESTCASE WAP-WAPMESSAGE-0405 |
|
81 |
|
82 // --------------------------------------------------------------------------------- |
|
83 // TEST(6) Timeout |
|
84 // --------------------------------------------------------------------------------- |
|
85 START_TESTCASE WAP-WAPMESSAGE-0406 |
|
86 //! @SYMTestCaseID WAP-WAPMESSAGE-0406 |
|
87 RUN_TEST_STEP 100 WapStackSuite BoundWSP_6 z:\testdata\configs\WapStackSuite.ini Test_6.1 |
|
88 END_TESTCASE WAP-WAPMESSAGE-0406 |
|
89 |
|
90 // --------------------------------------------------------------------------------- |
|
91 // TEST(7) Wrong sequence |
|
92 // --------------------------------------------------------------------------------- |
|
93 START_TESTCASE WAP-WAPMESSAGE-0407 |
|
94 //! @SYMTestCaseID WAP-WAPMESSAGE-0407 |
|
95 RUN_TEST_STEP 100 WapStackSuite BoundWSP_7 z:\testdata\configs\WapStackSuite.ini Test_7.1 |
|
96 END_TESTCASE WAP-WAPMESSAGE-0407 |
|
97 |
|
98 // --------------------------------------------------------------------------------- |
|
99 // TEST(8) API low/high in parameter |
|
100 // --------------------------------------------------------------------------------- |
|
101 START_TESTCASE WAP-WAPMESSAGE-0408 |
|
102 //! @SYMTestCaseID WAP-WAPMESSAGE-0408 |
|
103 //RUN_TEST_STEP 100 WapStackSuite BoundWSP_8 z:\testdata\configs\WapStackSuite.ini |
|
104 END_TESTCASE WAP-WAPMESSAGE-0408 |
|
105 |
|
106 // --------------------------------------------------------------------------------- |
|
107 // TEST(9) |
|
108 // --------------------------------------------------------------------------------- |
|
109 START_TESTCASE WAP-WAPMESSAGE-0409 |
|
110 //! @SYMTestCaseID WAP-WAPMESSAGE-0409 |
|
111 //RUN_TEST_STEP 100 WapStackSuite BoundWSP_9 z:\testdata\configs\WapStackSuite.ini |
|
112 END_TESTCASE WAP-WAPMESSAGE-0409 |
|
113 |
|
114 PRINT GT167-WAP stack BOUN-WSP test finished |
|
115 |
|
116 |
|
117 |
|
118 |