44
|
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 WapBoundWDP test script file
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
PRINT GT167-WAP stack BOUND-WDP tests
|
|
19 |
|
|
20 |
LOAD_SUITE WapStackSuite
|
|
21 |
|
|
22 |
// ---------------------------------------------------------------------------------
|
|
23 |
// TEST(1) Load implementation
|
|
24 |
// ---------------------------------------------------------------------------------
|
|
25 |
START_TESTCASE WAP-WAPMESSAGE-0301
|
|
26 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0301
|
|
27 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_1 z:\testdata\configs\WapStackSuite.ini COMMON
|
|
28 |
END_TESTCASE WAP-WAPMESSAGE-0301
|
|
29 |
|
|
30 |
// ---------------------------------------------------------------------------------
|
|
31 |
// TEST(2) Connect using different bearers (tests 1.7, 1.10 must fail)
|
|
32 |
// ---------------------------------------------------------------------------------
|
|
33 |
START_TESTCASE WAP-WAPMESSAGE-0302
|
|
34 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0302
|
|
35 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
|
|
36 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.2
|
|
37 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.3
|
|
38 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.4
|
|
39 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.5
|
|
40 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.6
|
|
41 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.7
|
|
42 |
// Reconnect
|
|
43 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.10
|
|
44 |
|
|
45 |
CONCURRENT
|
|
46 |
|
|
47 |
// Connect to the same port (second test should fail)
|
|
48 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1
|
|
49 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.1
|
|
50 |
// Connect to the different ports at the same time
|
|
51 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.2
|
|
52 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_2 z:\testdata\configs\WapStackSuite.ini Test_2.1.3
|
|
53 |
|
|
54 |
CONSECUTIVE
|
|
55 |
END_TESTCASE WAP-WAPMESSAGE-0302
|
|
56 |
|
|
57 |
// ---------------------------------------------------------------------------------
|
|
58 |
// TEST(3) Unconnected
|
|
59 |
// ---------------------------------------------------------------------------------
|
|
60 |
START_TESTCASE WAP-WAPMESSAGE-0303
|
|
61 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0303
|
|
62 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_3 z:\testdata\configs\WapStackSuite.ini Test_3
|
|
63 |
END_TESTCASE WAP-WAPMESSAGE-0303
|
|
64 |
|
|
65 |
// ---------------------------------------------------------------------------------
|
|
66 |
// TEST(4) Normal condition/Multiple receive
|
|
67 |
// ---------------------------------------------------------------------------------
|
|
68 |
START_TESTCASE WAP-WAPMESSAGE-0304
|
|
69 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0304
|
|
70 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.1
|
|
71 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.2
|
|
72 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.3
|
|
73 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.4
|
|
74 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5
|
|
75 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.1
|
|
76 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.2
|
|
77 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.3
|
|
78 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.5.4
|
|
79 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.6
|
|
80 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.7
|
|
81 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.8
|
|
82 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_4 z:\testdata\configs\WapStackSuite.ini Test_4.1.9
|
|
83 |
END_TESTCASE WAP-WAPMESSAGE-0304
|
|
84 |
|
|
85 |
// ---------------------------------------------------------------------------------
|
|
86 |
// TEST(5) Cancel
|
|
87 |
// ---------------------------------------------------------------------------------
|
|
88 |
START_TESTCASE WAP-WAPMESSAGE-0305
|
|
89 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0305
|
|
90 |
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_5 z:\testdata\configs\WapStackSuite.ini
|
|
91 |
END_TESTCASE WAP-WAPMESSAGE-0305
|
|
92 |
|
|
93 |
// ---------------------------------------------------------------------------------
|
|
94 |
// TEST(6) Timeout
|
|
95 |
// ---------------------------------------------------------------------------------
|
|
96 |
START_TESTCASE WAP-WAPMESSAGE-0306
|
|
97 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0306
|
|
98 |
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_6 z:\testdata\configs\WapStackSuite.ini
|
|
99 |
|
|
100 |
// ---------------------------------------------------------------------------------
|
|
101 |
// TEST(7) Wrong sequence
|
|
102 |
// ---------------------------------------------------------------------------------
|
|
103 |
RUN_TEST_STEP 100 WapStackSuite BoundWDP_7 z:\testdata\configs\WapStackSuite.ini Test_7.1
|
|
104 |
END_TESTCASE WAP-WAPMESSAGE-0306
|
|
105 |
|
|
106 |
|
|
107 |
// ---------------------------------------------------------------------------------
|
|
108 |
// TEST(8) API low/high in parameter
|
|
109 |
// ---------------------------------------------------------------------------------
|
|
110 |
START_TESTCASE WAP-WAPMESSAGE-0307
|
|
111 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0307
|
|
112 |
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_8 z:\testdata\configs\WapStackSuite.ini
|
|
113 |
END_TESTCASE WAP-WAPMESSAGE-0307
|
|
114 |
|
|
115 |
|
|
116 |
// ---------------------------------------------------------------------------------
|
|
117 |
// TEST(9) Reserved
|
|
118 |
// ---------------------------------------------------------------------------------
|
|
119 |
START_TESTCASE WAP-WAPMESSAGE-0308
|
|
120 |
//! @SYMTestCaseID WAP-WAPMESSAGE-0308
|
|
121 |
//RUN_TEST_STEP 100 WapStackSuite BoundWDP_9 z:\testdata\configs\WapStackSuite.ini
|
|
122 |
END_TESTCASE WAP-WAPMESSAGE-0308
|
|
123 |
|
|
124 |
|
|
125 |
PRINT GT167-WAP stack BOUND-WDP test finished
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|