0
|
1 |
@file TSI_MMF_ACLNT_ARN.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:
|
|
15 |
//
|
|
16 |
|
|
17 |
# Audio Client Utilities Audio Resource Notification Tests
|
|
18 |
|
|
19 |
LOAD_SUITE TSI_MMFACLNT.DLL
|
|
20 |
|
|
21 |
delay 10000
|
|
22 |
|
|
23 |
###################### Audio Multi Client tests ######################
|
|
24 |
|
|
25 |
//
|
|
26 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9001-HP
|
|
27 |
//!@SYMTestCaseDesc Receipt of Notification (on deleting the Audio Play Client instance of a Notified Client) of a Resource Available Event.
|
|
28 |
//!@SYMREQ REQ3834.1
|
|
29 |
//!@SYMPREQ PREQ797
|
|
30 |
//!@SYMTestPriority 2
|
|
31 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
32 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. Delete
|
|
33 |
//! the instance iAudioPlayer g. iAudioRecorder stops playing h. Check if iAudioOutputStream gets the notification
|
|
34 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
35 |
//! returned.
|
|
36 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9001-HP \audio.ini
|
|
37 |
TEST_COMPLETE
|
|
38 |
|
|
39 |
//
|
|
40 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9003-HP
|
|
41 |
//!@SYMTestCaseDesc Receipt of Notification (on stopping play of a Notitifed Client) of a Resource Available Event.
|
|
42 |
//!@SYMREQ REQ3834.1
|
|
43 |
//!@SYMPREQ PREQ797
|
|
44 |
//!@SYMTestPriority 2
|
|
45 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
46 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. iAudioRecorder
|
|
47 |
//! stops playing g. iAudioPlayer receives the notification and resumes playback h. The playback of iAudioPlayer is stopped midway i. Check if iAudioOutputStream
|
|
48 |
//! gets the notification
|
|
49 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
50 |
//! returned.
|
|
51 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9003-HP \audio.ini
|
|
52 |
TEST_COMPLETE
|
|
53 |
|
|
54 |
//
|
|
55 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9004-HP
|
|
56 |
//!@SYMTestCaseDesc Receipt of Notification (chronological order for equal priority clients) of a Resource Available Event.
|
|
57 |
//!@SYMREQ REQ3834.1
|
|
58 |
//!@SYMPREQ PREQ797
|
|
59 |
//!@SYMTestPriority 2
|
|
60 |
//!@SYMTestActions iAudioPlayer - Low Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
61 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioOutputStream for Notification e. Register iAudioPlayer for Notification f. iAudioRecorder
|
|
62 |
//! stops playing g. Check if iAudioOutputStream gets the notification
|
|
63 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
64 |
//! returned.
|
|
65 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9004-HP \audio.ini
|
|
66 |
TEST_COMPLETE
|
|
67 |
|
|
68 |
//
|
|
69 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9006-HP
|
|
70 |
//!@SYMTestCaseDesc Receipt of Notification (on timeout of a notified client, 1 sec assumed, call WillResumePlay() after 1 second) of a Resource
|
|
71 |
//! Available Event.
|
|
72 |
//!@SYMREQ REQ3834.2
|
|
73 |
//!@SYMPREQ PREQ797
|
|
74 |
//!@SYMTestPriority 2
|
|
75 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
76 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification. e. Register iAudioOutputStream for Notification. f.
|
|
77 |
//! iAudioRecorder stops playing g. iAudioPlayer receives the notification. h. After 1 second, iAudioPlayer calls WillResumePlay(). h. iAudioPlayer does
|
|
78 |
//! not resume playback. i. Check if iAudioOutputStream gets the notification (after 1 second)
|
|
79 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
80 |
//! returned.
|
|
81 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9006-HP \audio.ini
|
|
82 |
TEST_COMPLETE
|
|
83 |
|
|
84 |
//
|
|
85 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9007-HP
|
|
86 |
//!@SYMTestCaseDesc Receipt of Notification (on cancellation of the notification of a client that has requested for notification) of a Resource
|
|
87 |
//! Available Event. [Cancel before receipt of Notification]
|
|
88 |
//!@SYMREQ REQ3834.3
|
|
89 |
//!@SYMPREQ PREQ797
|
|
90 |
//!@SYMTestPriority 2
|
|
91 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
92 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification f. Cancel
|
|
93 |
//! the notification request for iAudioPlayer g. iAudioRecorder stops playing h. Check if iAudioOutputStream gets the notification
|
|
94 |
//!@SYMTestExpectedResults The medium priority Client should be able to cancel the notification succesfully, and the low priority client should be
|
|
95 |
//! able to receive the notification without any errors in the process. KErrNone should be returned.
|
|
96 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9007-HP \audio.ini
|
|
97 |
TEST_COMPLETE
|
|
98 |
|
|
99 |
//
|
|
100 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9008-HP
|
|
101 |
//!@SYMTestCaseDesc Receipt of Notification (on cancellation of notification of a client that has just received notification) of a Resource
|
|
102 |
//! Available Event. [Cancel after receipt of Notification]
|
|
103 |
//!@SYMREQ REQ3834.3
|
|
104 |
//!@SYMPREQ PREQ797
|
|
105 |
//!@SYMTestPriority 2
|
|
106 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
107 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification f. iAudioRecorder
|
|
108 |
//! stops playing g. iAudioPlayer receives notification and it starts playing h. Cancel the notification request for iAudioPlayer i. Play iAudioRecorder
|
|
109 |
//! j. iAudioRecorder stops playing k. Check if iAudioOutputStream gets the notification (but not the iAudioPlayer)
|
|
110 |
//!@SYMTestExpectedResults The medium priority Client should be able to cancel the notification succesfully, and the low priority client should be
|
|
111 |
//! able to receive the notification without any errors in the process. KErrNone should be returned.
|
|
112 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9008-HP \audio.ini
|
|
113 |
TEST_COMPLETE
|
|
114 |
|
|
115 |
//
|
|
116 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9002-HP
|
|
117 |
//!@SYMTestCaseDesc Receipt of Notification (on completion of play of a Notifed Client) of a Resource Available Event.
|
|
118 |
//!@SYMREQ REQ3834.1
|
|
119 |
//!@SYMPREQ PREQ797
|
|
120 |
//!@SYMTestPriority 2
|
|
121 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
122 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification e. Register iAudioOutputStream for Notification. f. iAudioRecorder
|
|
123 |
//! stops playing g. iAudioPlayer receives teh notification and resumes playback h. iAudioPlayer completes the playback i. Check if iAudioOutputStream gets
|
|
124 |
//! the notification
|
|
125 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
126 |
//! returned.
|
|
127 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9002-HP \audio.ini
|
|
128 |
TEST_COMPLETE
|
|
129 |
|
|
130 |
//
|
|
131 |
//!@SYMTestCaseID MM-MMF-ACLNT-I-9005-HP
|
|
132 |
//!@SYMTestCaseDesc Non Receipt of Notification (on calling WillResumePlay() of a notified client) of a Resource Available Event.
|
|
133 |
//!@SYMREQ REQ3834.2
|
|
134 |
//!@SYMPREQ PREQ797
|
|
135 |
//!@SYMTestPriority 2
|
|
136 |
//!@SYMTestActions iAudioPlayer - Medium Priority iAudioRecorder - High Priority iAudioOutputStream - Low Priority a. Create 3 clients b. Open
|
|
137 |
//! and Play iAudioPlayer c. Open and Play iAudioRecorder d. Register iAudioPlayer for Notification. e. Register iAudioOutputStream for Notification. f.
|
|
138 |
//! iAudioRecorder stops playing g. iAudioPlayer receives the notification. h. iAudioPlayer calls WillResumePlay(). i. Check if iAudioOutputStream does not
|
|
139 |
//! get the notification (after 2 second))
|
|
140 |
//!@SYMTestExpectedResults The Client should be able to receive the notification succesfully, without any errors in the process. KErrNone should be
|
|
141 |
//! returned.
|
|
142 |
RUN_TEST_STEP 600000 ACLNT MM-MMF-ACLNT-I-9005-HP \audio.ini
|
|
143 |
TEST_COMPLETE
|