os/mm/mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-stress-automated-recording.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-stress-automated-recording.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,536 @@
     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-stress-automated-recording
    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-STRESS-AUTOMATED-RECORDING-0001
    1.41 +
    1.42 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0001
    1.43 +//!@SYMAPI
    1.44 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
    1.45 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
    1.46 +//!                CMMFDevSound::Capabilities()
    1.47 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
    1.48 +//!                CMMFDevSound::PlayInitL()
    1.49 +//!                CMMFDevSound::RecordInitL()
    1.50 +//!                CMMFDevSound::Stop()
    1.51 +//!                
    1.52 +//!@SYMAuthor			etorres
    1.53 +//!@SYMCreationDate		7/21/2008 
    1.54 +//!@SYMTestCaseDesc		AMR-NB recording 30 minutes
    1.55 +//!@SYMTestActions
    1.56 +//!                1. Create Devsound instance 
    1.57 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AMR)
    1.58 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
    1.59 +//!                4. Capabilities
    1.60 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
    1.61 +//!                6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRNB30Min.amr )
    1.62 +//!                7. Record 1800m 
    1.63 +//!                8. Stop 5s
    1.64 +//!                9.CloseFile
    1.65 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AMR)
    1.66 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
    1.67 +//!                12. Capabilities
    1.68 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
    1.69 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRNB30Min.amr)
    1.70 +//!                15. Start Play 60 seconds
    1.71 +//!                16. Stop
    1.72 +//!                17. CloseFile
    1.73 +//!                18. Delete devsound instance
    1.74 +//!@SYMTestStatus		Verified
    1.75 +//!@SYMTestPriority		High
    1.76 +//!@SYMTestExpectedResults
    1.77 +//!                AMR-NB recording 30 minutes
    1.78 +//!@SYMTestType			CIT
    1.79 +
    1.80 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
    1.81 +		CREATE_OBJECT	CMMFDevSound		devsound1
    1.82 +		COMMAND		devsound1		NewL
    1.83 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-InitializeL_command02
    1.84 +		OUTSTANDING
    1.85 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetPrioritySettings_command03
    1.86 +		COMMAND		devsound1		Capabilities
    1.87 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetConfigL_command05
    1.88 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-ReplaceFile_command06
    1.89 +		COMMAND		devsound1		RecordInitL
    1.90 +		ASYNC_DELAY  1800000000 
    1.91 +		COMMAND		devsound1		Stop
    1.92 +		DELAY  5000000 
    1.93 +		COMMAND		devsound1		CloseFile
    1.94 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-InitializeL_command10
    1.95 +		OUTSTANDING
    1.96 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetPrioritySettings_command11
    1.97 +		COMMAND		devsound1		Capabilities
    1.98 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-SetConfigL_command13
    1.99 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0001-0001-OpenFile_command14
   1.100 +		COMMAND		devsound1		PlayInitL
   1.101 +		ASYNC_DELAY  60000000 
   1.102 +		COMMAND		devsound1		Stop
   1.103 +		DELAY  2000000 
   1.104 +		COMMAND		devsound1		CloseFile
   1.105 +		COMMAND		devsound1		~
   1.106 +	END_TEST_BLOCK
   1.107 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0001
   1.108 +
   1.109 +
   1.110 +
   1.111 +
   1.112 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
   1.113 +
   1.114 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
   1.115 +//!@SYMAPI
   1.116 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.117 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.118 +//!                CMMFDevSound::Capabilities()
   1.119 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.120 +//!                CMMFDevSound::PlayInitL()
   1.121 +//!                CMMFDevSound::RecordInitL()
   1.122 +//!                CMMFDevSound::Stop()
   1.123 +//!                
   1.124 +//!@SYMAuthor			etorres
   1.125 +//!@SYMCreationDate		7/21/2008 
   1.126 +//!@SYMTestCaseDesc		AMR-WB recording 30 minutes
   1.127 +//!@SYMTestActions
   1.128 +//!                1. Create Devsound instance 
   1.129 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = AWB)
   1.130 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.131 +//!                4. Capabilities
   1.132 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.133 +//!                6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRWB30Min.awb )
   1.134 +//!                7. Record 1800m
   1.135 +//!                8. Stop 5s
   1.136 +//!                9. CloseFile
   1.137 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = AWB)
   1.138 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.139 +//!                12. Capabilities
   1.140 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.141 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecAMRWB30Min.awb)
   1.142 +//!                15. Start Play 60 seconds 
   1.143 +//!                16. Stop
   1.144 +//!                17. CloseFile
   1.145 +//!                18. Delete devsound instance
   1.146 +//!@SYMTestStatus		Verified
   1.147 +//!@SYMTestPriority		High
   1.148 +//!@SYMTestExpectedResults
   1.149 +//!                AMR-WB recording 30 minutes
   1.150 +//!@SYMTestType			CIT
   1.151 +
   1.152 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.153 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.154 +		COMMAND		devsound1		NewL
   1.155 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-InitializeL_command02
   1.156 +		OUTSTANDING
   1.157 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetPrioritySettings_command03
   1.158 +		COMMAND		devsound1		Capabilities
   1.159 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetConfigL_command05
   1.160 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-ReplaceFile_command06
   1.161 +		COMMAND		devsound1		RecordInitL
   1.162 +		ASYNC_DELAY  1800000000 
   1.163 +		COMMAND		devsound1		Stop
   1.164 +		DELAY  5000000 
   1.165 +		COMMAND		devsound1		CloseFile
   1.166 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-InitializeL_command10
   1.167 +		OUTSTANDING
   1.168 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetPrioritySettings_command11
   1.169 +		COMMAND		devsound1		Capabilities
   1.170 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-SetConfigL_command13
   1.171 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0002-0001-OpenFile_command14
   1.172 +		COMMAND		devsound1		PlayInitL
   1.173 +		ASYNC_DELAY  60000000 
   1.174 +		COMMAND		devsound1		Stop
   1.175 +		DELAY  2000000 
   1.176 +		COMMAND		devsound1		CloseFile
   1.177 +		COMMAND		devsound1		~
   1.178 +	END_TEST_BLOCK
   1.179 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0002
   1.180 +
   1.181 +
   1.182 +
   1.183 +
   1.184 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
   1.185 +
   1.186 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
   1.187 +//!@SYMAPI
   1.188 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.189 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.190 +//!                CMMFDevSound::Capabilities()
   1.191 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.192 +//!                CMMFDevSound::PlayInitL()
   1.193 +//!                CMMFDevSound::RecordInitL()
   1.194 +//!                CMMFDevSound::Stop()
   1.195 +//!                
   1.196 +//!@SYMAuthor			etorres
   1.197 +//!@SYMCreationDate		7/21/2008 
   1.198 +//!@SYMTestCaseDesc		G.711 recording 30 minutes
   1.199 +//!@SYMTestActions
   1.200 +//!                1. Create Devsound instance 
   1.201 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G711)
   1.202 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.203 +//!                4. Capabilities
   1.204 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.205 +//!                6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG711a30Min.pcm )
   1.206 +//!                7. Record 1800m
   1.207 +//!                8. Stop 5s
   1.208 +//!                9. CloseFile 
   1.209 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G711)
   1.210 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.211 +//!                12. Capabilities
   1.212 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.213 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG711a30Min.pcm)
   1.214 +//!                15. Start Play 60 seconds 
   1.215 +//!                16. Stop
   1.216 +//!                17. CloseFile
   1.217 +//!                18. Delete devsound instance
   1.218 +//!@SYMTestStatus		Verified
   1.219 +//!@SYMTestPriority		High
   1.220 +//!@SYMTestExpectedResults
   1.221 +//!                G.711 recording 30 minutes
   1.222 +//!@SYMTestType			CIT
   1.223 +
   1.224 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.225 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.226 +		COMMAND		devsound1		NewL
   1.227 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-InitializeL_command02
   1.228 +		OUTSTANDING
   1.229 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetPrioritySettings_command03
   1.230 +		COMMAND		devsound1		Capabilities
   1.231 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetConfigL_command05
   1.232 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-ReplaceFile_command06
   1.233 +		COMMAND		devsound1		RecordInitL
   1.234 +		ASYNC_DELAY  1800000000 
   1.235 +		COMMAND		devsound1		Stop
   1.236 +		DELAY  5000000 
   1.237 +		COMMAND		devsound1		CloseFile
   1.238 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-InitializeL_command10
   1.239 +		OUTSTANDING
   1.240 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetPrioritySettings_command11
   1.241 +		COMMAND		devsound1		Capabilities
   1.242 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-SetConfigL_command13
   1.243 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0003-0001-OpenFile_command14
   1.244 +		COMMAND		devsound1		PlayInitL
   1.245 +		ASYNC_DELAY  60000000 
   1.246 +		COMMAND		devsound1		Stop
   1.247 +		DELAY  2000000 
   1.248 +		COMMAND		devsound1		CloseFile
   1.249 +		COMMAND		devsound1		~
   1.250 +	END_TEST_BLOCK
   1.251 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0003
   1.252 +
   1.253 +
   1.254 +
   1.255 +
   1.256 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
   1.257 +
   1.258 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
   1.259 +//!@SYMAPI
   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 +//!@SYMAuthor			etorres
   1.269 +//!@SYMCreationDate		7/21/2008 
   1.270 +//!@SYMTestCaseDesc		G.729AB recording 30 minutes
   1.271 +//!@SYMTestActions
   1.272 +//!                1. Create Devsound instance 
   1.273 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = G729)
   1.274 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.275 +//!                4. Capabilities
   1.276 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.277 +//!                6. ReplaceFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG729AB30min.bin )
   1.278 +//!                7. Record 1800m 
   1.279 +//!                8. Stop 5s
   1.280 +//!                9. CloseFile
   1.281 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = G729)
   1.282 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.283 +//!                12. Capabilities
   1.284 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.285 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\RecG729AB30min.bin)
   1.286 +//!                15. Start Play 60 seconds 
   1.287 +//!                16. Stop
   1.288 +//!                17. CloseFile
   1.289 +//!                18. Delete devsound instance
   1.290 +//!@SYMTestStatus		Verified
   1.291 +//!@SYMTestPriority		High
   1.292 +//!@SYMTestExpectedResults
   1.293 +//!                G.729AB recording 30 minutes
   1.294 +//!@SYMTestType			CIT
   1.295 +
   1.296 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.297 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.298 +		COMMAND		devsound1		NewL
   1.299 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-InitializeL_command02
   1.300 +		OUTSTANDING
   1.301 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetPrioritySettings_command03
   1.302 +		COMMAND		devsound1		Capabilities
   1.303 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetConfigL_command05
   1.304 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-ReplaceFile_command06
   1.305 +		COMMAND		devsound1		RecordInitL
   1.306 +		ASYNC_DELAY  1800000000 
   1.307 +		COMMAND		devsound1		Stop
   1.308 +		DELAY  5000000 
   1.309 +		COMMAND		devsound1		CloseFile
   1.310 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-InitializeL_command10
   1.311 +		OUTSTANDING
   1.312 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetPrioritySettings_command11
   1.313 +		COMMAND		devsound1		Capabilities
   1.314 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-SetConfigL_command13
   1.315 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0004-0001-OpenFile_command14
   1.316 +		COMMAND		devsound1		PlayInitL
   1.317 +		ASYNC_DELAY  60000000 
   1.318 +		COMMAND		devsound1		Stop
   1.319 +		DELAY  2000000 
   1.320 +		COMMAND		devsound1		CloseFile
   1.321 +		COMMAND		devsound1		~
   1.322 +	END_TEST_BLOCK
   1.323 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0004
   1.324 +
   1.325 +
   1.326 +
   1.327 +
   1.328 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
   1.329 +
   1.330 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
   1.331 +//!@SYMAPI
   1.332 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.333 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.334 +//!                CMMFDevSound::Capabilities()
   1.335 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.336 +//!                CMMFDevSound::PlayInitL()
   1.337 +//!                CMMFDevSound::RecordInitL()
   1.338 +//!                CMMFDevSound::Stop()
   1.339 +//!                
   1.340 +//!@SYMAuthor			etorres
   1.341 +//!@SYMCreationDate		7/21/2008 
   1.342 +//!@SYMTestCaseDesc		iLBC recording 30 minutes
   1.343 +//!@SYMTestActions
   1.344 +//!                1. Create Devsound instance 
   1.345 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = ILBC)
   1.346 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.347 +//!                4. Capabilities
   1.348 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.349 +//!                6. ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec15kbpsiLBC30min.bin )
   1.350 +//!                7. Record 1800m 
   1.351 +//!                8. Stop 5s
   1.352 +//!                9. CloseFile
   1.353 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = ILBC)
   1.354 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.355 +//!                12. Capabilities
   1.356 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.357 +//!                14. OpenFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec15kbpsiLBC30min.bin)
   1.358 +//!                15. Start Play 60 seconds 
   1.359 +//!                16. Stop
   1.360 +//!                17. CloseFile
   1.361 +//!                18. Delete devsound instance
   1.362 +//!@SYMTestStatus		Verified
   1.363 +//!@SYMTestPriority		High
   1.364 +//!@SYMTestExpectedResults
   1.365 +//!                iLBC recording 30 minutes
   1.366 +//!@SYMTestType			CIT
   1.367 +
   1.368 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.369 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.370 +		COMMAND		devsound1		NewL
   1.371 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-InitializeL_command02
   1.372 +		OUTSTANDING
   1.373 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetPrioritySettings_command03
   1.374 +		COMMAND		devsound1		Capabilities
   1.375 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetConfigL_command05
   1.376 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-ReplaceFile_command06
   1.377 +		COMMAND		devsound1		RecordInitL
   1.378 +		ASYNC_DELAY  1800000000 
   1.379 +		COMMAND		devsound1		Stop
   1.380 +		DELAY  5000000 
   1.381 +		COMMAND		devsound1		CloseFile
   1.382 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-InitializeL_command10
   1.383 +		OUTSTANDING
   1.384 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetPrioritySettings_command11
   1.385 +		COMMAND		devsound1		Capabilities
   1.386 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-SetConfigL_command13
   1.387 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0005-0001-OpenFile_command14
   1.388 +		COMMAND		devsound1		PlayInitL
   1.389 +		ASYNC_DELAY  60000000 
   1.390 +		COMMAND		devsound1		Stop
   1.391 +		DELAY  2000000 
   1.392 +		COMMAND		devsound1		CloseFile
   1.393 +		COMMAND		devsound1		~
   1.394 +	END_TEST_BLOCK
   1.395 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0005
   1.396 +
   1.397 +
   1.398 +
   1.399 +
   1.400 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
   1.401 +
   1.402 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
   1.403 +//!@SYMAPI
   1.404 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.405 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.406 +//!                CMMFDevSound::Capabilities()
   1.407 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.408 +//!                CMMFDevSound::PlayInitL()
   1.409 +//!                CMMFDevSound::RecordInitL()
   1.410 +//!                CMMFDevSound::Stop()
   1.411 +//!                
   1.412 +//!@SYMAuthor			etorres
   1.413 +//!@SYMCreationDate		7/21/2008 
   1.414 +//!@SYMTestCaseDesc		PCM recording 30 minutes
   1.415 +//!@SYMTestActions
   1.416 +//!                1. Create Devsound instance 
   1.417 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
   1.418 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.419 +//!                4. Capabilities
   1.420 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.421 +//!                6.ReplaceFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30Min.pcm )
   1.422 +//!                7. Record 1800m 
   1.423 +//!                8. Stop 5s
   1.424 +//!                9. CloseFile
   1.425 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
   1.426 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.427 +//!                12. Capabilities
   1.428 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.429 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30Min.pcm)
   1.430 +//!                15. Start Play 60 seconds 
   1.431 +//!                16. Stop
   1.432 +//!                17. CloseFile
   1.433 +//!                18. Delete devsound instance
   1.434 +//!@SYMTestStatus		Verified
   1.435 +//!@SYMTestPriority		High
   1.436 +//!@SYMTestExpectedResults
   1.437 +//!                PCM recording 30 minutes
   1.438 +//!@SYMTestType			CIT
   1.439 +
   1.440 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.441 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.442 +		COMMAND		devsound1		NewL
   1.443 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-InitializeL_command02
   1.444 +		OUTSTANDING
   1.445 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetPrioritySettings_command03
   1.446 +		COMMAND		devsound1		Capabilities
   1.447 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetConfigL_command05
   1.448 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-ReplaceFile_command06
   1.449 +		COMMAND		devsound1		RecordInitL
   1.450 +		ASYNC_DELAY  1800000000 
   1.451 +		COMMAND		devsound1		Stop
   1.452 +		DELAY  5000000 
   1.453 +		COMMAND		devsound1		CloseFile
   1.454 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-InitializeL_command10
   1.455 +		OUTSTANDING
   1.456 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetPrioritySettings_command11
   1.457 +		COMMAND		devsound1		Capabilities
   1.458 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-SetConfigL_command13
   1.459 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0006-0001-OpenFile_command14
   1.460 +		COMMAND		devsound1		PlayInitL
   1.461 +		ASYNC_DELAY  60000000 
   1.462 +		COMMAND		devsound1		Stop
   1.463 +		DELAY  2000000 
   1.464 +		COMMAND		devsound1		CloseFile
   1.465 +		COMMAND		devsound1		~
   1.466 +	END_TEST_BLOCK
   1.467 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0006
   1.468 +
   1.469 +
   1.470 +
   1.471 +
   1.472 +START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007
   1.473 +
   1.474 +//!@SYMTestCaseID		MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007
   1.475 +//!@SYMAPI
   1.476 +//!                CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TMMFState )
   1.477 +//!                CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings {ref} )
   1.478 +//!                CMMFDevSound::Capabilities()
   1.479 +//!                CMMFDevSound::SetConfigL(const TMMFCapabilities {ref} )
   1.480 +//!                CMMFDevSound::PlayInitL()
   1.481 +//!                CMMFDevSound::RecordInitL()
   1.482 +//!                CMMFDevSound::Stop()
   1.483 +//!                
   1.484 +//!@SYMAuthor			etorres
   1.485 +//!@SYMCreationDate		7/21/2008 
   1.486 +//!@SYMTestCaseDesc		PCM recording 30 minutes
   1.487 +//!@SYMTestActions
   1.488 +//!                1. Create Devsound instance 
   1.489 +//!                2. Initialize Devsound (Mode = EMMFStateRecording; FourCC = {SpecialFourCC,RAW})
   1.490 +//!                3. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStateRecording)
   1.491 +//!                4. Capabilities
   1.492 +//!                5. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.493 +//!                6.ReplaceFile(Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30MinB.pcm )
   1.494 +//!                7. Record 1800m 
   1.495 +//!                8. Stop 5s
   1.496 +//!                9.CloseFile
   1.497 +//!                10. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
   1.498 +//!                11. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState = EMMFStatePlaying)
   1.499 +//!                12. Capabilities
   1.500 +//!                13. Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate8000Hz)
   1.501 +//!                14. OpenFile (Filename = {drive,mmc}\multimedia\mmf\devsound\Recording\robustness\Rec8kPCM30MinB.pcm)
   1.502 +//!                15. Start Play 60 seconds 
   1.503 +//!                16. Stop
   1.504 +//!                17. CloseFile
   1.505 +//!                18. Delete devsound instance
   1.506 +//!@SYMTestStatus		Verified
   1.507 +//!@SYMTestPriority		High
   1.508 +//!@SYMTestExpectedResults
   1.509 +//!                PCM recording 30 minutes
   1.510 +//!@SYMTestType			CIT
   1.511 +
   1.512 +	START_TEST_BLOCK	2000	t_devsound	\multimedia\mmf\devsound\multimedia-mmf-devsound-stress-automated-recording.ini
   1.513 +		CREATE_OBJECT	CMMFDevSound		devsound1
   1.514 +		COMMAND		devsound1		NewL
   1.515 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-InitializeL_command02
   1.516 +		OUTSTANDING
   1.517 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetPrioritySettings_command03
   1.518 +		COMMAND		devsound1		Capabilities
   1.519 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetConfigL_command05
   1.520 +		COMMAND		devsound1		ReplaceFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-ReplaceFile_command06
   1.521 +		COMMAND		devsound1		RecordInitL
   1.522 +		ASYNC_DELAY  1800000000 
   1.523 +		COMMAND		devsound1		Stop
   1.524 +		DELAY  5000000 
   1.525 +		COMMAND		devsound1		CloseFile
   1.526 +		COMMAND		devsound1		InitializeL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-InitializeL_command10
   1.527 +		OUTSTANDING
   1.528 +		COMMAND		devsound1		SetPrioritySettings			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetPrioritySettings_command11
   1.529 +		COMMAND		devsound1		Capabilities
   1.530 +		COMMAND		devsound1		SetConfigL			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-SetConfigL_command13
   1.531 +		COMMAND		devsound1		OpenFile			MULTIMEDIA-MMF-DevSound-Stress-Recording-0007-0001-OpenFile_command14
   1.532 +		COMMAND		devsound1		PlayInitL
   1.533 +		ASYNC_DELAY  60000000 
   1.534 +		COMMAND		devsound1		Stop
   1.535 +		DELAY  2000000 
   1.536 +		COMMAND		devsound1		CloseFile
   1.537 +		COMMAND		devsound1		~
   1.538 +	END_TEST_BLOCK
   1.539 +END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-STRESS-AUTOMATED-RECORDING-0007