mmapitest/devsoundhaitest/scripts/multimedia-mmf-devsound-validation-automated-comb_pt.script
//
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
//
//! @file
//! @SYMTestSuiteName multimedia-mmf-devsound-validation-automated-comb_pt
//! @SYMScriptTestEnvironment This test script requires a basic ROM.
//
// Tests all public elements of the CMMFDevSound
// classes as a means of confidence that the APIs work as expected.
//
// The purpose is to provide a regression test suite of PublishedAll
// APIs for: CMMFDevSound
// The tests are fully automated.
//
LOAD_SUITE t_devsound
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! CMMFDevSound::Stop()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//!@SYMAuthor jguillermo
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc Calendar alarm during alarm clock
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create DevSound instance
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
//! 3. Set Priority (Priority = {Priority,PriorityCalendarAlarm}; Preference = {PriorityPreference,PriorityPreferenceClockAlarm};PriorityState=EMMFStatePlaying)
//! 4. Capabilities
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 7. Start Play for 20 seconds
//! 8. Stop
//! 9. Close file
//! 10. Destroy DevSound instance
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
//! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete DevSound instance.
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Calendar alarm during alarm clock
//! TEST_BLOCK 001
//! MP3 playback for 20 s
//! TEST_BLOCK 002
//! Play tone sequence
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 Stop
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0001-0002-PlayToneSequenceL_command04
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0001
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
//! CMMFDevSound::PlayInitL()
//! CMMFDevSound::Stop()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//!@SYMAuthor etorres
//!@SYMCreationDate 8/25/2008
//!@SYMTestCaseDesc Calendar alarm during incoming call
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create DevSound instance
//! 2. Initialize DevSound (Mode = EMMFStatePlaying; FourCC = MP3)
//! 3. Set Priority (Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall};PriorityState=EMMFStatePlaying)
//! 4. Capabilities
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 6. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\mp3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 7. Start Play for 20 seconds
//! 8. Stop
//! 9. Close file
//! 10. Destroy DevSound instance
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize DevSound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set priority settings and delay 10 seconds ( Priority={Priority,PriorityCalendarAlarm}; Preference={PriorityPreference,PriorityPreferenceCalendarAlarm}; PriorityState=EMMFStateTonePlaying)
//! 4. Play tone sequence EOF (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete DevSound instance.
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Calendar alarm during incoming call
//! TEST_BLOCK 001
//! MP3 playback for 20s
//! TEST_BLOCK 002
//! Expected error -21 during playtone sequence
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 30 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 Stop
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0002-0002-PlayToneSequenceL_command05
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0002
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::SetDTMFLengths(TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref}, TTimeIntervalMicroSeconds32 {ref})
//! CMMFDevSound::PlayInitL()
//!@SYMAuthor jpacho
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc DTMF tones during audio playback
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound instance
//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
//! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
//! 4. Set Priority (Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
//! 5. Capabilities
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
//! 7. Start Play for 20 seconds
//! 8.Stop
//! 9.Close file
//! 10.Destroy Devsound instance
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set priority settings & delay 1s ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality}; PriorityState=EMMFStateTonePlaying)
//! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
//! 5. Start DTMF Play (DTMFString = 1234567890)
//! 6. Destroy DevSound instance
//!@SYMTestStatus Delivered
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! DTMF tones during audio playback
//! TEST_BLOCK 001
//! RAW playback for 20 s
//! TEST_BLOCK 002
//! DTMF play
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-OpenFile_command02
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-InitializeL_command03
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetPrioritySettings_command04
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0001-SetConfigL_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 Stop
DELAY 2000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-SetDTMFLengths_command04
COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0003-0002-PlayDTMFStringL_command05
ASYNC_DELAY 3000000
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0003
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings{ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const
//! CMMFDevSound::SetConfigL(const TMMFCapabilities{ref})
//! CMMFDevSound::Pause()
//! CMMFDevSound::SetToneRepeats(TInt, TTimeIntervalMicroSeconds {ref})
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//! CMMFDevSound::Stop()
//!@SYMAuthor myanez
//!@SYMCreationDate 8/25/2008
//!@SYMTestCaseDesc Incoming call during audio playback
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound Instance
//! 2. Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 3. Initialize Devsound (Mode = EMMFStatePlaying; FourCC = MP3)
//! 4. Set Priority (Priority = {Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState=EMMFStatePlaying)
//! 5. Capabilities
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 7. Start Play for 30 seconds
//! 8. Stop
//! 9. Close File
//! 10. Destroy Devsound Instance
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set priority settings ( Priority = {Priority,PriorityIncomingCall}; Preference = {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
//! 4. Pause for 10 seconds(Pause=TRUE)
//! 5. Set tone repeats (RepeatCount = 5; RepeatTrailingSilence = 0)
//! 6. Play tone sequence 10 seconds(Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
//! 7. Stop
//! 8. Destroy DevSound instance
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Incoming call during audio playback
//! TEST_BLOCK 001
//! MP3 playback for 30s
//! TEST_BLOCK 002
//! Play tone sequence
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-OpenFile_command02
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-InitializeL_command03
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetPrioritySettings_command04
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0001-SetConfigL_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 30000000
COMMAND devsound1 Stop
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 60 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetPrioritySettings_command03
COMMAND devsound1 Stop MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-Stop_command04
DELAY 10000000
COMMAND devsound1 SetToneRepeats MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-SetToneRepeats_command05
COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0004-0002-PlayToneSequenceL_command06
ASYNC_DELAY 10000000
COMMAND devsound1 Stop
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0004
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//! CMMFDevSound::Stop()
//!@SYMAuthor fperez
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc Incoming SMS during alarm clock
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
//! 3. Set Priority (Priority= {Priority,PriorityClockAlarm}; Preference= {PriorityPreference,PriorityPreferenceClockAlarm}; PriorityState= EMMFStatePlaying)
//! 4. Capabilities
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 7. Play 20 seconds
//! 8. CloseFile
//! 9. Delete devsound instance
//!
//! TEST_BLOCK 002
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete devsound instance
//!
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Incoming SMS during alarm clock
//! TEST_BLOCK 001
//! MP3 playback for 20s
//! TEST_BLOCK 002
//! Play tone sequence with expected error -21
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0005-0002-PlayToneSequenceL_command05
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0005
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
//! CMMFDevSound::PlayInitL()
//! CMMFDevSound::Stop()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//! CMMFDevSound::Stop()
//!@SYMAuthor fperez
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc Incoming SMS during audio playback
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
//! 3. Set Priority (Priority= {Priority,PriorityAudioPlayback}; Preference= {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState= EMMFStatePlaying)
//! 4. Capabilities
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 7. Play 25 seconds
//! 8. Stop
//! 9. CloseFile
//! 10. Delete devsound instance
//!
//! TEST_BLOCK 002
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete devsound instance
//!
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Incoming SMS during audio playback
//! TEST_BLOCK 001
//! MP3 playback for 25s
//! TEST_BLOCK 002
//! Play tone sequence
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 40 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 25000000
COMMAND devsound1 Stop
DELAY 2000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0006-0002-PlayToneSequenceL_command04
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0006
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
//! CMMFDevSound::PlayInitL()
//! CMMFDevSound::Stop()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//! CMMFDevSound::Stop()
//!@SYMAuthor fperez
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc Incoming SMS during incoming call
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStatePlaying; FourCC= MP3)
//! 3. Set Priority (Priority= {Priority,PriorityIncomingCall}; Preference= {PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState= EMMFStatePlaying)
//! 4. Capabilities
//! 5. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 6. OpenFile (Filename= {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 7. Play 20 seconds
//! 8. Stop for 2s
//! 9. CloseFile
//! 10. Delete devsound instance
//!
//! TEST_BLOCK 002
//! 1. Create Devsound instance
//! 2. Initialize Devsound ( Mode= EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set Priority (Priority= {Priority,PriorityReceivedSMS}; Preference= {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState= EMMFStateTonePlaying) and delay 10 seconds
//! 4. Play tone sequence EOF (Filename= {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete devsound instance
//!
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Incoming SMS during incoming call
//! TEST_BLOCK 001
//! MP3 playback for 20s
//! TEST_BLOCK 002
//! Play tone sequence with expected error -21
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 Stop
DELAY 2000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 300 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND !AsyncError=-21 devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0007-0002-PlayToneSequenceL_command05
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0007
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver , TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const TMMFPrioritySettings )
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(const TMMFCapabilities )
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver{ref}, TFourCC , TMMFState)
//! CMMFDevSound::SetPrioritySettings(const
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//! CMMFDevSound::Stop()
//!@SYMAuthor jpacho
//!@SYMCreationDate 7/28/2008
//!@SYMTestCaseDesc NRT tone playback during audio playback
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create Devsound instance
//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\PCM\PCM_48k_16b_signed_st_Test1.pcm)
//! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC = {SpecialFourCC,RAW})
//! 4. Set Priority ( Priority = {Priority,PriorityNormal}; Preference = {PriorityPreference,PriorityPreferenceQuality};PriorityState=EMMFStatePlaying)
//! 5. Capabilities
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate48000Hz)
//! 7. Start Play for 30 seconds
//! 8. Stop for 2s
//! 9.Close file
//! 10.Destroy Devsound instance
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize devsound ( Mode = EMMFStateTonePlaying; FourCC= ILBC)
//! 3. Set priority settings ( Priority={Priority,PriorityMax}; Preference={PriorityPreference,PriorityPreferenceIncomingCall}; PriorityState=EMMFStateTonePlaying)
//! 4. Play tone sequence 10s (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Kurko.nrt)
//! 5. Stop sequence for 2s
//! 6. Delete DevSound instance.
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! NRT tone playback during audio playback
//! TEST_BLOCK 001
//! RAW playback for 30s
//! TEST_BLOCK 002
//! Play tone sequence
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-OpenFile_command02
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-InitializeL_command03
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetPrioritySettings_command04
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0001-SetConfigL_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 30000000
COMMAND devsound1 Stop
DELAY 2000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 90 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-SetPrioritySettings_command03
COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0008-0002-PlayToneSequenceL_command04
ASYNC_DELAY 10000000
COMMAND devsound1 Stop
DELAY 2000000
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0008
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! CMMFDevSound::RecordInitL()
//! TEST_BLOCK 003
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//!@SYMAuthor ddamian
//!@SYMCreationDate 8/11/2008
//!@SYMTestCaseDesc DTMF tones during WB VoIP call - non-signaling
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1.- Create DevSound instance
//! 2.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
//! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallDown}; Preference = {PriorityPreference,PriorityPreferenceVoipCallDown}; PriorityState = EMMFStatePlaying)
//! 4.- Capabilities
//! 5.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
//! 6.- Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\AMR-WB\AMRWB_16k_23.85kbps_mono_speech.awb)
//! 7.- Play 32 sec
//! 8.- Stop
//! 9.- Close File
//! 10.- Destroy DevSound instance
//! TEST_BLOCK 002
//! 1.- Create DevSound instance
//! 2.- Initialize DevSound ( Mode = EMMFStateRecording; FourCC = AWB)
//! 3.- Set Priority settings (Priority = {Priority,PriorityVoipCallUp}; Preference = {PriorityPreference,PriorityPreferenceVoipCallUp}; PriorityState = EMMFStateRecording)
//! 4.- Capabilities
//! 5.- Set Configuration and wait 2 sec (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
//! 6.- Replace File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
//! 7.- Record Init 30s
//! 8.- Stop and wait 5 sec.
//! 9.- Close File
//! 10.- Initialize DevSound ( Mode = EMMFStatePlaying; FourCC = AWB)
//! 11.- Set Priority settings (Priority ={Priority,PriorityAudioPlayback}; Preference = {PriorityPreference,PriorityPreferenceAudioPlayback}; PriorityState = EMMFStatePlaying)
//! 12.- Capabilities
//! 13.- Set Configuration (Channels = EMMFMono; Rate = EMMFSampleRate16000Hz)
//! 14.- Open File (Filename = {drive,mmc}\multimedia\mmf\devsound\recording\PlayDTMFDuringWBVoIPCallNonSignaling.awb)
//! 15.- Play
//! 16.- Close file
//! 17.- Destroy DevSound instance
//! TEST_BLOCK 003
//! 1. Create DevSound instance
//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= none)
//! 3. Set priority settings and wait 12 sec ( Priority = {Priority,PriorityDTMFKeyPress}; Preference = {PriorityPreference,PriorityPreferenceDTMFKeyPress} ; PriorityState=EMMFStateTonePlaying)
//! 4. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
//! 5. Start DTMF Play (DTMFString = 1234567890)
//! 6. Set DTMF Lengths (ToneOnLength = 300000; ToneOffLength = 100000; PauseLength = 100000)
//! 7. Start DTMF Play (DTMFString = 1234567890)
//! 8. Destroy DevSound instance
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! DTMF tones during WB VoIP call - non-signaling
//! TEST_BLOCK 001
//! AMR-WB playback as VoIPCallDown
//! TEST_BLOCK 002
//! AMR-WB playback as VoIPCallUp
//! TEST_BLOCK 003
//! DTMF tones playback
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-SetConfigL_command05
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0001-OpenFile_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 32000000
COMMAND devsound1 Stop
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command03
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command05
DELAY 2000000
COMMAND devsound1 ReplaceFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-ReplaceFile_command06
COMMAND devsound1 RecordInitL
ASYNC_DELAY 30000000
COMMAND devsound1 Stop
DELAY 5000000
COMMAND devsound1 CloseFile
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-InitializeL_command10
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetPrioritySettings_command11
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-SetConfigL_command13
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0002-OpenFile_command14
COMMAND devsound1 PlayInitL
OUTSTANDING
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 100 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetPrioritySettings_command03
DELAY 12000000
COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command04
COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command05
ASYNC_DELAY 3000000
COMMAND devsound1 SetDTMFLengths MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-SetDTMFLengths_command06
COMMAND devsound1 PlayDTMFStringL MULTIMEDIA-MMF-DevSound-Comb_Pt-0009-0003-PlayDTMFStringL_command07
ASYNC_DELAY 3000000
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0009
START_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010
//!@SYMTestCaseID MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010
//!@SYMAPI
//! TEST_BLOCK 001
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayInitL()
//! TEST_BLOCK 002
//! CMMFDevSound::InitializeL(MDevSoundObserver {ref}, TFourCC, TMMFState)
//! CMMFDevSound::SetPrioritySettings(TMMFPrioritySettings {ref})
//! CMMFDevSound::Capabilities()
//! CMMFDevSound::SetConfigL(TMMFCapabilities {ref})
//! CMMFDevSound::PlayToneSequenceL(TDesC8 {ref})
//!@SYMAuthor jpacho
//!@SYMCreationDate 8/25/2008
//!@SYMTestCaseDesc Incoming SMS during Mobile TV playback
//!@SYMTestActions
//! TEST_BLOCK 001
//! 1. Create DevSound instance
//! 2. Open file (Filename = {drive,mmc}\multimedia\mmf\devsound\MP3\MP3_44.1k_128kbps_st_Test3.mp3)
//! 3. Initialize Devsound ( Mode = EMMFStatePlaying; FourCC= MP3)
//! 4. Set priority settings ( Priority = {Priority,PriorityMobileTV}; Preference ={PriorityPreference,PriorityPreferenceMobileTV}; PriorityState=EMMFStatePlaying)
//! 5. Capabilities
//! 6. Set Configuration (Channels = EMMFStereo; Rate = EMMFSampleRate44100Hz)
//! 7. Start play 20s
//! 8. Close file
//! 9.Destroy DevSound instance.
//! TEST_BLOCK 002
//! 1. Create DevSound instance
//! 2. Initialize Devsound ( Mode = EMMFStateTonePlaying; FourCC= MP3)
//! 3. Set priority settings delay 10s ( Priority = {Priority,PriorityReceivedSMS}; Preference = {PriorityPreference,PriorityPreferenceReceivedSMS}; PriorityState=EMMFStateTonePlaying)
//! 4. Play tone sequence (Filename = {drive,mmc}\multimedia\mmf\devsound\nrt\Nokia_ringing_tone.nrt)
//! 5. Delete DevSound instance.
//!@SYMTestStatus Verified
//!@SYMTestPriority High
//!@SYMTestExpectedResults
//! Incoming SMS during Mobile TV playback
//! TEST_BLOCK 001
//! MP3 playback as Mobile TV
//! TEST_BLOCK 002
//! NRT playback as Tone playing
//!@SYMTestType CIT
CONCURRENT
START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 OpenFile MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-OpenFile_command02
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-InitializeL_command03
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetPrioritySettings_command04
COMMAND devsound1 Capabilities
COMMAND devsound1 SetConfigL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0001-SetConfigL_command06
COMMAND devsound1 PlayInitL
ASYNC_DELAY 20000000
COMMAND devsound1 CloseFile
COMMAND devsound1 ~
END_TEST_BLOCK
START_TEST_BLOCK 900 t_devsound \multimedia\mmf\devsound\multimedia-mmf-devsound-validation-automated-comb_pt.ini
CREATE_OBJECT CMMFDevSound devsound1
COMMAND devsound1 NewL
COMMAND devsound1 InitializeL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-InitializeL_command02
OUTSTANDING
COMMAND devsound1 SetPrioritySettings MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-SetPrioritySettings_command03
DELAY 10000000
COMMAND devsound1 PlayToneSequenceL MULTIMEDIA-MMF-DevSound-Comb_Pt-0010-0002-PlayToneSequenceL_command04
OUTSTANDING
COMMAND devsound1 ~
END_TEST_BLOCK
END_TESTCASE MULTIMEDIA-MMF-DEVSOUND-VALIDATION-AUTOMATED-COMB_PT-0010