0
|
1 |
@file char_mmf_audiorec_ogg.script
|
|
2 |
// Copyright (c) 2006-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:
|
5
|
15 |
////This script is not running as the functionality is not supported.
|
0
|
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-0002
|
|
24 |
//!@SYMTestCaseDesc Open a file to record an audio sample data while in Opened state.
|
|
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. Again
|
|
27 |
//! Open the file while in Opened state and check the call back MoscoStateChangeEvent code.
|
|
28 |
//!@SYMTestExpectedResults It should have no operation.
|
|
29 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0002 \char\mmf\char_mmf_audiorec.ini
|
|
30 |
TEST_COMPLETE
|
|
31 |
|
|
32 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0004
|
|
33 |
//!@SYMTestCaseDesc PlayL() in EPlaying state
|
|
34 |
//!@SYMTestPriority 4
|
|
35 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an audio file. 3.Play the audio file. 4.check the call back MoscoStateChangeEvent
|
|
36 |
//! code for Play while in Playing state.
|
|
37 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. The audio file should Play till end of the file. 3.Playing State:The call back
|
|
38 |
//! MoscoStateChangeEvent should return KErrNotReady.
|
|
39 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0004 \char\mmf\char_mmf_audiorec.ini
|
|
40 |
TEST_COMPLETE
|
|
41 |
|
|
42 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0005
|
|
43 |
//!@SYMTestCaseDesc PlayL() in ENotReady state.
|
|
44 |
//!@SYMTestPriority 4
|
|
45 |
//!@SYMTestActions 1. Create audio recorder utility. 2.check the call back MoscoStateChangeEvent code. For Play an Audio file before open.
|
|
46 |
//!@SYMTestExpectedResults 1.Play State: call back MoscoStateChangeEvent should return with KErrNotSupported.
|
|
47 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0005 \char\mmf\char_mmf_audiorec.ini
|
|
48 |
TEST_COMPLETE
|
|
49 |
|
|
50 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0008
|
|
51 |
//!@SYMTestCaseDesc RecordL() in ENotReady state
|
|
52 |
//!@SYMTestPriority 4
|
|
53 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent code after Recording before Open the Fil
|
|
54 |
//!e.
|
|
55 |
//!@SYMTestExpectedResults 1. While record call back MoscoStateChangeEvent should return with KErrNotSupported.
|
|
56 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0008 \char\mmf\char_mmf_audiorec.ini
|
|
57 |
TEST_COMPLETE
|
|
58 |
|
|
59 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0009
|
|
60 |
//!@SYMTestCaseDesc Record an audio file with maximum size.
|
|
61 |
//!@SYMTestPriority 4
|
|
62 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Maximum length SetMaxwriteLength(). 4. Check the call
|
|
63 |
//! back MoscoStateChangeEvent code after Recording.
|
|
64 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.It should record the Audio data and leave with KErrEof when the file size reached
|
|
65 |
//! the max limit.
|
|
66 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0009 \char\mmf\char_mmf_audiorec.ini
|
|
67 |
TEST_COMPLETE
|
|
68 |
|
|
69 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0010
|
|
70 |
//!@SYMTestCaseDesc Record an audio file while in Erecording state.
|
|
71 |
//!@SYMTestPriority 4
|
|
72 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Maximum length SetMaxwriteLength(). 4. Starts Recording
|
|
73 |
//! 5.Check the call back MoscoStateChangeEvent code after recording again while in Recording state.
|
|
74 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.SetMaxwriteLength :it should set the maximum size. 3.RecordL: It should not
|
|
75 |
//! leave. 4.Recording State: call back MoscoStateChangeEvent should return with KErrNotReady.
|
|
76 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0010 \char\mmf\char_mmf_audiorec.ini
|
|
77 |
TEST_COMPLETE
|
|
78 |
|
|
79 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0012
|
|
80 |
//!@SYMTestCaseDesc MaxVolume() in EOpen state
|
|
81 |
//!@SYMTestPriority 4
|
|
82 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent code after Getting
|
|
83 |
//! the Maximum Volume
|
|
84 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.MaxVolume should give the maximum volume of the device.
|
|
85 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0012 \char\mmf\char_mmf_audiorec.ini
|
|
86 |
TEST_COMPLETE
|
|
87 |
|
|
88 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0013
|
|
89 |
//!@SYMTestCaseDesc MaxVolume() in EPlaying state
|
|
90 |
//!@SYMTestPriority 4
|
|
91 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4. Check the call back MoscoStateChangeEvent
|
|
92 |
//! code after Getting Maximum Volume while in Playing state.
|
|
93 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. Playing an audio file should not leave and call back MoscoStateChangeEvent
|
|
94 |
//! return KErrNone. 3.MaxVolume should give maximum volume.
|
|
95 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0013 \char\mmf\char_mmf_audiorec.ini
|
|
96 |
TEST_COMPLETE
|
|
97 |
|
|
98 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0014
|
|
99 |
//!@SYMTestCaseDesc MaxVolume() in ENotReady state
|
|
100 |
//!@SYMTestPriority 4
|
|
101 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Getting Maximum Volume before
|
|
102 |
//! Open an Audio file.
|
|
103 |
//!@SYMTestExpectedResults 1.MaxVolume should have return always Zero.
|
|
104 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0014 \char\mmf\char_mmf_audiorec.ini
|
|
105 |
TEST_COMPLETE
|
|
106 |
|
|
107 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0015
|
|
108 |
//!@SYMTestCaseDesc SetVolume() / GetVolume() in Eopen state
|
|
109 |
//!@SYMTestPriority 4
|
|
110 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent code after Set and
|
|
111 |
//! Get the Volume.
|
|
112 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave and call back MoscoStateChangeEvent should return KErrNone. 2.SetVolume should
|
|
113 |
//! set the volume. 3. Get the volume should return the current volume settings.
|
|
114 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0015 \char\mmf\char_mmf_audiorec.ini
|
|
115 |
TEST_COMPLETE
|
|
116 |
|
|
117 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0016
|
|
118 |
//!@SYMTestCaseDesc SetVolume() / GetVolume() in EPlaying state
|
|
119 |
//!@SYMTestPriority 4
|
|
120 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Play the audio file. 4. Check the call back MoscoStateChangeEvent
|
|
121 |
//! code after Set the Volume while in Playing state.
|
|
122 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.Playing state: SetVolume should set the volume. 3. Playing state:Get the volume
|
|
123 |
//! should return the current volume settings and call back MoscoStateChangeEvent should return KErrNone.
|
|
124 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0016 \char\mmf\char_mmf_audiorec.ini
|
|
125 |
TEST_COMPLETE
|
|
126 |
|
|
127 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0017
|
|
128 |
//!@SYMTestCaseDesc SetVolume() / GetVolume() in ENotReady state
|
|
129 |
//!@SYMTestPriority 4
|
|
130 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Set the Volume before Open an Audio file. 3. Check the call back MoscoStateChangeEvent
|
|
131 |
//! code after Get the Volume before Open an Audio file
|
|
132 |
//!@SYMTestExpectedResults 1.SetVolume/GetVolume should have no operation.
|
|
133 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0017 \char\mmf\char_mmf_audiorec.ini
|
|
134 |
TEST_COMPLETE
|
|
135 |
|
|
136 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0018
|
|
137 |
//!@SYMTestCaseDesc SetVolume() in Eopen/Eplaying state
|
|
138 |
//!@SYMTestPriority 4
|
|
139 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Play Audio file. 4. Check the call back MoscoStateChangeEvent
|
|
140 |
//! code after Set the Volume less than Zero.
|
|
141 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.SetVolume should set the volume to Zero and call back MoscoStateChangeEvent
|
|
142 |
//! should return KErrNone.
|
|
143 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0018 \char\mmf\char_mmf_audiorec.ini
|
|
144 |
TEST_COMPLETE
|
|
145 |
|
|
146 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0019
|
|
147 |
//!@SYMTestCaseDesc SetVolume() in Eopen/Eplaying state
|
|
148 |
//!@SYMTestPriority 4
|
|
149 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Play Audio file. 4. Check the call back MoscoStateChangeEvent
|
|
150 |
//! code after Set the Volume greater than the Maximum Volume.
|
|
151 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.SetVolume should set the volume to Maximum Volume call back MoscoStateChangeEvent
|
|
152 |
//! should return KErrNone.
|
|
153 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0019 \char\mmf\char_mmf_audiorec.ini
|
|
154 |
TEST_COMPLETE
|
|
155 |
|
|
156 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0021
|
|
157 |
//!@SYMTestCaseDesc SetVolumeRamp() in EPlaying state
|
|
158 |
//!@SYMTestPriority 4
|
|
159 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Play the audio file. 4.Check the call back MoscoStateChangeEvent
|
|
160 |
//! code after SetVolumeRamp while in playing state.
|
|
161 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.SetVolumeRamp should set the volume gradient call back MoscoStateChangeEvent
|
|
162 |
//! should return KErrNone.
|
|
163 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0021 \char\mmf\char_mmf_audiorec.ini
|
|
164 |
TEST_COMPLETE
|
|
165 |
|
|
166 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0022
|
|
167 |
//!@SYMTestCaseDesc SetVolumeRamp() in ENotReady state
|
|
168 |
//!@SYMTestPriority 4
|
|
169 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after SetVolumeRamp before Open an Audio
|
|
170 |
//! file.
|
|
171 |
//!@SYMTestExpectedResults 1.SetVolumeRamp should have no operation.
|
|
172 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0022 \char\mmf\char_mmf_audiorec.ini
|
|
173 |
TEST_COMPLETE
|
|
174 |
|
|
175 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0035
|
|
176 |
//!@SYMTestCaseDesc RecordTimeAvailable() in Eopen State
|
|
177 |
//!@SYMTestPriority 4
|
|
178 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after call to
|
|
179 |
//! RecordTimeAvailable.
|
|
180 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. It should return the recoding time available for the selected file. Note: It
|
|
181 |
//! is returning zero
|
|
182 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0035 \char\mmf\char_mmf_audiorec.ini
|
|
183 |
TEST_COMPLETE
|
|
184 |
|
|
185 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0042
|
|
186 |
//!@SYMTestCaseDesc SetPlayWindow() in EOpen State
|
|
187 |
//!@SYMTestPriority 4
|
|
188 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent code after Set the
|
|
189 |
//! Play Window of audio file.
|
|
190 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window of the selected audio file and
|
|
191 |
//! call back MoscoStateChangeEvent should return KErrNone.
|
|
192 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0042 \char\mmf\char_mmf_audiorec.ini
|
|
193 |
TEST_COMPLETE
|
|
194 |
|
|
195 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0043
|
|
196 |
//!@SYMTestCaseDesc SetPlayWindow() in EOpen State
|
|
197 |
//!@SYMTestPriority 4
|
|
198 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set the
|
|
199 |
//! Play Window of the audio file with Start Position Less than Zero.
|
|
200 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the specified value. 3. Play
|
|
201 |
//! :call back MoscoStateChangeEvent should return KErrArgument.
|
|
202 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0043 \char\mmf\char_mmf_audiorec.ini
|
|
203 |
TEST_COMPLETE
|
|
204 |
|
|
205 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0044
|
|
206 |
//!@SYMTestCaseDesc SetPlayWindow() in EOpen State
|
|
207 |
//!@SYMTestPriority 4
|
|
208 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set the
|
|
209 |
//! Play Window of the audio file with End Position greater than the Clip duration.
|
|
210 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the Clip Duration. 3. Play
|
|
211 |
//! : call back MoscoStateChangeEvent should return KErrNonee.
|
|
212 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0044 \char\mmf\char_mmf_audiorec.ini
|
|
213 |
TEST_COMPLETE
|
|
214 |
|
|
215 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0045
|
|
216 |
//!@SYMTestCaseDesc SetPlayWindow() in EPlaying State
|
|
217 |
//!@SYMTestPriority 4
|
|
218 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Set the Play Window of the audio file. 4. Starts Playing. 3.Check
|
|
219 |
//! the call back MoscoStateChangeEvent code after set the play Windowagain in Playing state.
|
|
220 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetPlayWindow: It should set the play window to the specified value. 3. Playing
|
|
221 |
//! state : call back MoscoStateChangeEvent should return KErrNone and set the play window again.
|
|
222 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0045 \char\mmf\char_mmf_audiorec.ini
|
|
223 |
TEST_COMPLETE
|
|
224 |
|
|
225 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0046
|
|
226 |
//!@SYMTestCaseDesc SetPlayWindow() in ENotReady State
|
|
227 |
//!@SYMTestPriority 4
|
|
228 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Set the Play Window before Open
|
|
229 |
//! an Audio file.
|
|
230 |
//!@SYMTestExpectedResults 1. SetPlayWindow:Should have no operation.
|
|
231 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0046 \char\mmf\char_mmf_audiorec.ini
|
|
232 |
TEST_COMPLETE
|
|
233 |
|
|
234 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0047
|
|
235 |
//!@SYMTestCaseDesc ClearPlayWindow() in EOpen State
|
|
236 |
//!@SYMTestPriority 4
|
|
237 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Check the call back MoscoStateChangeEvent code after Clear
|
|
238 |
//! the Play Window of the audio file.
|
|
239 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. ClearPlayWindow: It should clear the play window of the selected audio file
|
|
240 |
//! and call back MoscoStateChangeEvent should return KErrNone.
|
|
241 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0047 \char\mmf\char_mmf_audiorec.ini
|
|
242 |
TEST_COMPLETE
|
|
243 |
|
|
244 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0048
|
|
245 |
//!@SYMTestCaseDesc ClearPlayWindow() in EPlaying State
|
|
246 |
//!@SYMTestPriority 4
|
|
247 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Playing. 4 Check the call back MoscoStateChangeEvent
|
|
248 |
//! code after Clear the Play Window of the audio file while in Playing state.
|
|
249 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.Play should not leave. 3.Playing state : ClearPlayWindow should clear the play
|
|
250 |
//! window of the selected audio file and call back MoscoStateChangeEvent should return KErrNone.
|
|
251 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0048 \char\mmf\char_mmf_audiorec.ini
|
|
252 |
TEST_COMPLETE
|
|
253 |
|
|
254 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0049
|
|
255 |
//!@SYMTestCaseDesc ClearPlayWindow() in ENotReady State
|
|
256 |
//!@SYMTestPriority 4
|
|
257 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Clear the Play Window of the audio
|
|
258 |
//! file Before Open.
|
|
259 |
//!@SYMTestExpectedResults 1. ENotReady State: ClearPlayWindow should have no opearation.
|
|
260 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0049 \char\mmf\char_mmf_audiorec.ini
|
|
261 |
TEST_COMPLETE
|
|
262 |
|
|
263 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0050
|
|
264 |
//!@SYMTestCaseDesc SetRepeats() in EOpen State
|
|
265 |
//!@SYMTestPriority 4
|
|
266 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set Repeat
|
|
267 |
//! the audio file for number of times.
|
|
268 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetRepeats : It should set the no. of times to be repeated the selected audio
|
|
269 |
//! file and call back MoscoStateChangeEvent should return KErrNone.
|
|
270 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0050 \char\mmf\char_mmf_audiorec.ini
|
|
271 |
TEST_COMPLETE
|
|
272 |
|
|
273 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0051
|
|
274 |
//!@SYMTestCaseDesc SetRepeats() in EPlaying State
|
|
275 |
//!@SYMTestPriority 4
|
|
276 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Starts Playing. 4.Check the call back MoscoStateChangeEvent
|
|
277 |
//! code after Set Repeat the audio file for number of times while in Playing state.
|
|
278 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.PlayL: Play should not leave. 3.Playing state: SetRepeats should set the no.
|
|
279 |
//! of times to be repeated the selected audio file and call back MoscoStateChangeEvent should return KErrNone.
|
|
280 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0051 \char\mmf\char_mmf_audiorec.ini
|
|
281 |
TEST_COMPLETE
|
|
282 |
|
|
283 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0052
|
|
284 |
//!@SYMTestCaseDesc SetRepeats() in Eopen, EPlaying State
|
|
285 |
//!@SYMTestPriority 4
|
|
286 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set Repeat
|
|
287 |
//! the audio file for any negative value or less than Zero.
|
|
288 |
//!@SYMTestExpectedResults 1.Opened State: SetRepeats should return with Panic KErrArgument. 2.Playing State: SetRepeats should have no operation and
|
|
289 |
//! at least play Once.
|
|
290 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0052 \char\mmf\char_mmf_audiorec.ini
|
|
291 |
TEST_COMPLETE
|
|
292 |
|
|
293 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0130
|
|
294 |
//!@SYMTestCaseDesc SetRepeats() in ENotReady State
|
|
295 |
//!@SYMTestPriority 4
|
|
296 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Set the Repeats before Open an Audio file. 3.Then Open and starts Play and Check the
|
|
297 |
//! call back MoscoStateChangeEvent code after Set Repeat the audio file for number of times.
|
|
298 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetRepeats : It should set the no. of times to be repeated the selected audio
|
|
299 |
//! file and call back MoscoStateChangeEvent should return KErrNone.
|
|
300 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0130 \char\mmf\char_mmf_audiorec.ini
|
|
301 |
TEST_COMPLETE
|
|
302 |
|
|
303 |
|
|
304 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0083
|
|
305 |
//!@SYMTestCaseDesc SourceBitRateL() in Eopen State
|
|
306 |
//!@SYMTestPriority 4
|
|
307 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Get the
|
|
308 |
//! bit rate of the audio clip.
|
|
309 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SourceBitRateL : Should get the bit rate of the audio file.
|
|
310 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0083 \char\mmf\char_mmf_audiorec.ini
|
|
311 |
TEST_COMPLETE
|
|
312 |
|
|
313 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0084
|
|
314 |
//!@SYMTestCaseDesc SourceBitRateL() in EPlaying State
|
|
315 |
//!@SYMTestPriority 4
|
|
316 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing the audio file. 4.Check the call back MoscoStateChangeEvent
|
|
317 |
//! code after Get the bit rate of the audio clip while in Playing state.
|
|
318 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3. Playing State : SourceBitRateL Should get the
|
|
319 |
//! bit rate of the audio file.
|
|
320 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0084 \char\mmf\char_mmf_audiorec.ini
|
|
321 |
TEST_COMPLETE
|
|
322 |
|
|
323 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0085
|
|
324 |
//!@SYMTestCaseDesc SourceBitRateL() in ENotReady State
|
|
325 |
//!@SYMTestPriority 4
|
|
326 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent code after Get the bit rate of the audio
|
|
327 |
//! clip before Open an Audio file.
|
|
328 |
//!@SYMTestExpectedResults 1. ENotReady State: SourceBitRateL Should leave with KErrNotSupported.
|
|
329 |
RUN_TEST_STEP 400000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0085 \char\mmf\char_mmf_audiorec.ini
|
|
330 |
TEST_COMPLETE
|
|
331 |
|
|
332 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0086
|
|
333 |
//!@SYMTestCaseDesc SetDestinationSampleRateL() / DestinationSampleRateL() in Eopen State
|
|
334 |
//!@SYMTestPriority 4
|
|
335 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set and
|
|
336 |
//! Get the sample rate for the audio file to be recorded.
|
|
337 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetDestinationSampleRateL : should Sets the sample rate for the conversion
|
|
338 |
//! destination data sink. 3. DestinationSampleRateL : should Gets the sample rate for the conversion destination data sink. 4. call back MoscoStateChangeEvent
|
|
339 |
//! should return KErrNone.
|
|
340 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0086 \char\mmf\char_mmf_audiorec.ini
|
|
341 |
TEST_COMPLETE
|
|
342 |
|
|
343 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0087
|
|
344 |
//!@SYMTestCaseDesc SetDestinationSampleRateL() / DestinationSampleRateL() in ERecording State
|
|
345 |
//!@SYMTestPriority 4
|
|
346 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
|
|
347 |
//! code after Set and Get the sample rate for the audio file to be recorded while in Recording state.
|
|
348 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.RecordL: Record should not leave. 3.Recording state : SetDestinationSampleRateL
|
|
349 |
//! should Sets the sample rate for the conversion destination data sink. 4.Recording state : DestinationSampleRateL should Gets the sample rate for the
|
|
350 |
//! conversion destination data sink.
|
|
351 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0087 \char\mmf\char_mmf_audiorec.ini
|
|
352 |
TEST_COMPLETE
|
|
353 |
|
|
354 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0088
|
|
355 |
//!@SYMTestCaseDesc SetDestinationSampleRateL() / DestinationSampleRateL() in ENotReady State
|
|
356 |
//!@SYMTestPriority 4
|
|
357 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Check the call back MoscoStateChangeEvent code after Set and Get the sample rate for
|
|
358 |
//! the audio file to be recorded before Open an Audio file.
|
|
359 |
//!@SYMTestExpectedResults 1.ENotReady state : SetDestinationSampleRateL should leave with KErrNotSupported. 2.ENotReady state : DestinationSampleRateL
|
|
360 |
//! should leave with KErrNotSupported.
|
|
361 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0088 \char\mmf\char_mmf_audiorec.ini
|
|
362 |
TEST_COMPLETE
|
|
363 |
|
|
364 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0102
|
|
365 |
//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in Eplaying and ERecording State
|
|
366 |
//!@SYMTestPriority 4
|
|
367 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
|
|
368 |
//! code after Get the number of Meta data entries associated with the clip while in Playing state.
|
|
369 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3.RecordL : Should not Leave 4.Playing state : GetNumberOfMetaDataEntries
|
|
370 |
//! should return KErrNotSupported and test result should be EKnownFailure 5.Recording state : GetNumberOfMetaDataEntries should leave with KErrNotReady
|
|
371 |
//! and test result should be EKnownFailure
|
|
372 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0102 \char\mmf\char_mmf_audiorec.ini
|
|
373 |
TEST_COMPLETE
|
|
374 |
|
|
375 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0103
|
|
376 |
//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in ENotReady State
|
|
377 |
//!@SYMTestPriority 4
|
|
378 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Get the number of Meta data entries
|
|
379 |
//! associated with the clip before Open an Audio file.
|
|
380 |
//!@SYMTestExpectedResults 1. ENotReady State : GetNumberOfMetaDataEntries should return KErrNotSupported and test result should be EKnownFailure.
|
|
381 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0103 \char\mmf\char_mmf_audiorec.ini
|
|
382 |
TEST_COMPLETE
|
|
383 |
|
|
384 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0105
|
|
385 |
//!@SYMTestCaseDesc GetMetaDataEntryL() in Eplaying and Erecording State
|
|
386 |
//!@SYMTestPriority 4
|
|
387 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
|
|
388 |
//! code after get the specified Meta data entry from the current audio clip while in Playing state.
|
|
389 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.PlayL : Play should not leave. 3.RecordL : Record Should not leave. 4.Recording
|
|
390 |
//! state : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure. 5.Playing state : GetMetaDataEntryL should
|
|
391 |
//! leave with KErrNotSupported and test result should be EKnownFailure.
|
|
392 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0105 \char\mmf\char_mmf_audiorec.ini
|
|
393 |
TEST_COMPLETE
|
|
394 |
|
|
395 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0106
|
|
396 |
//!@SYMTestCaseDesc GetMetaDataEntryL() in ENotReady State
|
|
397 |
//!@SYMTestPriority 4
|
|
398 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get the specified Meta data entry
|
|
399 |
//! from the current audio clip before Open an Audio file.
|
|
400 |
//!@SYMTestExpectedResults 1.ENotReady State : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure..
|
|
401 |
RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0106 \char\mmf\char_mmf_audiorec.ini
|
|
402 |
TEST_COMPLETE
|
|
403 |
|
|
404 |
// KNOWN Failures
|
|
405 |
//SetDestinationBitRateL() not supported
|
|
406 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0077
|
|
407 |
//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in Eopen State
|
|
408 |
//!@SYMTestPriority 4
|
|
409 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set and
|
|
410 |
//! Get the bit rate of the data sink (Currently audio controller is not supported this feature).
|
|
411 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetDestinationBitRateL / DestinationBitRateL : should leave with KErrNotSupported,
|
|
412 |
//! and test result should EKnownFailure.
|
|
413 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0077 \char\mmf\char_mmf_audiorec.ini
|
|
414 |
//TEST_COMPLETE
|
|
415 |
|
|
416 |
//SetDestinationBitRateL() not supported
|
|
417 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0078
|
|
418 |
//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in ENotReady State
|
|
419 |
//!@SYMTestPriority 4
|
|
420 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Set and Get the bit rate of the
|
|
421 |
//! data sink (Currently audio controller is not supported this feature) before Open an Audio file.
|
|
422 |
//!@SYMTestExpectedResults 1. SetDestinationBitRateL : should leave with KErrNotSupported and test result should EKnownFailure. 2. DestinationBitRateL
|
|
423 |
//! :should leave with KErrNotSupported and test result should EKnownFailure.
|
|
424 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0078 \char\mmf\char_mmf_audiorec.ini
|
|
425 |
//TEST_COMPLETE
|
|
426 |
|
|
427 |
//AddMetaDataEntry support is not provided
|
|
428 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0108
|
|
429 |
//!@SYMTestCaseDesc AddMetaDataEntryL() in Erecording State
|
|
430 |
//!@SYMTestPriority 4
|
|
431 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
|
|
432 |
//! code after Add a Meta data entry to the audio clip while in recording state.
|
|
433 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : AddMetaDataEntryL should leave
|
|
434 |
//! with KErrNotSupported and test result should be EKnownFailure.
|
|
435 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0108 \char\mmf\char_mmf_audiorec.ini
|
|
436 |
//TEST_COMPLETE
|
|
437 |
|
|
438 |
//AddMetaDataEntry support is not provided
|
|
439 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0109
|
|
440 |
//!@SYMTestCaseDesc AddMetaDataEntryL() in ENotReady State
|
|
441 |
//!@SYMTestPriority 4
|
|
442 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Add a Meta data entry to the audio
|
|
443 |
//! clip before Open an Audio file.
|
|
444 |
//!@SYMTestExpectedResults 1.ENotReady state : AddMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
445 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0109 \char\mmf\char_mmf_audiorec.ini
|
|
446 |
//TEST_COMPLETE
|
|
447 |
|
|
448 |
//RemoveMetaDataEntry support is not provided
|
|
449 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0111
|
|
450 |
//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ERecording State
|
|
451 |
//!@SYMTestPriority 4
|
|
452 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
|
|
453 |
//! code after Remove a specified Meta data entry from the audio clip while in recording state.
|
|
454 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state : RemoveMetaDataEntryL should
|
|
455 |
//! leave with KErrNotSupported and test result should be EKnownFailure.
|
|
456 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0111 \char\mmf\char_mmf_audiorec.ini
|
|
457 |
//TEST_COMPLETE
|
|
458 |
|
|
459 |
//RemoveMetaDataEntry support is not provided
|
|
460 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0112
|
|
461 |
//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ENotReady State
|
|
462 |
//!@SYMTestPriority 4
|
|
463 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Remove a specified Meta data entry
|
|
464 |
//! from the audio clip before Open an Audio file.
|
|
465 |
//!@SYMTestExpectedResults 1. ENotReady state : RemoveMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
466 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0112 \char\mmf\char_mmf_audiorec.ini
|
|
467 |
//TEST_COMPLETE
|
|
468 |
|
|
469 |
//ReplaceMetaDataEntryL support is not provided
|
|
470 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0114
|
|
471 |
//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in Erecording State
|
|
472 |
//!@SYMTestPriority 4
|
|
473 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
|
|
474 |
//! code after Replace a specified Meta data entry from the audio clip while in recording state.
|
|
475 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : ReplaceMetaDataEntryL should
|
|
476 |
//! should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
477 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0114 \char\mmf\char_mmf_audiorec.ini
|
|
478 |
//TEST_COMPLETE
|
|
479 |
|
|
480 |
//ReplaceMetaDataEntryL support is not provided
|
|
481 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-OGG-I-0115
|
|
482 |
//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in ENotReady State
|
|
483 |
//!@SYMTestPriority 4
|
|
484 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Replace a specified Meta data
|
|
485 |
//! entry from the audio clip before Open an Audio file.
|
|
486 |
//!@SYMTestExpectedResults 1. ENotReady State : ReplaceMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
487 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-OGG-I-0115 \char\mmf\char_mmf_audiorec.ini
|
|
488 |
//TEST_COMPLETE
|