14 // |
14 // |
15 |
15 |
16 #ifndef __TE_SMSEMSPRT_H_ |
16 #ifndef __TE_SMSEMSPRT_H_ |
17 #define __TE_SMSEMSPRT_H_ |
17 #define __TE_SMSEMSPRT_H_ |
18 |
18 |
19 |
19 #include "TE_SMSEMSPRTBASE.h" |
20 // |
|
21 // Test Initialisation test object - Initializes the members |
|
22 // |
|
23 class CTestInit : public CSmsEmsPrtTestStep |
|
24 { |
|
25 public: |
|
26 virtual TVerdict doTestStepPreambleL() { return EPass; } |
|
27 virtual TVerdict doTestStepPostambleL() { return EPass; } |
|
28 TInt GetTestNumber() { return -1 ; /* return test order number */ } ; |
|
29 virtual TVerdict doTestStepL(); |
|
30 }; |
|
31 |
|
32 |
20 |
33 // |
21 // |
34 // Test EMS FormatA test object - basic Format IE test |
22 // Test EMS FormatA test object - basic Format IE test |
35 // |
23 // |
36 class CTestEmsFormatA : public CSmsEmsPrtTestStep |
24 class CTestEmsFormatA : public CSmsEmsPrtTestStep |
37 { |
25 { |
38 public: |
26 public: |
39 TInt GetTestNumber() { return 1 ; /* return test order number */ } ; |
|
40 virtual TVerdict doTestStepL(); |
27 virtual TVerdict doTestStepL(); |
41 }; |
28 }; |
42 |
29 |
43 |
30 |
44 // |
31 // |
94 // correctly |
77 // correctly |
95 // |
78 // |
96 class CTestEmsFormatF : public CSmsEmsPrtTestStep |
79 class CTestEmsFormatF : public CSmsEmsPrtTestStep |
97 { |
80 { |
98 public: |
81 public: |
99 TInt GetTestNumber() { return 6 ; /* return test order number */ } ; |
|
100 virtual TVerdict doTestStepL(); |
82 virtual TVerdict doTestStepL(); |
101 }; |
83 }; |
102 |
84 |
103 |
85 |
104 // |
86 // |
105 // Test EMS SoundA - predefined sounds |
87 // Test EMS SoundA - predefined sounds |
106 // |
88 // |
107 class CTestEmsSoundA : public CSmsEmsPrtTestStep |
89 class CTestEmsSoundA : public CSmsEmsPrtTestStep |
108 { |
90 { |
109 public: |
91 public: |
110 TInt GetTestNumber() { return 7 ; /* return test order number */ } ; |
|
111 virtual TVerdict doTestStepL(); |
92 virtual TVerdict doTestStepL(); |
112 }; |
93 }; |
113 |
94 |
114 |
95 |
115 // |
96 // |
116 // Test EMS SoundB - user-defined sounds |
97 // Test EMS SoundB - user-defined sounds |
117 // |
98 // |
118 class CTestEmsSoundB : public CSmsEmsPrtTestStep |
99 class CTestEmsSoundB : public CSmsEmsPrtTestStep |
119 { |
100 { |
120 public: |
101 public: |
121 TInt GetTestNumber() { return 8 ; /* return test order number */ } ; |
|
122 virtual TVerdict doTestStepL(); |
102 virtual TVerdict doTestStepL(); |
123 }; |
103 }; |
124 |
104 |
125 |
105 |
126 // |
106 // |
127 // Test EMS SoundC - userdefined sounds over 5 PDUs |
107 // Test EMS SoundC - userdefined sounds over 5 PDUs |
128 // |
108 // |
129 class CTestEmsSoundC : public CSmsEmsPrtTestStep |
109 class CTestEmsSoundC : public CSmsEmsPrtTestStep |
130 { |
110 { |
131 public: |
111 public: |
132 TInt GetTestNumber() { return 9 ; /* return test order number */ } ; |
|
133 virtual TVerdict doTestStepL(); |
112 virtual TVerdict doTestStepL(); |
134 }; |
113 }; |
135 |
114 |
136 |
115 |
137 // |
116 // |
138 // Test EMS SoundD - sending sound over 128 bytes |
117 // Test EMS SoundD - sending sound over 128 bytes |
139 // |
118 // |
140 class CTestEmsSoundD : public CSmsEmsPrtTestStep |
119 class CTestEmsSoundD : public CSmsEmsPrtTestStep |
141 { |
120 { |
142 public: |
121 public: |
143 TInt GetTestNumber() { return 10 ; /* return test order number */ } ; |
|
144 virtual TVerdict doTestStepL(); |
122 virtual TVerdict doTestStepL(); |
145 }; |
123 }; |
146 |
124 |
147 |
125 |
148 // |
126 // |
149 // Test EMS Picture - sending small, large, and variable pictures |
127 // Test EMS Picture - sending small, large, and variable pictures |
150 // |
128 // |
151 class CTestEmsPicture : public CSmsEmsPrtTestStep |
129 class CTestEmsPicture : public CSmsEmsPrtTestStep |
152 { |
130 { |
153 public: |
131 public: |
154 TInt GetTestNumber() { return 11 ; /* return test order number */ } ; |
|
155 virtual TVerdict doTestStepL(); |
132 virtual TVerdict doTestStepL(); |
156 }; |
133 }; |
157 |
134 |
158 |
135 |
159 // |
136 // |
160 // Test EMS Animations - sending predefined, large, and small animations |
137 // Test EMS Animations - sending predefined, large, and small animations |
161 // |
138 // |
162 class CTestEmsAnimation : public CSmsEmsPrtTestStep |
139 class CTestEmsAnimation : public CSmsEmsPrtTestStep |
163 { |
140 { |
164 public: |
141 public: |
165 TInt GetTestNumber() { return 12 ; /* return test order number */ } ; |
|
166 virtual TVerdict doTestStepL(); |
142 virtual TVerdict doTestStepL(); |
167 }; |
143 }; |
168 |
144 |
169 |
145 |
170 // |
146 // |
171 // Test EMS UserPromptA - basic scenario |
147 // Test EMS UserPromptA - basic scenario |
172 // |
148 // |
173 class CTestEmsUserPromptA : public CSmsEmsPrtTestStep |
149 class CTestEmsUserPromptA : public CSmsEmsPrtTestStep |
174 { |
150 { |
175 public: |
151 public: |
176 TInt GetTestNumber() { return 13 ; /* return test order number */ } ; |
|
177 virtual TVerdict doTestStepL(); |
152 virtual TVerdict doTestStepL(); |
178 }; |
153 }; |
179 |
154 |
180 |
155 |
181 // |
156 // |
208 }; |
182 }; |
209 |
183 |
210 class CTestEmsLongMessageA : public CTestEmsLongMsgBase |
184 class CTestEmsLongMessageA : public CTestEmsLongMsgBase |
211 { |
185 { |
212 public: |
186 public: |
213 TInt GetTestNumber() { return 15 ; /* return test order number */ } ; |
|
214 virtual TVerdict doTestStepL(); |
187 virtual TVerdict doTestStepL(); |
215 }; |
188 }; |
216 |
189 |
217 |
190 |
218 class CTestEmsLongMessageB : public CTestEmsLongMsgBase |
191 class CTestEmsLongMessageB : public CTestEmsLongMsgBase |
219 { |
192 { |
220 public: |
193 public: |
221 TInt GetTestNumber() { return 16 ; /* return test order number */ } ; |
|
222 virtual TVerdict doTestStepL(); |
194 virtual TVerdict doTestStepL(); |
223 }; |
195 }; |
224 |
196 |
225 |
197 |
226 class CTestEmsLongMessageC : public CTestEmsLongMsgBase |
198 class CTestEmsLongMessageC : public CTestEmsLongMsgBase |
227 { |
199 { |
228 public: |
200 public: |
229 TInt GetTestNumber() { return 17 ; /* return test order number */ } ; |
|
230 virtual TVerdict doTestStepL(); |
201 virtual TVerdict doTestStepL(); |
231 }; |
202 }; |
232 |
203 |
233 |
204 |
234 // |
205 // |
249 // should still compare OK. |
219 // should still compare OK. |
250 // |
220 // |
251 class CTestEmsUnsorted : public CSmsEmsPrtTestStep |
221 class CTestEmsUnsorted : public CSmsEmsPrtTestStep |
252 { |
222 { |
253 public: |
223 public: |
254 TInt GetTestNumber() { return 19 ; /* return test order number */ } ; |
|
255 virtual TVerdict doTestStepL(); |
224 virtual TVerdict doTestStepL(); |
256 }; |
225 }; |
257 |
226 |
258 |
227 |
259 // |
228 // |
260 // Test EMS TestEmsObjectDistributionA - basic scenario |
229 // Test EMS TestEmsObjectDistributionA - basic scenario |
261 // |
230 // |
262 class CTestEmsODIA : public CSmsEmsPrtTestStep |
231 class CTestEmsODIA : public CSmsEmsPrtTestStep |
263 { |
232 { |
264 public: |
233 public: |
265 TInt GetTestNumber() { return 20 ; /* return test order number */ } ; |
|
266 virtual TVerdict doTestStepL(); |
234 virtual TVerdict doTestStepL(); |
267 }; |
235 }; |
268 |
236 |
269 |
237 |
270 // |
238 // |
284 // two melodies at 20 and 21. |
251 // two melodies at 20 and 21. |
285 // |
252 // |
286 class CTestEmsODIC : public CSmsEmsPrtTestStep |
253 class CTestEmsODIC : public CSmsEmsPrtTestStep |
287 { |
254 { |
288 public: |
255 public: |
289 TInt GetTestNumber() { return 22 ; /* return test order number */ } ; |
|
290 virtual TVerdict doTestStepL(); |
256 virtual TVerdict doTestStepL(); |
291 }; |
257 }; |
292 |
258 |
293 |
259 |
294 // |
260 // |
295 // Test EMS TestEmsObjectDistributionD - test zero object count applies to all IEs |
261 // Test EMS TestEmsObjectDistributionD - test zero object count applies to all IEs |
296 // |
262 // |
297 class CTestEmsODID : public CSmsEmsPrtTestStep |
263 class CTestEmsODID : public CSmsEmsPrtTestStep |
298 { |
264 { |
299 public: |
265 public: |
300 TInt GetTestNumber() { return 23 ; /* return test order number */ } ; |
|
301 virtual TVerdict doTestStepL(); |
266 virtual TVerdict doTestStepL(); |
302 }; |
267 }; |
303 |
268 |
304 |
269 |
305 // |
270 // |
306 // Test EMS TestEmsObjectDistributionE - apply two odi IEs over more than 1 PDUs |
271 // Test EMS TestEmsObjectDistributionE - apply two odi IEs over more than 1 PDUs |
307 // |
272 // |
308 class CTestEmsODIE : public CSmsEmsPrtTestStep |
273 class CTestEmsODIE : public CSmsEmsPrtTestStep |
309 { |
274 { |
310 public: |
275 public: |
311 TInt GetTestNumber() { return 24 ; /* return test order number */ } ; |
|
312 virtual TVerdict doTestStepL(); |
276 virtual TVerdict doTestStepL(); |
313 }; |
277 }; |
314 |
278 |
315 |
279 |
316 // |
280 // |
317 // Test EMS TestEmsObjectDistributionF - apply odi and user prompt in wrong order |
281 // Test EMS TestEmsObjectDistributionF - apply odi and user prompt in wrong order |
318 // |
282 // |
319 class CTestEmsODIF : public CSmsEmsPrtTestStep |
283 class CTestEmsODIF : public CSmsEmsPrtTestStep |
320 { |
284 { |
321 public: |
285 public: |
322 TInt GetTestNumber() { return 25 ; /* return test order number */ } ; |
|
323 virtual TVerdict doTestStepL(); |
286 virtual TVerdict doTestStepL(); |
324 }; |
287 }; |
325 |
288 |
326 |
289 |
327 #endif |
290 #endif |