0
|
1 |
@file TSI_MMF_ACLNTOGG_APR.script
|
|
2 |
// Copyright (c) 2005-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 |
# Audio Client Utilities for Ogg-Vorbis Auto Pause & Resume tests
|
|
18 |
|
|
19 |
LOAD_SUITE TSI_MMFACLNT.DLL
|
|
20 |
|
|
21 |
delay 10000
|
|
22 |
|
|
23 |
/////////////////////////////////////////////////////////////////////
|
|
24 |
/////////////////////////// POSITIVE TESTS //////////////////////////
|
|
25 |
/////////////////////////////////////////////////////////////////////
|
|
26 |
|
|
27 |
######################### Audio Player tests #########################
|
|
28 |
|
|
29 |
|
|
30 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0020-CP
|
|
31 |
//!@SYMTestCaseDesc Register for notification, but make no request to play audio
|
|
32 |
//!@SYMREQ REQ5481
|
|
33 |
//!@SYMPREQ PREQ452
|
|
34 |
//!@SYMTestPriority 1
|
|
35 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open iAudioPlayer[1] c. Register
|
|
36 |
//! iAudioPlayer[1] for Notification d. Open and Play iAudioPlayer[2] e. iAudioPlayer[2] completes playing f. iAudioPlayer[1] is NOT notified (as it dis
|
|
37 |
//! not make a request for play)
|
|
38 |
//!@SYMTestExpectedResults The Client which has registered for notification, but makes no request for playing, should not receive the notification.
|
|
39 |
//! KErrNone should be returned.
|
|
40 |
RUN_TEST_STEP 800000 ACLNT MM-MMF-ACLNTOGG-I-0020-CP \audio.ini
|
|
41 |
TEST_COMPLETE
|
|
42 |
|
|
43 |
|
|
44 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0021-CP
|
|
45 |
//!@SYMTestCaseDesc Register (b4 play, after Open) and Receive Notification of a Resource Available Event.(when audio resource is currently
|
|
46 |
//! unavailable and then available)
|
|
47 |
//!@SYMREQ REQ5481
|
|
48 |
//!@SYMPREQ PREQ452
|
|
49 |
//!@SYMTestPriority 1
|
|
50 |
//!@SYMTestActions iAudioPlayer[1] - Low Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open iAudioPlayer[1] c. Register iAudioPlayer[1]
|
|
51 |
//! for Notification d. Check if registration is successful, and notification is not received immediately. e. Open and Play iAudioPlayer[2] f. Play iAudioPlayer[1]
|
|
52 |
//! (get Play Error as iAudioPlayer[2] is still playing) g. iAudioPlayer[2] stops playing h. Check if iAudioPlayer[1] is notified.
|
|
53 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
54 |
//! returned.
|
|
55 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0021-CP \audio.ini
|
|
56 |
TEST_COMPLETE
|
|
57 |
|
|
58 |
|
|
59 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0022-CP
|
|
60 |
//!@SYMTestCaseDesc Register (at the time of Play) and Receive Notification of a Resource Available Event.(when audio resource is currently
|
|
61 |
//! available and subsequently unavailable, and then available)
|
|
62 |
//!@SYMREQ REQ5481
|
|
63 |
//!@SYMPREQ PREQ452
|
|
64 |
//!@SYMTestPriority 1
|
|
65 |
//!@SYMTestActions iAudioPlayer[1] - Low Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open and Play iAudioPlayer[1] c. Register
|
|
66 |
//! iAudioPlayer[1] for Notification d. Check if registration is successful, and notification is not received immediately. e. Open and Play iAudioPlayer[2]
|
|
67 |
//! f. iAudioPlayer[2] completes playing g. Check if iAudioPlayer[1] is notified.
|
|
68 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
69 |
//! returned.
|
|
70 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0022-CP \audio.ini
|
|
71 |
TEST_COMPLETE
|
|
72 |
|
|
73 |
|
|
74 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0023-CP
|
|
75 |
//!@SYMTestCaseDesc Registration (b4 File Open) and Cancellation of the notification request
|
|
76 |
//!@SYMREQ REQ5481
|
|
77 |
//!@SYMPREQ PREQ452
|
|
78 |
//!@SYMTestPriority 1
|
|
79 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Register iAudioPlayer[1] for Notification
|
|
80 |
//! c. Check if registration is successful. d. Open and Play iAudioPlayer[1] e. Open and Play iAudioPlayer[2] f. Cancel the notification request for iAudioPlayer[1]
|
|
81 |
//! g. Check if cancellation is successful. h. iAudioPlayer[2] stops playing i. Check if iAudioPlayer[1] is NOT notified.
|
|
82 |
//!@SYMTestExpectedResults The Client should be able to cancel the notification succesfully, without any errors in the process. KErrNone should be
|
|
83 |
//! returned.
|
|
84 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0023-CP \audio.ini
|
|
85 |
TEST_COMPLETE
|
|
86 |
|
|
87 |
|
|
88 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0024-CP
|
|
89 |
//!@SYMTestCaseDesc Register (after Play Error) and Get the actual position from where the paused audio can be resumed. Low priority client
|
|
90 |
//! is played first.
|
|
91 |
//!@SYMREQ REQ5481
|
|
92 |
//!@SYMPREQ PREQ452
|
|
93 |
//!@SYMTestPriority 1
|
|
94 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open and Play iAudioPlayer[1] c.
|
|
95 |
//! Open and Play iAudioPlayer[2] d. Play Error is received by iAudioPlayer[1]. Note the time when iAudioPlayer[1] is paused e. Register iAudioPlayer[1]
|
|
96 |
//! for Notification f. Check if registration is successful. g. iAudioPlayer[2] completes playing h. iAudioPlayer[1] is notified. i. Get the position, and
|
|
97 |
//! check whether it matches the position got from step d.
|
|
98 |
//!@SYMTestExpectedResults The medium priority Client should be able to receive the offset time and that should be correct without any errors in the
|
|
99 |
//! process. KErrNone should be returned.
|
|
100 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0024-CP \audio.ini
|
|
101 |
TEST_COMPLETE
|
|
102 |
|
|
103 |
|
|
104 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0025-HP
|
|
105 |
//!@SYMTestCaseDesc Register (after Play Error) and Get the actual position from where the paused audio can be resumed. High priority client
|
|
106 |
//! is played first.
|
|
107 |
//!@SYMREQ REQ5481
|
|
108 |
//!@SYMPREQ PREQ452
|
|
109 |
//!@SYMTestPriority 2
|
|
110 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open and Play iAudioPlayer[2] c.
|
|
111 |
//! Open and Play iAudioPlayer[1] d. Play Error is received by iAudioPlayer[1]. iAudioPlayer[1] not played. e. Register iAudioPlayer[1] for Notification
|
|
112 |
//! f. Check if registration is successful. g. iAudioPlayer[2] completes playing h. iAudioPlayer[1] is notified. i. Get the position, and check whether it
|
|
113 |
//! is zero (initial position).
|
|
114 |
//!@SYMTestExpectedResults The medium priority Client should be able to receive the offset time and that should be correct without any errors in the
|
|
115 |
//! process. KErrNone should be returned.
|
|
116 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0025-HP \audio.ini
|
|
117 |
TEST_COMPLETE
|
|
118 |
|
|
119 |
|
|
120 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0026-HP
|
|
121 |
//!@SYMTestCaseDesc Client does not need to Re-register for the same event when the event is received i.e API is not one shot. (Will resume
|
|
122 |
//! play is called)
|
|
123 |
//!@SYMREQ REQ5481
|
|
124 |
//!@SYMPREQ PREQ452
|
|
125 |
//!@SYMTestPriority 2
|
|
126 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority a. Open 2 clients b. Open and Play iAudioPlayer[1] c.
|
|
127 |
//! Register iAudioPlayer[1] for Notification e. Open and Play iAudioPlayer[2] g. iAudioPlayer[2] completes playing h. iAudioPlayer[1] is notified, calls
|
|
128 |
//! WillResumePlay() and after 5 seconds resumes playing. i. Play iAudioPlayer[2] again. j. iAudioPlayer[2] completes playing k. Check if iAudioPlayer[2]
|
|
129 |
//! is notified again.
|
|
130 |
//!@SYMTestExpectedResults The Client should be able to register for notification only once, and should receive the notification if the resource is
|
|
131 |
//! lost and regained more than once succesfully. KErrNone should be returned.
|
|
132 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0026-HP \audio.ini
|
|
133 |
TEST_COMPLETE
|
|
134 |
|
|
135 |
|
|
136 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0027-HP
|
|
137 |
//!@SYMTestCaseDesc Call WillResumePlay()
|
|
138 |
//!@SYMREQ REQ5481
|
|
139 |
//!@SYMPREQ PREQ452
|
|
140 |
//!@SYMTestPriority 2
|
|
141 |
//!@SYMTestActions iAudioPlayer[1] - Medium Priority iAudioPlayer[2] - High Priority iAudioPlayer[3] - Low Priority a. Open 3 clients b. Open
|
|
142 |
//! and Play iAudioPlayer[1] c. Register iAudioPlayer[1] for Notification d. Register iAudioPlayer[3] for Notification e. Check if registration is successful.
|
|
143 |
//! f. Open iAudioPlayer[3] g. Open and Play iAudioPlayer[2] h. iAudioPlayer[2] stops playing i. iAudioPlayer[1] is notified. j. iAudioPlayer[1] calls WillResumePlay()
|
|
144 |
//! k. Check after 5 seconds, iAudioPlayer[3] does not get the notification. l. iAudioPlayer[1] starts playing. m. iAudioPlayer[1] completes playing. n.
|
|
145 |
//! Check if iAudioPlayer[3] gets the notification now.
|
|
146 |
//!@SYMTestExpectedResults The low priority Client should NOT receive notification if the medium priority client calls WillResumePlay()
|
|
147 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0027-HP \audio.ini
|
|
148 |
TEST_COMPLETE
|
|
149 |
|
|
150 |
//CR1424: ARN test for Ogg
|
|
151 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0030-HP \audio.ini
|
|
152 |
TEST_COMPLETE
|
|
153 |
|
|
154 |
######################### Audio Recorder tests #########################
|
|
155 |
|
|
156 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0125-CP
|
|
157 |
//!@SYMTestCaseDesc Register for notification, but make no request to play audio
|
|
158 |
//!@SYMREQ REQ5481
|
|
159 |
//!@SYMPREQ PREQ452
|
|
160 |
//!@SYMTestPriority 1
|
|
161 |
//!@SYMTestActions iAudioRecorder[1] - Medium Priority iAudioRecorder[2] - High Priority a. Open 2 clients b. Open iAudioRecorder[1] c. Register
|
|
162 |
//! iAudioRecorder[1] for Notification d. Open and Play iAudioRecorder[2] e. iAudioRecorder[2] completes playing f. iAudioRecorder[1] is NOT notified (as
|
|
163 |
//! it dis not make a request for play)
|
|
164 |
//!@SYMTestExpectedResults The Client which has registered for notification, but makes no request for playing, should not receive the notification.
|
|
165 |
//! KErrNone should be returned.
|
|
166 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0125-CP \audio.ini
|
|
167 |
TEST_COMPLETE
|
|
168 |
|
|
169 |
|
|
170 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0126-CP
|
|
171 |
//!@SYMTestCaseDesc Register (b4 play, after Open) and Receive Notification of a Resource Available Event.(when audio resource is currently
|
|
172 |
//! unavailable and then available)
|
|
173 |
//!@SYMREQ REQ5481
|
|
174 |
//!@SYMPREQ PREQ452
|
|
175 |
//!@SYMTestPriority 1
|
|
176 |
//!@SYMTestActions iAudioRecorder[1] - Low Priority iAudioRecorder[2] - High Priority a. Open 2 clients b. Open iAudioRecorder[1] c. Register
|
|
177 |
//! iAudioRecorder[1] for Notification d. Check if registration is successful, and notification is not received immediately. e. Open and Play iAudioRecorder[2]
|
|
178 |
//! f. Play iAudioRecorder[1] (get Play Error as iAudioRecorder[2] is still playing) g. iAudioRecorder[2] stops playing h. Check if iAudioRecorder[1] is
|
|
179 |
//! notified.
|
|
180 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
181 |
//! returned.
|
|
182 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0126-CP \audio.ini
|
|
183 |
TEST_COMPLETE
|
|
184 |
|
|
185 |
|
|
186 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0127-HP
|
|
187 |
//!@SYMTestCaseDesc Register (at the time of Play) and Receive Notification of a Resource Available Event.(when audio resource is currently
|
|
188 |
//! available and subsequently unavailable, and then available)
|
|
189 |
//!@SYMREQ REQ5481
|
|
190 |
//!@SYMPREQ PREQ452
|
|
191 |
//!@SYMTestPriority 2
|
|
192 |
//!@SYMTestActions iAudioRecorder[1] - Low Priority iAudioRecorder[2] - High Priority a. Open 2 clients b. Open and Play iAudioRecorder[1]
|
|
193 |
//! c. Register iAudioRecorder[1] for Notification d. Check if registration is successful, and notification is not received immediately. e. Open and Play
|
|
194 |
//! iAudioRecorder[2] f. iAudioRecorder[2] stops playing g. Check if iAudioRecorder[1] is notified.
|
|
195 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
196 |
//! returned.
|
|
197 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0127-HP \audio.ini
|
|
198 |
TEST_COMPLETE
|
|
199 |
|
|
200 |
|
|
201 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0128-HP
|
|
202 |
//!@SYMTestCaseDesc Registration (b4 File Open) and Cancellation of the notification request
|
|
203 |
//!@SYMREQ REQ5481
|
|
204 |
//!@SYMPREQ PREQ452
|
|
205 |
//!@SYMTestPriority 2
|
|
206 |
//!@SYMTestActions iAudioRecorder[1] - Medium Priority iAudioRecorder[2] - High Priority a. Open 2 clients b. Register iAudioRecorder[1] for
|
|
207 |
//! Notification c. Check if registration is successful. d. Open and Play iAudioRecorder[1] e. Open and Play iAudioRecorder[2] f. Cancel the notification
|
|
208 |
//! request for iAudioRecorder[1] g. Check if cancellation is successful. h. iAudioRecorder[2] stops playing i. Check if iAudioRecorder[1] is NOT notifie
|
|
209 |
//!d.
|
|
210 |
//!@SYMTestExpectedResults The Client should be able to cancel the notification succesfully, without any errors in the process. KErrNone should be
|
|
211 |
//! returned.
|
|
212 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0128-HP \audio.ini
|
|
213 |
TEST_COMPLETE
|
|
214 |
|
|
215 |
|
|
216 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0129-HP
|
|
217 |
//!@SYMTestCaseDesc Get the actual position from where the paused audio can be resumed.
|
|
218 |
//!@SYMREQ REQ5481
|
|
219 |
//!@SYMPREQ PREQ452
|
|
220 |
//!@SYMTestPriority 2
|
|
221 |
//!@SYMTestActions iAudioRecorder[1] - Medium Priority iAudioRecorder[2] - High Priority a. Open 2 clients b. Open and Play iAudioRecorder[1]
|
|
222 |
//! c. Register iAudioRecorder[1] for Notification d. Check if registration is successful. e. Open and Play iAudioRecorder[2] f. Note the time when iAudioRecorder[1]
|
|
223 |
//! is paused g. iAudioRecorder[2] stops playing h. iAudioRecorder[1] is notified. i. Get the position, and check whether it matches the position got from
|
|
224 |
//! step f.
|
|
225 |
//!@SYMTestExpectedResults The medium priority Client should be able to receive the offset time and that should be correct without any errors in the
|
|
226 |
//! process. KErrNone should be returned.
|
|
227 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0129-HP \audio.ini
|
|
228 |
TEST_COMPLETE
|
|
229 |
|
|
230 |
|
|
231 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0130-HP
|
|
232 |
//!@SYMTestCaseDesc Call WillResumePlay()
|
|
233 |
//!@SYMREQ REQ5481
|
|
234 |
//!@SYMPREQ PREQ452
|
|
235 |
//!@SYMTestPriority 2
|
|
236 |
//!@SYMTestActions iAudioRecorder[1] - Medium Priority iAudioRecorder[2] - High Priority iAudioRecorder[3] - Low Priority a. Open 2 clients
|
|
237 |
//! b. Open and Play iAudioRecorder[1] c. Register iAudioRecorder[1] for Notification d. Register iAudioRecorder[3] for Notification e. Check if registration
|
|
238 |
//! is successful. f. Open iAudioRecorder[3] g. Open and Play iAudioRecorder[2] h. iAudioRecorder[2] stops playing i. iAudioRecorder[1] is notified. j. iAudioRecorder[1]
|
|
239 |
//! calls WillResumePlay() k. Check after 1 second, iAudioRecorder[3] does not get the notification. l. iAudioRecorder[1] starts playing. m. iAudioRecorder[1]
|
|
240 |
//! completes playing. n. Check if iAudioRecorder[3] gets the notification now.
|
|
241 |
//!@SYMTestExpectedResults The low priority Client should NOT receive notification if the medium priority client calls WillResumePlay()
|
|
242 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0130-HP \audio.ini
|
|
243 |
TEST_COMPLETE
|
|
244 |
|
|
245 |
####################### Audio Multi-Client tests #######################
|
|
246 |
|
|
247 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0201-HP
|
|
248 |
//!@SYMTestCaseDesc Receipt of Notification (on deleting the Audio Play Client instance of a Notified Client) of a Resource Available Event.
|
|
249 |
//!@SYMREQ REQ5481
|
|
250 |
//!@SYMPREQ PREQ452
|
|
251 |
//!@SYMTestPriority 2
|
|
252 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
253 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. Delete
|
|
254 |
//! the instance iAudioPlayer g. iAudioRecorder stops playing h. Check if iAudioOutputStream gets the notification
|
|
255 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
256 |
//! returned.
|
|
257 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0201-HP \audio.ini
|
|
258 |
TEST_COMPLETE
|
|
259 |
|
|
260 |
|
|
261 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0202-HP
|
|
262 |
//!@SYMTestCaseDesc Receipt of Notification (on completion of play of a Notifed Client) of a Resource Available Event.
|
|
263 |
//!@SYMREQ REQ5481
|
|
264 |
//!@SYMPREQ PREQ452
|
|
265 |
//!@SYMTestPriority 2
|
|
266 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
267 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. iAudioRecorder
|
|
268 |
//! stops playing g. iAudioPlayer receives teh notification and resumes playback h. iAudioPlayer completes the playback i. Check if iAudioOutputStream gets
|
|
269 |
//! the notification
|
|
270 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
271 |
//! returned.
|
|
272 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0202-HP \audio.ini
|
|
273 |
TEST_COMPLETE
|
|
274 |
|
|
275 |
|
|
276 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0203-HP
|
|
277 |
//!@SYMTestCaseDesc Receipt of Notification (on stopping play of a Notitifed Client) of a Resource Available Event.
|
|
278 |
//!@SYMREQ REQ5481
|
|
279 |
//!@SYMPREQ PREQ452
|
|
280 |
//!@SYMTestPriority 2
|
|
281 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
282 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. iAudioRecorder
|
|
283 |
//! stops playing g. iAudioPlayer receives the notification and resumes playback h. The playback of iAudioPlayer is stopped midway i. Check if iAudioOutputStream
|
|
284 |
//! gets the notification
|
|
285 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
286 |
//! returned.
|
|
287 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0203-HP \audio.ini
|
|
288 |
TEST_COMPLETE
|
|
289 |
|
|
290 |
|
|
291 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0204-HP
|
|
292 |
//!@SYMTestCaseDesc Receipt of Notification (chronological order for equal priority clients) of a Resource Available Event.
|
|
293 |
//!@SYMREQ REQ5481
|
|
294 |
//!@SYMPREQ PREQ452
|
|
295 |
//!@SYMTestPriority 2
|
|
296 |
//!@SYMTestActions iAudioPlayer - Low Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
297 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioOutputStream for Notification e. Register iAudioPlayer for Notification f. iAudioRecorder
|
|
298 |
//! stops playing g. Check if iAudioOutputStream gets the notification
|
|
299 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
300 |
//! returned.
|
|
301 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0204-HP \audio.ini
|
|
302 |
TEST_COMPLETE
|
|
303 |
|
|
304 |
|
|
305 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0205-HP
|
|
306 |
//!@SYMTestCaseDesc Non Receipt of Notification (on calling WillResumePlay() of a notified client) of a Resource Available Event.
|
|
307 |
//!@SYMREQ REQ5481
|
|
308 |
//!@SYMPREQ PREQ452
|
|
309 |
//!@SYMTestPriority 2
|
|
310 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
311 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification. e. Register iAudioOutputStream for Notification. f.
|
|
312 |
//! iAudioRecorder stops playing g. iAudioPlayer receives the notification. h. iAudioPlayer calls WillResumePlay(). i. Check if iAudioOutputStream does not
|
|
313 |
//! get the notification (after 2 second))
|
|
314 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
315 |
//! returned.
|
|
316 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0205-HP \audio.ini
|
|
317 |
TEST_COMPLETE
|
|
318 |
|
|
319 |
|
|
320 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0206-HP
|
|
321 |
//!@SYMTestCaseDesc Receipt of Notification (on timeout of a notified client, 1 sec assumed, call WillResumePlay() after 1 second) of a Resource
|
|
322 |
//! Available Event.
|
|
323 |
//!@SYMREQ REQ5481
|
|
324 |
//!@SYMPREQ PREQ452
|
|
325 |
//!@SYMTestPriority 2
|
|
326 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
327 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification. e. Register iAudioOutputStream for Notification. f.
|
|
328 |
//! iAudioRecorder stops playing g. iAudioPlayer receives the notification. h. After 1 second, iAudioPlayer calls WillResumePlay(). h. iAudioPlayer does
|
|
329 |
//! not resume playback. i. Check if iAudioOutputStream gets the notification (after 1 second)
|
|
330 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
331 |
//! returned.
|
|
332 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0206-HP \audio.ini
|
|
333 |
TEST_COMPLETE
|
|
334 |
|
|
335 |
|
|
336 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0207-HP
|
|
337 |
//!@SYMTestCaseDesc Receipt of Notification (on cancellation of the notification of a client that has requested for notification) of a Resource
|
|
338 |
//! Available Event. [Cancel before receipt of Notification]
|
|
339 |
//!@SYMREQ REQ5481
|
|
340 |
//!@SYMPREQ PREQ452
|
|
341 |
//!@SYMTestPriority 2
|
|
342 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
343 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification f. Cancel
|
|
344 |
//! the notification request for iAudioPlayer g. iAudioRecorder stops playing h. Check if iAudioOutputStream gets the notification
|
|
345 |
//!@SYMTestExpectedResults The medium priority Client should be able to cancel the notification succesfully, and the low priority client should be
|
|
346 |
//! able to receive the notification without any errors in the process. KErrNone should be returned.
|
|
347 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0207-HP \audio.ini
|
|
348 |
TEST_COMPLETE
|
|
349 |
|
|
350 |
|
|
351 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-0208-HP
|
|
352 |
//!@SYMTestCaseDesc Receipt of Notification (on cancellation of notification of a client that has just received notification) of a Resource
|
|
353 |
//! Available Event. [Cancel after receipt of Notification]
|
|
354 |
//!@SYMREQ REQ5481
|
|
355 |
//!@SYMPREQ PREQ452
|
|
356 |
//!@SYMTestPriority 2
|
|
357 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
358 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification f. iAudioRecorder
|
|
359 |
//! stops playing g. iAudioPlayer receives notification and it starts playing h. Cancel the notification request for iAudioPlayer i. Play iAudioRecorder
|
|
360 |
//! j. iAudioRecorder stops playing k. Check if iAudioOutputStream gets the notification (but not the iAudioPlayer)
|
|
361 |
//!@SYMTestExpectedResults The medium priority Client should be able to cancel the notification succesfully, and the low priority client should be
|
|
362 |
//! able to receive the notification without any errors in the process. KErrNone should be returned.
|
|
363 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-0208-HP \audio.ini
|
|
364 |
TEST_COMPLETE
|
|
365 |
|
|
366 |
/////////////////////////////////////////////////////////////////////
|
|
367 |
/////////////////////////// NEGATIVE TESTS //////////////////////////
|
|
368 |
/////////////////////////////////////////////////////////////////////
|
|
369 |
|
|
370 |
######################### Audio Player tests #########################
|
|
371 |
|
|
372 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1012-LP
|
|
373 |
//!@SYMTestCaseDesc Register for notification with an unsupported event type.
|
|
374 |
//!@SYMREQ REQ5481
|
|
375 |
//!@SYMPREQ PREQ452
|
|
376 |
//!@SYMTestPriority 4
|
|
377 |
//!@SYMTestActions iAudioPlayer[0] - Medium Priority iAudioPlayer[1] - High Priority a. Create 2 clients b. Open & Play iAudioPlayer[0] c.
|
|
378 |
//! Open & Play iAudioPlayer[1] d. Register iAudioPlayer[0] for notification, passing an unsupported event type as parameter.
|
|
379 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
380 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1012-LP \audio.ini
|
|
381 |
TEST_COMPLETE
|
|
382 |
|
|
383 |
|
|
384 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1013-LP
|
|
385 |
//!@SYMTestCaseDesc Cancel the request for notification with an unsupported event type.
|
|
386 |
//!@SYMREQ REQ5481
|
|
387 |
//!@SYMPREQ PREQ452
|
|
388 |
//!@SYMTestPriority 4
|
|
389 |
//!@SYMTestActions iAudioPlayer[0] - Medium Priority iAudioPlayer[1] - High Priority a. Create 2 clients b. Open & Play iAudioPlayer[0] c.
|
|
390 |
//! Open & Play iAudioPlayer[1] d. Register iAudioPlayer[0] for notification. e. Cancel the notification request for iAudioPlayer[0], passing an unsupported
|
|
391 |
//! event type as parameter.
|
|
392 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
393 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1013-LP \audio.ini
|
|
394 |
TEST_COMPLETE
|
|
395 |
|
|
396 |
|
|
397 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1014-LP
|
|
398 |
//!@SYMTestCaseDesc Cancel when no resource Notification is requested.
|
|
399 |
//!@SYMREQ REQ5481
|
|
400 |
//!@SYMPREQ PREQ452
|
|
401 |
//!@SYMTestPriority 4
|
|
402 |
//!@SYMTestActions iAudioPlayer[0] - Medium Priority iAudioPlayer[1] - High Priority a. Create 2 clients b. Open & Play iAudioPlayer[0] c.
|
|
403 |
//! Open & Play iAudioPlayer[1] d. Cancel the notification request for iAudioPlayer[0]
|
|
404 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
405 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1014-LP \audio.ini
|
|
406 |
TEST_COMPLETE
|
|
407 |
|
|
408 |
|
|
409 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1015-LP
|
|
410 |
//!@SYMTestCaseDesc Multiple Registration for notification for the same event type.
|
|
411 |
//!@SYMREQ REQ5481
|
|
412 |
//!@SYMPREQ PREQ452
|
|
413 |
//!@SYMTestPriority 4
|
|
414 |
//!@SYMTestActions iAudioPlayer[0] - Medium Priority iAudioPlayer[1] - High Priority a. Create 2 clients b. Open & Play iAudioPlayer[0] c.
|
|
415 |
//! Open & Play iAudioPlayer[1] d. Register iAudioPlayer[0] for audio resource available notification e. Register iAudioPlayer[0] again for audio resource
|
|
416 |
//! available notification
|
|
417 |
//!@SYMTestExpectedResults KErrInUse / KErrAlreadyExists should be returned.
|
|
418 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1015-LP \audio.ini
|
|
419 |
TEST_COMPLETE
|
|
420 |
|
|
421 |
######################### Audio Recorder tests #########################
|
|
422 |
|
|
423 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1109-LP
|
|
424 |
//!@SYMTestCaseDesc Register for notification with an unsupported event type.
|
|
425 |
//!@SYMREQ REQ5481
|
|
426 |
//!@SYMPREQ PREQ452
|
|
427 |
//!@SYMTestPriority 4
|
|
428 |
//!@SYMTestActions iAudioRecorder[0] - Medium Priority iAudioRecorder[1] - High Priority a. Create 2 clients b. Open & Play iAudioRecorder[0]
|
|
429 |
//! c. Open & Play iAudioRecorder[1] d. Register iAudioRecorder[0] for notification, passing an unsupported event type as parameter.
|
|
430 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
431 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1109-LP \audio.ini
|
|
432 |
TEST_COMPLETE
|
|
433 |
|
|
434 |
|
|
435 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1110-LP
|
|
436 |
//!@SYMTestCaseDesc Cancel the request for notification with an unsupported event type.
|
|
437 |
//!@SYMREQ REQ5481
|
|
438 |
//!@SYMPREQ PREQ452
|
|
439 |
//!@SYMTestPriority 4
|
|
440 |
//!@SYMTestActions iAudioRecorder[0] - Medium Priority iAudioRecorder[1] - High Priority a. Create 2 clients b. Open & Play iAudioRecorder[0]
|
|
441 |
//! c. Open & Play iAudioRecorder[1] d. Register iAudioRecorder[0] for notification. e. Cancel the notification request for iAudioRecorder[0], passing an
|
|
442 |
//! unsupported event type as parameter.
|
|
443 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
444 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1110-LP \audio.ini
|
|
445 |
TEST_COMPLETE
|
|
446 |
|
|
447 |
|
|
448 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1111-LP
|
|
449 |
//!@SYMTestCaseDesc Cancel when no resource Notification is requested.
|
|
450 |
//!@SYMREQ REQ5481
|
|
451 |
//!@SYMPREQ PREQ452
|
|
452 |
//!@SYMTestPriority 4
|
|
453 |
//!@SYMTestActions iAudioRecorder[0] - Medium Priority iAudioRecorder[1] - High Priority a. Create 2 clients b. Open & Play iAudioRecorder[0]
|
|
454 |
//! c. Open & Play iAudioRecorder[1] d. Cancel the notification request for iAudioRecorder[0]
|
|
455 |
//!@SYMTestExpectedResults KErrNotSupported should be returned.
|
|
456 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1111-LP \audio.ini
|
|
457 |
TEST_COMPLETE
|
|
458 |
|
|
459 |
|
|
460 |
//!@SYMTestCaseID MM-MMF-ACLNTOGG-I-1112-LP
|
|
461 |
//!@SYMTestCaseDesc Multiple Registration for notification for the same event type.
|
|
462 |
//!@SYMREQ REQ5481
|
|
463 |
//!@SYMPREQ PREQ452
|
|
464 |
//!@SYMTestPriority 4
|
|
465 |
//!@SYMTestActions iAudioRecorder[0] - Medium Priority iAudioRecorder[1] - High Priority a. Create 2 clients b. Open & Play iAudioRecorder[0]
|
|
466 |
//! c. Open & Play iAudioRecorder[1] d. Register iAudioRecorder[0] for audio resource available notification e. Register iAudioRecorder[0] again for audio
|
|
467 |
//! resource available notification
|
|
468 |
//!@SYMTestExpectedResults KErrInUse / KErrAlreadyExists should be returned.
|
|
469 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNTOGG-I-1112-LP \audio.ini
|
|
470 |
TEST_COMPLETE
|