0
|
1 |
@file char_mmf_audiorec_wav_1.script
|
|
2 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
// All rights reserved.
|
|
4 |
// This component and the accompanying materials are made available
|
|
5 |
// under the terms of "Eclipse Public License v1.0"
|
|
6 |
// which accompanies this distribution, and is available
|
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
//
|
|
9 |
// Initial Contributors:
|
|
10 |
// Nokia Corporation - initial contribution.
|
|
11 |
//
|
|
12 |
// Contributors:
|
|
13 |
//
|
|
14 |
// Description:
|
|
15 |
//
|
|
16 |
|
|
17 |
///////////////////////////////////////////////////////////////////
|
|
18 |
PRINT
|
|
19 |
LOAD_SUITE char_mmf_audiorec.dll
|
|
20 |
# wait for ring.wav to finish playing
|
|
21 |
delay 1000
|
|
22 |
|
|
23 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0099
|
|
24 |
//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ERecording State
|
|
25 |
//!@SYMTestPriority 4
|
|
26 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
|
|
27 |
//! code after get a list of supported number of channels for recording while in Recording state.
|
|
28 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : Should not leave. 3.Recording state : GetSupportedNumberOfChannelsL
|
|
29 |
//! should get a list of supported number of channels for recording.
|
|
30 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0099 \char\mmf\char_mmf_audiorec.ini
|
|
31 |
TEST_COMPLETE
|
|
32 |
|
|
33 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0100
|
|
34 |
//!@SYMTestCaseDesc GetSupportedNumberOfChannelsL() in ENotReady State
|
|
35 |
//!@SYMTestPriority 4
|
|
36 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get a list of supported number
|
|
37 |
//! of channels for recording before Open an Audio file.
|
|
38 |
//!@SYMTestExpectedResults 1.ENotReady state : GetSupportedNumberOfChannelsL should leave with KErrNotSupported.
|
|
39 |
RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0100 \char\mmf\char_mmf_audiorec.ini
|
|
40 |
TEST_COMPLETE
|
|
41 |
|
|
42 |
// KNOWN FAILURES
|
|
43 |
//SetDestinationBitRateL() not supported
|
|
44 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0077
|
|
45 |
//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in Eopen State
|
|
46 |
//!@SYMTestPriority 4
|
|
47 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3.Check the call back MoscoStateChangeEvent code after Set and
|
|
48 |
//! Get the bit rate of the data sink (Currently audio controller is not supported this feature).
|
|
49 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. SetDestinationBitRateL / DestinationBitRateL : should leave with KErrNotSupported,
|
|
50 |
//! and test result should EKnownFailure.
|
|
51 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0077 \char\mmf\char_mmf_audiorec.ini
|
|
52 |
//TEST_COMPLETE
|
|
53 |
|
|
54 |
//SetDestinationBitRateL() not supported
|
|
55 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0078
|
|
56 |
//!@SYMTestCaseDesc SetDestinationBitRateL() / DestinationBitRateL() in ENotReady State
|
|
57 |
//!@SYMTestPriority 4
|
|
58 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Set and Get the bit rate of the
|
|
59 |
//! data sink (Currently audio controller is not supported this feature) before Open an Audio file.
|
|
60 |
//!@SYMTestExpectedResults 1. SetDestinationBitRateL : should leave with KErrNotSupported and test result should EKnownFailure. 2. DestinationBitRateL
|
|
61 |
//! :should leave with KErrNotSupported and test result should EKnownFailure.
|
|
62 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0078 \char\mmf\char_mmf_audiorec.ini
|
|
63 |
//TEST_COMPLETE
|
|
64 |
|
|
65 |
//GetNumberOfMetaDataEntries support is not provided
|
|
66 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0102
|
|
67 |
//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in Eplaying and ERecording State
|
|
68 |
//!@SYMTestPriority 4
|
|
69 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
|
|
70 |
//! code after Get the number of Meta data entries associated with the clip while in Playing state.
|
|
71 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. PlayL : Should not leave. 3.RecordL : Should not Leave 4.Playing state : GetNumberOfMetaDataEntries
|
|
72 |
//! should return KErrNotSupported and test result should be EKnownFailure 5.Recording state : GetNumberOfMetaDataEntries should leave with KErrNotReady
|
|
73 |
//! and test result should be EKnownFailure
|
|
74 |
//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0102 \char\mmf\char_mmf_audiorec.ini
|
|
75 |
//TEST_COMPLETE
|
|
76 |
|
|
77 |
//GetNumberOfMetaDataEntries support is not provided
|
|
78 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0103
|
|
79 |
//!@SYMTestCaseDesc GetNumberOfMetaDataEntries() in ENotReady State
|
|
80 |
//!@SYMTestPriority 4
|
|
81 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Get the number of Meta data entries
|
|
82 |
//! associated with the clip before Open an Audio file.
|
|
83 |
//!@SYMTestExpectedResults 1. ENotReady State : GetNumberOfMetaDataEntries should return KErrNotSupported and test result should be EKnownFailure.
|
|
84 |
//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0103 \char\mmf\char_mmf_audiorec.ini
|
|
85 |
//TEST_COMPLETE
|
|
86 |
|
|
87 |
//GetMetaDataEntryL support is not provided
|
|
88 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0105
|
|
89 |
//!@SYMTestCaseDesc GetMetaDataEntryL() in Eplaying and Erecording State
|
|
90 |
//!@SYMTestPriority 4
|
|
91 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Playing. 4.Check the call back MoscoStateChangeEvent
|
|
92 |
//! code after get the specified Meta data entry from the current audio clip while in Playing state.
|
|
93 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.PlayL : Play should not leave. 3.RecordL : Record Should not leave. 4.Recording
|
|
94 |
//! state : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure. 5.Playing state : GetMetaDataEntryL should
|
|
95 |
//! leave with KErrNotSupported and test result should be EKnownFailure.
|
|
96 |
//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0105 \char\mmf\char_mmf_audiorec.ini
|
|
97 |
//TEST_COMPLETE
|
|
98 |
|
|
99 |
//GetMetaDataEntryL support is not provided
|
|
100 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0106
|
|
101 |
//!@SYMTestCaseDesc GetMetaDataEntryL() in ENotReady State
|
|
102 |
//!@SYMTestPriority 4
|
|
103 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after get the specified Meta data entry
|
|
104 |
//! from the current audio clip before Open an Audio file.
|
|
105 |
//!@SYMTestExpectedResults 1.ENotReady State : GetMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure..
|
|
106 |
//RUN_TEST_STEP 600000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0106 \char\mmf\char_mmf_audiorec.ini
|
|
107 |
//TEST_COMPLETE
|
|
108 |
|
|
109 |
//AddMetaDataEntry support is not provided
|
|
110 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0108
|
|
111 |
//!@SYMTestCaseDesc AddMetaDataEntryL() in Erecording State
|
|
112 |
//!@SYMTestPriority 4
|
|
113 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
|
|
114 |
//! code after Add a Meta data entry to the audio clip while in recording state.
|
|
115 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2.RecordL : should not leave. 3.Recording state : AddMetaDataEntryL should leave
|
|
116 |
//! with KErrNotSupported and test result should be EKnownFailure.
|
|
117 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0108 \char\mmf\char_mmf_audiorec.ini
|
|
118 |
//TEST_COMPLETE
|
|
119 |
|
|
120 |
//AddMetaDataEntry support is not provided
|
|
121 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0109
|
|
122 |
//!@SYMTestCaseDesc AddMetaDataEntryL() in ENotReady State
|
|
123 |
//!@SYMTestPriority 4
|
|
124 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Add a Meta data entry to the audio
|
|
125 |
//! clip before Open an Audio file.
|
|
126 |
//!@SYMTestExpectedResults 1.ENotReady state : AddMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
127 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0109 \char\mmf\char_mmf_audiorec.ini
|
|
128 |
//TEST_COMPLETE
|
|
129 |
|
|
130 |
//RemoveMetaDataEntry support is not provided
|
|
131 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0111
|
|
132 |
//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ERecording State
|
|
133 |
//!@SYMTestPriority 4
|
|
134 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4. Check the call back MoscoStateChangeEvent
|
|
135 |
//! code after Remove a specified Meta data entry from the audio clip while in recording state.
|
|
136 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3.Recording state : RemoveMetaDataEntryL should
|
|
137 |
//! leave with KErrNotSupported and test result should be EKnownFailure.
|
|
138 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0111 \char\mmf\char_mmf_audiorec.ini
|
|
139 |
//TEST_COMPLETE
|
|
140 |
|
|
141 |
//RemoveMetaDataEntry support is not provided
|
|
142 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0112
|
|
143 |
//!@SYMTestCaseDesc RemoveMetaDataEntryL() in ENotReady State
|
|
144 |
//!@SYMTestPriority 4
|
|
145 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Remove a specified Meta data entry
|
|
146 |
//! from the audio clip before Open an Audio file.
|
|
147 |
//!@SYMTestExpectedResults 1. ENotReady state : RemoveMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
148 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0112 \char\mmf\char_mmf_audiorec.ini
|
|
149 |
//TEST_COMPLETE
|
|
150 |
|
|
151 |
//ReplaceMetaDataEntryL support is not provided
|
|
152 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0114
|
|
153 |
//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in Erecording State
|
|
154 |
//!@SYMTestPriority 4
|
|
155 |
//!@SYMTestActions 1. Create audio recorder utility. 2. Open an Audio file. 3. Starts Recording. 4.Check the call back MoscoStateChangeEvent
|
|
156 |
//! code after Replace a specified Meta data entry from the audio clip while in recording state.
|
|
157 |
//!@SYMTestExpectedResults 1.Opening an Audio file should not leave. 2. RecordL : should not leave. 3. Recording state : ReplaceMetaDataEntryL should
|
|
158 |
//! should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
159 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0114 \char\mmf\char_mmf_audiorec.ini
|
|
160 |
//TEST_COMPLETE
|
|
161 |
|
|
162 |
//ReplaceMetaDataEntryL support is not provided
|
|
163 |
//!@SYMTestCaseID MM-MMF-ARCLNT-CHRTZ-I-0115
|
|
164 |
//!@SYMTestCaseDesc ReplaceMetaDataEntryL() in ENotReady State
|
|
165 |
//!@SYMTestPriority 4
|
|
166 |
//!@SYMTestActions 1. Create audio recorder utility. 2.Check the call back MoscoStateChangeEvent code after Replace a specified Meta data
|
|
167 |
//! entry from the audio clip before Open an Audio file.
|
|
168 |
//!@SYMTestExpectedResults 1. ENotReady State : ReplaceMetaDataEntryL should leave with KErrNotSupported and test result should be EKnownFailure.
|
|
169 |
//RUN_TEST_STEP 300000 CHAR_MMF_AUDIOREC MM-MMF-ARCLNT-CHRTZ-I-0115 \char\mmf\char_mmf_audiorec.ini
|
|
170 |
//TEST_COMPLETE
|