mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_ogg.script
changeset 0 b8ed18f6c07b
child 5 b220a9341636
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_ogg.script	Thu Oct 07 22:34:12 2010 +0100
@@ -0,0 +1,488 @@
+@file char_mmf_audiorec_ogg.script
+// Copyright (c) 2006-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:
+//
+
+///////////////////////////////////////////////////////////////////
+PRINT 
+LOAD_SUITE char_mmf_audiorec.dll
+# wait for ring.wav to finish playing
+delay 1000
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0002
+//!@SYMTestCaseDesc           Open a file to  record an audio sample data while in Opened state.
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility 2. Open an audio file with give full path of the file as an argument to the API.  3. Again
+//! Open the file while in Opened state and check the call back MoscoStateChangeEvent  code.
+//!@SYMTestExpectedResults    It should have no operation.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0002 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0004
+//!@SYMTestCaseDesc           PlayL() in EPlaying  state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an audio file.  3.Play the audio file. 4.check the call back MoscoStateChangeEvent
+//!  code for Play while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. The audio file should Play till end of the file. 3.Playing State:The call back
+//! MoscoStateChangeEvent should return KErrNotReady.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0004 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0005
+//!@SYMTestCaseDesc           PlayL() in ENotReady state.
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.check the call back MoscoStateChangeEvent  code. For Play an Audio file before open.
+//!@SYMTestExpectedResults    1.Play State:  call back MoscoStateChangeEvent should return with KErrNotSupported.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0005 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0008
+//!@SYMTestCaseDesc           RecordL() in ENotReady state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Recording before Open the Fil
+//!e.
+//!@SYMTestExpectedResults    1. While record call back MoscoStateChangeEvent  should return with KErrNotSupported.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0008 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0009
+//!@SYMTestCaseDesc           Record an audio file with maximum size.
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Maximum length SetMaxwriteLength(). 4. Check the call
+//! back MoscoStateChangeEvent  code after Recording.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.It should record the Audio data and leave with KErrEof when the file size reached
+//! the max limit.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0009 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0010
+//!@SYMTestCaseDesc           Record an audio file while in Erecording state.
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Maximum length SetMaxwriteLength(). 4. Starts Recording
+//!  5.Check the call back MoscoStateChangeEvent  code after recording again while in Recording state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetMaxwriteLength :it should set the maximum size. 3.RecordL: It should not
+//! leave. 4.Recording State: call back MoscoStateChangeEvent  should return with KErrNotReady.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0010 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0012
+//!@SYMTestCaseDesc           MaxVolume() in EOpen state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Getting
+//! the Maximum Volume
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.MaxVolume should give the maximum volume of the device.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0012 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0013
+//!@SYMTestCaseDesc           MaxVolume() in EPlaying state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4. Check the call back MoscoStateChangeEvent
+//!  code after Getting Maximum Volume while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Playing an audio file should not leave and call back MoscoStateChangeEvent
+//!  return KErrNone. 3.MaxVolume should give maximum volume.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0013 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0014
+//!@SYMTestCaseDesc           MaxVolume() in ENotReady state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Getting Maximum Volume before
+//! Open an Audio file.
+//!@SYMTestExpectedResults    1.MaxVolume should have return always Zero.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0014 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0015
+//!@SYMTestCaseDesc           SetVolume() / GetVolume() in Eopen state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
+//! Get the Volume.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave and call back MoscoStateChangeEvent  should return KErrNone. 2.SetVolume should
+//! set the volume. 3. Get the volume should return the  current volume settings.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0015 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0016
+//!@SYMTestCaseDesc           SetVolume() / GetVolume() in EPlaying state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4. Check the call back MoscoStateChangeEvent
+//!  code after Set the Volume while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.Playing state: SetVolume should set the volume. 3. Playing state:Get the volume
+//! should return the  current volume settings and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0016 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0017
+//!@SYMTestCaseDesc           SetVolume() / GetVolume() in ENotReady state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.  Set the Volume before Open an Audio file. 3. Check the call back MoscoStateChangeEvent
+//!  code after Get the Volume before Open an Audio file
+//!@SYMTestExpectedResults    1.SetVolume/GetVolume should have no operation.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0017 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0018
+//!@SYMTestCaseDesc           SetVolume() in Eopen/Eplaying  state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play Audio file. 4. Check the call back MoscoStateChangeEvent
+//!  code after Set the Volume less than Zero.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetVolume should set the volume to Zero and call back MoscoStateChangeEvent
+//!  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0018 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0019
+//!@SYMTestCaseDesc           SetVolume() in Eopen/Eplaying  state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play Audio file. 4. Check the call back MoscoStateChangeEvent
+//!  code after Set the Volume greater than the Maximum Volume.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetVolume should set the volume to Maximum Volume call back MoscoStateChangeEvent
+//!  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0019 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0021
+//!@SYMTestCaseDesc           SetVolumeRamp() in EPlaying state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Play the audio file.  4.Check the call back MoscoStateChangeEvent
+//!  code after SetVolumeRamp while in playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetVolumeRamp should set the volume gradient call back MoscoStateChangeEvent
+//!  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0021 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0022
+//!@SYMTestCaseDesc           SetVolumeRamp() in ENotReady state
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after SetVolumeRamp before Open an Audio
+//! file.
+//!@SYMTestExpectedResults    1.SetVolumeRamp should have no operation.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0022 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0035
+//!@SYMTestCaseDesc           RecordTimeAvailable() in Eopen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after call to
+//! RecordTimeAvailable.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. It should return the recoding time available for the selected file. Note: It
+//! is returning zero
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0035 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0042
+//!@SYMTestCaseDesc           SetPlayWindow() in EOpen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set the
+//! Play Window of  audio file.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window of  the selected audio file  and
+//! call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0042 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0043
+//!@SYMTestCaseDesc           SetPlayWindow() in EOpen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
+//! Play Window of the audio file with Start Position Less than Zero.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the specified value. 3. Play
+//! :call back MoscoStateChangeEvent  should return KErrArgument.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0043 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0044
+//!@SYMTestCaseDesc           SetPlayWindow() in EOpen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
+//! Play Window of the audio file with End Position greater than the Clip duration.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the Clip Duration. 3. Play
+//! : call back MoscoStateChangeEvent  should return KErrNonee.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0044 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0045
+//!@SYMTestCaseDesc           SetPlayWindow() in EPlaying State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Play Window of the audio file. 4. Starts Playing. 3.Check
+//! the call back MoscoStateChangeEvent  code after set the play Windowagain in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the specified value. 3. Playing
+//! state : call back MoscoStateChangeEvent  should return KErrNone and set the play window again.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0045 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0046
+//!@SYMTestCaseDesc           SetPlayWindow() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set the Play Window before Open
+//! an Audio file.
+//!@SYMTestExpectedResults    1. SetPlayWindow:Should have no operation.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0046 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0047
+//!@SYMTestCaseDesc           ClearPlayWindow() in EOpen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Clear
+//! the Play Window of the audio file.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. ClearPlayWindow: It should clear the play window of  the selected audio file
+//!  and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0047 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0048
+//!@SYMTestCaseDesc           ClearPlayWindow() in EPlaying State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Playing. 4 Check the call back MoscoStateChangeEvent 
+//! code after Clear the Play Window of the audio file while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.Play should not leave.  3.Playing state : ClearPlayWindow should clear the play
+//! window of  the selected audio file  and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0048 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0049
+//!@SYMTestCaseDesc           ClearPlayWindow() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Clear the Play Window of the audio
+//! file Before Open.
+//!@SYMTestExpectedResults    1. ENotReady State: ClearPlayWindow should have no opearation.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0049 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0050
+//!@SYMTestCaseDesc           SetRepeats() in EOpen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set Repeat
+//! the audio file for number of times.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetRepeats :  It should set the no. of times to be repeated  the selected audio
+//! file  and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0050 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0051
+//!@SYMTestCaseDesc           SetRepeats() in EPlaying State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Playing. 4.Check the call back MoscoStateChangeEvent 
+//! code after Set Repeat the audio file for number of times while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.PlayL: Play should not leave. 3.Playing state: SetRepeats should set the no.
+//! of times to be repeated  the selected audio file  and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0051 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0052
+//!@SYMTestCaseDesc           SetRepeats() in Eopen, EPlaying State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set Repeat
+//! the audio file for any negative value or less than Zero.
+//!@SYMTestExpectedResults    1.Opened State: SetRepeats should return with Panic KErrArgument. 2.Playing State: SetRepeats should have no operation and
+//! at least play Once.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0052 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0130
+//!@SYMTestCaseDesc           SetRepeats() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Set the Repeats before Open an Audio file. 3.Then Open and starts Play and Check the
+//! call back MoscoStateChangeEvent  code after Set Repeat the audio file for number of times.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetRepeats :  It should set the no. of times to be repeated  the selected audio
+//! file  and call back MoscoStateChangeEvent  should return KErrNone.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0130 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0083
+//!@SYMTestCaseDesc           SourceBitRateL() in Eopen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Get the
+//! bit rate of the audio clip.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SourceBitRateL : Should get the bit rate of the audio file.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0083 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0084
+//!@SYMTestCaseDesc           SourceBitRateL() in EPlaying State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing the audio file. 4.Check the call back MoscoStateChangeEvent
+//!  code after Get the bit rate of the audio clip while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3. Playing State : SourceBitRateL Should get the
+//! bit rate of the audio file.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0084 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0085
+//!@SYMTestCaseDesc           SourceBitRateL() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Get the bit rate of the audio
+//! clip before Open an Audio file.
+//!@SYMTestExpectedResults    1. ENotReady State: SourceBitRateL Should leave with KErrNotSupported.
+RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0085 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0086
+//!@SYMTestCaseDesc           SetDestinationSampleRateL() / DestinationSampleRateL() in Eopen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set and
+//! Get the sample rate for the audio file to be recorded.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetDestinationSampleRateL : should Sets the sample rate for the conversion
+//! destination data sink. 3. DestinationSampleRateL : should Gets the sample rate for the conversion destination data sink. 4. call back MoscoStateChangeEvent
+//!  should return KErrNone.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0086 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0087
+//!@SYMTestCaseDesc           SetDestinationSampleRateL() / DestinationSampleRateL() in ERecording State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
+//!  code after Set and Get the sample rate for the audio file to be recorded while in Recording state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL: Record should not leave. 3.Recording state : SetDestinationSampleRateL
+//! should Sets the sample rate for the conversion destination data sink. 4.Recording state : DestinationSampleRateL should Gets the sample rate for the
+//! conversion destination data sink.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0087 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0088
+//!@SYMTestCaseDesc           SetDestinationSampleRateL() / DestinationSampleRateL() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Set and Get the sample rate for
+//! the audio file to be recorded before Open an Audio file.
+//!@SYMTestExpectedResults    1.ENotReady state :  SetDestinationSampleRateL should leave with KErrNotSupported. 2.ENotReady state :  DestinationSampleRateL
+//! should leave with KErrNotSupported.
+RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0088 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0102
+//!@SYMTestCaseDesc           GetNumberOfMetaDataEntries()  in Eplaying and ERecording State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
+//!  code after Get the number of Meta data entries associated with the clip while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3.RecordL : Should not Leave 4.Playing state : GetNumberOfMetaDataEntries
+//! should  return KErrNotSupported and test result should be EKnownFailure 5.Recording state : GetNumberOfMetaDataEntries should leave with KErrNotReady
+//! and test result should be EKnownFailure
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0102 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0103
+//!@SYMTestCaseDesc           GetNumberOfMetaDataEntries()  in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Get the number of Meta data entries
+//! associated with the clip before Open an Audio file.
+//!@SYMTestExpectedResults    1. ENotReady State : GetNumberOfMetaDataEntries should  return KErrNotSupported and test result should be EKnownFailure.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0103 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0105
+//!@SYMTestCaseDesc           GetMetaDataEntryL()  in Eplaying and Erecording State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
+//!  code after get the specified Meta data entry from the current audio clip while in Playing state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.PlayL : Play should not leave. 3.RecordL : Record Should not leave. 4.Recording
+//! state :  GetMetaDataEntryL should  leave with KErrNotSupported and test result should be EKnownFailure. 5.Playing state :  GetMetaDataEntryL should 
+//! leave with KErrNotSupported and test result should be EKnownFailure.
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0105 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0106
+//!@SYMTestCaseDesc           GetMetaDataEntryL()  in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after get the specified Meta data entry
+//! from the current audio clip before Open an Audio file.
+//!@SYMTestExpectedResults    1.ENotReady State :   GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure..
+RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0106 \char\mmf\char_mmf_audiorec.ini
+TEST_COMPLETE
+
+// KNOWN Failures
+//SetDestinationBitRateL() not supported
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0077
+//!@SYMTestCaseDesc           SetDestinationBitRateL() / DestinationBitRateL() in Eopen State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set and
+//! Get the bit rate of the data sink (Currently audio controller is not supported this feature).
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetDestinationBitRateL / DestinationBitRateL : should leave with KErrNotSupported,
+//! and test result should  EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0077 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//SetDestinationBitRateL() not supported
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0078
+//!@SYMTestCaseDesc           SetDestinationBitRateL() / DestinationBitRateL() in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set  and Get the bit rate of the
+//! data sink  (Currently audio controller is not supported this feature) before Open an Audio file.
+//!@SYMTestExpectedResults    1. SetDestinationBitRateL : should leave with  KErrNotSupported and test result should  EKnownFailure. 2. DestinationBitRateL
+//! :should  leave with KErrNotSupported and test result should  EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0078 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//AddMetaDataEntry support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0108
+//!@SYMTestCaseDesc           AddMetaDataEntryL()  in Erecording State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
+//!  code after Add a Meta data entry to the audio clip while in recording state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : AddMetaDataEntryL should  leave
+//! with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0108 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//AddMetaDataEntry support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0109
+//!@SYMTestCaseDesc           AddMetaDataEntryL()  in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Add a Meta data entry to the audio
+//! clip before  Open an Audio file.
+//!@SYMTestExpectedResults    1.ENotReady state : AddMetaDataEntryL should  leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0109 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//RemoveMetaDataEntry support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0111
+//!@SYMTestCaseDesc           RemoveMetaDataEntryL()  in ERecording  State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
+//!  code after Remove a specified Meta data entry from the audio clip while in recording state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state :  RemoveMetaDataEntryL should
+//!  leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0111 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//RemoveMetaDataEntry support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0112
+//!@SYMTestCaseDesc           RemoveMetaDataEntryL()  in ENotReady  State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Remove a specified Meta data entry
+//! from the audio clip before  Open an Audio file.
+//!@SYMTestExpectedResults    1. ENotReady state :  RemoveMetaDataEntryL should  leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0112 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//ReplaceMetaDataEntryL support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0114
+//!@SYMTestCaseDesc           ReplaceMetaDataEntryL()  in Erecording State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
+//!  code after Replace a specified Meta data entry from the audio clip while in recording state.
+//!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : ReplaceMetaDataEntryL should
+//! should  leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0114 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE
+
+//ReplaceMetaDataEntryL support is not provided
+//!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0115
+//!@SYMTestCaseDesc           ReplaceMetaDataEntryL()  in ENotReady State
+//!@SYMTestPriority           4
+//!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Replace a specified Meta data
+//! entry from the audio clip before  Open an Audio file.
+//!@SYMTestExpectedResults    1. ENotReady State :  ReplaceMetaDataEntryL should  leave with KErrNotSupported and test result should be EKnownFailure.
+//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0115 \char\mmf\char_mmf_audiorec.ini
+//TEST_COMPLETE