mmlibs/mmfw/tsrc/mmfcharacterisationvalidation/clientutils/audio/play/scripts/char_mmf_audioplay_mp3.script
changeset 0 b8ed18f6c07b
child 5 b220a9341636
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file char_mmf_audioplay_mp3.script
       
    15 // 
       
    16 //
       
    17 
       
    18 PRINT 
       
    19 LOAD_SUITE char_mmf_audioplay.dll
       
    20 
       
    21 # wait for ring.wav to finish playing
       
    22 delay 1000
       
    23 
       
    24 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0001
       
    25 //!@SYMTestCaseDesc           Open an audio file.
       
    26 //!@SYMTestPriority           4
       
    27 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file.
       
    28 //!@SYMTestExpectedResults    The MapcInitComplete() callback function should pass KErrNone.
       
    29 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0001 \char\mmf\char_mmf_audioplay.ini 
       
    30 TEST_COMPLETE 
       
    31 
       
    32 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0002
       
    33 //!@SYMTestCaseDesc           Open a corrupt audio file.
       
    34 //!@SYMTestPriority           4
       
    35 //!@SYMTestActions            1. Create audio player utility. 2. Open a corrupt audio file.
       
    36 //!@SYMTestExpectedResults    The MapcInitComplete() callback function should pass KErrNotSupported.
       
    37 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0002 \char\mmf\char_mmf_audioplay.ini
       
    38 TEST_COMPLETE 
       
    39 
       
    40 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0006
       
    41 //!@SYMTestCaseDesc           Open an audio clip from a descriptor.
       
    42 //!@SYMTestPriority           4
       
    43 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio clip from a descriptor.
       
    44 //!@SYMTestExpectedResults    The MapcInitComplete() callback function should pass KErrNone.
       
    45 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0006 \char\mmf\char_mmf_audioplay.ini 
       
    46 TEST_COMPLETE 
       
    47 
       
    48 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0011
       
    49 //!@SYMTestCaseDesc           Play an audio file.
       
    50 //!@SYMTestPriority           4
       
    51 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play audio file.
       
    52 //!@SYMTestExpectedResults    The MapcPlayComplete() callback function should pass KErrNone.
       
    53 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0011 \char\mmf\char_mmf_audioplay.ini
       
    54 TEST_COMPLETE 
       
    55 
       
    56 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0012
       
    57 //!@SYMTestCaseDesc           Play an audio file while in the EPlaying state.
       
    58 //!@SYMTestPriority           4
       
    59 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play audio file. 4. Play another audio file.
       
    60 //!@SYMTestExpectedResults    The MapcPlayComplete() callback function should pass KErrNotReady.
       
    61 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0012 \char\mmf\char_mmf_audioplay.ini
       
    62 TEST_COMPLETE 
       
    63 
       
    64 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0013
       
    65 //!@SYMTestCaseDesc           Play an audio file before opening the clip.
       
    66 //!@SYMTestPriority           4
       
    67 //!@SYMTestActions            1. Create audio player utility. 2. Play audio file.
       
    68 //!@SYMTestExpectedResults    The MapcPlayComplete() callback function should pass KErrNotReady.
       
    69 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0013 \char\mmf\char_mmf_audioplay.ini
       
    70 TEST_COMPLETE 
       
    71 
       
    72 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0014
       
    73 //!@SYMTestCaseDesc           Stop while playing an audio file.
       
    74 //!@SYMTestPriority           4
       
    75 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Stop the audio file while in EPlaying
       
    76 //! state.
       
    77 //!@SYMTestExpectedResults    The MapcPlayComplete() callback function is not called.
       
    78 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0014 \char\mmf\char_mmf_audioplay.ini
       
    79 TEST_COMPLETE 
       
    80 
       
    81 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0015
       
    82 //!@SYMTestCaseDesc           Pause while playing an audio file.
       
    83 //!@SYMTestPriority           4
       
    84 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Pause the audio file while in EPlaying
       
    85 //! state.
       
    86 //!@SYMTestExpectedResults    1. The MapcPlayComplete() callback function is not called. 2. The position remains the same after a 1 second delay.
       
    87 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0015 \char\mmf\char_mmf_audioplay.ini
       
    88 TEST_COMPLETE 
       
    89 
       
    90 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0016
       
    91 //!@SYMTestCaseDesc           Close while playing an audio file.
       
    92 //!@SYMTestPriority           4
       
    93 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Close the audio file while in EPlaying
       
    94 //! state.
       
    95 //!@SYMTestExpectedResults    The current audio clip is closed. (Therefore subsequent call to OpenFileL() returns KErrNone)
       
    96 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0016 \char\mmf\char_mmf_audioplay.ini
       
    97 TEST_COMPLETE 
       
    98 
       
    99 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0017
       
   100 //!@SYMTestCaseDesc           Get the max volume.
       
   101 //!@SYMTestPriority           4
       
   102 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the max volume.
       
   103 //!@SYMTestExpectedResults    MaxVolume() returns the maximum volume which can be passed to CMdaAudioPlayerUtility::SetVolume().
       
   104 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0017 \char\mmf\char_mmf_audioplay.ini
       
   105 TEST_COMPLETE 
       
   106 
       
   107 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0018
       
   108 //!@SYMTestCaseDesc           Get the max volume while playing is in progress.
       
   109 //!@SYMTestPriority           4
       
   110 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the max volume.
       
   111 //!@SYMTestExpectedResults    MaxVolume() returns the maximum volume which can be passed to CMdaAudioPlayerUtility::SetVolume().
       
   112 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0018 \char\mmf\char_mmf_audioplay.ini
       
   113 TEST_COMPLETE 
       
   114 
       
   115 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0020
       
   116 //!@SYMTestCaseDesc           Get the current playback volume.
       
   117 //!@SYMTestPriority           4
       
   118 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the current playback volume.
       
   119 //!@SYMTestExpectedResults    GetVolume() returns the current playback volume.
       
   120 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0020 \char\mmf\char_mmf_audioplay.ini
       
   121 TEST_COMPLETE 
       
   122 
       
   123 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0021
       
   124 //!@SYMTestCaseDesc           Get the current playback volume while playing is in progress.
       
   125 //!@SYMTestPriority           4
       
   126 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the current playback volume.
       
   127 //!@SYMTestExpectedResults    GetVolume() returns the current playback volume.
       
   128 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0021 \char\mmf\char_mmf_audioplay.ini
       
   129 TEST_COMPLETE 
       
   130 
       
   131 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0023
       
   132 //!@SYMTestCaseDesc           Set the current playback volume to zero.
       
   133 //!@SYMTestPriority           4
       
   134 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback volume to zero.
       
   135 //!@SYMTestExpectedResults    SetVolume() sets the current playback volume to zero.
       
   136 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0023 \char\mmf\char_mmf_audioplay.ini
       
   137 TEST_COMPLETE
       
   138 
       
   139 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0024
       
   140 //!@SYMTestCaseDesc           Set the current playback volume to the maximum permissible volume.
       
   141 //!@SYMTestPriority           4
       
   142 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback volume to the maximum permissible vol
       
   143 //!ume.
       
   144 //!@SYMTestExpectedResults    SetVolume() sets the current playback volume to the maximum permissible volume.
       
   145 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0024 \char\mmf\char_mmf_audioplay.ini
       
   146 TEST_COMPLETE 
       
   147 
       
   148 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0025
       
   149 //!@SYMTestCaseDesc           Set the current playback volume to zero while playing is in progress.
       
   150 //!@SYMTestPriority           4
       
   151 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback volume to zer
       
   152 //!o.
       
   153 //!@SYMTestExpectedResults    SetVolume() sets the current playback volume to zero.
       
   154 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0025 \char\mmf\char_mmf_audioplay.ini
       
   155 TEST_COMPLETE 
       
   156 
       
   157 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0026
       
   158 //!@SYMTestCaseDesc           Set the current playback volume to the maximum permissible volume while playing is in progress.
       
   159 //!@SYMTestPriority           4
       
   160 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback volume to the
       
   161 //! maximum permissible volume.
       
   162 //!@SYMTestExpectedResults    SetVolume() sets the current playback volume to the maximum permissible volume.
       
   163 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0026 \char\mmf\char_mmf_audioplay.ini
       
   164 TEST_COMPLETE
       
   165 
       
   166 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0029
       
   167 //!@SYMTestCaseDesc           Set the volume ramp.
       
   168 //!@SYMTestPriority           4
       
   169 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the volume ramp.
       
   170 //!@SYMTestExpectedResults    SetVolumeRamp() sets the volume increase gradiant.
       
   171 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0029 \char\mmf\char_mmf_audioplay.ini
       
   172 TEST_COMPLETE
       
   173 
       
   174 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0030
       
   175 //!@SYMTestCaseDesc           Set the volume ramp while playing is in progress.
       
   176 //!@SYMTestPriority           4
       
   177 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the volume ramp.
       
   178 //!@SYMTestExpectedResults    SetVolumeRamp() sets the volume increase gradiant.
       
   179 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0030 \char\mmf\char_mmf_audioplay.ini
       
   180 TEST_COMPLETE
       
   181 
       
   182 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0032
       
   183 //!@SYMTestCaseDesc           Set the number of times the audio clip is to be repeated to zero.
       
   184 //!@SYMTestPriority           4
       
   185 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the number fo times the audio clip is to be repeated to ze
       
   186 //!ro.
       
   187 //!@SYMTestExpectedResults    SetRepeats() sets the numebr of times to repeat the audio clip to zero.
       
   188 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0032 \char\mmf\char_mmf_audioplay.ini
       
   189 TEST_COMPLETE 
       
   190 
       
   191 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0033
       
   192 //!@SYMTestCaseDesc           Set the number of times the audio clip is to be repeated to KMdaRepeatForever.
       
   193 //!@SYMTestPriority           4
       
   194 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the number fo times the audio clip is to be repeated to KM
       
   195 //!daRepeatForever.
       
   196 //!@SYMTestExpectedResults    SetRepeats() sets the numebr of times to repeat the audio clip to KMdaRepeatForever.
       
   197 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0033 \char\mmf\char_mmf_audioplay.ini
       
   198 TEST_COMPLETE 
       
   199 
       
   200 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0034
       
   201 //!@SYMTestCaseDesc           Set the number of times the audio clip is to be repeated to zero while playing is in progress.
       
   202 //!@SYMTestPriority           4
       
   203 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the number fo times the audio clip
       
   204 //! is to be repeated to zero.
       
   205 //!@SYMTestExpectedResults    SetRepeats() sets the numebr of times to repeat the audio clip to zero.
       
   206 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0034 \char\mmf\char_mmf_audioplay.ini
       
   207 TEST_COMPLETE 
       
   208 
       
   209 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0035
       
   210 //!@SYMTestCaseDesc           Set the number of times the audio clip is to be repeated to KMdaRepeatForever while playing is in progress.
       
   211 //!@SYMTestPriority           4
       
   212 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the number fo times the audio clip
       
   213 //! is to be repeated to KMdaRepeatForever.
       
   214 //!@SYMTestExpectedResults    SetRepeats() sets the numebr of times to repeat the audio clip to KMdaRepeatForever.
       
   215 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0035 \char\mmf\char_mmf_audioplay.ini
       
   216 TEST_COMPLETE 
       
   217 
       
   218 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0038
       
   219 //!@SYMTestCaseDesc           Set the priority for playback.
       
   220 //!@SYMTestPriority           4
       
   221 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the priority for playback.
       
   222 //!@SYMTestExpectedResults    SetPriority() sets the priority for playback and returns KErrNone.
       
   223 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0038 \char\mmf\char_mmf_audioplay.ini
       
   224 TEST_COMPLETE 
       
   225 
       
   226 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0039
       
   227 //!@SYMTestCaseDesc           Set the priority for playback while playing is in progress.
       
   228 //!@SYMTestPriority           4
       
   229 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the priority for playback.
       
   230 //!@SYMTestExpectedResults    SetPriority() sets the priority for playback and returns KErrNone.
       
   231 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0039 \char\mmf\char_mmf_audioplay.ini
       
   232 TEST_COMPLETE 
       
   233 
       
   234 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0041
       
   235 //!@SYMTestCaseDesc           Get the current head position.
       
   236 //!@SYMTestPriority           4
       
   237 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the current head position.
       
   238 //!@SYMTestExpectedResults    GetPosition() returns zero, as playback has not started.
       
   239 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0041 \char\mmf\char_mmf_audioplay.ini
       
   240 TEST_COMPLETE 
       
   241 
       
   242 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0042
       
   243 //!@SYMTestCaseDesc           Get the current head position while playing is in progress.
       
   244 //!@SYMTestPriority           4
       
   245 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the current head position.
       
   246 //!@SYMTestExpectedResults    GetPosition() returns the current playback position in microseconds from the start of the clip.
       
   247 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0042 \char\mmf\char_mmf_audioplay.ini
       
   248 TEST_COMPLETE 
       
   249 
       
   250 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0043
       
   251 //!@SYMTestCaseDesc           Set the current head position.
       
   252 //!@SYMTestPriority           4
       
   253 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current head position.
       
   254 //!@SYMTestExpectedResults    The current head position should be set as specified.
       
   255 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0043 \char\mmf\char_mmf_audioplay.ini
       
   256 TEST_COMPLETE 
       
   257 
       
   258 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0044
       
   259 //!@SYMTestCaseDesc           Set the current head position to a negative value.
       
   260 //!@SYMTestPriority           4
       
   261 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current head position to a negative value.
       
   262 //!@SYMTestExpectedResults    The current head position should be set to zero.
       
   263 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0044 \char\mmf\char_mmf_audioplay.ini
       
   264 TEST_COMPLETE 
       
   265 
       
   266 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0045
       
   267 //!@SYMTestCaseDesc           Set the current head position to a value greater than the duration.
       
   268 //!@SYMTestPriority           4
       
   269 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current head position to a value greater than the dura
       
   270 //!tion.
       
   271 //!@SYMTestExpectedResults    The current head position should be set to the end of the duration.
       
   272 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0045 \char\mmf\char_mmf_audioplay.ini
       
   273 TEST_COMPLETE 
       
   274 
       
   275 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0046
       
   276 //!@SYMTestCaseDesc           Set the current head position while playing is in progress.
       
   277 //!@SYMTestPriority           4
       
   278 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current head position.
       
   279 //!@SYMTestExpectedResults    The current head position should be set as specified.
       
   280 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0046 \char\mmf\char_mmf_audioplay.ini
       
   281 TEST_COMPLETE 
       
   282 
       
   283 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0047
       
   284 //!@SYMTestCaseDesc           Set the current head position while playing is in progress to a negative value.
       
   285 //!@SYMTestPriority           4
       
   286 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current head position to a negative
       
   287 //! value.
       
   288 //!@SYMTestExpectedResults    The current head position should be set to zero.
       
   289 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0047 \char\mmf\char_mmf_audioplay.ini
       
   290 TEST_COMPLETE 
       
   291 
       
   292 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0048
       
   293 //!@SYMTestCaseDesc           Set the current head position while playing is in progress to a value greater than the duration.
       
   294 //!@SYMTestPriority           4
       
   295 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current head position to a value
       
   296 //! greater than the duration.
       
   297 //!@SYMTestExpectedResults    The current head position should be set to the end of the duration.
       
   298 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0048 \char\mmf\char_mmf_audioplay.ini
       
   299 TEST_COMPLETE 
       
   300 
       
   301 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0049
       
   302 //!@SYMTestCaseDesc           Set the current head position while playing has been paused.
       
   303 //!@SYMTestPriority           4
       
   304 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 3. Pause the audio file. 4. Set the current
       
   305 //! head position.
       
   306 //!@SYMTestExpectedResults    The current head position should be set to the specified position.
       
   307 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0049 \char\mmf\char_mmf_audioplay.ini
       
   308 TEST_COMPLETE 
       
   309 
       
   310 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0050
       
   311 //!@SYMTestCaseDesc           Set the current head position while playing has been paused to a negative value.
       
   312 //!@SYMTestPriority           4
       
   313 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 3. Pause the audio file. 4. Set the current
       
   314 //! head position.
       
   315 //!@SYMTestExpectedResults    The current head position should be set to zero.
       
   316 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0050 \char\mmf\char_mmf_audioplay.ini
       
   317 TEST_COMPLETE 
       
   318 
       
   319 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0051
       
   320 //!@SYMTestCaseDesc           Set the current head position while playing has been paused to a value greater than the duration.
       
   321 //!@SYMTestPriority           4
       
   322 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Pause the audio file. 5. Set the current
       
   323 //! head position to a value greater than the duration.
       
   324 //!@SYMTestExpectedResults    The current head position should be set to the end of the duration.
       
   325 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0051 \char\mmf\char_mmf_audioplay.ini
       
   326 TEST_COMPLETE 
       
   327 
       
   328 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0052
       
   329 //!@SYMTestCaseDesc           Set the current playback window.
       
   330 //!@SYMTestPriority           4
       
   331 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback window to a negative value.
       
   332 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set as specified.
       
   333 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0052 \char\mmf\char_mmf_audioplay.ini
       
   334 TEST_COMPLETE 
       
   335 
       
   336 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0055
       
   337 //!@SYMTestCaseDesc           Set the current playback window while playing is in progress and the start is greater than the end.
       
   338 //!@SYMTestPriority           4
       
   339 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   340 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set with the specified start and end values
       
   341 //! swapped.
       
   342 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0055 \char\mmf\char_mmf_audioplay.ini
       
   343 TEST_COMPLETE 
       
   344 
       
   345 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0056
       
   346 //!@SYMTestCaseDesc           Set the current playback window while playing is paused and the start is after the current head position.
       
   347 //!@SYMTestPriority           4
       
   348 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   349 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone and set the current playback window as specified. 2. The current head position
       
   350 //! should be moved to the start of the current playback window.
       
   351 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0056 \char\mmf\char_mmf_audioplay.ini
       
   352 TEST_COMPLETE 
       
   353 
       
   354 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0057
       
   355 //!@SYMTestCaseDesc           Set the current playback window while playing is paused and the end is before the current head position.
       
   356 //!@SYMTestPriority           4
       
   357 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   358 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set as specified. 3. The current head position
       
   359 //! should be moved to the end of the current playback window.
       
   360 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0057 \char\mmf\char_mmf_audioplay.ini
       
   361 TEST_COMPLETE 
       
   362 
       
   363 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0058
       
   364 //!@SYMTestCaseDesc           Set the current playback window while playing is paused and the start is greater than the end.
       
   365 //!@SYMTestPriority           4
       
   366 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   367 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set with specified start and end values swa
       
   368 //!pped.
       
   369 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0058 \char\mmf\char_mmf_audioplay.ini
       
   370 TEST_COMPLETE 
       
   371 
       
   372 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0059
       
   373 //!@SYMTestCaseDesc           Clear the current playback window.
       
   374 //!@SYMTestPriority           4
       
   375 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback window. 4. Clear the current playback
       
   376 //! window.
       
   377 //!@SYMTestExpectedResults    1. ClearPlayWindow() should return KErrNone. 2. The current playback window is cleared i.e. Subsequent playback starts from
       
   378 //! the beginning of the clip and plays till end of the file.
       
   379 RUN_TEST_STEP 100000 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0059 \char\mmf\char_mmf_audioplay.ini
       
   380 TEST_COMPLETE 
       
   381 
       
   382 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0062
       
   383 //!@SYMTestCaseDesc           Set the current playback balance.
       
   384 //!@SYMTestPriority           4
       
   385 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback balance.
       
   386 //!@SYMTestExpectedResults    The current head position should be set as specified.
       
   387 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0062 \char\mmf\char_mmf_audioplay.ini
       
   388 TEST_COMPLETE 
       
   389 
       
   390 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0063
       
   391 //!@SYMTestCaseDesc           Set the current playback balance to less than KMMFBalanceMaxLeft.
       
   392 //!@SYMTestPriority           4
       
   393 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback balance to less than KMMFBalanceMaxLe
       
   394 //!ft.
       
   395 //!@SYMTestExpectedResults    The current playback balance should be to set to KMMFBalanceMaxLeft.
       
   396 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0063 \char\mmf\char_mmf_audioplay.ini
       
   397 TEST_COMPLETE 
       
   398 
       
   399 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0064
       
   400 //!@SYMTestCaseDesc           Set the current playback balance to greater than KMMFBalanceMaxRight.
       
   401 //!@SYMTestPriority           4
       
   402 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback balance to greater than KMMFBalanceMa
       
   403 //!xRight.
       
   404 //!@SYMTestExpectedResults    The current playback balance should be set to KMMFBalanceMaxRight.
       
   405 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0064 \char\mmf\char_mmf_audioplay.ini
       
   406 TEST_COMPLETE 
       
   407 
       
   408 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0065
       
   409 //!@SYMTestCaseDesc           Set the current playback balance while playing is in progress.
       
   410 //!@SYMTestPriority           4
       
   411 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback balance.
       
   412 //!@SYMTestExpectedResults    The current playback balance should be set as specified.
       
   413 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0065 \char\mmf\char_mmf_audioplay.ini
       
   414 TEST_COMPLETE 
       
   415 
       
   416 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0066
       
   417 //!@SYMTestCaseDesc           Set the current playback balance while playing is in progress to less than KMMFBalanceMaxLeft.
       
   418 //!@SYMTestPriority           4
       
   419 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback balance to less
       
   420 //! than KMMFBalanceMaxLeft.
       
   421 //!@SYMTestExpectedResults    The current playback balance should be set to KMMFBalanceMaxLeft.
       
   422 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0066 \char\mmf\char_mmf_audioplay.ini
       
   423 TEST_COMPLETE 
       
   424 
       
   425 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0067
       
   426 //!@SYMTestCaseDesc           Set the current playback balance while playing is in progress to greater than KMMFBalanceMaxRight.
       
   427 //!@SYMTestPriority           4
       
   428 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback balance to a
       
   429 //! value greater than KMMFBalanceMaxRight.
       
   430 //!@SYMTestExpectedResults    The current playback balance should be set to KMMFBalanceMaxRight.
       
   431 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0067 \char\mmf\char_mmf_audioplay.ini
       
   432 TEST_COMPLETE 
       
   433 
       
   434 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0068
       
   435 //!@SYMTestCaseDesc           Set the current playback balance while playing is paused.
       
   436 //!@SYMTestPriority           4
       
   437 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Pause the audio file. 5. Set the current
       
   438 //! playback balance.
       
   439 //!@SYMTestExpectedResults    The current playback balance should be set as specified.
       
   440 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0068 \char\mmf\char_mmf_audioplay.ini
       
   441 TEST_COMPLETE 
       
   442 
       
   443 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0069
       
   444 //!@SYMTestCaseDesc           Set the current playback balance while playing is paused to less than KMMFBalanceMaxLeft.
       
   445 //!@SYMTestPriority           4
       
   446 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Pause the audio file. 5. Set the current
       
   447 //! playback balance to less than KMMFBalanceMaxLeft.
       
   448 //!@SYMTestExpectedResults    The current playback balance should be set to KMMFBalanceMaxLeft.
       
   449 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0069 \char\mmf\char_mmf_audioplay.ini
       
   450 TEST_COMPLETE 
       
   451 
       
   452 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0070
       
   453 //!@SYMTestCaseDesc           Set the current playback balance while playing is paused to greater than KMMFBalanceMaxRight.
       
   454 //!@SYMTestPriority           4
       
   455 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Pause the audio file. 5. Set the current
       
   456 //! playback balance to a value greater than KMMFBalanceMaxRight.
       
   457 //!@SYMTestExpectedResults    The current playback balance should be set to KMMFBalanceMaxRight.
       
   458 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0070 \char\mmf\char_mmf_audioplay.ini
       
   459 TEST_COMPLETE 
       
   460 
       
   461 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0072
       
   462 //!@SYMTestCaseDesc           Get the current playback balance.
       
   463 //!@SYMTestPriority           4
       
   464 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the current playback balance.
       
   465 //!@SYMTestExpectedResults    GetBalance() should return the current playback balance.
       
   466 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0072 \char\mmf\char_mmf_audioplay.ini
       
   467 TEST_COMPLETE 
       
   468 
       
   469 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0073
       
   470 //!@SYMTestCaseDesc           Get the current playback balance while playing.
       
   471 //!@SYMTestPriority           4
       
   472 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the current playback balance.
       
   473 //!@SYMTestExpectedResults    GetBalance() should return the current playback balance.
       
   474 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0073 \char\mmf\char_mmf_audioplay.ini
       
   475 TEST_COMPLETE 
       
   476 
       
   477 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0075
       
   478 //!@SYMTestCaseDesc           Get the bit rate of the audio clip.
       
   479 //!@SYMTestPriority           4
       
   480 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the bit rate of the audio clip.
       
   481 //!@SYMTestExpectedResults    GetBitRate() should return the bit rate of the audio clip.
       
   482 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0075 \char\mmf\char_mmf_audioplay.ini
       
   483 TEST_COMPLETE 
       
   484 
       
   485 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0076
       
   486 //!@SYMTestCaseDesc           Get the bit rate of the audio clip while playing is in progress.
       
   487 //!@SYMTestPriority           4
       
   488 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the bit rate of the audio clip.
       
   489 //!@SYMTestExpectedResults    GetBitRate() should return the bit rate of the audio clip.
       
   490 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0076 \char\mmf\char_mmf_audioplay.ini
       
   491 TEST_COMPLETE 
       
   492 
       
   493 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0089
       
   494 //!@SYMTestCaseDesc           Get the number of meta data entries.
       
   495 //!@SYMTestPriority           4
       
   496 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get the number of meta data entries.
       
   497 //!@SYMTestExpectedResults    Currently these API’s do not have implementation at the format level, so client receives KErrNotSupported.
       
   498 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0089 \char\mmf\char_mmf_audioplay.ini
       
   499 TEST_COMPLETE 
       
   500 
       
   501 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0090
       
   502 //!@SYMTestCaseDesc           Get a meta data entry.
       
   503 //!@SYMTestPriority           4
       
   504 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Get a meta data entry.
       
   505 //!@SYMTestExpectedResults    Currently these API’s do not have implementation at the format level, so client receives KErrNotSupported.
       
   506 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0090 \char\mmf\char_mmf_audioplay.ini
       
   507 TEST_COMPLETE 
       
   508 
       
   509 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0091
       
   510 //!@SYMTestCaseDesc           Get the number of meta data entries while playback is in progress.
       
   511 //!@SYMTestPriority           4
       
   512 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the number of meta data entries.
       
   513 //!@SYMTestExpectedResults    Currently these API’s do not have implementation at the format level, so client receives KErrNotSupported.
       
   514 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0091 \char\mmf\char_mmf_audioplay.ini
       
   515 TEST_COMPLETE 
       
   516 
       
   517 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0092
       
   518 //!@SYMTestCaseDesc           Get a meta data entry while playback is in progress.
       
   519 //!@SYMTestPriority           4
       
   520 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Get the a meta data entry.
       
   521 //!@SYMTestExpectedResults    Currently these API’s do not have implementation at the format level, so client receives KErrNotSupported.
       
   522 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0092 \char\mmf\char_mmf_audioplay.ini
       
   523 TEST_COMPLETE 
       
   524 
       
   525 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0093
       
   526 //!@SYMTestCaseDesc           Get the the number of meta data entries before opening the audio clip.
       
   527 //!@SYMTestPriority           4
       
   528 //!@SYMTestActions            1. Create audio player utility. 2. Get the number of meta data entries.
       
   529 //!@SYMTestExpectedResults    GetNumberOfMetaDataEntries() leaves with KErrNotReady.
       
   530 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0093 \char\mmf\char_mmf_audioplay.ini
       
   531 TEST_COMPLETE 
       
   532 
       
   533 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0094
       
   534 //!@SYMTestCaseDesc           Get the meta data entries before opening the audio clip.
       
   535 //!@SYMTestPriority           4
       
   536 //!@SYMTestActions            1. Create audio player utility. 2. Get a meta data entry.
       
   537 //!@SYMTestExpectedResults    GetMetaDataEntryL() leaves with KErrNotReady.
       
   538 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0094 \char\mmf\char_mmf_audioplay.ini
       
   539 TEST_COMPLETE 
       
   540 
       
   541 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0053
       
   542 //!@SYMTestCaseDesc           Set the current playback window while playing is in progress and the start is after the current head position.
       
   543 //!@SYMTestPriority           4
       
   544 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   545 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set as specified. 3. The current head position
       
   546 //! should be moved to the start of the current playback window.
       
   547 RUN_TEST_STEP 100000 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0053 \char\mmf\char_mmf_audioplay.ini
       
   548 TEST_COMPLETE 
       
   549 
       
   550 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0054
       
   551 //!@SYMTestCaseDesc           Set the current playback window while playing is in progress and the end is before the current head position.
       
   552 //!@SYMTestPriority           4
       
   553 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Play the audio file. 4. Set the current playback window.
       
   554 //!@SYMTestExpectedResults    1. SetPlayWindow() should return KErrNone. 2. The current playback window is set as specified. 3. The current head position
       
   555 //! should be moved to the end of the current playback window.
       
   556 RUN_TEST_STEP 100000 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0054 \char\mmf\char_mmf_audioplay.ini
       
   557 TEST_COMPLETE 
       
   558 
       
   559 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0060
       
   560 //!@SYMTestCaseDesc           Clear the current playback window while playing is in progress.
       
   561 //!@SYMTestPriority           4
       
   562 //!@SYMTestActions            1. Create audio player utility. 2. Open an audio file. 3. Set the current playback window. 4. Play the audio file. 5. Clear
       
   563 //! the current playback window.
       
   564 //!@SYMTestExpectedResults    1. ClearPlayWindow() should return KErrNone. 2. The current playback window is cleared i.e. Subsequent playback starts from
       
   565 //! the beginning of the clip and plays till end of the file.
       
   566 RUN_TEST_STEP 100000 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0060 \char\mmf\char_mmf_audioplay.ini
       
   567 TEST_COMPLETE 
       
   568 
       
   569 //!@SYMTestCaseID             MM-MMF-APLCLNT-CHRTZ-MP3-I-0095
       
   570 //!@SYMTestCaseDesc           Play-Pause-Play an audio file.
       
   571 //!@SYMTestPriority           4
       
   572 //!@SYMTestActions            1. Create audio player utility. 
       
   573 //!                           2. Open an audio file. 
       
   574 //!                           3. Play the audio file. 
       
   575 //!                           4. Pause the audio file while in EPlaying state
       
   576 //!                           4. Resume playback until EOF
       
   577 //!@SYMTestExpectedResults    1. The MapcPlayComplete() callback function is not called while in pause. 2. The position remains the same after a 1 second delay.
       
   578 RUN_TEST_STEP -1 char_mmf_audioplay MM-MMF-APLCLNT-CHRTZ-MP3-I-0095 \char\mmf\char_mmf_audioplay.ini
       
   579 TEST_COMPLETE