|
1 // |
|
2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 //! @file |
|
18 //! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-comb_pt |
|
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
20 // |
|
21 // Tests all public elements of the CMMFDevSound |
|
22 // classes as a means of confidence that the APIs work as expected. |
|
23 // |
|
24 // The purpose is to provide a regression test suite of PublishedAll |
|
25 // APIs for: CMMFDevSound |
|
26 // The tests are fully automated. |
|
27 // |
|
28 |
|
29 |
|
30 |
|
31 LOAD_SUITE t_devsound |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001 |
|
38 |
|
39 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001 |
|
40 //!@SYMAPI |
|
41 //! TEST_BLOCK 001 |
|
42 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
43 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
44 //! CMMFDevSound::Capabilities() |
|
45 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
46 //! CMMFDevSound::PlayInitL() |
|
47 //! CMMFDevSound::Stop() |
|
48 //! TEST_BLOCK 002 |
|
49 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
50 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
51 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
52 //!@SYMAuthor jguillermo |
|
53 //!@SYMCreationDate 7/28/2008 |
|
54 //!@SYMTestCaseDesc Calendar alarm during alarm clock |
|
55 //!@SYMTestActions |
|
56 //! TEST_BLOCK 001 |
|
57 //! 1. Create DevSound instance |
|
58 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3) |
|
59 //! 3. Set Priority (Priority = {Priority,PriorityCalendarAlarm}; Preference = {PriorityPreference,PriorityPreferenceClockAlarm};PriorityState=EMMFStatePlaying) |
|
60 //! 4. Capabilities |
|
61 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
62 //! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
63 //! 7. Start Play for 20 seconds |
|
64 //! 8. Stop |
|
65 //! 9. Close file |
|
66 //! 10. Destroy DevSound instance |
|
67 //! TEST_BLOCK 002 |
|
68 //! 1. Create DevSound instance |
|
69 //! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC) |
|
70 //! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying) |
|
71 //! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
72 //! 5. Delete DevSound instance. |
|
73 //!@SYMTestStatus Verified |
|
74 //!@SYMTestPriority High |
|
75 //!@SYMTestExpectedResults |
|
76 //! Calendar alarm during alarm clock |
|
77 //! TEST_BLOCK 001 |
|
78 //! MP3 playback for 20 s |
|
79 //! TEST_BLOCK 002 |
|
80 //! Play tone sequence |
|
81 //!@SYMTestType CIT |
|
82 |
|
83 |
|
84 CONCURRENT |
|
85 |
|
86 |
|
87 |
|
88 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
89 CREATE_OBJECT CMMFDevSound devsound1 |
|
90 COMMAND devsound1 NewL |
|
91 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-InitializeL_command02 |
|
92 OUTSTANDING |
|
93 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetPrioritySettings_command03 |
|
94 COMMAND devsound1 Capabilities |
|
95 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetConfigL_command05 |
|
96 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-OpenFile_command06 |
|
97 COMMAND devsound1 PlayInitL |
|
98 ASYNC_DELAY 20000000 |
|
99 COMMAND devsound1 Stop |
|
100 COMMAND devsound1 CloseFile |
|
101 COMMAND devsound1 ~ |
|
102 END_TEST_BLOCK |
|
103 |
|
104 |
|
105 |
|
106 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
107 CREATE_OBJECT CMMFDevSound devsound1 |
|
108 COMMAND devsound1 NewL |
|
109 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-InitializeL_command02 |
|
110 OUTSTANDING |
|
111 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-SetPrioritySettings_command03 |
|
112 DELAY 10000000 |
|
113 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-PlayToneSequenceL_command04 |
|
114 OUTSTANDING |
|
115 COMMAND devsound1 ~ |
|
116 END_TEST_BLOCK |
|
117 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002 |
|
123 |
|
124 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002 |
|
125 //!@SYMAPI |
|
126 //! TEST_BLOCK 001 |
|
127 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState) |
|
128 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) |
|
129 //! CMMFDevSound::Capabilities() |
|
130 //! CMMFDevSound::SetConfigL(const TMMFCapabilities ) |
|
131 //! CMMFDevSound::PlayInitL() |
|
132 //! CMMFDevSound::Stop() |
|
133 //! TEST_BLOCK 002 |
|
134 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
135 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
136 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
137 //!@SYMAuthor etorres |
|
138 //!@SYMCreationDate 8/25/2008 |
|
139 //!@SYMTestCaseDesc Calendar alarm during incoming call |
|
140 //!@SYMTestActions |
|
141 //! TEST_BLOCK 001 |
|
142 //! 1. Create DevSound instance |
|
143 //! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3) |
|
144 //! 3. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall};PriorityState=EMMFStatePlaying) |
|
145 //! 4. Capabilities |
|
146 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
147 //! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
148 //! 7. Start Play for 20 seconds |
|
149 //! 8. Stop |
|
150 //! 9. Close file |
|
151 //! 10. Destroy DevSound instance |
|
152 //! TEST_BLOCK 002 |
|
153 //! 1. Create DevSound instance |
|
154 //! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC) |
|
155 //! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying) |
|
156 //! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
157 //! 5. Delete DevSound instance. |
|
158 //!@SYMTestStatus Verified |
|
159 //!@SYMTestPriority High |
|
160 //!@SYMTestExpectedResults |
|
161 //! Calendar alarm during incoming call |
|
162 //! TEST_BLOCK 001 |
|
163 //! MP3 playback for 20s |
|
164 //! TEST_BLOCK 002 |
|
165 //! Expected error -21 during playtone sequence |
|
166 //!@SYMTestType CIT |
|
167 |
|
168 |
|
169 CONCURRENT |
|
170 |
|
171 |
|
172 |
|
173 START_TEST_BLOCK 30 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
174 CREATE_OBJECT CMMFDevSound devsound1 |
|
175 COMMAND devsound1 NewL |
|
176 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-InitializeL_command02 |
|
177 OUTSTANDING |
|
178 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetPrioritySettings_command03 |
|
179 COMMAND devsound1 Capabilities |
|
180 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetConfigL_command05 |
|
181 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-OpenFile_command06 |
|
182 COMMAND devsound1 PlayInitL |
|
183 ASYNC_DELAY 20000000 |
|
184 COMMAND devsound1 Stop |
|
185 COMMAND devsound1 CloseFile |
|
186 COMMAND devsound1 ~ |
|
187 END_TEST_BLOCK |
|
188 |
|
189 |
|
190 |
|
191 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
192 CREATE_OBJECT CMMFDevSound devsound1 |
|
193 COMMAND devsound1 NewL |
|
194 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-InitializeL_command02 |
|
195 OUTSTANDING |
|
196 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-SetPrioritySettings_command03 |
|
197 DELAY 10000000 |
|
198 COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-PlayToneSequenceL_command05 |
|
199 OUTSTANDING |
|
200 COMMAND devsound1 ~ |
|
201 END_TEST_BLOCK |
|
202 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002 |
|
203 |
|
204 |
|
205 |
|
206 |
|
207 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003 |
|
208 |
|
209 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003 |
|
210 //!@SYMAPI |
|
211 //! TEST_BLOCK 001 |
|
212 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
213 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
214 //! CMMFDevSound::Capabilities() |
|
215 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
216 //! CMMFDevSound::PlayInitL() |
|
217 //! TEST_BLOCK 002 |
|
218 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
219 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
220 //! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}) |
|
221 //! CMMFDevSound::PlayInitL() |
|
222 //!@SYMAuthor jpacho |
|
223 //!@SYMCreationDate 7/28/2008 |
|
224 //!@SYMTestCaseDesc DTMF tones during audio playback |
|
225 //!@SYMTestActions |
|
226 //! TEST_BLOCK 001 |
|
227 //! 1. Create Devsound instance |
|
228 //! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm) |
|
229 //! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
230 //! 4. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying) |
|
231 //! 5. Capabilities |
|
232 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz) |
|
233 //! 7. Start Play for 20 seconds |
|
234 //! 8.Stop |
|
235 //! 9.Close file |
|
236 //! 10.Destroy Devsound instance |
|
237 //! TEST_BLOCK 002 |
|
238 //! 1. Create DevSound instance |
|
239 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC) |
|
240 //! 3. Set priority settings & delay 1s ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying) |
|
241 //! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000) |
|
242 //! 5. Start DTMF Play (DTMFString = 1234567890) |
|
243 //! 6. Destroy DevSound instance |
|
244 //!@SYMTestStatus Delivered |
|
245 //!@SYMTestPriority High |
|
246 //!@SYMTestExpectedResults |
|
247 //! DTMF tones during audio playback |
|
248 //! TEST_BLOCK 001 |
|
249 //! RAW playback for 20 s |
|
250 //! TEST_BLOCK 002 |
|
251 //! DTMF play |
|
252 //!@SYMTestType CIT |
|
253 |
|
254 |
|
255 CONCURRENT |
|
256 |
|
257 |
|
258 |
|
259 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
260 CREATE_OBJECT CMMFDevSound devsound1 |
|
261 COMMAND devsound1 NewL |
|
262 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-OpenFile_command02 |
|
263 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-InitializeL_command03 |
|
264 OUTSTANDING |
|
265 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetPrioritySettings_command04 |
|
266 COMMAND devsound1 Capabilities |
|
267 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetConfigL_command06 |
|
268 COMMAND devsound1 PlayInitL |
|
269 ASYNC_DELAY 20000000 |
|
270 COMMAND devsound1 Stop |
|
271 DELAY 2000000 |
|
272 COMMAND devsound1 CloseFile |
|
273 COMMAND devsound1 ~ |
|
274 END_TEST_BLOCK |
|
275 |
|
276 |
|
277 |
|
278 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
279 CREATE_OBJECT CMMFDevSound devsound1 |
|
280 COMMAND devsound1 NewL |
|
281 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-InitializeL_command02 |
|
282 OUTSTANDING |
|
283 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetPrioritySettings_command03 |
|
284 DELAY 10000000 |
|
285 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetDTMFLengths_command04 |
|
286 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-PlayDTMFStringL_command05 |
|
287 ASYNC_DELAY 3000000 |
|
288 COMMAND devsound1 ~ |
|
289 END_TEST_BLOCK |
|
290 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003 |
|
291 |
|
292 |
|
293 |
|
294 |
|
295 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004 |
|
296 |
|
297 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004 |
|
298 //!@SYMAPI |
|
299 //! TEST_BLOCK 001 |
|
300 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
301 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref}) |
|
302 //! CMMFDevSound::Capabilities() |
|
303 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref}) |
|
304 //! CMMFDevSound::PlayInitL() |
|
305 //! TEST_BLOCK 002 |
|
306 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
307 //! CMMFDevSound::SetPrioritySettings(const |
|
308 //! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref}) |
|
309 //! CMMFDevSound::Pause() |
|
310 //! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref}) |
|
311 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
312 //! CMMFDevSound::Stop() |
|
313 //!@SYMAuthor myanez |
|
314 //!@SYMCreationDate 8/25/2008 |
|
315 //!@SYMTestCaseDesc Incoming call during audio playback |
|
316 //!@SYMTestActions |
|
317 //! TEST_BLOCK 001 |
|
318 //! 1. Create Devsound Instance |
|
319 //! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
320 //! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3) |
|
321 //! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying) |
|
322 //! 5. Capabilities |
|
323 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
324 //! 7. Start Play for 30 seconds |
|
325 //! 8. Stop |
|
326 //! 9. Close File |
|
327 //! 10. Destroy Devsound Instance |
|
328 //! TEST_BLOCK 002 |
|
329 //! 1. Create DevSound instance |
|
330 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC) |
|
331 //! 3. Set priority settings ( Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying) |
|
332 //! 4. Pause for 10 seconds(Pause=TRUE) |
|
333 //! 5. Set tone repeats (RepeatCount = 5; RepeatTrailingSilence = 0) |
|
334 //! 6. Play tone sequence 10 seconds(Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt) |
|
335 //! 7. Stop |
|
336 //! 8. Destroy DevSound instance |
|
337 //!@SYMTestStatus Verified |
|
338 //!@SYMTestPriority High |
|
339 //!@SYMTestExpectedResults |
|
340 //! Incoming call during audio playback |
|
341 //! TEST_BLOCK 001 |
|
342 //! MP3 playback for 30s |
|
343 //! TEST_BLOCK 002 |
|
344 //! Play tone sequence |
|
345 //!@SYMTestType CIT |
|
346 |
|
347 |
|
348 CONCURRENT |
|
349 |
|
350 |
|
351 |
|
352 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
353 CREATE_OBJECT CMMFDevSound devsound1 |
|
354 COMMAND devsound1 NewL |
|
355 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-OpenFile_command02 |
|
356 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-InitializeL_command03 |
|
357 OUTSTANDING |
|
358 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetPrioritySettings_command04 |
|
359 COMMAND devsound1 Capabilities |
|
360 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetConfigL_command06 |
|
361 COMMAND devsound1 PlayInitL |
|
362 ASYNC_DELAY 30000000 |
|
363 COMMAND devsound1 Stop |
|
364 COMMAND devsound1 CloseFile |
|
365 COMMAND devsound1 ~ |
|
366 END_TEST_BLOCK |
|
367 |
|
368 |
|
369 |
|
370 START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
371 CREATE_OBJECT CMMFDevSound devsound1 |
|
372 COMMAND devsound1 NewL |
|
373 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-InitializeL_command02 |
|
374 OUTSTANDING |
|
375 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetPrioritySettings_command03 |
|
376 COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-Stop_command04 |
|
377 DELAY 10000000 |
|
378 COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetToneRepeats_command05 |
|
379 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-PlayToneSequenceL_command06 |
|
380 ASYNC_DELAY 10000000 |
|
381 COMMAND devsound1 Stop |
|
382 COMMAND devsound1 ~ |
|
383 END_TEST_BLOCK |
|
384 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004 |
|
385 |
|
386 |
|
387 |
|
388 |
|
389 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005 |
|
390 |
|
391 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005 |
|
392 //!@SYMAPI |
|
393 //! TEST_BLOCK 001 |
|
394 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
395 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
396 //! CMMFDevSound::Capabilities() |
|
397 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
398 //! CMMFDevSound::PlayInitL() |
|
399 //! TEST_BLOCK 002 |
|
400 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
401 //! CMMFDevSound::SetPrioritySettings(const |
|
402 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
403 //! CMMFDevSound::Stop() |
|
404 //!@SYMAuthor fperez |
|
405 //!@SYMCreationDate 7/28/2008 |
|
406 //!@SYMTestCaseDesc Incoming SMS during alarm clock |
|
407 //!@SYMTestActions |
|
408 //! TEST_BLOCK 001 |
|
409 //! 1. Create Devsound instance |
|
410 //! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3) |
|
411 //! 3. Set Priority (Priority= {Priority,PriorityClockAlarm}; Preference= {PriorityPreference,PriorityPreferenceClockAlarm}; PriorityState= EMMFStatePlaying) |
|
412 //! 4. Capabilities |
|
413 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
414 //! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
415 //! 7. Play 20 seconds |
|
416 //! 8. CloseFile |
|
417 //! 9. Delete devsound instance |
|
418 //! |
|
419 //! TEST_BLOCK 002 |
|
420 //! 1. Create Devsound instance |
|
421 //! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC) |
|
422 //! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds |
|
423 //! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
424 //! 5. Delete devsound instance |
|
425 //! |
|
426 //!@SYMTestStatus Verified |
|
427 //!@SYMTestPriority High |
|
428 //!@SYMTestExpectedResults |
|
429 //! Incoming SMS during alarm clock |
|
430 //! TEST_BLOCK 001 |
|
431 //! MP3 playback for 20s |
|
432 //! TEST_BLOCK 002 |
|
433 //! Play tone sequence with expected error -21 |
|
434 //!@SYMTestType CIT |
|
435 |
|
436 |
|
437 CONCURRENT |
|
438 |
|
439 |
|
440 |
|
441 START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
442 CREATE_OBJECT CMMFDevSound devsound1 |
|
443 COMMAND devsound1 NewL |
|
444 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-InitializeL_command02 |
|
445 OUTSTANDING |
|
446 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetPrioritySettings_command03 |
|
447 COMMAND devsound1 Capabilities |
|
448 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetConfigL_command05 |
|
449 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-OpenFile_command06 |
|
450 COMMAND devsound1 PlayInitL |
|
451 ASYNC_DELAY 20000000 |
|
452 COMMAND devsound1 CloseFile |
|
453 COMMAND devsound1 ~ |
|
454 END_TEST_BLOCK |
|
455 |
|
456 |
|
457 |
|
458 START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
459 CREATE_OBJECT CMMFDevSound devsound1 |
|
460 COMMAND devsound1 NewL |
|
461 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-InitializeL_command02 |
|
462 OUTSTANDING |
|
463 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-SetPrioritySettings_command03 |
|
464 DELAY 10000000 |
|
465 COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-PlayToneSequenceL_command05 |
|
466 OUTSTANDING |
|
467 COMMAND devsound1 ~ |
|
468 END_TEST_BLOCK |
|
469 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005 |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006 |
|
475 |
|
476 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006 |
|
477 //!@SYMAPI |
|
478 //! TEST_BLOCK 001 |
|
479 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState) |
|
480 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) |
|
481 //! CMMFDevSound::Capabilities() |
|
482 //! CMMFDevSound::SetConfigL(const TMMFCapabilities ) |
|
483 //! CMMFDevSound::PlayInitL() |
|
484 //! CMMFDevSound::Stop() |
|
485 //! TEST_BLOCK 002 |
|
486 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
487 //! CMMFDevSound::SetPrioritySettings(const |
|
488 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
489 //! CMMFDevSound::Stop() |
|
490 //!@SYMAuthor fperez |
|
491 //!@SYMCreationDate 7/28/2008 |
|
492 //!@SYMTestCaseDesc Incoming SMS during audio playback |
|
493 //!@SYMTestActions |
|
494 //! TEST_BLOCK 001 |
|
495 //! 1. Create Devsound instance |
|
496 //! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3) |
|
497 //! 3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying) |
|
498 //! 4. Capabilities |
|
499 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
500 //! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
501 //! 7. Play 25 seconds |
|
502 //! 8. Stop |
|
503 //! 9. CloseFile |
|
504 //! 10. Delete devsound instance |
|
505 //! |
|
506 //! TEST_BLOCK 002 |
|
507 //! 1. Create Devsound instance |
|
508 //! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC) |
|
509 //! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds |
|
510 //! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
511 //! 5. Delete devsound instance |
|
512 //! |
|
513 //!@SYMTestStatus Verified |
|
514 //!@SYMTestPriority High |
|
515 //!@SYMTestExpectedResults |
|
516 //! Incoming SMS during audio playback |
|
517 //! TEST_BLOCK 001 |
|
518 //! MP3 playback for 25s |
|
519 //! TEST_BLOCK 002 |
|
520 //! Play tone sequence |
|
521 //!@SYMTestType CIT |
|
522 |
|
523 |
|
524 CONCURRENT |
|
525 |
|
526 |
|
527 |
|
528 START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
529 CREATE_OBJECT CMMFDevSound devsound1 |
|
530 COMMAND devsound1 NewL |
|
531 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-InitializeL_command02 |
|
532 OUTSTANDING |
|
533 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetPrioritySettings_command03 |
|
534 COMMAND devsound1 Capabilities |
|
535 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetConfigL_command05 |
|
536 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-OpenFile_command06 |
|
537 COMMAND devsound1 PlayInitL |
|
538 ASYNC_DELAY 25000000 |
|
539 COMMAND devsound1 Stop |
|
540 DELAY 2000000 |
|
541 COMMAND devsound1 CloseFile |
|
542 COMMAND devsound1 ~ |
|
543 END_TEST_BLOCK |
|
544 |
|
545 |
|
546 |
|
547 START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
548 CREATE_OBJECT CMMFDevSound devsound1 |
|
549 COMMAND devsound1 NewL |
|
550 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-InitializeL_command02 |
|
551 OUTSTANDING |
|
552 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-SetPrioritySettings_command03 |
|
553 DELAY 10000000 |
|
554 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-PlayToneSequenceL_command04 |
|
555 OUTSTANDING |
|
556 COMMAND devsound1 ~ |
|
557 END_TEST_BLOCK |
|
558 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007 |
|
564 |
|
565 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007 |
|
566 //!@SYMAPI |
|
567 //! TEST_BLOCK 001 |
|
568 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState) |
|
569 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) |
|
570 //! CMMFDevSound::Capabilities() |
|
571 //! CMMFDevSound::SetConfigL(const TMMFCapabilities ) |
|
572 //! CMMFDevSound::PlayInitL() |
|
573 //! CMMFDevSound::Stop() |
|
574 //! TEST_BLOCK 002 |
|
575 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
576 //! CMMFDevSound::SetPrioritySettings(const |
|
577 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
578 //! CMMFDevSound::Stop() |
|
579 //!@SYMAuthor fperez |
|
580 //!@SYMCreationDate 7/28/2008 |
|
581 //!@SYMTestCaseDesc Incoming SMS during incoming call |
|
582 //!@SYMTestActions |
|
583 //! TEST_BLOCK 001 |
|
584 //! 1. Create Devsound instance |
|
585 //! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3) |
|
586 //! 3. Set Priority (Priority= {Priority,PriorityIncomingCall}; Preference= {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState= EMMFStatePlaying) |
|
587 //! 4. Capabilities |
|
588 //! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
589 //! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
590 //! 7. Play 20 seconds |
|
591 //! 8. Stop for 2s |
|
592 //! 9. CloseFile |
|
593 //! 10. Delete devsound instance |
|
594 //! |
|
595 //! TEST_BLOCK 002 |
|
596 //! 1. Create Devsound instance |
|
597 //! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC) |
|
598 //! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds |
|
599 //! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
600 //! 5. Delete devsound instance |
|
601 //! |
|
602 //!@SYMTestStatus Verified |
|
603 //!@SYMTestPriority High |
|
604 //!@SYMTestExpectedResults |
|
605 //! Incoming SMS during incoming call |
|
606 //! TEST_BLOCK 001 |
|
607 //! MP3 playback for 20s |
|
608 //! TEST_BLOCK 002 |
|
609 //! Play tone sequence with expected error -21 |
|
610 //!@SYMTestType CIT |
|
611 |
|
612 |
|
613 CONCURRENT |
|
614 |
|
615 |
|
616 |
|
617 START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
618 CREATE_OBJECT CMMFDevSound devsound1 |
|
619 COMMAND devsound1 NewL |
|
620 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-InitializeL_command02 |
|
621 OUTSTANDING |
|
622 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetPrioritySettings_command03 |
|
623 COMMAND devsound1 Capabilities |
|
624 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetConfigL_command05 |
|
625 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-OpenFile_command06 |
|
626 COMMAND devsound1 PlayInitL |
|
627 ASYNC_DELAY 20000000 |
|
628 COMMAND devsound1 Stop |
|
629 DELAY 2000000 |
|
630 COMMAND devsound1 CloseFile |
|
631 COMMAND devsound1 ~ |
|
632 END_TEST_BLOCK |
|
633 |
|
634 |
|
635 |
|
636 START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
637 CREATE_OBJECT CMMFDevSound devsound1 |
|
638 COMMAND devsound1 NewL |
|
639 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-InitializeL_command02 |
|
640 OUTSTANDING |
|
641 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-SetPrioritySettings_command03 |
|
642 DELAY 10000000 |
|
643 COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-PlayToneSequenceL_command05 |
|
644 OUTSTANDING |
|
645 COMMAND devsound1 ~ |
|
646 END_TEST_BLOCK |
|
647 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007 |
|
648 |
|
649 |
|
650 |
|
651 |
|
652 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008 |
|
653 |
|
654 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008 |
|
655 //!@SYMAPI |
|
656 //! TEST_BLOCK 001 |
|
657 //! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState) |
|
658 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings ) |
|
659 //! CMMFDevSound::Capabilities() |
|
660 //! CMMFDevSound::SetConfigL(const TMMFCapabilities ) |
|
661 //! CMMFDevSound::PlayInitL() |
|
662 //! TEST_BLOCK 002 |
|
663 //! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState) |
|
664 //! CMMFDevSound::SetPrioritySettings(const |
|
665 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
666 //! CMMFDevSound::Stop() |
|
667 //!@SYMAuthor jpacho |
|
668 //!@SYMCreationDate 7/28/2008 |
|
669 //!@SYMTestCaseDesc NRT tone playback during audio playback |
|
670 //!@SYMTestActions |
|
671 //! TEST_BLOCK 001 |
|
672 //! 1. Create Devsound instance |
|
673 //! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm) |
|
674 //! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW}) |
|
675 //! 4. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying) |
|
676 //! 5. Capabilities |
|
677 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz) |
|
678 //! 7. Start Play for 30 seconds |
|
679 //! 8. Stop for 2s |
|
680 //! 9.Close file |
|
681 //! 10.Destroy Devsound instance |
|
682 //! TEST_BLOCK 002 |
|
683 //! 1. Create DevSound instance |
|
684 //! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC) |
|
685 //! 3. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying) |
|
686 //! 4. Play tone sequence 10s (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt) |
|
687 //! 5. Stop sequence for 2s |
|
688 //! 6. Delete DevSound instance. |
|
689 //!@SYMTestStatus Verified |
|
690 //!@SYMTestPriority High |
|
691 //!@SYMTestExpectedResults |
|
692 //! NRT tone playback during audio playback |
|
693 //! TEST_BLOCK 001 |
|
694 //! RAW playback for 30s |
|
695 //! TEST_BLOCK 002 |
|
696 //! Play tone sequence |
|
697 //!@SYMTestType CIT |
|
698 |
|
699 |
|
700 CONCURRENT |
|
701 |
|
702 |
|
703 |
|
704 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
705 CREATE_OBJECT CMMFDevSound devsound1 |
|
706 COMMAND devsound1 NewL |
|
707 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-OpenFile_command02 |
|
708 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-InitializeL_command03 |
|
709 OUTSTANDING |
|
710 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetPrioritySettings_command04 |
|
711 COMMAND devsound1 Capabilities |
|
712 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetConfigL_command06 |
|
713 COMMAND devsound1 PlayInitL |
|
714 ASYNC_DELAY 30000000 |
|
715 COMMAND devsound1 Stop |
|
716 DELAY 2000000 |
|
717 COMMAND devsound1 CloseFile |
|
718 COMMAND devsound1 ~ |
|
719 END_TEST_BLOCK |
|
720 |
|
721 |
|
722 |
|
723 START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
724 CREATE_OBJECT CMMFDevSound devsound1 |
|
725 COMMAND devsound1 NewL |
|
726 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-InitializeL_command02 |
|
727 OUTSTANDING |
|
728 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-SetPrioritySettings_command03 |
|
729 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-PlayToneSequenceL_command04 |
|
730 ASYNC_DELAY 10000000 |
|
731 COMMAND devsound1 Stop |
|
732 DELAY 2000000 |
|
733 COMMAND devsound1 ~ |
|
734 END_TEST_BLOCK |
|
735 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008 |
|
736 |
|
737 |
|
738 |
|
739 |
|
740 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009 |
|
741 |
|
742 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009 |
|
743 //!@SYMAPI |
|
744 //! TEST_BLOCK 001 |
|
745 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
746 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
747 //! CMMFDevSound::Capabilities() |
|
748 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
749 //! CMMFDevSound::PlayInitL() |
|
750 //! TEST_BLOCK 002 |
|
751 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
752 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
753 //! CMMFDevSound::Capabilities() |
|
754 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
755 //! CMMFDevSound::PlayInitL() |
|
756 //! CMMFDevSound::RecordInitL() |
|
757 //! TEST_BLOCK 003 |
|
758 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
759 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
760 //! CMMFDevSound::Capabilities() |
|
761 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
762 //! CMMFDevSound::PlayInitL() |
|
763 //!@SYMAuthor ddamian |
|
764 //!@SYMCreationDate 8/11/2008 |
|
765 //!@SYMTestCaseDesc DTMF tones during WB VoIP call - non-signaling |
|
766 //!@SYMTestActions |
|
767 //! TEST_BLOCK 001 |
|
768 //! 1.- Create DevSound instance |
|
769 //! 2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB) |
|
770 //! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying) |
|
771 //! 4.- Capabilities |
|
772 //! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
773 //! 6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb) |
|
774 //! 7.- Play 32 sec |
|
775 //! 8.- Stop |
|
776 //! 9.- Close File |
|
777 //! 10.- Destroy DevSound instance |
|
778 //! TEST_BLOCK 002 |
|
779 //! 1.- Create DevSound instance |
|
780 //! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB) |
|
781 //! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording) |
|
782 //! 4.- Capabilities |
|
783 //! 5.- Set Configuration and wait 2 sec (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
784 //! 6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb) |
|
785 //! 7.- Record Init 30s |
|
786 //! 8.- Stop and wait 5 sec. |
|
787 //! 9.- Close File |
|
788 //! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB) |
|
789 //! 11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying) |
|
790 //! 12.- Capabilities |
|
791 //! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz) |
|
792 //! 14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb) |
|
793 //! 15.- Play |
|
794 //! 16.- Close file |
|
795 //! 17.- Destroy DevSound instance |
|
796 //! TEST_BLOCK 003 |
|
797 //! 1. Create DevSound instance |
|
798 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= none) |
|
799 //! 3. Set priority settings and wait 12 sec ( Priority = {Priority,PriorityDTMFKeyPress}; Preference = {PriorityPreference,PriorityPreferenceDTMFKeyPress} ; PriorityState=EMMFStateTonePlaying) |
|
800 //! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000) |
|
801 //! 5. Start DTMF Play (DTMFString = 1234567890) |
|
802 //! 6. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000) |
|
803 //! 7. Start DTMF Play (DTMFString = 1234567890) |
|
804 //! 8. Destroy DevSound instance |
|
805 //!@SYMTestStatus Verified |
|
806 //!@SYMTestPriority High |
|
807 //!@SYMTestExpectedResults |
|
808 //! DTMF tones during WB VoIP call - non-signaling |
|
809 //! TEST_BLOCK 001 |
|
810 //! AMR-WB playback as VoIPCallDown |
|
811 //! TEST_BLOCK 002 |
|
812 //! AMR-WB playback as VoIPCallUp |
|
813 //! TEST_BLOCK 003 |
|
814 //! DTMF tones playback |
|
815 //!@SYMTestType CIT |
|
816 |
|
817 |
|
818 CONCURRENT |
|
819 |
|
820 |
|
821 |
|
822 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
823 CREATE_OBJECT CMMFDevSound devsound1 |
|
824 COMMAND devsound1 NewL |
|
825 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-InitializeL_command02 |
|
826 OUTSTANDING |
|
827 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetPrioritySettings_command03 |
|
828 COMMAND devsound1 Capabilities |
|
829 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetConfigL_command05 |
|
830 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-OpenFile_command06 |
|
831 COMMAND devsound1 PlayInitL |
|
832 ASYNC_DELAY 32000000 |
|
833 COMMAND devsound1 Stop |
|
834 COMMAND devsound1 CloseFile |
|
835 COMMAND devsound1 ~ |
|
836 END_TEST_BLOCK |
|
837 |
|
838 |
|
839 |
|
840 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
841 CREATE_OBJECT CMMFDevSound devsound1 |
|
842 COMMAND devsound1 NewL |
|
843 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command02 |
|
844 OUTSTANDING |
|
845 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command03 |
|
846 COMMAND devsound1 Capabilities |
|
847 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command05 |
|
848 DELAY 2000000 |
|
849 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-ReplaceFile_command06 |
|
850 COMMAND devsound1 RecordInitL |
|
851 ASYNC_DELAY 30000000 |
|
852 COMMAND devsound1 Stop |
|
853 DELAY 5000000 |
|
854 COMMAND devsound1 CloseFile |
|
855 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command10 |
|
856 OUTSTANDING |
|
857 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command11 |
|
858 COMMAND devsound1 Capabilities |
|
859 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command13 |
|
860 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-OpenFile_command14 |
|
861 COMMAND devsound1 PlayInitL |
|
862 OUTSTANDING |
|
863 COMMAND devsound1 CloseFile |
|
864 COMMAND devsound1 ~ |
|
865 END_TEST_BLOCK |
|
866 |
|
867 |
|
868 |
|
869 START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
870 CREATE_OBJECT CMMFDevSound devsound1 |
|
871 COMMAND devsound1 NewL |
|
872 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-InitializeL_command02 |
|
873 OUTSTANDING |
|
874 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetPrioritySettings_command03 |
|
875 DELAY 12000000 |
|
876 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command04 |
|
877 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command05 |
|
878 ASYNC_DELAY 3000000 |
|
879 COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command06 |
|
880 COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command07 |
|
881 ASYNC_DELAY 3000000 |
|
882 COMMAND devsound1 ~ |
|
883 END_TEST_BLOCK |
|
884 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009 |
|
885 |
|
886 |
|
887 |
|
888 |
|
889 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010 |
|
890 |
|
891 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010 |
|
892 //!@SYMAPI |
|
893 //! TEST_BLOCK 001 |
|
894 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
895 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
896 //! CMMFDevSound::Capabilities() |
|
897 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
898 //! CMMFDevSound::PlayInitL() |
|
899 //! TEST_BLOCK 002 |
|
900 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState) |
|
901 //! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref}) |
|
902 //! CMMFDevSound::Capabilities() |
|
903 //! CMMFDevSound::SetConfigL(TMMFCapabilities {ref}) |
|
904 //! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref}) |
|
905 //!@SYMAuthor jpacho |
|
906 //!@SYMCreationDate 8/25/2008 |
|
907 //!@SYMTestCaseDesc Incoming SMS during Mobile TV playback |
|
908 //!@SYMTestActions |
|
909 //! TEST_BLOCK 001 |
|
910 //! 1. Create DevSound instance |
|
911 //! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3) |
|
912 //! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= MP3) |
|
913 //! 4. Set priority settings ( Priority = {Priority,PriorityMobileTV}; Preference ={PriorityPreference,PriorityPreferenceMobileTV}; PriorityState=EMMFStatePlaying) |
|
914 //! 5. Capabilities |
|
915 //! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz) |
|
916 //! 7. Start play 20s |
|
917 //! 8. Close file |
|
918 //! 9.Destroy DevSound instance. |
|
919 //! TEST_BLOCK 002 |
|
920 //! 1. Create DevSound instance |
|
921 //! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= MP3) |
|
922 //! 3. Set priority settings delay 10s ( Priority = {Priority,PriorityReceivedSMS}; Preference = {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState=EMMFStateTonePlaying) |
|
923 //! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt) |
|
924 //! 5. Delete DevSound instance. |
|
925 //!@SYMTestStatus Verified |
|
926 //!@SYMTestPriority High |
|
927 //!@SYMTestExpectedResults |
|
928 //! Incoming SMS during Mobile TV playback |
|
929 //! TEST_BLOCK 001 |
|
930 //! MP3 playback as Mobile TV |
|
931 //! TEST_BLOCK 002 |
|
932 //! NRT playback as Tone playing |
|
933 //!@SYMTestType CIT |
|
934 |
|
935 |
|
936 CONCURRENT |
|
937 |
|
938 |
|
939 |
|
940 START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
941 CREATE_OBJECT CMMFDevSound devsound1 |
|
942 COMMAND devsound1 NewL |
|
943 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-OpenFile_command02 |
|
944 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-InitializeL_command03 |
|
945 OUTSTANDING |
|
946 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetPrioritySettings_command04 |
|
947 COMMAND devsound1 Capabilities |
|
948 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetConfigL_command06 |
|
949 COMMAND devsound1 PlayInitL |
|
950 ASYNC_DELAY 20000000 |
|
951 COMMAND devsound1 CloseFile |
|
952 COMMAND devsound1 ~ |
|
953 END_TEST_BLOCK |
|
954 |
|
955 |
|
956 |
|
957 START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini |
|
958 CREATE_OBJECT CMMFDevSound devsound1 |
|
959 COMMAND devsound1 NewL |
|
960 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-InitializeL_command02 |
|
961 OUTSTANDING |
|
962 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-SetPrioritySettings_command03 |
|
963 DELAY 10000000 |
|
964 COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-PlayToneSequenceL_command04 |
|
965 OUTSTANDING |
|
966 COMMAND devsound1 ~ |
|
967 END_TEST_BLOCK |
|
968 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010 |