os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-comb_rt.script
changeset 0 bde4ae8d615e
     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_rt.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,461 @@
     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_rt
    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_RT-0001
    1.41 +
    1.42 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0001
    1.43 +//!@SYMAPI
    1.44 +//! TEST_BLOCK 001
    1.45 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
    1.46 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
    1.47 +//!                CMMFDevSound::Capabilities()
    1.48 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
    1.49 +//!                CMMFDevSound::PlayInitL()
    1.50 +//!                CMMFDevSound::RecordInitL()
    1.51 +//!                CMMFDevSound::Stop()
    1.52 +//!                
    1.53 +//! TEST_BLOCK 002
    1.54 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
    1.55 +//!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
    1.56 +//!                CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
    1.57 +//!@SYMAuthor			jguillermo
    1.58 +//!@SYMCreationDate		8/25/2008 
    1.59 +//!@SYMTestCaseDesc		Calendar alarm during voice recording
    1.60 +//!@SYMTestActions
    1.61 +//! TEST_BLOCK 001
    1.62 +//!                1. Create DevSound instance
    1.63 +//!                2. Initialize DevSound (Mode = EMMFStateRecording; FourCC = AMR)
    1.64 +//!                3. Set Priority ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
    1.65 +//!                4. Capabilities
    1.66 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
    1.67 +//!                6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\CalendarAlarmDuringRecAMRNB.amr)
    1.68 +//!                7. Record 20 seconds
    1.69 +//!                8. Stop 5 seconds
    1.70 +//!                9. Close file
    1.71 +//!                10. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = AMR)
    1.72 +//!                11. Set Priority ( Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
    1.73 +//!                12. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
    1.74 +//!                13. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\CalendarAlarmDuringRecAMRNB.amr)
    1.75 +//!                14. Play EOF
    1.76 +//!                15. Close file
    1.77 +//!                16. Delete DevSound instance
    1.78 +//! TEST_BLOCK 002
    1.79 +//!                1. Create DevSound instance
    1.80 +//!                2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC=ILBC)
    1.81 +//!                3. Set priority settings delay 10s ( Priority = {Priority,PriorityCalendarAlarm}; Preference = {PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
    1.82 +//!                4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
    1.83 +//!                5. Delete DevSound instance.
    1.84 +//!                
    1.85 +//!@SYMTestStatus		Verified
    1.86 +//!@SYMTestPriority		High
    1.87 +//!@SYMTestExpectedResults
    1.88 +//!                Calendar alarm during voice recording
    1.89 +//! TEST_BLOCK 001
    1.90 +//!                Record AMR file during 20s and play recorded file
    1.91 +//! TEST_BLOCK 002
    1.92 +//!                Play tone sequence
    1.93 +//!@SYMTestType			CIT
    1.94 +
    1.95 +
    1.96 +	CONCURRENT
    1.97 +
    1.98 +
    1.99 +
   1.100 +	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.101 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.102 +		COMMAND		devsound1		NewL
   1.103 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-InitializeL_command02
   1.104 +		OUTSTANDING
   1.105 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-SetPrioritySettings_command03
   1.106 +		COMMAND		devsound1		Capabilities
   1.107 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-SetConfigL_command05
   1.108 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-ReplaceFile_command06
   1.109 +		COMMAND		devsound1		RecordInitL
   1.110 +		ASYNC_DELAY  20000000 
   1.111 +		COMMAND		devsound1		Stop
   1.112 +		DELAY  5000000 
   1.113 +		COMMAND		devsound1		CloseFile
   1.114 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-InitializeL_command10
   1.115 +		OUTSTANDING
   1.116 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-SetPrioritySettings_command11
   1.117 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-SetConfigL_command12
   1.118 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0001-OpenFile_command13
   1.119 +		COMMAND		    devsound1		PlayInitL
   1.120 +		OUTSTANDING
   1.121 +		COMMAND		devsound1		CloseFile
   1.122 +		COMMAND		devsound1		~
   1.123 +	END_TEST_BLOCK
   1.124 +
   1.125 +
   1.126 +
   1.127 +	START_TEST_BLOCK	100	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.128 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.129 +		COMMAND		devsound1		NewL
   1.130 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0002-InitializeL_command02
   1.131 +		OUTSTANDING
   1.132 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0002-SetPrioritySettings_command03
   1.133 +		DELAY  10000000 
   1.134 +		COMMAND		devsound1		PlayToneSequenceL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0001-0002-PlayToneSequenceL_command04
   1.135 +		OUTSTANDING
   1.136 +		COMMAND		devsound1		~
   1.137 +	END_TEST_BLOCK
   1.138 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0001
   1.139 +
   1.140 +
   1.141 +
   1.142 +
   1.143 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0002
   1.144 +
   1.145 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0002
   1.146 +//!@SYMAPI
   1.147 +//! TEST_BLOCK 001
   1.148 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.149 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.150 +//!                CMMFDevSound::Capabilities()
   1.151 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.152 +//!                CMMFDevSound::PlayInitL()
   1.153 +//!                CMMFDevSound::RecordInitL()
   1.154 +//!                CMMFDevSound::Stop()
   1.155 +//!                
   1.156 +//! TEST_BLOCK 002
   1.157 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
   1.158 +//!                CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
   1.159 +//!                CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
   1.160 +//!                CMMFDevSound::PlayInitL()
   1.161 +//!@SYMAuthor			jpacho
   1.162 +//!@SYMCreationDate		7/28/2008 
   1.163 +//!@SYMTestCaseDesc		DTMF tones during voice recording
   1.164 +//!@SYMTestActions
   1.165 +//! TEST_BLOCK 001
   1.166 +//!                1. Create Devsound instance 
   1.167 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
   1.168 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.169 +//!                4. Capabilities
   1.170 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.171 +//!                6. Replace file (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\PlayDTMFDuringRecPCM.pcm)
   1.172 +//!                7. Record 30s 
   1.173 +//!                8. Stop 5s
   1.174 +//!                9.Close file 
   1.175 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
   1.176 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.177 +//!                12. Capabilities
   1.178 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.179 +//!                14.Open file (Filename =  {drive,mmc}\multimedia\mmf\devsound\Recording\PlayDTMFDuringRecPCM.pcm)
   1.180 +//!                15. Start Play 20 seconds
   1.181 +//!                16.Close file 
   1.182 +//!                17. Delete devsound instance
   1.183 +//! TEST_BLOCK 002
   1.184 +//!                1. Create DevSound instance
   1.185 +//!                2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
   1.186 +//!                3. Set priority settings ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
   1.187 +//!                4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
   1.188 +//!                5. Start DTMF Play (DTMFString = 1234567890)
   1.189 +//!                6. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
   1.190 +//!                7. Start DTMF Play (DTMFString = 1234567890)
   1.191 +//!                8. Destroy DevSound instance
   1.192 +//!                
   1.193 +//!@SYMTestStatus		Delivered
   1.194 +//!@SYMTestPriority		High
   1.195 +//!@SYMTestExpectedResults
   1.196 +//!                DTMF tones during voice recording
   1.197 +//! TEST_BLOCK 001
   1.198 +//!                RAW recording for 30s and play for 20s
   1.199 +//! TEST_BLOCK 002
   1.200 +//!                DTMF play
   1.201 +//!@SYMTestType			CIT
   1.202 +
   1.203 +
   1.204 +	CONCURRENT
   1.205 +
   1.206 +
   1.207 +
   1.208 +	START_TEST_BLOCK	90	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.209 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.210 +		COMMAND		devsound1		NewL
   1.211 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-InitializeL_command02
   1.212 +		OUTSTANDING
   1.213 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-SetPrioritySettings_command03
   1.214 +		COMMAND		devsound1		Capabilities
   1.215 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-SetConfigL_command05
   1.216 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-ReplaceFile_command06
   1.217 +		COMMAND		devsound1		RecordInitL
   1.218 +		ASYNC_DELAY  30000000 
   1.219 +		COMMAND		devsound1		Stop
   1.220 +		DELAY  5000000 
   1.221 +		COMMAND		devsound1		CloseFile
   1.222 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-InitializeL_command10
   1.223 +		OUTSTANDING
   1.224 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-SetPrioritySettings_command11
   1.225 +		COMMAND		devsound1		Capabilities
   1.226 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-SetConfigL_command13
   1.227 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0001-OpenFile_command14
   1.228 +		COMMAND		devsound1		PlayInitL
   1.229 +		ASYNC_DELAY  20000000 
   1.230 +		COMMAND		devsound1		CloseFile
   1.231 +		COMMAND		devsound1		~
   1.232 +	END_TEST_BLOCK
   1.233 +
   1.234 +
   1.235 +
   1.236 +	START_TEST_BLOCK	90	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.237 +		CREATE_OBJECT	CMMFDevSound		devsound2
   1.238 +		COMMAND		devsound2		NewL
   1.239 +		COMMAND		devsound2		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-InitializeL_command02
   1.240 +		OUTSTANDING
   1.241 +		COMMAND		devsound2		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-SetPrioritySettings_command03
   1.242 +		COMMAND		devsound2		SetDTMFLengths			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-SetDTMFLengths_command04
   1.243 +		COMMAND		devsound2		PlayDTMFStringL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-PlayDTMFStringL_command05
   1.244 +		ASYNC_DELAY  3000000 
   1.245 +		COMMAND		devsound2		SetDTMFLengths			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-SetDTMFLengths_command06
   1.246 +		COMMAND		devsound2		PlayDTMFStringL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0002-0002-PlayDTMFStringL_command07
   1.247 +		ASYNC_DELAY  3000000 
   1.248 +		COMMAND		devsound2		~
   1.249 +	END_TEST_BLOCK
   1.250 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0002
   1.251 +
   1.252 +
   1.253 +
   1.254 +
   1.255 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0003
   1.256 +
   1.257 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0003
   1.258 +//!@SYMAPI
   1.259 +//! TEST_BLOCK 001
   1.260 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.261 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.262 +//!                CMMFDevSound::Capabilities()
   1.263 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.264 +//!                CMMFDevSound::PlayInitL()
   1.265 +//!                CMMFDevSound::RecordInitL()
   1.266 +//!                CMMFDevSound::Stop()
   1.267 +//!                
   1.268 +//! TEST_BLOCK 002
   1.269 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
   1.270 +//!                CMMFDevSound::SetPrioritySettings(const 
   1.271 +//!                CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
   1.272 +//!                CMMFDevSound::Stop()
   1.273 +//!                CMMFDevSound::Pause()
   1.274 +//!                
   1.275 +//!@SYMAuthor			myanez
   1.276 +//!@SYMCreationDate		8/25/2008 
   1.277 +//!@SYMTestCaseDesc		Incoming SMS during voice recording
   1.278 +//!@SYMTestActions
   1.279 +//! TEST_BLOCK 001
   1.280 +//!                1. Create DevSound Instance
   1.281 +//!                2. Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\IncomingSMSDuringRecAMRNB.amr)
   1.282 +//!                3. Initialize Devsound ( Mode = EMMFStateRecording; FourCC= AMR)
   1.283 +//!                4. Set Priority Settings ( Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState=EMMFStateRecording)
   1.284 +//!                5. Capabilities 
   1.285 +//!                6. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.286 +//!                7.Start Record for 20 seconds
   1.287 +//!                8. Stop for 5 seconds
   1.288 +//!                9. Close File
   1.289 +//!                10. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\IncomingSMSDuringRecAMRNB.amr)
   1.290 +//!                11. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
   1.291 +//!                12. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
   1.292 +//!                13. Capabilities 
   1.293 +//!                14. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.294 +//!                15. Start Play
   1.295 +//!                16.Close File
   1.296 +//!                17. Destroy DevSound Instance
   1.297 +//! TEST_BLOCK 002
   1.298 +//!                1. Create DevSound instance
   1.299 +//!                2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
   1.300 +//!                3. Set priority settings ( Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
   1.301 +//!                4. Pause for 10 seconds(Pause=TRUE)
   1.302 +//!                5. Play tone sequence 10 seconds(Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
   1.303 +//!                6. Stop
   1.304 +//!                7. Destroy DevSound instance
   1.305 +//!@SYMTestStatus		Verified
   1.306 +//!@SYMTestPriority		High
   1.307 +//!@SYMTestExpectedResults
   1.308 +//!                Incoming SMS during voice recording
   1.309 +//! TEST_BLOCK 001
   1.310 +//!                AMR recording with expected error -13
   1.311 +//! TEST_BLOCK 002
   1.312 +//!                Play tone sequence
   1.313 +//!@SYMTestType			CIT
   1.314 +
   1.315 +
   1.316 +	CONCURRENT
   1.317 +
   1.318 +
   1.319 +
   1.320 +	START_TEST_BLOCK	60	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.321 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.322 +		COMMAND		devsound1		NewL
   1.323 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-ReplaceFile_command02
   1.324 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-InitializeL_command03
   1.325 +		OUTSTANDING
   1.326 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-SetPrioritySettings_command04
   1.327 +		COMMAND		devsound1		Capabilities
   1.328 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-SetConfigL_command06
   1.329 +		COMMAND		!AsyncError=-13    devsound1		RecordInitL
   1.330 +		ASYNC_DELAY  20000000 
   1.331 +		COMMAND		devsound1		Stop
   1.332 +		DELAY  5000000 
   1.333 +		COMMAND		devsound1		CloseFile
   1.334 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-OpenFile_command11
   1.335 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-InitializeL_command12
   1.336 +		OUTSTANDING
   1.337 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-SetPrioritySettings_command13
   1.338 +		COMMAND		devsound1		Capabilities
   1.339 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0001-SetConfigL_command15
   1.340 +		COMMAND		  devsound1		PlayInitL
   1.341 +		OUTSTANDING
   1.342 +		COMMAND		devsound1		CloseFile
   1.343 +		COMMAND		devsound1		~
   1.344 +	END_TEST_BLOCK
   1.345 +
   1.346 +
   1.347 +
   1.348 +	START_TEST_BLOCK	60	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.349 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.350 +		COMMAND		devsound1		NewL
   1.351 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0002-InitializeL_command02
   1.352 +		OUTSTANDING
   1.353 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0002-SetPrioritySettings_command03
   1.354 +		COMMAND		devsound1		Stop			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0002-Stop_command04
   1.355 +		DELAY  10000000 
   1.356 +		COMMAND		devsound1		PlayToneSequenceL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0003-0002-PlayToneSequenceL_command05
   1.357 +		ASYNC_DELAY  10000000 
   1.358 +		COMMAND		devsound1		Stop
   1.359 +		COMMAND		devsound1		~
   1.360 +	END_TEST_BLOCK
   1.361 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0003
   1.362 +
   1.363 +
   1.364 +
   1.365 +
   1.366 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0004
   1.367 +
   1.368 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0004
   1.369 +//!@SYMAPI
   1.370 +//! TEST_BLOCK 001
   1.371 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
   1.372 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
   1.373 +//!                CMMFDevSound::Capabilities()
   1.374 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
   1.375 +//!                CMMFDevSound::PlayInitL()
   1.376 +//!                CMMFDevSound::RecordInitL()
   1.377 +//! TEST_BLOCK 002
   1.378 +//!                CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
   1.379 +//!                CMMFDevSound::SetPrioritySettings(const 
   1.380 +//!                CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
   1.381 +//!                
   1.382 +//!@SYMAuthor			etorres
   1.383 +//!@SYMCreationDate		7/28/2008 
   1.384 +//!@SYMTestCaseDesc		Mixing rule - Stop and play beep and perform
   1.385 +//!@SYMTestActions
   1.386 +//! TEST_BLOCK 001
   1.387 +//!                1. Create Devsound instance 
   1.388 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
   1.389 +//!                3. Set Priority (Priority = {Priority,PriorityVoiceRecording}; Preference = {PriorityPreference,PriorityPreferenceVoiceRecording} ; PriorityState = EMMFStateRecording)
   1.390 +//!                4. Capabilities
   1.391 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.392 +//!                6. ReplaceFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\MixingRuleSBR.amr)
   1.393 +//!                7. Record 20 s
   1.394 +//!                8. Stop 5s
   1.395 +//!                9. CloseFile
   1.396 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
   1.397 +//!                11. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
   1.398 +//!                12. Capabilities
   1.399 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.400 +//!                14. OpenFile (Filename={drive,mmc}\multimedia\mmf\devsound\Recording\MixingRuleSBR.amr)
   1.401 +//!                15. Play EOF
   1.402 +//!                16. CloseFile
   1.403 +//!                17. Delete devsound instance
   1.404 +//! TEST_BLOCK 002
   1.405 +//!                1. Create DevSound instance
   1.406 +//!                2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
   1.407 +//!                3. Set priority settings 1s ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
   1.408 +//!                4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
   1.409 +//!                5. Delete DevSound instance.
   1.410 +//!@SYMTestStatus		Verified
   1.411 +//!@SYMTestPriority		High
   1.412 +//!@SYMTestExpectedResults
   1.413 +//!                Mixing rule - Stop and play beep and perform
   1.414 +//! TEST_BLOCK 001
   1.415 +//!                AMR recording for 20s and playback until EOF
   1.416 +//! TEST_BLOCK 002
   1.417 +//!                Play tone sequence
   1.418 +//!@SYMTestType			CIT
   1.419 +
   1.420 +
   1.421 +	CONCURRENT
   1.422 +
   1.423 +
   1.424 +
   1.425 +	START_TEST_BLOCK	50	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.426 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.427 +		COMMAND		devsound1		NewL
   1.428 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-InitializeL_command02
   1.429 +		OUTSTANDING
   1.430 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-SetPrioritySettings_command03
   1.431 +		COMMAND		devsound1		Capabilities
   1.432 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-SetConfigL_command05
   1.433 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-ReplaceFile_command06
   1.434 +		COMMAND		devsound1		RecordInitL
   1.435 +		ASYNC_DELAY  20000000 
   1.436 +		COMMAND		devsound1		Stop
   1.437 +		DELAY  5000000 
   1.438 +		COMMAND		devsound1		CloseFile
   1.439 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-InitializeL_command10
   1.440 +		OUTSTANDING
   1.441 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-SetPrioritySettings_command11
   1.442 +		COMMAND		devsound1		Capabilities
   1.443 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-SetConfigL_command13
   1.444 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0001-OpenFile_command14
   1.445 +		COMMAND		devsound1		PlayInitL
   1.446 +		OUTSTANDING
   1.447 +		COMMAND		devsound1		CloseFile
   1.448 +		COMMAND		devsound1		~
   1.449 +	END_TEST_BLOCK
   1.450 +
   1.451 +
   1.452 +
   1.453 +	START_TEST_BLOCK	20	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_rt.ini
   1.454 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.455 +		COMMAND		devsound1		NewL
   1.456 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0002-InitializeL_command02
   1.457 +		OUTSTANDING
   1.458 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0002-SetPrioritySettings_command03
   1.459 +		DELAY  1000000 
   1.460 +		COMMAND		devsound1		PlayToneSequenceL			MULTIMEDIA-MMF-DevSound-Comb_Rt-0004-0002-PlayToneSequenceL_command04
   1.461 +		OUTSTANDING
   1.462 +		COMMAND		devsound1		~
   1.463 +	END_TEST_BLOCK
   1.464 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_RT-0004