Update contrib.
1 // Copyright (c) 2002-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This file contains Test step implementations for
15 // getting and setting audio settings
18 #if (!defined __TESTSTEPS_GETSET_H__)
19 #define __TESTSTEPS_GETSET_H__
24 #include "TS_MMF_ACTRL_TestStep.h"
28 * CTestStepGetSetVolumeInPrimed
29 * This class provides a test step to set/get the volume
32 * @lib "TSU_MMF_ACTRL_01.lib"
36 class CTestStepGetSetVolumeInPrimed :public CTestStepActrl
39 CTestStepGetSetVolumeInPrimed();
40 ~CTestStepGetSetVolumeInPrimed();
41 virtual TVerdict DoTestStepL( void );
47 * CTestStepGetSetVolumeInPlay
48 * This class provides a test step to set/get the volume
51 * @lib "TSU_MMF_ACTRL_01.lib"
55 class CTestStepGetSetVolumeInPlay :public CTestStepActrl
58 CTestStepGetSetVolumeInPlay();
59 ~CTestStepGetSetVolumeInPlay();
60 virtual TVerdict DoTestStepL( void );
66 * CTestStepGetSetVolumeInPlay
67 * This class provides a test step to set/get the volume
70 * @lib "TSU_MMF_ACTRL_01.lib"
73 class CTestStepGetSetVolumeInStopped :public CTestStepActrl
76 CTestStepGetSetVolumeInStopped();
77 ~CTestStepGetSetVolumeInStopped();
78 virtual TVerdict DoTestStepL( void );
84 * CTestStepGetSetBalanceInPrimed
85 * This class provides a test step to set/get the balance
88 * @lib "TSU_MMF_ACTRL_01.lib"
92 class CTestStepGetSetBalanceInPrimed :public CTestStepActrl
95 CTestStepGetSetBalanceInPrimed();
96 ~CTestStepGetSetBalanceInPrimed();
97 virtual TVerdict DoTestStepL( void );
102 * CTestStepGetSetBalanceInPlay
103 * This class provides a test step to set/get the balance
104 * in the playing state
106 * @lib "TSU_MMF_ACTRL_01.lib"
110 class CTestStepGetSetBalanceInPlay :public CTestStepActrl
113 CTestStepGetSetBalanceInPlay();
114 ~CTestStepGetSetBalanceInPlay();
115 virtual TVerdict DoTestStepL( void );
120 * CTestStepGetSetBalanceInStopped
121 * This class provides a test step to set/get the balance
122 * in the primed state
124 * @lib "TSU_MMF_ACTRL_01.lib"
128 class CTestStepGetSetBalanceInStopped :public CTestStepActrl
131 CTestStepGetSetBalanceInStopped();
132 ~CTestStepGetSetBalanceInStopped();
133 virtual TVerdict DoTestStepL( void );
138 * CTestStepGetSetPositionInStopped
139 * This class provides a test step to set/get the position
140 * in the stopped state.
142 * @lib "TSU_MMF_ACTRL_01.lib"
146 class CTestStepGetSetPositionInStopped :public CTestStepActrl
149 CTestStepGetSetPositionInStopped();
150 ~CTestStepGetSetPositionInStopped();
151 virtual TVerdict DoTestStepL( void );
156 * CTestStepGetSetPositionInPrimed
157 * This class provides a test step to set/get the position
158 * in the primed state.
160 * @lib "TSU_MMF_ACTRL_01.lib"
164 class CTestStepGetSetPositionInPrimed :public CTestStepActrl
167 CTestStepGetSetPositionInPrimed();
168 ~CTestStepGetSetPositionInPrimed();
169 virtual TVerdict DoTestStepL( void );
174 * CTestStepGetSetPositionInPlay
175 * This class provides a test step to set/get the position
178 * @lib "TSU_MMF_ACTRL_01.lib"
182 class CTestStepGetSetPositionInPlay :public CTestStepActrl
185 CTestStepGetSetPositionInPlay();
186 ~CTestStepGetSetPositionInPlay();
187 virtual TVerdict DoTestStepL( void );
192 * CTestStepGetSetPositionInPaused
193 * This class provides a test step to set/get the position
194 * in the paused state.
196 * @lib "TSU_MMF_ACTRL_01.lib"
200 class CTestStepGetSetPositionInPaused :public CTestStepActrl
203 CTestStepGetSetPositionInPaused();
204 ~CTestStepGetSetPositionInPaused();
205 virtual TVerdict DoTestStepL( void );
210 * CTestStepGetSetNumChannelsOnSource
211 * This class provides a test step to set/get the number of channels
213 * @lib "TSU_MMF_ACTRL_01.lib"
217 class CTestStepGetSetNumChannelsOnSource :public CTestStepActrl
220 CTestStepGetSetNumChannelsOnSource();
221 ~CTestStepGetSetNumChannelsOnSource();
222 virtual TVerdict DoTestStepL( void );
227 * CTestStepGetSetNumChannelsOnSink
228 * This class provides a test step to set/get the number of channels
231 * @lib "TSU_MMF_ACTRL_01.lib"
234 class CTestStepGetSetNumChannelsOnSink :public CTestStepActrl
237 CTestStepGetSetNumChannelsOnSink();
238 ~CTestStepGetSetNumChannelsOnSink();
239 virtual TVerdict DoTestStepL( void );
244 * CTestStepGetSetSinkFormat
245 * This class gets/sets the format of the sink
247 * @lib "TSU_MMF_ACTRL_01.lib"
250 class CTestStepGetSetSinkFormat :public CTestStepActrl
253 CTestStepGetSetSinkFormat();
254 ~CTestStepGetSetSinkFormat();
255 virtual TVerdict DoTestStepL( void );
260 * CTestStepGetSetSourceFormat
261 * This class gets/sets the format of the Source
263 * @lib "TSU_MMF_ACTRL_01.lib"
266 class CTestStepGetSetSourceFormat :public CTestStepActrl
269 CTestStepGetSetSourceFormat();
270 ~CTestStepGetSetSourceFormat();
271 virtual TVerdict DoTestStepL( void );
276 * CTestStepGetSetSourceSampleRate
277 * This class provides a test step to set/get the sample rate
280 * @lib "TSU_MMF_ACTRL_01.lib"
283 class CTestStepGetSetSourceSampleRate :public CTestStepActrl
286 CTestStepGetSetSourceSampleRate();
287 ~CTestStepGetSetSourceSampleRate();
288 virtual TVerdict DoTestStepL( void );
293 * CTestStepGetSetSinkSampleRate
294 * This class provides a test step to set/get the sample rate
297 * @lib "TSU_MMF_ACTRL_01.lib"
300 class CTestStepGetSetSinkSampleRate :public CTestStepActrl
303 CTestStepGetSetSinkSampleRate();
304 ~CTestStepGetSetSinkSampleRate();
305 virtual TVerdict DoTestStepL( void );
310 * CTestStepGetSetSourceBitRate
311 * This class provides a test step get/set the source bit rate
313 * @lib "TSU_MMF_ACTRL_01.lib"
316 class CTestStepGetSetSourceBitRate :public CTestStepActrl
319 CTestStepGetSetSourceBitRate();
320 ~CTestStepGetSetSourceBitRate();
321 virtual TVerdict DoTestStepL( void );
326 * CTestStepGetSetSourceDataType
327 * This class provides a test step to test the source data type
329 * @lib "TSU_MMF_ACTRL_01.lib"
332 class CTestStepGetSetSourceDataType :public CTestStepActrl
335 CTestStepGetSetSourceDataType();
336 ~CTestStepGetSetSourceDataType();
337 virtual TVerdict DoTestStepL( void );
342 * CTestStepGetSetSinkBitRate
343 * This class provides a test step to set/get the sample rate
346 * @lib "TSU_MMF_ACTRL_01.lib"
349 class CTestStepGetSetSinkBitRate :public CTestStepActrl
352 CTestStepGetSetSinkBitRate();
353 ~CTestStepGetSetSinkBitRate();
354 virtual TVerdict DoTestStepL( void );
359 * CTestStepGetSetSinkDataType
360 * This class provides a test step to set/get sink data type
362 * @lib "TSU_MMF_ACTRL_01.lib"
366 class CTestStepGetSetSinkDataType :public CTestStepActrl
369 CTestStepGetSetSinkDataType();
370 ~CTestStepGetSetSinkDataType();
371 virtual TVerdict DoTestStepL( void );
376 * CTestStepGetSetMetaData
377 * This class provides a test step to set/get metadata
379 * @lib "TSU_MMF_ACTRL_01.lib"
382 class CTestStepGetSetMetaData :public CTestStepActrl
385 CTestStepGetSetMetaData();
386 ~CTestStepGetSetMetaData();
387 virtual TVerdict DoTestStepL( void );
392 * CTestStepGetSupportedSinkDataTypes
393 * This class provides a test for the supported sink data types
395 * @lib "TSU_MMF_ACTRL_01.lib"
398 class CTestStepGetSupportedSinkDataTypes :public CTestStepActrl
401 CTestStepGetSupportedSinkDataTypes();
402 ~CTestStepGetSupportedSinkDataTypes();
403 virtual TVerdict DoTestStepL( void );
408 * CTestStepGetSupportedSourceDataTypes
409 * This class provides a test for the supported sink data types
411 * @lib "TSU_MMF_ACTRL_01.lib"
414 class CTestStepGetSupportedSourceDataTypes :public CTestStepActrl
417 CTestStepGetSupportedSourceDataTypes();
418 ~CTestStepGetSupportedSourceDataTypes();
419 virtual TVerdict DoTestStepL( void );
424 * CTestStepGetSupportedSourceNumChannels
425 * This class provides a test for the supported number of channels
428 * @lib "TSU_MMF_ACTRL_01.lib"
431 class CTestStepGetSupportedSourceNumChannels :public CTestStepActrl
434 CTestStepGetSupportedSourceNumChannels();
435 ~CTestStepGetSupportedSourceNumChannels();
436 virtual TVerdict DoTestStepL( void );
439 #endif //(__TESTSTEPS_GETSET_H__)