os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-comb_pt.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-comb_pt.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,968 @@
1.4 +//
1.5 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +//
1.20 +//! @file
1.21 +//! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-comb_pt
1.22 +//! @SYMScriptTestEnvironment This test script requires a basic ROM.
1.23 +//
1.24 +// Tests all public elements of the CMMFDevSound
1.25 +// classes as a means of confidence that the APIs work as expected.
1.26 +//
1.27 +// The purpose is to provide a regression test suite of PublishedAll
1.28 +// APIs for: CMMFDevSound
1.29 +// The tests are fully automated.
1.30 +//
1.31 +
1.32 +
1.33 +
1.34 +LOAD_SUITE t_devsound
1.35 +
1.36 +
1.37 +
1.38 +
1.39 +
1.40 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
1.41 +
1.42 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
1.43 +//!@SYMAPI
1.44 +//! TEST_BLOCK 001
1.45 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.46 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.47 +//! CMMFDevSound::Capabilities()
1.48 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.49 +//! CMMFDevSound::PlayInitL()
1.50 +//! CMMFDevSound::Stop()
1.51 +//! TEST_BLOCK 002
1.52 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.53 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.54 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.55 +//!@SYMAuthor jguillermo
1.56 +//!@SYMCreationDate 7/28/2008
1.57 +//!@SYMTestCaseDesc Calendar alarm during alarm clock
1.58 +//!@SYMTestActions
1.59 +//! TEST_BLOCK 001
1.60 +//! 1. Create DevSound instance
1.61 +//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1.62 +//! 3. Set Priority (Priority = {Priority,PriorityCalendarAlarm}; Preference = {PriorityPreference,PriorityPreferenceClockAlarm};PriorityState=EMMFStatePlaying)
1.63 +//! 4. Capabilities
1.64 +//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.65 +//! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
1.66 +//! 7. Start Play for 20 seconds
1.67 +//! 8. Stop
1.68 +//! 9. Close file
1.69 +//! 10. Destroy DevSound instance
1.70 +//! TEST_BLOCK 002
1.71 +//! 1. Create DevSound instance
1.72 +//! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1.73 +//! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
1.74 +//! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.75 +//! 5. Delete DevSound instance.
1.76 +//!@SYMTestStatus Verified
1.77 +//!@SYMTestPriority High
1.78 +//!@SYMTestExpectedResults
1.79 +//! Calendar alarm during alarm clock
1.80 +//! TEST_BLOCK 001
1.81 +//! MP3 playback for 20 s
1.82 +//! TEST_BLOCK 002
1.83 +//! Play tone sequence
1.84 +//!@SYMTestType CIT
1.85 +
1.86 +
1.87 + CONCURRENT
1.88 +
1.89 +
1.90 +
1.91 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.92 + CREATE_OBJECT CMMFDevSound devsound1
1.93 + COMMAND devsound1 NewL
1.94 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-InitializeL_command02
1.95 + OUTSTANDING
1.96 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetPrioritySettings_command03
1.97 + COMMAND devsound1 Capabilities
1.98 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetConfigL_command05
1.99 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-OpenFile_command06
1.100 + COMMAND devsound1 PlayInitL
1.101 + ASYNC_DELAY 20000000
1.102 + COMMAND devsound1 Stop
1.103 + COMMAND devsound1 CloseFile
1.104 + COMMAND devsound1 ~
1.105 + END_TEST_BLOCK
1.106 +
1.107 +
1.108 +
1.109 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.110 + CREATE_OBJECT CMMFDevSound devsound1
1.111 + COMMAND devsound1 NewL
1.112 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-InitializeL_command02
1.113 + OUTSTANDING
1.114 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-SetPrioritySettings_command03
1.115 + DELAY 10000000
1.116 + COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-PlayToneSequenceL_command04
1.117 + OUTSTANDING
1.118 + COMMAND devsound1 ~
1.119 + END_TEST_BLOCK
1.120 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
1.121 +
1.122 +
1.123 +
1.124 +
1.125 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
1.126 +
1.127 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
1.128 +//!@SYMAPI
1.129 +//! TEST_BLOCK 001
1.130 +//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
1.131 +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
1.132 +//! CMMFDevSound::Capabilities()
1.133 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
1.134 +//! CMMFDevSound::PlayInitL()
1.135 +//! CMMFDevSound::Stop()
1.136 +//! TEST_BLOCK 002
1.137 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.138 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.139 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.140 +//!@SYMAuthor etorres
1.141 +//!@SYMCreationDate 8/25/2008
1.142 +//!@SYMTestCaseDesc Calendar alarm during incoming call
1.143 +//!@SYMTestActions
1.144 +//! TEST_BLOCK 001
1.145 +//! 1. Create DevSound instance
1.146 +//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
1.147 +//! 3. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall};PriorityState=EMMFStatePlaying)
1.148 +//! 4. Capabilities
1.149 +//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.150 +//! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
1.151 +//! 7. Start Play for 20 seconds
1.152 +//! 8. Stop
1.153 +//! 9. Close file
1.154 +//! 10. Destroy DevSound instance
1.155 +//! TEST_BLOCK 002
1.156 +//! 1. Create DevSound instance
1.157 +//! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1.158 +//! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
1.159 +//! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.160 +//! 5. Delete DevSound instance.
1.161 +//!@SYMTestStatus Verified
1.162 +//!@SYMTestPriority High
1.163 +//!@SYMTestExpectedResults
1.164 +//! Calendar alarm during incoming call
1.165 +//! TEST_BLOCK 001
1.166 +//! MP3 playback for 20s
1.167 +//! TEST_BLOCK 002
1.168 +//! Expected error -21 during playtone sequence
1.169 +//!@SYMTestType CIT
1.170 +
1.171 +
1.172 + CONCURRENT
1.173 +
1.174 +
1.175 +
1.176 + START_TEST_BLOCK 30 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.177 + CREATE_OBJECT CMMFDevSound devsound1
1.178 + COMMAND devsound1 NewL
1.179 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-InitializeL_command02
1.180 + OUTSTANDING
1.181 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetPrioritySettings_command03
1.182 + COMMAND devsound1 Capabilities
1.183 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetConfigL_command05
1.184 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-OpenFile_command06
1.185 + COMMAND devsound1 PlayInitL
1.186 + ASYNC_DELAY 20000000
1.187 + COMMAND devsound1 Stop
1.188 + COMMAND devsound1 CloseFile
1.189 + COMMAND devsound1 ~
1.190 + END_TEST_BLOCK
1.191 +
1.192 +
1.193 +
1.194 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.195 + CREATE_OBJECT CMMFDevSound devsound1
1.196 + COMMAND devsound1 NewL
1.197 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-InitializeL_command02
1.198 + OUTSTANDING
1.199 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-SetPrioritySettings_command03
1.200 + DELAY 10000000
1.201 + COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-PlayToneSequenceL_command05
1.202 + OUTSTANDING
1.203 + COMMAND devsound1 ~
1.204 + END_TEST_BLOCK
1.205 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
1.206 +
1.207 +
1.208 +
1.209 +
1.210 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
1.211 +
1.212 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
1.213 +//!@SYMAPI
1.214 +//! TEST_BLOCK 001
1.215 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.216 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.217 +//! CMMFDevSound::Capabilities()
1.218 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.219 +//! CMMFDevSound::PlayInitL()
1.220 +//! TEST_BLOCK 002
1.221 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.222 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.223 +//! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
1.224 +//! CMMFDevSound::PlayInitL()
1.225 +//!@SYMAuthor jpacho
1.226 +//!@SYMCreationDate 7/28/2008
1.227 +//!@SYMTestCaseDesc DTMF tones during audio playback
1.228 +//!@SYMTestActions
1.229 +//! TEST_BLOCK 001
1.230 +//! 1. Create Devsound instance
1.231 +//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
1.232 +//! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
1.233 +//! 4. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
1.234 +//! 5. Capabilities
1.235 +//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1.236 +//! 7. Start Play for 20 seconds
1.237 +//! 8.Stop
1.238 +//! 9.Close file
1.239 +//! 10.Destroy Devsound instance
1.240 +//! TEST_BLOCK 002
1.241 +//! 1. Create DevSound instance
1.242 +//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1.243 +//! 3. Set priority settings & delay 1s ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
1.244 +//! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
1.245 +//! 5. Start DTMF Play (DTMFString = 1234567890)
1.246 +//! 6. Destroy DevSound instance
1.247 +//!@SYMTestStatus Delivered
1.248 +//!@SYMTestPriority High
1.249 +//!@SYMTestExpectedResults
1.250 +//! DTMF tones during audio playback
1.251 +//! TEST_BLOCK 001
1.252 +//! RAW playback for 20 s
1.253 +//! TEST_BLOCK 002
1.254 +//! DTMF play
1.255 +//!@SYMTestType CIT
1.256 +
1.257 +
1.258 + CONCURRENT
1.259 +
1.260 +
1.261 +
1.262 + START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.263 + CREATE_OBJECT CMMFDevSound devsound1
1.264 + COMMAND devsound1 NewL
1.265 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-OpenFile_command02
1.266 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-InitializeL_command03
1.267 + OUTSTANDING
1.268 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetPrioritySettings_command04
1.269 + COMMAND devsound1 Capabilities
1.270 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetConfigL_command06
1.271 + COMMAND devsound1 PlayInitL
1.272 + ASYNC_DELAY 20000000
1.273 + COMMAND devsound1 Stop
1.274 + DELAY 2000000
1.275 + COMMAND devsound1 CloseFile
1.276 + COMMAND devsound1 ~
1.277 + END_TEST_BLOCK
1.278 +
1.279 +
1.280 +
1.281 + START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.282 + CREATE_OBJECT CMMFDevSound devsound1
1.283 + COMMAND devsound1 NewL
1.284 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-InitializeL_command02
1.285 + OUTSTANDING
1.286 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetPrioritySettings_command03
1.287 + DELAY 10000000
1.288 + COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetDTMFLengths_command04
1.289 + COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-PlayDTMFStringL_command05
1.290 + ASYNC_DELAY 3000000
1.291 + COMMAND devsound1 ~
1.292 + END_TEST_BLOCK
1.293 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
1.294 +
1.295 +
1.296 +
1.297 +
1.298 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
1.299 +
1.300 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
1.301 +//!@SYMAPI
1.302 +//! TEST_BLOCK 001
1.303 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.304 +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
1.305 +//! CMMFDevSound::Capabilities()
1.306 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
1.307 +//! CMMFDevSound::PlayInitL()
1.308 +//! TEST_BLOCK 002
1.309 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.310 +//! CMMFDevSound::SetPrioritySettings(const
1.311 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
1.312 +//! CMMFDevSound::Pause()
1.313 +//! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref})
1.314 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.315 +//! CMMFDevSound::Stop()
1.316 +//!@SYMAuthor myanez
1.317 +//!@SYMCreationDate 8/25/2008
1.318 +//!@SYMTestCaseDesc Incoming call during audio playback
1.319 +//!@SYMTestActions
1.320 +//! TEST_BLOCK 001
1.321 +//! 1. Create Devsound Instance
1.322 +//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1.323 +//! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
1.324 +//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
1.325 +//! 5. Capabilities
1.326 +//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.327 +//! 7. Start Play for 30 seconds
1.328 +//! 8. Stop
1.329 +//! 9. Close File
1.330 +//! 10. Destroy Devsound Instance
1.331 +//! TEST_BLOCK 002
1.332 +//! 1. Create DevSound instance
1.333 +//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1.334 +//! 3. Set priority settings ( Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
1.335 +//! 4. Pause for 10 seconds(Pause=TRUE)
1.336 +//! 5. Set tone repeats (RepeatCount = 5; RepeatTrailingSilence = 0)
1.337 +//! 6. Play tone sequence 10 seconds(Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
1.338 +//! 7. Stop
1.339 +//! 8. Destroy DevSound instance
1.340 +//!@SYMTestStatus Verified
1.341 +//!@SYMTestPriority High
1.342 +//!@SYMTestExpectedResults
1.343 +//! Incoming call during audio playback
1.344 +//! TEST_BLOCK 001
1.345 +//! MP3 playback for 30s
1.346 +//! TEST_BLOCK 002
1.347 +//! Play tone sequence
1.348 +//!@SYMTestType CIT
1.349 +
1.350 +
1.351 + CONCURRENT
1.352 +
1.353 +
1.354 +
1.355 + START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.356 + CREATE_OBJECT CMMFDevSound devsound1
1.357 + COMMAND devsound1 NewL
1.358 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-OpenFile_command02
1.359 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-InitializeL_command03
1.360 + OUTSTANDING
1.361 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetPrioritySettings_command04
1.362 + COMMAND devsound1 Capabilities
1.363 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetConfigL_command06
1.364 + COMMAND devsound1 PlayInitL
1.365 + ASYNC_DELAY 30000000
1.366 + COMMAND devsound1 Stop
1.367 + COMMAND devsound1 CloseFile
1.368 + COMMAND devsound1 ~
1.369 + END_TEST_BLOCK
1.370 +
1.371 +
1.372 +
1.373 + START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.374 + CREATE_OBJECT CMMFDevSound devsound1
1.375 + COMMAND devsound1 NewL
1.376 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-InitializeL_command02
1.377 + OUTSTANDING
1.378 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetPrioritySettings_command03
1.379 + COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-Stop_command04
1.380 + DELAY 10000000
1.381 + COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetToneRepeats_command05
1.382 + COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-PlayToneSequenceL_command06
1.383 + ASYNC_DELAY 10000000
1.384 + COMMAND devsound1 Stop
1.385 + COMMAND devsound1 ~
1.386 + END_TEST_BLOCK
1.387 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
1.388 +
1.389 +
1.390 +
1.391 +
1.392 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
1.393 +
1.394 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
1.395 +//!@SYMAPI
1.396 +//! TEST_BLOCK 001
1.397 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.398 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.399 +//! CMMFDevSound::Capabilities()
1.400 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.401 +//! CMMFDevSound::PlayInitL()
1.402 +//! TEST_BLOCK 002
1.403 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.404 +//! CMMFDevSound::SetPrioritySettings(const
1.405 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.406 +//! CMMFDevSound::Stop()
1.407 +//!@SYMAuthor fperez
1.408 +//!@SYMCreationDate 7/28/2008
1.409 +//!@SYMTestCaseDesc Incoming SMS during alarm clock
1.410 +//!@SYMTestActions
1.411 +//! TEST_BLOCK 001
1.412 +//! 1. Create Devsound instance
1.413 +//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
1.414 +//! 3. Set Priority (Priority= {Priority,PriorityClockAlarm}; Preference= {PriorityPreference,PriorityPreferenceClockAlarm}; PriorityState= EMMFStatePlaying)
1.415 +//! 4. Capabilities
1.416 +//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.417 +//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1.418 +//! 7. Play 20 seconds
1.419 +//! 8. CloseFile
1.420 +//! 9. Delete devsound instance
1.421 +//!
1.422 +//! TEST_BLOCK 002
1.423 +//! 1. Create Devsound instance
1.424 +//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
1.425 +//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
1.426 +//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.427 +//! 5. Delete devsound instance
1.428 +//!
1.429 +//!@SYMTestStatus Verified
1.430 +//!@SYMTestPriority High
1.431 +//!@SYMTestExpectedResults
1.432 +//! Incoming SMS during alarm clock
1.433 +//! TEST_BLOCK 001
1.434 +//! MP3 playback for 20s
1.435 +//! TEST_BLOCK 002
1.436 +//! Play tone sequence with expected error -21
1.437 +//!@SYMTestType CIT
1.438 +
1.439 +
1.440 + CONCURRENT
1.441 +
1.442 +
1.443 +
1.444 + START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.445 + CREATE_OBJECT CMMFDevSound devsound1
1.446 + COMMAND devsound1 NewL
1.447 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-InitializeL_command02
1.448 + OUTSTANDING
1.449 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetPrioritySettings_command03
1.450 + COMMAND devsound1 Capabilities
1.451 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetConfigL_command05
1.452 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-OpenFile_command06
1.453 + COMMAND devsound1 PlayInitL
1.454 + ASYNC_DELAY 20000000
1.455 + COMMAND devsound1 CloseFile
1.456 + COMMAND devsound1 ~
1.457 + END_TEST_BLOCK
1.458 +
1.459 +
1.460 +
1.461 + START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.462 + CREATE_OBJECT CMMFDevSound devsound1
1.463 + COMMAND devsound1 NewL
1.464 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-InitializeL_command02
1.465 + OUTSTANDING
1.466 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-SetPrioritySettings_command03
1.467 + DELAY 10000000
1.468 + COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-PlayToneSequenceL_command05
1.469 + OUTSTANDING
1.470 + COMMAND devsound1 ~
1.471 + END_TEST_BLOCK
1.472 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
1.473 +
1.474 +
1.475 +
1.476 +
1.477 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
1.478 +
1.479 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
1.480 +//!@SYMAPI
1.481 +//! TEST_BLOCK 001
1.482 +//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
1.483 +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
1.484 +//! CMMFDevSound::Capabilities()
1.485 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
1.486 +//! CMMFDevSound::PlayInitL()
1.487 +//! CMMFDevSound::Stop()
1.488 +//! TEST_BLOCK 002
1.489 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.490 +//! CMMFDevSound::SetPrioritySettings(const
1.491 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.492 +//! CMMFDevSound::Stop()
1.493 +//!@SYMAuthor fperez
1.494 +//!@SYMCreationDate 7/28/2008
1.495 +//!@SYMTestCaseDesc Incoming SMS during audio playback
1.496 +//!@SYMTestActions
1.497 +//! TEST_BLOCK 001
1.498 +//! 1. Create Devsound instance
1.499 +//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
1.500 +//! 3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
1.501 +//! 4. Capabilities
1.502 +//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.503 +//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1.504 +//! 7. Play 25 seconds
1.505 +//! 8. Stop
1.506 +//! 9. CloseFile
1.507 +//! 10. Delete devsound instance
1.508 +//!
1.509 +//! TEST_BLOCK 002
1.510 +//! 1. Create Devsound instance
1.511 +//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
1.512 +//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
1.513 +//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.514 +//! 5. Delete devsound instance
1.515 +//!
1.516 +//!@SYMTestStatus Verified
1.517 +//!@SYMTestPriority High
1.518 +//!@SYMTestExpectedResults
1.519 +//! Incoming SMS during audio playback
1.520 +//! TEST_BLOCK 001
1.521 +//! MP3 playback for 25s
1.522 +//! TEST_BLOCK 002
1.523 +//! Play tone sequence
1.524 +//!@SYMTestType CIT
1.525 +
1.526 +
1.527 + CONCURRENT
1.528 +
1.529 +
1.530 +
1.531 + START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.532 + CREATE_OBJECT CMMFDevSound devsound1
1.533 + COMMAND devsound1 NewL
1.534 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-InitializeL_command02
1.535 + OUTSTANDING
1.536 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetPrioritySettings_command03
1.537 + COMMAND devsound1 Capabilities
1.538 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetConfigL_command05
1.539 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-OpenFile_command06
1.540 + COMMAND devsound1 PlayInitL
1.541 + ASYNC_DELAY 25000000
1.542 + COMMAND devsound1 Stop
1.543 + DELAY 2000000
1.544 + COMMAND devsound1 CloseFile
1.545 + COMMAND devsound1 ~
1.546 + END_TEST_BLOCK
1.547 +
1.548 +
1.549 +
1.550 + START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.551 + CREATE_OBJECT CMMFDevSound devsound1
1.552 + COMMAND devsound1 NewL
1.553 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-InitializeL_command02
1.554 + OUTSTANDING
1.555 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-SetPrioritySettings_command03
1.556 + DELAY 10000000
1.557 + COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-PlayToneSequenceL_command04
1.558 + OUTSTANDING
1.559 + COMMAND devsound1 ~
1.560 + END_TEST_BLOCK
1.561 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
1.562 +
1.563 +
1.564 +
1.565 +
1.566 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
1.567 +
1.568 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
1.569 +//!@SYMAPI
1.570 +//! TEST_BLOCK 001
1.571 +//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
1.572 +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
1.573 +//! CMMFDevSound::Capabilities()
1.574 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
1.575 +//! CMMFDevSound::PlayInitL()
1.576 +//! CMMFDevSound::Stop()
1.577 +//! TEST_BLOCK 002
1.578 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.579 +//! CMMFDevSound::SetPrioritySettings(const
1.580 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.581 +//! CMMFDevSound::Stop()
1.582 +//!@SYMAuthor fperez
1.583 +//!@SYMCreationDate 7/28/2008
1.584 +//!@SYMTestCaseDesc Incoming SMS during incoming call
1.585 +//!@SYMTestActions
1.586 +//! TEST_BLOCK 001
1.587 +//! 1. Create Devsound instance
1.588 +//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
1.589 +//! 3. Set Priority (Priority= {Priority,PriorityIncomingCall}; Preference= {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState= EMMFStatePlaying)
1.590 +//! 4. Capabilities
1.591 +//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.592 +//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1.593 +//! 7. Play 20 seconds
1.594 +//! 8. Stop for 2s
1.595 +//! 9. CloseFile
1.596 +//! 10. Delete devsound instance
1.597 +//!
1.598 +//! TEST_BLOCK 002
1.599 +//! 1. Create Devsound instance
1.600 +//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
1.601 +//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
1.602 +//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.603 +//! 5. Delete devsound instance
1.604 +//!
1.605 +//!@SYMTestStatus Verified
1.606 +//!@SYMTestPriority High
1.607 +//!@SYMTestExpectedResults
1.608 +//! Incoming SMS during incoming call
1.609 +//! TEST_BLOCK 001
1.610 +//! MP3 playback for 20s
1.611 +//! TEST_BLOCK 002
1.612 +//! Play tone sequence with expected error -21
1.613 +//!@SYMTestType CIT
1.614 +
1.615 +
1.616 + CONCURRENT
1.617 +
1.618 +
1.619 +
1.620 + START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.621 + CREATE_OBJECT CMMFDevSound devsound1
1.622 + COMMAND devsound1 NewL
1.623 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-InitializeL_command02
1.624 + OUTSTANDING
1.625 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetPrioritySettings_command03
1.626 + COMMAND devsound1 Capabilities
1.627 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetConfigL_command05
1.628 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-OpenFile_command06
1.629 + COMMAND devsound1 PlayInitL
1.630 + ASYNC_DELAY 20000000
1.631 + COMMAND devsound1 Stop
1.632 + DELAY 2000000
1.633 + COMMAND devsound1 CloseFile
1.634 + COMMAND devsound1 ~
1.635 + END_TEST_BLOCK
1.636 +
1.637 +
1.638 +
1.639 + START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.640 + CREATE_OBJECT CMMFDevSound devsound1
1.641 + COMMAND devsound1 NewL
1.642 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-InitializeL_command02
1.643 + OUTSTANDING
1.644 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-SetPrioritySettings_command03
1.645 + DELAY 10000000
1.646 + COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-PlayToneSequenceL_command05
1.647 + OUTSTANDING
1.648 + COMMAND devsound1 ~
1.649 + END_TEST_BLOCK
1.650 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
1.651 +
1.652 +
1.653 +
1.654 +
1.655 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
1.656 +
1.657 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
1.658 +//!@SYMAPI
1.659 +//! TEST_BLOCK 001
1.660 +//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
1.661 +//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
1.662 +//! CMMFDevSound::Capabilities()
1.663 +//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
1.664 +//! CMMFDevSound::PlayInitL()
1.665 +//! TEST_BLOCK 002
1.666 +//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
1.667 +//! CMMFDevSound::SetPrioritySettings(const
1.668 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.669 +//! CMMFDevSound::Stop()
1.670 +//!@SYMAuthor jpacho
1.671 +//!@SYMCreationDate 7/28/2008
1.672 +//!@SYMTestCaseDesc NRT tone playback during audio playback
1.673 +//!@SYMTestActions
1.674 +//! TEST_BLOCK 001
1.675 +//! 1. Create Devsound instance
1.676 +//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
1.677 +//! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
1.678 +//! 4. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
1.679 +//! 5. Capabilities
1.680 +//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
1.681 +//! 7. Start Play for 30 seconds
1.682 +//! 8. Stop for 2s
1.683 +//! 9.Close file
1.684 +//! 10.Destroy Devsound instance
1.685 +//! TEST_BLOCK 002
1.686 +//! 1. Create DevSound instance
1.687 +//! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
1.688 +//! 3. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
1.689 +//! 4. Play tone sequence 10s (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
1.690 +//! 5. Stop sequence for 2s
1.691 +//! 6. Delete DevSound instance.
1.692 +//!@SYMTestStatus Verified
1.693 +//!@SYMTestPriority High
1.694 +//!@SYMTestExpectedResults
1.695 +//! NRT tone playback during audio playback
1.696 +//! TEST_BLOCK 001
1.697 +//! RAW playback for 30s
1.698 +//! TEST_BLOCK 002
1.699 +//! Play tone sequence
1.700 +//!@SYMTestType CIT
1.701 +
1.702 +
1.703 + CONCURRENT
1.704 +
1.705 +
1.706 +
1.707 + START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.708 + CREATE_OBJECT CMMFDevSound devsound1
1.709 + COMMAND devsound1 NewL
1.710 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-OpenFile_command02
1.711 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-InitializeL_command03
1.712 + OUTSTANDING
1.713 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetPrioritySettings_command04
1.714 + COMMAND devsound1 Capabilities
1.715 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetConfigL_command06
1.716 + COMMAND devsound1 PlayInitL
1.717 + ASYNC_DELAY 30000000
1.718 + COMMAND devsound1 Stop
1.719 + DELAY 2000000
1.720 + COMMAND devsound1 CloseFile
1.721 + COMMAND devsound1 ~
1.722 + END_TEST_BLOCK
1.723 +
1.724 +
1.725 +
1.726 + START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.727 + CREATE_OBJECT CMMFDevSound devsound1
1.728 + COMMAND devsound1 NewL
1.729 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-InitializeL_command02
1.730 + OUTSTANDING
1.731 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-SetPrioritySettings_command03
1.732 + COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-PlayToneSequenceL_command04
1.733 + ASYNC_DELAY 10000000
1.734 + COMMAND devsound1 Stop
1.735 + DELAY 2000000
1.736 + COMMAND devsound1 ~
1.737 + END_TEST_BLOCK
1.738 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
1.739 +
1.740 +
1.741 +
1.742 +
1.743 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
1.744 +
1.745 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
1.746 +//!@SYMAPI
1.747 +//! TEST_BLOCK 001
1.748 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.749 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.750 +//! CMMFDevSound::Capabilities()
1.751 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.752 +//! CMMFDevSound::PlayInitL()
1.753 +//! TEST_BLOCK 002
1.754 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.755 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.756 +//! CMMFDevSound::Capabilities()
1.757 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.758 +//! CMMFDevSound::PlayInitL()
1.759 +//! CMMFDevSound::RecordInitL()
1.760 +//! TEST_BLOCK 003
1.761 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.762 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.763 +//! CMMFDevSound::Capabilities()
1.764 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.765 +//! CMMFDevSound::PlayInitL()
1.766 +//!@SYMAuthor ddamian
1.767 +//!@SYMCreationDate 8/11/2008
1.768 +//!@SYMTestCaseDesc DTMF tones during WB VoIP call - non-signaling
1.769 +//!@SYMTestActions
1.770 +//! TEST_BLOCK 001
1.771 +//! 1.- Create DevSound instance
1.772 +//! 2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
1.773 +//! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
1.774 +//! 4.- Capabilities
1.775 +//! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
1.776 +//! 6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
1.777 +//! 7.- Play 32 sec
1.778 +//! 8.- Stop
1.779 +//! 9.- Close File
1.780 +//! 10.- Destroy DevSound instance
1.781 +//! TEST_BLOCK 002
1.782 +//! 1.- Create DevSound instance
1.783 +//! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB)
1.784 +//! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
1.785 +//! 4.- Capabilities
1.786 +//! 5.- Set Configuration and wait 2 sec (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
1.787 +//! 6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
1.788 +//! 7.- Record Init 30s
1.789 +//! 8.- Stop and wait 5 sec.
1.790 +//! 9.- Close File
1.791 +//! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
1.792 +//! 11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
1.793 +//! 12.- Capabilities
1.794 +//! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
1.795 +//! 14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
1.796 +//! 15.- Play
1.797 +//! 16.- Close file
1.798 +//! 17.- Destroy DevSound instance
1.799 +//! TEST_BLOCK 003
1.800 +//! 1. Create DevSound instance
1.801 +//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= none)
1.802 +//! 3. Set priority settings and wait 12 sec ( Priority = {Priority,PriorityDTMFKeyPress}; Preference = {PriorityPreference,PriorityPreferenceDTMFKeyPress} ; PriorityState=EMMFStateTonePlaying)
1.803 +//! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
1.804 +//! 5. Start DTMF Play (DTMFString = 1234567890)
1.805 +//! 6. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
1.806 +//! 7. Start DTMF Play (DTMFString = 1234567890)
1.807 +//! 8. Destroy DevSound instance
1.808 +//!@SYMTestStatus Verified
1.809 +//!@SYMTestPriority High
1.810 +//!@SYMTestExpectedResults
1.811 +//! DTMF tones during WB VoIP call - non-signaling
1.812 +//! TEST_BLOCK 001
1.813 +//! AMR-WB playback as VoIPCallDown
1.814 +//! TEST_BLOCK 002
1.815 +//! AMR-WB playback as VoIPCallUp
1.816 +//! TEST_BLOCK 003
1.817 +//! DTMF tones playback
1.818 +//!@SYMTestType CIT
1.819 +
1.820 +
1.821 + CONCURRENT
1.822 +
1.823 +
1.824 +
1.825 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.826 + CREATE_OBJECT CMMFDevSound devsound1
1.827 + COMMAND devsound1 NewL
1.828 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-InitializeL_command02
1.829 + OUTSTANDING
1.830 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetPrioritySettings_command03
1.831 + COMMAND devsound1 Capabilities
1.832 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetConfigL_command05
1.833 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-OpenFile_command06
1.834 + COMMAND devsound1 PlayInitL
1.835 + ASYNC_DELAY 32000000
1.836 + COMMAND devsound1 Stop
1.837 + COMMAND devsound1 CloseFile
1.838 + COMMAND devsound1 ~
1.839 + END_TEST_BLOCK
1.840 +
1.841 +
1.842 +
1.843 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.844 + CREATE_OBJECT CMMFDevSound devsound1
1.845 + COMMAND devsound1 NewL
1.846 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command02
1.847 + OUTSTANDING
1.848 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command03
1.849 + COMMAND devsound1 Capabilities
1.850 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command05
1.851 + DELAY 2000000
1.852 + COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-ReplaceFile_command06
1.853 + COMMAND devsound1 RecordInitL
1.854 + ASYNC_DELAY 30000000
1.855 + COMMAND devsound1 Stop
1.856 + DELAY 5000000
1.857 + COMMAND devsound1 CloseFile
1.858 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command10
1.859 + OUTSTANDING
1.860 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command11
1.861 + COMMAND devsound1 Capabilities
1.862 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command13
1.863 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-OpenFile_command14
1.864 + COMMAND devsound1 PlayInitL
1.865 + OUTSTANDING
1.866 + COMMAND devsound1 CloseFile
1.867 + COMMAND devsound1 ~
1.868 + END_TEST_BLOCK
1.869 +
1.870 +
1.871 +
1.872 + START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.873 + CREATE_OBJECT CMMFDevSound devsound1
1.874 + COMMAND devsound1 NewL
1.875 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-InitializeL_command02
1.876 + OUTSTANDING
1.877 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetPrioritySettings_command03
1.878 + DELAY 12000000
1.879 + COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command04
1.880 + COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command05
1.881 + ASYNC_DELAY 3000000
1.882 + COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command06
1.883 + COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command07
1.884 + ASYNC_DELAY 3000000
1.885 + COMMAND devsound1 ~
1.886 + END_TEST_BLOCK
1.887 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
1.888 +
1.889 +
1.890 +
1.891 +
1.892 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010
1.893 +
1.894 +//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010
1.895 +//!@SYMAPI
1.896 +//! TEST_BLOCK 001
1.897 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.898 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.899 +//! CMMFDevSound::Capabilities()
1.900 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.901 +//! CMMFDevSound::PlayInitL()
1.902 +//! TEST_BLOCK 002
1.903 +//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
1.904 +//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
1.905 +//! CMMFDevSound::Capabilities()
1.906 +//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
1.907 +//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
1.908 +//!@SYMAuthor jpacho
1.909 +//!@SYMCreationDate 8/25/2008
1.910 +//!@SYMTestCaseDesc Incoming SMS during Mobile TV playback
1.911 +//!@SYMTestActions
1.912 +//! TEST_BLOCK 001
1.913 +//! 1. Create DevSound instance
1.914 +//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
1.915 +//! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= MP3)
1.916 +//! 4. Set priority settings ( Priority = {Priority,PriorityMobileTV}; Preference ={PriorityPreference,PriorityPreferenceMobileTV}; PriorityState=EMMFStatePlaying)
1.917 +//! 5. Capabilities
1.918 +//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
1.919 +//! 7. Start play 20s
1.920 +//! 8. Close file
1.921 +//! 9.Destroy DevSound instance.
1.922 +//! TEST_BLOCK 002
1.923 +//! 1. Create DevSound instance
1.924 +//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= MP3)
1.925 +//! 3. Set priority settings delay 10s ( Priority = {Priority,PriorityReceivedSMS}; Preference = {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState=EMMFStateTonePlaying)
1.926 +//! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
1.927 +//! 5. Delete DevSound instance.
1.928 +//!@SYMTestStatus Verified
1.929 +//!@SYMTestPriority High
1.930 +//!@SYMTestExpectedResults
1.931 +//! Incoming SMS during Mobile TV playback
1.932 +//! TEST_BLOCK 001
1.933 +//! MP3 playback as Mobile TV
1.934 +//! TEST_BLOCK 002
1.935 +//! NRT playback as Tone playing
1.936 +//!@SYMTestType CIT
1.937 +
1.938 +
1.939 + CONCURRENT
1.940 +
1.941 +
1.942 +
1.943 + START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.944 + CREATE_OBJECT CMMFDevSound devsound1
1.945 + COMMAND devsound1 NewL
1.946 + COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-OpenFile_command02
1.947 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-InitializeL_command03
1.948 + OUTSTANDING
1.949 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetPrioritySettings_command04
1.950 + COMMAND devsound1 Capabilities
1.951 + COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetConfigL_command06
1.952 + COMMAND devsound1 PlayInitL
1.953 + ASYNC_DELAY 20000000
1.954 + COMMAND devsound1 CloseFile
1.955 + COMMAND devsound1 ~
1.956 + END_TEST_BLOCK
1.957 +
1.958 +
1.959 +
1.960 + START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
1.961 + CREATE_OBJECT CMMFDevSound devsound1
1.962 + COMMAND devsound1 NewL
1.963 + COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-InitializeL_command02
1.964 + OUTSTANDING
1.965 + COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-SetPrioritySettings_command03
1.966 + DELAY 10000000
1.967 + COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-PlayToneSequenceL_command04
1.968 + OUTSTANDING
1.969 + COMMAND devsound1 ~
1.970 + END_TEST_BLOCK
1.971 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010