13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 /** |
19 |
19 @file |
20 /** |
20 @test |
21 @file |
|
22 */ |
21 */ |
23 #if (!defined __Ioctl_STEP_H__) |
22 |
24 #define __Ioctl_STEP_H__ |
23 #ifndef WAPIOCTLTESTSTEPS_H |
25 #include <test/testexecutestepbase.h> |
24 #define WAPIOCTLTESTSTEPS_H |
26 #include <in_sock.h> |
25 |
27 #include <es_sock.h> |
|
28 #include <wapmessage.h> |
|
29 #include "WapProtSuiteStepBase.h" |
26 #include "WapProtSuiteStepBase.h" |
30 |
27 |
31 |
|
32 class CIoctlStep_1 : public CWapProtSuiteStepBase |
28 class CIoctlStep_1 : public CWapProtSuiteStepBase |
33 /** |
29 /** |
34 * Sends/receives a 7_Bit business card using IOCTL |
30 * Sends/receives a 7_Bit business card using IOCTL |
35 */ |
31 */ |
36 { |
32 { |
37 public: |
33 public: |
38 virtual TVerdict doTestStepL(); |
34 virtual TVerdict doTestStepL(); |
39 }; |
35 }; |
40 |
36 |
41 |
|
42 class CIoctlStep_2 : public CWapProtSuiteStepBase |
37 class CIoctlStep_2 : public CWapProtSuiteStepBase |
43 /** |
38 /** |
44 * Send/receive a long 7-Bit calendar entry using IOCTL(two segments) |
39 * Send/receive a long 7-Bit calendar entry using IOCTL(two segments) |
45 */ |
40 */ |
46 { |
41 { |
47 public: |
42 public: |
48 virtual TVerdict doTestStepL(); |
43 virtual TVerdict doTestStepL(); |
49 }; |
44 }; |
50 |
45 |
51 |
|
52 class CIoctlStep_3 : public CWapProtSuiteStepBase |
46 class CIoctlStep_3 : public CWapProtSuiteStepBase |
53 /** |
47 /** |
54 * send/receive one 7-Bit two segments message and one 7-Bit one segment message |
48 * send/receive one 7-Bit two segments message and one 7-Bit one segment message |
55 */ |
49 */ |
56 { |
50 { |
57 public: |
51 public: |
58 virtual TVerdict doTestStepL(); |
52 virtual TVerdict doTestStepL(); |
59 }; |
53 }; |
60 |
54 |
61 |
|
62 class CIoctlStep_4 : public CWapProtSuiteStepBase |
55 class CIoctlStep_4 : public CWapProtSuiteStepBase |
63 /** |
56 /** |
64 * Simulating client crash conditions with 7bit message |
57 * Simulating client crash conditions with 7bit message |
65 */ |
58 */ |
66 { |
59 { |
67 public: |
60 public: |
68 virtual TVerdict doTestStepL(); |
61 virtual TVerdict doTestStepL(); |
69 }; |
62 }; |
70 |
63 |
71 |
|
72 class CIoctlStep_5 : public CWapProtSuiteStepBase |
64 class CIoctlStep_5 : public CWapProtSuiteStepBase |
73 /** |
65 /** |
74 * Simulating client crash conditions with 8bit push message |
66 * Simulating client crash conditions with 8bit push message |
75 */ |
67 */ |
76 { |
68 { |
77 public: |
69 public: |
78 virtual TVerdict doTestStepL(); |
70 virtual TVerdict doTestStepL(); |
79 }; |
71 }; |
80 |
72 |
81 |
|
82 class CIoctlStep_6 : public CWapProtSuiteStepBase |
73 class CIoctlStep_6 : public CWapProtSuiteStepBase |
83 /** |
74 /** |
84 * Testing the old client for 7Bit message |
75 * Testing the old client for 7Bit message |
85 */ |
76 */ |
86 { |
77 { |
87 public: |
78 public: |
88 virtual TVerdict doTestStepL(); |
79 virtual TVerdict doTestStepL(); |
89 }; |
80 }; |
90 |
81 |
91 |
|
92 class CIoctlStep_7 : public CWapProtSuiteStepBase |
82 class CIoctlStep_7 : public CWapProtSuiteStepBase |
93 /** |
83 /** |
94 * Testing push messages (8-Bit) |
84 * Testing push messages (8-Bit) |
95 */ |
85 */ |
96 { |
86 { |
97 public: |
87 public: |
98 virtual TVerdict doTestStepL(); |
88 virtual TVerdict doTestStepL(); |
99 }; |
89 }; |
100 |
90 |
101 |
|
102 class CIoctlStep_8 : public CWapProtSuiteStepBase |
91 class CIoctlStep_8 : public CWapProtSuiteStepBase |
103 /** |
92 /** |
104 * Testing store of 8-Bit messages |
93 * Testing store of 8-Bit messages |
105 */ |
94 */ |
106 { |
95 { |
107 public: |
96 public: |
108 virtual TVerdict doTestStepL(); |
97 virtual TVerdict doTestStepL(); |
109 }; |
98 }; |
110 |
99 |
111 |
|
112 class CIoctlStep_9 : public CWapProtSuiteStepBase |
100 class CIoctlStep_9 : public CWapProtSuiteStepBase |
113 /** |
101 /** |
114 * Testing old clientwith 8-Bit messages |
102 * Testing old clientwith 8-Bit messages |
115 */ |
103 */ |
116 { |
104 { |
117 public: |
105 public: |
118 virtual TVerdict doTestStepL(); |
106 virtual TVerdict doTestStepL(); |
119 }; |
107 }; |
120 |
108 |
121 |
|
122 class CIoctlStep_10 : public CWapProtSuiteStepBase |
109 class CIoctlStep_10 : public CWapProtSuiteStepBase |
123 /** |
110 /** |
124 * Testing wrong port numebr (i.e.8Bit port number) for 7Bit message |
111 * Testing wrong port numebr (i.e.8Bit port number) for 7Bit message |
125 */ |
112 */ |
126 { |
113 { |
127 public: |
114 public: |
128 virtual TVerdict doTestStepL(); |
115 virtual TVerdict doTestStepL(); |
129 }; |
116 }; |
130 |
117 |
131 |
|
132 class CIoctlStep_11 : public CWapProtSuiteStepBase |
118 class CIoctlStep_11 : public CWapProtSuiteStepBase |
133 /** |
119 /** |
134 * Testing CancelIOCTL |
120 * Testing CancelIOCTL |
135 */ |
121 */ |
136 { |
122 { |
137 public: |
123 public: |
138 virtual TVerdict doTestStepL(); |
124 virtual TVerdict doTestStepL(); |
139 }; |
125 }; |
140 |
126 |
141 |
|
142 class CIoctlStep_12 : public CWapProtSuiteStepBase |
127 class CIoctlStep_12 : public CWapProtSuiteStepBase |
143 /** |
128 /** |
144 * Test issue IOCTL without SetOption NewStyleClient |
129 * Test issue IOCTL without SetOption NewStyleClient |
145 */ |
130 */ |
146 { |
131 { |
147 public: |
132 public: |
148 virtual TVerdict doTestStepL(); |
133 virtual TVerdict doTestStepL(); |
149 }; |
134 }; |
150 |
135 |
151 |
|
152 class CIoctlStep_13 : public CWapProtSuiteStepBase |
136 class CIoctlStep_13 : public CWapProtSuiteStepBase |
153 /** |
137 /** |
154 * Test sending 8-Bit Calendar entry |
138 * Test sending 8-Bit Calendar entry |
155 */ |
139 */ |
156 { |
140 { |
157 public: |
141 public: |
158 virtual TVerdict doTestStepL(); |
142 virtual TVerdict doTestStepL(); |
159 }; |
143 }; |
160 |
144 |
161 |
|
162 class CIoctlStep_14 : public CWapProtSuiteStepBase |
145 class CIoctlStep_14 : public CWapProtSuiteStepBase |
163 /** |
146 /** |
164 * Simulating client crash conditions with 8bit message |
147 * Simulating client crash conditions with 8bit message |
165 */ |
148 */ |
166 { |
149 { |
167 public: |
150 public: |
168 virtual TVerdict doTestStepL(); |
151 virtual TVerdict doTestStepL(); |
169 }; |
152 }; |
170 |
153 |
171 |
|
172 class CIoctlStep_15 : public CWapProtSuiteStepBase |
154 class CIoctlStep_15 : public CWapProtSuiteStepBase |
173 /** |
155 /** |
174 * Receives a 7Bit v-card using IOCTL with concatenation for new style client |
156 * Receives a 7Bit v-card using IOCTL with concatenation for new style client |
175 */ |
157 */ |
176 { |
158 { |
177 public: |
159 public: |
178 virtual TVerdict doTestStepL(); |
160 virtual TVerdict doTestStepL(); |
179 }; |
161 }; |
180 |
|
181 |
162 |
182 class CBackupRestoreStep : public CWapProtSuiteStepBase |
163 class CBackupRestoreStep : public CWapProtSuiteStepBase |
183 /** |
164 /** |
184 * Simulating client crash conditions with 8bit message |
165 * Simulating client crash conditions with 8bit message |
185 */ |
166 */ |