os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-stress-automated-recording.script
First public contribution.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
18 //! @SYMTestSuiteName multimedia-mmf-devsound-stress-automated-recording
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
21 // Tests all public elements of the CMMFDevSound
22 // classes as a means of confidence that the APIs work as expected.
24 // The purpose is to provide a regression test suite of PublishedAll
25 // APIs for: CMMFDevSound
26 // The tests are fully automated.
37 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0001
39 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0001
41 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
42 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
43 //! CMMFDevSound::Capabilities()
44 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
45 //! CMMFDevSound::PlayInitL()
46 //! CMMFDevSound::RecordInitL()
47 //! CMMFDevSound::Stop()
50 //!@SYMCreationDate 7/21/2008
51 //!@SYMTestCaseDesc AMR-NB recording 30 minutes
53 //! 1. Create Devsound instance
54 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
55 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
57 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
58 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRNB30Min.amr )
62 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
63 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
65 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
66 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRNB30Min.amr)
67 //! 15. Start Play 60 seconds
70 //! 18. Delete devsound instance
71 //!@SYMTestStatus Verified
72 //!@SYMTestPriority High
73 //!@SYMTestExpectedResults
74 //! AMR-NB recording 30 minutes
77 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
78 CREATE_OBJECT CMMFDevSound devsound1
79 COMMAND devsound1 NewL
80 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-InitializeL_command02
82 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetPrioritySettings_command03
83 COMMAND devsound1 Capabilities
84 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetConfigL_command05
85 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-ReplaceFile_command06
86 COMMAND devsound1 RecordInitL
87 ASYNC_DELAY 1800000000
88 COMMAND devsound1 Stop
90 COMMAND devsound1 CloseFile
91 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-InitializeL_command10
93 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetPrioritySettings_command11
94 COMMAND devsound1 Capabilities
95 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetConfigL_command13
96 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-OpenFile_command14
97 COMMAND devsound1 PlayInitL
99 COMMAND devsound1 Stop
101 COMMAND devsound1 CloseFile
104 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0001
109 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
111 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
113 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
114 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
115 //! CMMFDevSound::Capabilities()
116 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
117 //! CMMFDevSound::PlayInitL()
118 //! CMMFDevSound::RecordInitL()
119 //! CMMFDevSound::Stop()
121 //!@SYMAuthor etorres
122 //!@SYMCreationDate 7/21/2008
123 //!@SYMTestCaseDesc AMR-WB recording 30 minutes
125 //! 1. Create Devsound instance
126 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AWB)
127 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
129 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
130 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRWB30Min.awb )
134 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AWB)
135 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
137 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
138 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRWB30Min.awb)
139 //! 15. Start Play 60 seconds
142 //! 18. Delete devsound instance
143 //!@SYMTestStatus Verified
144 //!@SYMTestPriority High
145 //!@SYMTestExpectedResults
146 //! AMR-WB recording 30 minutes
149 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
150 CREATE_OBJECT CMMFDevSound devsound1
151 COMMAND devsound1 NewL
152 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-InitializeL_command02
154 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetPrioritySettings_command03
155 COMMAND devsound1 Capabilities
156 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetConfigL_command05
157 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-ReplaceFile_command06
158 COMMAND devsound1 RecordInitL
159 ASYNC_DELAY 1800000000
160 COMMAND devsound1 Stop
162 COMMAND devsound1 CloseFile
163 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-InitializeL_command10
165 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetPrioritySettings_command11
166 COMMAND devsound1 Capabilities
167 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetConfigL_command13
168 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-OpenFile_command14
169 COMMAND devsound1 PlayInitL
171 COMMAND devsound1 Stop
173 COMMAND devsound1 CloseFile
176 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
181 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
183 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
185 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
186 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
187 //! CMMFDevSound::Capabilities()
188 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
189 //! CMMFDevSound::PlayInitL()
190 //! CMMFDevSound::RecordInitL()
191 //! CMMFDevSound::Stop()
193 //!@SYMAuthor etorres
194 //!@SYMCreationDate 7/21/2008
195 //!@SYMTestCaseDesc G.711 recording 30 minutes
197 //! 1. Create Devsound instance
198 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G711)
199 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
201 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
202 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG711a30Min.pcm )
206 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G711)
207 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
209 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
210 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG711a30Min.pcm)
211 //! 15. Start Play 60 seconds
214 //! 18. Delete devsound instance
215 //!@SYMTestStatus Verified
216 //!@SYMTestPriority High
217 //!@SYMTestExpectedResults
218 //! G.711 recording 30 minutes
221 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
222 CREATE_OBJECT CMMFDevSound devsound1
223 COMMAND devsound1 NewL
224 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-InitializeL_command02
226 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetPrioritySettings_command03
227 COMMAND devsound1 Capabilities
228 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetConfigL_command05
229 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-ReplaceFile_command06
230 COMMAND devsound1 RecordInitL
231 ASYNC_DELAY 1800000000
232 COMMAND devsound1 Stop
234 COMMAND devsound1 CloseFile
235 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-InitializeL_command10
237 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetPrioritySettings_command11
238 COMMAND devsound1 Capabilities
239 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetConfigL_command13
240 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-OpenFile_command14
241 COMMAND devsound1 PlayInitL
243 COMMAND devsound1 Stop
245 COMMAND devsound1 CloseFile
248 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
253 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
255 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
257 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
258 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
259 //! CMMFDevSound::Capabilities()
260 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
261 //! CMMFDevSound::PlayInitL()
262 //! CMMFDevSound::RecordInitL()
263 //! CMMFDevSound::Stop()
265 //!@SYMAuthor etorres
266 //!@SYMCreationDate 7/21/2008
267 //!@SYMTestCaseDesc G.729AB recording 30 minutes
269 //! 1. Create Devsound instance
270 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G729)
271 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
273 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
274 //! 6. ReplaceFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG729AB30min.bin )
278 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G729)
279 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
281 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
282 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG729AB30min.bin)
283 //! 15. Start Play 60 seconds
286 //! 18. Delete devsound instance
287 //!@SYMTestStatus Verified
288 //!@SYMTestPriority High
289 //!@SYMTestExpectedResults
290 //! G.729AB recording 30 minutes
293 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
294 CREATE_OBJECT CMMFDevSound devsound1
295 COMMAND devsound1 NewL
296 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-InitializeL_command02
298 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetPrioritySettings_command03
299 COMMAND devsound1 Capabilities
300 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetConfigL_command05
301 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-ReplaceFile_command06
302 COMMAND devsound1 RecordInitL
303 ASYNC_DELAY 1800000000
304 COMMAND devsound1 Stop
306 COMMAND devsound1 CloseFile
307 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-InitializeL_command10
309 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetPrioritySettings_command11
310 COMMAND devsound1 Capabilities
311 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetConfigL_command13
312 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-OpenFile_command14
313 COMMAND devsound1 PlayInitL
315 COMMAND devsound1 Stop
317 COMMAND devsound1 CloseFile
320 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
325 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
327 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
329 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
330 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
331 //! CMMFDevSound::Capabilities()
332 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
333 //! CMMFDevSound::PlayInitL()
334 //! CMMFDevSound::RecordInitL()
335 //! CMMFDevSound::Stop()
337 //!@SYMAuthor etorres
338 //!@SYMCreationDate 7/21/2008
339 //!@SYMTestCaseDesc iLBC recording 30 minutes
341 //! 1. Create Devsound instance
342 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = ILBC)
343 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
345 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
346 //! 6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec15kbpsiLBC30min.bin )
350 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = ILBC)
351 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
353 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
354 //! 14. OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec15kbpsiLBC30min.bin)
355 //! 15. Start Play 60 seconds
358 //! 18. Delete devsound instance
359 //!@SYMTestStatus Verified
360 //!@SYMTestPriority High
361 //!@SYMTestExpectedResults
362 //! iLBC recording 30 minutes
365 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
366 CREATE_OBJECT CMMFDevSound devsound1
367 COMMAND devsound1 NewL
368 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-InitializeL_command02
370 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetPrioritySettings_command03
371 COMMAND devsound1 Capabilities
372 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetConfigL_command05
373 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-ReplaceFile_command06
374 COMMAND devsound1 RecordInitL
375 ASYNC_DELAY 1800000000
376 COMMAND devsound1 Stop
378 COMMAND devsound1 CloseFile
379 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-InitializeL_command10
381 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetPrioritySettings_command11
382 COMMAND devsound1 Capabilities
383 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetConfigL_command13
384 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-OpenFile_command14
385 COMMAND devsound1 PlayInitL
387 COMMAND devsound1 Stop
389 COMMAND devsound1 CloseFile
392 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
397 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
399 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
401 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
402 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
403 //! CMMFDevSound::Capabilities()
404 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
405 //! CMMFDevSound::PlayInitL()
406 //! CMMFDevSound::RecordInitL()
407 //! CMMFDevSound::Stop()
409 //!@SYMAuthor etorres
410 //!@SYMCreationDate 7/21/2008
411 //!@SYMTestCaseDesc PCM recording 30 minutes
413 //! 1. Create Devsound instance
414 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
415 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
417 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
418 //! 6.ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30Min.pcm )
422 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
423 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
425 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
426 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30Min.pcm)
427 //! 15. Start Play 60 seconds
430 //! 18. Delete devsound instance
431 //!@SYMTestStatus Verified
432 //!@SYMTestPriority High
433 //!@SYMTestExpectedResults
434 //! PCM recording 30 minutes
437 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
438 CREATE_OBJECT CMMFDevSound devsound1
439 COMMAND devsound1 NewL
440 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-InitializeL_command02
442 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetPrioritySettings_command03
443 COMMAND devsound1 Capabilities
444 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetConfigL_command05
445 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-ReplaceFile_command06
446 COMMAND devsound1 RecordInitL
447 ASYNC_DELAY 1800000000
448 COMMAND devsound1 Stop
450 COMMAND devsound1 CloseFile
451 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-InitializeL_command10
453 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetPrioritySettings_command11
454 COMMAND devsound1 Capabilities
455 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetConfigL_command13
456 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-OpenFile_command14
457 COMMAND devsound1 PlayInitL
459 COMMAND devsound1 Stop
461 COMMAND devsound1 CloseFile
464 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
469 START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007
471 //!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007
473 //! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
474 //! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
475 //! CMMFDevSound::Capabilities()
476 //! CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
477 //! CMMFDevSound::PlayInitL()
478 //! CMMFDevSound::RecordInitL()
479 //! CMMFDevSound::Stop()
481 //!@SYMAuthor etorres
482 //!@SYMCreationDate 7/21/2008
483 //!@SYMTestCaseDesc PCM recording 30 minutes
485 //! 1. Create Devsound instance
486 //! 2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
487 //! 3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
489 //! 5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
490 //! 6.ReplaceFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30MinB.pcm )
494 //! 10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
495 //! 11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
497 //! 13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
498 //! 14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30MinB.pcm)
499 //! 15. Start Play 60 seconds
502 //! 18. Delete devsound instance
503 //!@SYMTestStatus Verified
504 //!@SYMTestPriority High
505 //!@SYMTestExpectedResults
506 //! PCM recording 30 minutes
509 START_TEST_BLOCK 2000 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
510 CREATE_OBJECT CMMFDevSound devsound1
511 COMMAND devsound1 NewL
512 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-InitializeL_command02
514 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetPrioritySettings_command03
515 COMMAND devsound1 Capabilities
516 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetConfigL_command05
517 COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-ReplaceFile_command06
518 COMMAND devsound1 RecordInitL
519 ASYNC_DELAY 1800000000
520 COMMAND devsound1 Stop
522 COMMAND devsound1 CloseFile
523 COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-InitializeL_command10
525 COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetPrioritySettings_command11
526 COMMAND devsound1 Capabilities
527 COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetConfigL_command13
528 COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-OpenFile_command14
529 COMMAND devsound1 PlayInitL
531 COMMAND devsound1 Stop
533 COMMAND devsound1 CloseFile
536 END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007