mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/record/scripts/char_mmf_audiorec_ogg_overflow.script
changeset 0 b8ed18f6c07b
child 5 b220a9341636
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     1 @file char_mmf_audiorec_ogg_overflow.script
       
     2 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 ///////////////////////////////////////////////////////////////////
       
    18 PRINT 
       
    19 LOAD_SUITE char_mmf_audiorec.dll
       
    20 # wait for ring.wav to finish playing
       
    21 delay 1000
       
    22 
       
    23 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0001
       
    24 //!@SYMTestCaseDesc           Open a file to record an audio sample data.
       
    25 //!@SYMTestPriority           4
       
    26 //!@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. After
       
    27 //! Open check the call back MoscoStateChangeEvent  code.
       
    28 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave and the callback MoscoStateChangeEvent should return no error.
       
    29 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0001 \char\mmf\char_mmf_audiorec.ini
       
    30 TEST_COMPLETE
       
    31 
       
    32 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0023
       
    33 //!@SYMTestCaseDesc           MaxGain() in Eopen state
       
    34 //!@SYMTestPriority           4
       
    35 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Get Maximum
       
    36 //! Value for the Gain in Opend state
       
    37 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.MaxGain should  return with Maximum Value and call back MoscoStateChangeEvent
       
    38 //!  should return KErrNone.
       
    39 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0023 \char\mmf\char_mmf_audiorec.ini
       
    40 TEST_COMPLETE
       
    41 
       
    42 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0024
       
    43 //!@SYMTestCaseDesc           MaxGain() in ERecording state
       
    44 //!@SYMTestPriority           4
       
    45 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
    46 //!  code after Get Maximum Value for the Gain while in Recording state.
       
    47 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.Recording should not leave. 3.MaxGain should  return with Maximum Value and
       
    48 //! callback should return KErrNone.
       
    49 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0024 \char\mmf\char_mmf_audiorec.ini
       
    50 TEST_COMPLETE
       
    51 
       
    52 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0025
       
    53 //!@SYMTestCaseDesc           MaxGain() in ENotReady state
       
    54 //!@SYMTestPriority           4
       
    55 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Get Maximum Value for the Gain
       
    56 //! before Open an Audio file.
       
    57 //!@SYMTestExpectedResults    1.MaxGain should  return Zero.
       
    58 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0025 \char\mmf\char_mmf_audiorec.ini
       
    59 TEST_COMPLETE
       
    60 
       
    61 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0026
       
    62 //!@SYMTestCaseDesc           SetGain() / GetGain() in EOpen  state
       
    63 //!@SYMTestPriority           4
       
    64 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
       
    65 //! Get  the Gain.
       
    66 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetGain should set the gain. 3.GetGain should return the current gain. 4.call
       
    67 //! back MoscoStateChangeEvent  should return KErrNone.
       
    68 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0026 \char\mmf\char_mmf_audiorec.ini
       
    69 TEST_COMPLETE
       
    70 
       
    71 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0027
       
    72 //!@SYMTestCaseDesc           SetGain() / GetGain()  in ERecording state
       
    73 //!@SYMTestPriority           4
       
    74 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
    75 //!  code after Set and Get the Gain while in Recording state.
       
    76 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Recording the audio file should not leave. 3.SetGain should set the gain. 4.GetGain
       
    77 //! should return current gain value and call back MoscoStateChangeEvent  should return KErrNone.
       
    78 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0027 \char\mmf\char_mmf_audiorec.ini
       
    79 TEST_COMPLETE
       
    80 
       
    81 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0028
       
    82 //!@SYMTestCaseDesc           SetGain() / GetGain()  in ENotReady state
       
    83 //!@SYMTestPriority           4
       
    84 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set and Get the Gain before Open
       
    85 //! an Audio file.
       
    86 //!@SYMTestExpectedResults    1.SetGain: It should give no operation. 2.GetGain: It should return KErrNotSupported.
       
    87 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0028 \char\mmf\char_mmf_audiorec.ini
       
    88 TEST_COMPLETE
       
    89 
       
    90 // This to test for Boundary conditions for SetGain()
       
    91 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0029
       
    92 //!@SYMTestCaseDesc           SetGain() in Eopen, Erecording  state
       
    93 //!@SYMTestPriority           4
       
    94 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
    95 //!  code after Set the Gain to less than Zero.
       
    96 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Recording the audio file should not leave. 3.SetGain should set the gain to
       
    97 //! Zero  and call back MoscoStateChangeEvent  should return KErrNone.
       
    98 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0029 \char\mmf\char_mmf_audiorec.ini
       
    99 TEST_COMPLETE
       
   100 
       
   101 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0030
       
   102 //!@SYMTestCaseDesc           SetGain() in Eopen, Erecording  state
       
   103 //!@SYMTestPriority           4
       
   104 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   105 //!  code after Set the Gain to greater than Maximum Gain.
       
   106 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Recording the audio file should not leave. 3.SetGain should set the gain to
       
   107 //! MaxGain value  and call back MoscoStateChangeEvent  should return KErrNone.
       
   108 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0030 \char\mmf\char_mmf_audiorec.ini
       
   109 TEST_COMPLETE
       
   110 
       
   111 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0031
       
   112 //!@SYMTestCaseDesc           SetPosition() / Position() in EOpen state
       
   113 //!@SYMTestPriority           4
       
   114 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
       
   115 //! Get the current head Position.
       
   116 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPosition should set the current head position. 3. Get the Position should
       
   117 //! return the current head position. 4.PlayL: Play should start from the set position  and call back MoscoStateChangeEvent  should return KErrNone.
       
   118 RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0031 \char\mmf\char_mmf_audiorec.ini
       
   119 TEST_COMPLETE
       
   120 
       
   121 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0032
       
   122 //!@SYMTestCaseDesc           SetPosition() / Position()  in EPlaying state
       
   123 //!@SYMTestPriority           4
       
   124 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4.Check the call back MoscoStateChangeEvent
       
   125 //!  code after Set and Get the current head Position while in Playing state.
       
   126 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. PlayL: should not leave. 3.Set position should set the Position while in playing
       
   127 //! state. 4.Get position should return the Position while in playing state. 5.call back MoscoStateChangeEvent  should return KErrNone.
       
   128 RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0032 \char\mmf\char_mmf_audiorec.ini
       
   129 TEST_COMPLETE
       
   130 
       
   131 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0033
       
   132 //!@SYMTestCaseDesc           SetPosition() / Position()  in ERecording state
       
   133 //!@SYMTestPriority           4
       
   134 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   135 //!  code after Set and Get the current head Position while in Recording state. 5. Set the SetPlayWindow() and call Position() and check the call back Mo
       
   136 //!scoStateChangeEvent.
       
   137 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Recording should not leave. 3.Set position should have no operation while in
       
   138 //! Recording state. 4.Get position should return the current head Position while in Recording state. 5. call back MoscoStateChangeEvent  should return KErrNone.
       
   139 //! N.B: Document issue 6. Position : It should return the SetPlayWindow() start position.
       
   140 RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0033 \char\mmf\char_mmf_audiorec.ini
       
   141 TEST_COMPLETE
       
   142 
       
   143 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0034
       
   144 //!@SYMTestCaseDesc           SetPosition() / Position() in ENotReady state
       
   145 //!@SYMTestPriority           4
       
   146 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set and get the Position before
       
   147 //! Open an Audio file.
       
   148 //!@SYMTestExpectedResults    1.Set position / Get Position : should have no operation in ENotReady State.
       
   149 RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0034 \char\mmf\char_mmf_audiorec.ini
       
   150 TEST_COMPLETE
       
   151 
       
   152 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0126
       
   153 //!@SYMTestCaseDesc           SetPosition() in EPlaying state
       
   154 //!@SYMTestPriority           4
       
   155 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4. Check the call back MoscoStateChangeEvent
       
   156 //!  code after Set the current head Position to any negative value while in Playing state.
       
   157 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Play should not  leave. 3.call back MoscoStateChangeEvent  should return with
       
   158 //! KErrArgument.
       
   159 RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0126 \char\mmf\char_mmf_audiorec.ini
       
   160 TEST_COMPLETE
       
   161 
       
   162 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0036
       
   163 //!@SYMTestCaseDesc           RecordTimeAvailable() in Erecording  State
       
   164 //!@SYMTestPriority           4
       
   165 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts recording. 4.Check the call back MoscoStateChangeEvent
       
   166 //!  code after call to RecordTimeAvailable while in Recording state.
       
   167 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Starts Recording should not leave. 3 It should return the recoding time available
       
   168 //! for the selected file and  and call back MoscoStateChangeEvent  should return KErrNone.
       
   169 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0036 \char\mmf\char_mmf_audiorec.ini
       
   170 TEST_COMPLETE
       
   171 
       
   172 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0037
       
   173 //!@SYMTestCaseDesc           RecordTimeAvailable() in ENotReady State
       
   174 //!@SYMTestPriority           4
       
   175 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after call to RecordTimeAvailable before
       
   176 //! Open an Audio file.
       
   177 //!@SYMTestExpectedResults    1. Recoding time available should return no operation EnotReady state.
       
   178 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0037 \char\mmf\char_mmf_audiorec.ini
       
   179 TEST_COMPLETE
       
   180 
       
   181 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0038
       
   182 //!@SYMTestCaseDesc           Duration() in EOpen state
       
   183 //!@SYMTestPriority           4
       
   184 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after call to
       
   185 //! Get Duration of the audio file.
       
   186 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Duration ::It should return the Duration of  the selected audio file and  call
       
   187 //! back MoscoStateChangeEvent  should return KErrNone.
       
   188 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0038 \char\mmf\char_mmf_audiorec.ini
       
   189 TEST_COMPLETE
       
   190 
       
   191 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0039
       
   192 //!@SYMTestCaseDesc           Duration() in ERecording  State
       
   193 //!@SYMTestPriority           4
       
   194 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts recording. 4.Check the call back MoscoStateChangeEvent
       
   195 //!  code after call to Get the Duration while in Recording state.
       
   196 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.Recording state:  It should return the Duration of  the selected audio file
       
   197 //!  and call back MoscoStateChangeEvent  should return KErrNone.
       
   198 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0039 \char\mmf\char_mmf_audiorec.ini
       
   199 TEST_COMPLETE
       
   200 
       
   201 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0040
       
   202 //!@SYMTestCaseDesc           Duration() in EPlaying  State
       
   203 //!@SYMTestPriority           4
       
   204 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Playing 4.Check the call back MoscoStateChangeEvent  code
       
   205 //! after Getting the Duration while in Playing state.
       
   206 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Playing state: It should return the Duration of  the selected audio file  and
       
   207 //! call back MoscoStateChangeEvent  should return KErrNone.
       
   208 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0040 \char\mmf\char_mmf_audiorec.ini
       
   209 TEST_COMPLETE
       
   210 
       
   211 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0041
       
   212 //!@SYMTestCaseDesc           Duration() in ENotReady State
       
   213 //!@SYMTestPriority           4
       
   214 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Getting the Duration before Open
       
   215 //! an Audio file.
       
   216 //!@SYMTestExpectedResults    1. ENotReady state: It should return the Duration  Zero.
       
   217 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0041 \char\mmf\char_mmf_audiorec.ini
       
   218 TEST_COMPLETE
       
   219 
       
   220 
       
   221 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0053
       
   222 //!@SYMTestCaseDesc           SetMaxWriteLength() in Eopen State
       
   223 //!@SYMTestPriority           4
       
   224 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set Maximum
       
   225 //! size for the audio file that being recorded.
       
   226 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetMaxWriteLength:  It should set the Maximum size for the selected audio file
       
   227 //! to be recorded  and call back MoscoStateChangeEvent  should return KErrNone.
       
   228 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0053 \char\mmf\char_mmf_audiorec.ini
       
   229 TEST_COMPLETE
       
   230 
       
   231 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0054
       
   232 //!@SYMTestCaseDesc           SetMaxWriteLength() in ERecording State
       
   233 //!@SYMTestPriority           4
       
   234 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   235 //!  code after Set Maximum size for the audio file that being recorded while in  recording state.
       
   236 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL: Should not leave. 3. SetMaxWriteLength:  It should not set the Maximum
       
   237 //! size for the selected audio file to be recorded  and call back MoscoStateChangeEvent  should be Panic returned KErrNotReady.
       
   238 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0054 \char\mmf\char_mmf_audiorec.ini
       
   239 TEST_COMPLETE
       
   240 
       
   241 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0055
       
   242 //!@SYMTestCaseDesc           SetMaxWriteLength() in Eopen, ERecording State
       
   243 //!@SYMTestPriority           4
       
   244 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Starts recording. 4.Check the call back MoscoStateChangeEvent
       
   245 //!  code after Set Maximum size less than Zero for the audio file that being recorded while in Recording state.
       
   246 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL: Should not leave. 3.Opened state: SetMaxWriteLength should return KErrArgument
       
   247 //! with Panic and call back MoscoStateChangeEvent  should return KErrNone.
       
   248 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0055 \char\mmf\char_mmf_audiorec.ini
       
   249 TEST_COMPLETE
       
   250 
       
   251 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0056
       
   252 //!@SYMTestCaseDesc           SetMaxWriteLength() in ENotReady State
       
   253 //!@SYMTestPriority           4
       
   254 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set Maximum size for the audio
       
   255 //! file before Open an Audio file.
       
   256 //!@SYMTestExpectedResults    1. SetMaxWriteLength:  It should have no operation.
       
   257 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0056 \char\mmf\char_mmf_audiorec.ini
       
   258 TEST_COMPLETE
       
   259 
       
   260 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0058
       
   261 //!@SYMTestCaseDesc           SetPriority() in EOpen State
       
   262 //!@SYMTestPriority           4
       
   263 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
       
   264 //! Priority of the audio file.
       
   265 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetPriority : It should set the Priority of the audio file  and call back MoscoStateChangeEvent
       
   266 //!  should return KErrNone.
       
   267 RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0058 \char\mmf\char_mmf_audiorec.ini
       
   268 TEST_COMPLETE
       
   269 
       
   270 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0063
       
   271 //!@SYMTestCaseDesc           SetPlayBackBalance() / GetPlayBackBalance() in ENotReady State
       
   272 //!@SYMTestPriority           4
       
   273 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Set and Get the current Play back
       
   274 //! balance of the audio file before Open an Audio file.
       
   275 //!@SYMTestExpectedResults    1. SetPlaybackBalance : It should  return with KErrNotSupported. 2.GetPlaybackBalance : It should return with KErrNotSup
       
   276 //!ported.
       
   277 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0063 \char\mmf\char_mmf_audiorec.ini
       
   278 TEST_COMPLETE
       
   279 
       
   280 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0064
       
   281 //!@SYMTestCaseDesc           SetPlayBackBalance() in Eopen, EPlaying State(Boundary condition less than zero)
       
   282 //!@SYMTestPriority           4
       
   283 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
       
   284 //! current Play back balance less than to KMMFBalanceMaxLeft of the audio file.
       
   285 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. PlayL: Play should not leave. 3. SetPlaybackBalance: should set the current
       
   286 //! Play back balance  to KMMFBalanceMaxLeft of the audio file and call back MoscoStateChangeEvent  should return KErrNone.
       
   287 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0064 \char\mmf\char_mmf_audiorec.ini
       
   288 TEST_COMPLETE
       
   289 
       
   290 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0065
       
   291 //!@SYMTestCaseDesc           SetPlayBackBalance() in Eopen, EPlaying State(Boundary condition greatre than maximum value )
       
   292 //!@SYMTestPriority           4
       
   293 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
       
   294 //! current Play back balance greater than to KMMFBalanceMaxRight of the audio file.
       
   295 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. PlayL: Play should not leave. 3. SetPlaybackBalance: should set the current
       
   296 //! Play back balance  to KMMFBalanceMaxRight of the audio file and call back MoscoStateChangeEvent  should return KErrNone.
       
   297 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0065 \char\mmf\char_mmf_audiorec.ini
       
   298 TEST_COMPLETE
       
   299 
       
   300 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0066
       
   301 //!@SYMTestCaseDesc           SetRecordBalance() / GetRecordBalance() in Eopen State
       
   302 //!@SYMTestPriority           4
       
   303 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Set the current recording balance. 4.Get the current recording
       
   304 //! balance Check the call back MoscoStateChangeEvent  code after.
       
   305 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.SetRecordBalance : should set the current recording balance and return with
       
   306 //! KErrNone. 3.GetRecordBalance : should get the current recording balance. 4.call back MoscoStateChangeEvent  should return KErrNone
       
   307 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0066 \char\mmf\char_mmf_audiorec.ini
       
   308 TEST_COMPLETE
       
   309 
       
   310 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0067
       
   311 //!@SYMTestCaseDesc           SetRecordBalance() / GetRecordBalance() in ERecording State
       
   312 //!@SYMTestPriority           4
       
   313 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording the audio file. 4.Check the call back MoscoStateChangeEvent
       
   314 //!  code after Set and Get  the current recording balance while in Recording state.
       
   315 //!@SYMTestExpectedResults    1.Opening an Audio file should be leave with KErrNone. 2.Recording state : SetRecordBalance should set the current recording
       
   316 //! balance. 3.Recording state : GetRecordBalance should get the current recording balance. 4.call back MoscoStateChangeEvent  should return KErrNone.
       
   317 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0067 \char\mmf\char_mmf_audiorec.ini
       
   318 TEST_COMPLETE
       
   319 
       
   320 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0068
       
   321 //!@SYMTestCaseDesc           SetRecordBalance() / GetRecordBalance() in ENotReady State
       
   322 //!@SYMTestPriority           4
       
   323 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Set and Get the current recording
       
   324 //! balance before Open an Audio file.
       
   325 //!@SYMTestExpectedResults    1.SetRecordBalance should return KErrNotSupported 2.GetRecordBalance should return KErrNotSupported and call back MoscoStateChangeEvent
       
   326 //!  should return KErrNone.
       
   327 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0068 \char\mmf\char_mmf_audiorec.ini
       
   328 TEST_COMPLETE
       
   329 
       
   330 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0069
       
   331 //!@SYMTestCaseDesc           SetRecordBalance() in Eopen, ERecording State(Boundary condition less than zero)
       
   332 //!@SYMTestPriority           4
       
   333 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
       
   334 //! current recording balance to Less Than KMMFBalanceMaxLeft.
       
   335 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetRecordBalance : should  return with KErrArgument and call back MoscoStateChangeEvent
       
   336 //!  should return KErrNone.
       
   337 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0069 \char\mmf\char_mmf_audiorec.ini
       
   338 TEST_COMPLETE
       
   339 
       
   340 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0070
       
   341 //!@SYMTestCaseDesc           SetRecordBalance() in Eopen, ERecording State
       
   342 //!@SYMTestPriority           4
       
   343 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after Set the
       
   344 //! current recording balance to Greater Than KMMFBalanceMaxRight.
       
   345 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetRecordBalance : should  return with KErrArgument and call back MoscoStateChangeEvent
       
   346 //!  should return KErrNone.
       
   347 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0070 \char\mmf\char_mmf_audiorec.ini
       
   348 TEST_COMPLETE
       
   349 
       
   350 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0071
       
   351 //!@SYMTestCaseDesc           GetSupportedDestinationDataTypesL() in Eopen State
       
   352 //!@SYMTestPriority           4
       
   353 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Get a
       
   354 //! list of the supported codecs.
       
   355 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. GetSupportedDestinationDataTypesL : should get a list of supported codec and
       
   356 //! call back MoscoStateChangeEvent  should return KErrNone..
       
   357 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0071 \char\mmf\char_mmf_audiorec.ini
       
   358 TEST_COMPLETE
       
   359 
       
   360 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0072
       
   361 //!@SYMTestCaseDesc           GetSupportedDestinationDataTypesL() in ERecording State
       
   362 //!@SYMTestPriority           4
       
   363 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   364 //!  code after Get a list of the supported codecs while in Recording state.
       
   365 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL :call back MoscoStateChangeEvent  should return KErrNone. 3.GetSupportedDestinationDataTypesL:
       
   366 //! should give a list of supported codec.
       
   367 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0072 \char\mmf\char_mmf_audiorec.ini
       
   368 TEST_COMPLETE
       
   369 
       
   370 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0073
       
   371 //!@SYMTestCaseDesc           GetSupportedDestinationDataTypesL() in ENotReady State
       
   372 //!@SYMTestPriority           4
       
   373 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after  Get a list of the supported
       
   374 //! codecs before Open an Audio file.
       
   375 //!@SYMTestExpectedResults    1.GetSupportedDestinationDataTypesL should  leave with KErrNotSupported.
       
   376 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0073 \char\mmf\char_mmf_audiorec.ini
       
   377 TEST_COMPLETE
       
   378 
       
   379 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0074
       
   380 //!@SYMTestCaseDesc           SetDestinationDataTypesL()  / DestinationDataTypeL () in EOpen State
       
   381 //!@SYMTestPriority           4
       
   382 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
       
   383 //! Get the codecs to use with the Recorder controller.
       
   384 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetDestinationDataTypesL : should set the codec to recorder controller. 3.DestinationDataTypeL
       
   385 //! :should get the codec to recorder controller. 4. call back MoscoStateChangeEvent  should return KErrNone.
       
   386 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0074 \char\mmf\char_mmf_audiorec.ini
       
   387 TEST_COMPLETE
       
   388 
       
   389 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0075
       
   390 //!@SYMTestCaseDesc           SetDestinationDataTypesL() / DestinationDataTypesL() in ENotReady State
       
   391 //!@SYMTestPriority           4
       
   392 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Set and Get the codecs to use
       
   393 //! with the Recorder controller before Open an Audio file.
       
   394 //!@SYMTestExpectedResults    1. SetDestinationDataTypesL / DestinationDataTypesL  : should leave with KErrNotSupported.
       
   395 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0075 \char\mmf\char_mmf_audiorec.ini
       
   396 TEST_COMPLETE
       
   397 
       
   398 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0076
       
   399 //!@SYMTestCaseDesc           DestinationDataTypeL () in Erecording  State
       
   400 //!@SYMTestPriority           4
       
   401 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts recording. 4.Check the call back MoscoStateChangeEvent
       
   402 //!  code after Get the codecs to use with the Recorder controller while in Recording state.
       
   403 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL :Should not leave. 3.Recording state : DestinationDataTypeL should
       
   404 //! get the codec to recorder controller.
       
   405 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0076 \char\mmf\char_mmf_audiorec.ini
       
   406 TEST_COMPLETE
       
   407 
       
   408 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0079
       
   409 //!@SYMTestCaseDesc           DestinationBitRateL() in Erecording  State
       
   410 //!@SYMTestPriority           4
       
   411 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording the audio file. 4. Check the call back MoscoStateChangeEvent
       
   412 //!  code after Set and Get the bit rate of the data sink (Currently audio controller is not supported this feature) while in Recording state.
       
   413 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. Recording state : DestinationBitRateL should get the bit rate of the data s
       
   414 //!ink.
       
   415 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0079 \char\mmf\char_mmf_audiorec.ini
       
   416 TEST_COMPLETE
       
   417 
       
   418 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0080
       
   419 //!@SYMTestCaseDesc           GetSupportedBitRatesL() in Eopen state
       
   420 //!@SYMTestPriority           4
       
   421 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after get a
       
   422 //! list of supported bit rates for recording to the data sink (Currently audio controller is not supported this feature).
       
   423 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.GetSupportedBitRatesL : Should Returns a list of the supported bit rates for
       
   424 //! recording to the data sink.
       
   425 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0080 \char\mmf\char_mmf_audiorec.ini
       
   426 TEST_COMPLETE
       
   427 
       
   428 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0081
       
   429 //!@SYMTestCaseDesc           GetSupportedBitRatesL() in ERecording state
       
   430 //!@SYMTestPriority           4
       
   431 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording of the audio file. 4.Check the call back MoscoStateChangeEvent
       
   432 //!  code after Get a list of supported bit rates for recording to the data sink (Currently audio controller is not supported this feature) while in Recording
       
   433 //! state.
       
   434 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : GetSupportedBitRatesL Should
       
   435 //! Returns a list of the supported bit rates for recording to the data sink. Note: issue: It returns KErrNotSupported.
       
   436 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0081 \char\mmf\char_mmf_audiorec.ini
       
   437 TEST_COMPLETE
       
   438 
       
   439 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0082
       
   440 //!@SYMTestCaseDesc           GetSupportedBitRatesL() in ENotReady state
       
   441 //!@SYMTestPriority           4
       
   442 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after Get a list of supported bit rates
       
   443 //! for recording to the data sink (Currently audio controller is not supported this feature) before Open an Audio file.
       
   444 //!@SYMTestExpectedResults    1.ENotReady state : GetSupportedBitRatesL Should leave with KErrNotSupported.
       
   445 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0082 \char\mmf\char_mmf_audiorec.ini
       
   446 TEST_COMPLETE
       
   447 
       
   448 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0089
       
   449 //!@SYMTestCaseDesc           GetSupportedSampleRatesL() in EOpen State
       
   450 //!@SYMTestPriority           4
       
   451 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after getting
       
   452 //! a list of supported sample rates.
       
   453 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. GetSupportedSampleRatesL : It should Returns a list of supported recording
       
   454 //! sample rates.
       
   455 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0089 \char\mmf\char_mmf_audiorec.ini
       
   456 TEST_COMPLETE
       
   457 
       
   458 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0090
       
   459 //!@SYMTestCaseDesc           GetSupportedSampleRatesL() in Erecording State
       
   460 //!@SYMTestPriority           4
       
   461 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
       
   462 //!  code after get a list of supported sample rates.
       
   463 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2.RecordL : Should not leave. 3.Recording state : GetSupportedSampleRatesL should
       
   464 //! Returns a list of supported recording sample rates.
       
   465 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0090 \char\mmf\char_mmf_audiorec.ini
       
   466 TEST_COMPLETE
       
   467 
       
   468 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0091
       
   469 //!@SYMTestCaseDesc           GetSupportedSampleRatesL() in ENotReady  State
       
   470 //!@SYMTestPriority           4
       
   471 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after get a list of supported sample
       
   472 //! rates before Open an Audio file.
       
   473 //!@SYMTestExpectedResults    1.ENotReady State : GetSupportedSampleRatesL should leave with KErrNotSupported.
       
   474 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0091 \char\mmf\char_mmf_audiorec.ini
       
   475 TEST_COMPLETE
       
   476 
       
   477 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0092
       
   478 //!@SYMTestCaseDesc           SetDestinationFormatL() / DestinationFormatL()  in EOpen  State
       
   479 //!@SYMTestPriority           4
       
   480 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
       
   481 //! Get.
       
   482 //!@SYMTestExpectedResults    1.Opening an Audio file should be not leave. 2. SetDestinationFormatL  : It should  Set the format of the audio clip. 3.
       
   483 //! DestinationFormatL :  It should  Get the format of the audio clip.
       
   484 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0092 \char\mmf\char_mmf_audiorec.ini
       
   485 TEST_COMPLETE
       
   486 
       
   487 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0093
       
   488 //!@SYMTestCaseDesc           SetDestinationFormatL() / DestinationFormatL()  in ENotReady   State
       
   489 //!@SYMTestPriority           4
       
   490 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Set and Get the format of the
       
   491 //! audio clip before  Open an Audio file.
       
   492 //!@SYMTestExpectedResults    1. ENotReady State :  SetDestinationFormatL  should  leave with KErrNotSupported. 2. ENotReady State : DestinationFormatL
       
   493 //!  should  leave with KErrNotSupported.
       
   494 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0093 \char\mmf\char_mmf_audiorec.ini
       
   495 TEST_COMPLETE
       
   496 
       
   497 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0094
       
   498 //!@SYMTestCaseDesc           SetDestinationFormatL() / DestinationFormatL()  in ERecording   State
       
   499 //!@SYMTestPriority           4
       
   500 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   501 //!  code after Get the format of the audio clip before while in Recording state.
       
   502 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state : SetDestinationFormatL should
       
   503 //!  Get the format of the audio clip and call back MoscoStateChangeEvent  should leave KErrNotReady.  4.Recording state : DestinationFormatL should  Get
       
   504 //! the format of the audio clip and call back MoscoStateChangeEvent  should return KErrNone.
       
   505 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0094 \char\mmf\char_mmf_audiorec.ini
       
   506 TEST_COMPLETE
       
   507 
       
   508 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0095
       
   509 //!@SYMTestCaseDesc           SetDestinationNumberOfChannelsL() /  DestinationNumberOfChannelsL()  in EOpen  State
       
   510 //!@SYMTestPriority           4
       
   511 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent  code after Set and
       
   512 //! Get the number of channels for the audio clip to be recorded.
       
   513 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. SetDestinationNumberOfChannelsL  : It should Set the number of channels for
       
   514 //! the audio clip to be recorded. 3. DestinationNumberOfChannelsL  : Get the number of channels for the audio clip to be recorded.
       
   515 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0095 \char\mmf\char_mmf_audiorec.ini
       
   516 TEST_COMPLETE
       
   517 
       
   518 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0096
       
   519 //!@SYMTestCaseDesc           SetDestinationNumberOfChannelsL() /  DestinationNumberOfChannelsL()  in ERecording  State
       
   520 //!@SYMTestPriority           4
       
   521 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
       
   522 //!  code after Get the number of channels for the audio clip to be recorded while in recording state.
       
   523 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : DestinationNumberOfChannelsL
       
   524 //!  should  Get the format of the audio clip and leave with KErrNone. 4.Recording state : SetDestinationNumberOfChannelsL  should  Get the format of the
       
   525 //! audio clip and leave with KErrNotReady
       
   526 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0096 \char\mmf\char_mmf_audiorec.ini
       
   527 TEST_COMPLETE
       
   528 
       
   529 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0097
       
   530 //!@SYMTestCaseDesc           SetDestinationNumberOfChannelsL() /  DestinationNumberOfChannelsL()  in ENotReady  State
       
   531 //!@SYMTestPriority           4
       
   532 //!@SYMTestActions            1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent  code after Set and Get the number of channels
       
   533 //! for the audio clip to be recorded before Open an Audio file.
       
   534 //!@SYMTestExpectedResults    1. ENotReady State:  SetDestinationNumberOfChannelsL   should leave with KErrNotSupported. 2.ENotReady State:   DestinationNumberOfChannelsL
       
   535 //!  should leave with KErrNotSupported.
       
   536 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0097 \char\mmf\char_mmf_audiorec.ini
       
   537 TEST_COMPLETE
       
   538 
       
   539 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0098
       
   540 //!@SYMTestCaseDesc           GetSupportedNumberOfChannelsL()  in EOpen  State
       
   541 //!@SYMTestPriority           4
       
   542 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent  code after get a list
       
   543 //! of supported number of channels for recording.
       
   544 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. GetSupportedNumberOfChannelsL  : It should get a list of supported number of
       
   545 //! channels for recording.
       
   546 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0098 \char\mmf\char_mmf_audiorec.ini
       
   547 TEST_COMPLETE
       
   548 
       
   549 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0099
       
   550 //!@SYMTestCaseDesc           GetSupportedNumberOfChannelsL()  in ERecording State
       
   551 //!@SYMTestPriority           4
       
   552 //!@SYMTestActions            1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
       
   553 //!  code after get a list of supported number of channels for recording while in Recording state.
       
   554 //!@SYMTestExpectedResults    1.Opening an Audio file should not leave. 2. RecordL : Should not leave. 3.Recording state : GetSupportedNumberOfChannelsL
       
   555 //!  should get a list of supported number of channels for recording.
       
   556 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0099 \char\mmf\char_mmf_audiorec.ini
       
   557 TEST_COMPLETE
       
   558 
       
   559 //!@SYMTestCaseID             MM-MMF-ARCLNT-CHRTZ-OGG-I-0100
       
   560 //!@SYMTestCaseDesc           GetSupportedNumberOfChannelsL()  in ENotReady State
       
   561 //!@SYMTestPriority           4
       
   562 //!@SYMTestActions            1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent  code after get a list of supported number
       
   563 //! of channels for recording before Open an Audio file.
       
   564 //!@SYMTestExpectedResults    1.ENotReady state : GetSupportedNumberOfChannelsL  should leave with KErrNotSupported.
       
   565 RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0100 \char\mmf\char_mmf_audiorec.ini
       
   566 TEST_COMPLETE
       
   567 
       
   568