os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepsGetSet.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepsGetSet.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,439 @@
     1.4 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// This file contains Test step implementations for
    1.18 +// getting and setting audio settings
    1.19 +//
    1.20 +
    1.21 +#if (!defined __TESTSTEPS_GETSET_H__)
    1.22 +#define __TESTSTEPS_GETSET_H__
    1.23 +
    1.24 +#include <e32std.h>
    1.25 +#include <e32base.h>
    1.26 +
    1.27 +#include "TS_MMF_ACTRL_TestStep.h"
    1.28 +
    1.29 +/**
    1.30 + *
    1.31 + * CTestStepGetSetVolumeInPrimed
    1.32 + * This class provides a test step to set/get the volume
    1.33 + * in the primed state
    1.34 + *
    1.35 + * @lib "TSU_MMF_ACTRL_01.lib"
    1.36 + *
    1.37 + *
    1.38 + */
    1.39 +class CTestStepGetSetVolumeInPrimed :public CTestStepActrl
    1.40 +{
    1.41 +public:               
    1.42 +	CTestStepGetSetVolumeInPrimed();
    1.43 +	~CTestStepGetSetVolumeInPrimed();
    1.44 +	virtual TVerdict  DoTestStepL( void );
    1.45 +};
    1.46 +
    1.47 +
    1.48 +/**
    1.49 + *
    1.50 + * CTestStepGetSetVolumeInPlay
    1.51 + * This class provides a test step to set/get the volume
    1.52 + * in the primed state
    1.53 + *
    1.54 + * @lib "TSU_MMF_ACTRL_01.lib"
    1.55 + *
    1.56 + *
    1.57 + */
    1.58 +class CTestStepGetSetVolumeInPlay :public CTestStepActrl
    1.59 +{
    1.60 +public:               
    1.61 +	CTestStepGetSetVolumeInPlay();
    1.62 +	~CTestStepGetSetVolumeInPlay();
    1.63 +	virtual TVerdict  DoTestStepL( void );
    1.64 +};
    1.65 +
    1.66 +
    1.67 +/**
    1.68 + *
    1.69 + * CTestStepGetSetVolumeInPlay
    1.70 + * This class provides a test step to set/get the volume
    1.71 + * in the primed state
    1.72 + *
    1.73 + * @lib "TSU_MMF_ACTRL_01.lib"
    1.74 + *
    1.75 + */
    1.76 +class CTestStepGetSetVolumeInStopped :public CTestStepActrl
    1.77 +{
    1.78 +public:               
    1.79 +	CTestStepGetSetVolumeInStopped();
    1.80 +	~CTestStepGetSetVolumeInStopped();
    1.81 +	virtual TVerdict  DoTestStepL( void );
    1.82 +};
    1.83 +
    1.84 +
    1.85 +/**
    1.86 + *
    1.87 + * CTestStepGetSetBalanceInPrimed
    1.88 + * This class provides a test step to set/get the balance
    1.89 + * in the primed state
    1.90 + *
    1.91 + * @lib "TSU_MMF_ACTRL_01.lib"
    1.92 + *
    1.93 + *
    1.94 + */
    1.95 +class CTestStepGetSetBalanceInPrimed :public CTestStepActrl
    1.96 +{
    1.97 +public:               
    1.98 +	CTestStepGetSetBalanceInPrimed();
    1.99 +	~CTestStepGetSetBalanceInPrimed();
   1.100 +	virtual TVerdict  DoTestStepL( void );
   1.101 +};
   1.102 +
   1.103 +/**
   1.104 + *
   1.105 + * CTestStepGetSetBalanceInPlay
   1.106 + * This class provides a test step to set/get the balance
   1.107 + * in the playing state
   1.108 + *
   1.109 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.110 + *
   1.111 + *
   1.112 + */
   1.113 +class CTestStepGetSetBalanceInPlay :public CTestStepActrl
   1.114 +{
   1.115 +public:
   1.116 +	CTestStepGetSetBalanceInPlay();
   1.117 +	~CTestStepGetSetBalanceInPlay();
   1.118 +	virtual TVerdict  DoTestStepL( void );
   1.119 +};
   1.120 +
   1.121 +/**
   1.122 + *
   1.123 + * CTestStepGetSetBalanceInStopped
   1.124 + * This class provides a test step to set/get the balance
   1.125 + * in the primed state
   1.126 + *
   1.127 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.128 + *
   1.129 + *
   1.130 + */
   1.131 +class CTestStepGetSetBalanceInStopped :public CTestStepActrl
   1.132 +{
   1.133 +public:               
   1.134 +	CTestStepGetSetBalanceInStopped();
   1.135 +	~CTestStepGetSetBalanceInStopped();
   1.136 +	virtual TVerdict  DoTestStepL( void );
   1.137 +};
   1.138 +
   1.139 +/**
   1.140 + *
   1.141 + * CTestStepGetSetPositionInStopped
   1.142 + * This class provides a test step to set/get the position
   1.143 + * in the stopped state.
   1.144 + *
   1.145 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.146 + *
   1.147 + *
   1.148 + */
   1.149 +class CTestStepGetSetPositionInStopped :public CTestStepActrl
   1.150 +{
   1.151 +public:               
   1.152 +	CTestStepGetSetPositionInStopped();
   1.153 +	~CTestStepGetSetPositionInStopped();
   1.154 +	virtual TVerdict  DoTestStepL( void );
   1.155 +};
   1.156 +
   1.157 +/**
   1.158 + *
   1.159 + * CTestStepGetSetPositionInPrimed
   1.160 + * This class provides a test step to set/get the position
   1.161 + * in the primed state.
   1.162 + *
   1.163 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.164 + *
   1.165 + *
   1.166 + */
   1.167 +class CTestStepGetSetPositionInPrimed :public CTestStepActrl
   1.168 +{
   1.169 +public:               
   1.170 +	CTestStepGetSetPositionInPrimed();
   1.171 +	~CTestStepGetSetPositionInPrimed();
   1.172 +	virtual TVerdict DoTestStepL( void );
   1.173 +};
   1.174 +
   1.175 +/**
   1.176 + *
   1.177 + * CTestStepGetSetPositionInPlay
   1.178 + * This class provides a test step to set/get the position
   1.179 + * in the play state.
   1.180 + *
   1.181 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.182 + *
   1.183 + *
   1.184 + */
   1.185 +class CTestStepGetSetPositionInPlay :public CTestStepActrl
   1.186 +{
   1.187 +public:
   1.188 +	CTestStepGetSetPositionInPlay();
   1.189 +	~CTestStepGetSetPositionInPlay();
   1.190 +	virtual TVerdict  DoTestStepL( void );
   1.191 +};
   1.192 +
   1.193 +/**
   1.194 + *
   1.195 + * CTestStepGetSetPositionInPaused
   1.196 + * This class provides a test step to set/get the position
   1.197 + * in the paused state.
   1.198 + *
   1.199 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.200 + *
   1.201 + *
   1.202 + */
   1.203 +class CTestStepGetSetPositionInPaused :public CTestStepActrl
   1.204 +{
   1.205 +public:               
   1.206 +	CTestStepGetSetPositionInPaused();
   1.207 +	~CTestStepGetSetPositionInPaused();
   1.208 +	virtual TVerdict  DoTestStepL( void );
   1.209 +};
   1.210 +
   1.211 +/**
   1.212 + *
   1.213 + * CTestStepGetSetNumChannelsOnSource
   1.214 + * This class provides a test step to set/get the number of channels
   1.215 + *
   1.216 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.217 + *
   1.218 + *
   1.219 + */
   1.220 +class CTestStepGetSetNumChannelsOnSource :public CTestStepActrl
   1.221 +{
   1.222 +public:
   1.223 +	CTestStepGetSetNumChannelsOnSource();
   1.224 +	~CTestStepGetSetNumChannelsOnSource();
   1.225 +	virtual TVerdict  DoTestStepL( void );
   1.226 +};
   1.227 +
   1.228 +/**
   1.229 + *
   1.230 + * CTestStepGetSetNumChannelsOnSink
   1.231 + * This class provides a test step to set/get the number of channels
   1.232 + * on a Sink
   1.233 + *
   1.234 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.235 + *
   1.236 + */
   1.237 +class CTestStepGetSetNumChannelsOnSink :public CTestStepActrl
   1.238 +{
   1.239 +public:               
   1.240 +	CTestStepGetSetNumChannelsOnSink();
   1.241 +	~CTestStepGetSetNumChannelsOnSink();
   1.242 +	virtual TVerdict  DoTestStepL( void );
   1.243 +};
   1.244 +
   1.245 +/**
   1.246 + *
   1.247 + * CTestStepGetSetSinkFormat
   1.248 + * This class gets/sets the format of the sink
   1.249 + *
   1.250 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.251 + *
   1.252 + */
   1.253 +class CTestStepGetSetSinkFormat :public CTestStepActrl
   1.254 +{
   1.255 +public:               
   1.256 +	CTestStepGetSetSinkFormat();
   1.257 +	~CTestStepGetSetSinkFormat();
   1.258 +	virtual TVerdict  DoTestStepL( void );
   1.259 +};
   1.260 +
   1.261 +/**
   1.262 + *
   1.263 + * CTestStepGetSetSourceFormat
   1.264 + * This class gets/sets the format of the Source
   1.265 + *
   1.266 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.267 + *
   1.268 + */
   1.269 +class CTestStepGetSetSourceFormat :public CTestStepActrl
   1.270 +{
   1.271 +public:
   1.272 +	CTestStepGetSetSourceFormat();
   1.273 +	~CTestStepGetSetSourceFormat();
   1.274 +	virtual TVerdict  DoTestStepL( void );
   1.275 +};
   1.276 +
   1.277 +/**
   1.278 + *
   1.279 + * CTestStepGetSetSourceSampleRate
   1.280 + * This class provides a test step to set/get the sample rate
   1.281 + * of the source
   1.282 + *
   1.283 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.284 + *
   1.285 + */
   1.286 +class CTestStepGetSetSourceSampleRate :public CTestStepActrl
   1.287 +{
   1.288 +public:
   1.289 +	CTestStepGetSetSourceSampleRate();
   1.290 +	~CTestStepGetSetSourceSampleRate();
   1.291 +	virtual TVerdict  DoTestStepL( void );
   1.292 +};
   1.293 +
   1.294 +/**
   1.295 + *
   1.296 + * CTestStepGetSetSinkSampleRate
   1.297 + * This class provides a test step to set/get the sample rate
   1.298 + * of the sink
   1.299 + *
   1.300 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.301 + *
   1.302 + */
   1.303 +class CTestStepGetSetSinkSampleRate :public CTestStepActrl
   1.304 +{
   1.305 +public:
   1.306 +	CTestStepGetSetSinkSampleRate();
   1.307 +	~CTestStepGetSetSinkSampleRate();
   1.308 +	virtual TVerdict  DoTestStepL( void );
   1.309 +};
   1.310 +
   1.311 +/**
   1.312 + *
   1.313 + * CTestStepGetSetSourceBitRate
   1.314 + * This class provides a test step get/set the source bit rate
   1.315 + *
   1.316 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.317 + *
   1.318 + */
   1.319 +class CTestStepGetSetSourceBitRate :public CTestStepActrl
   1.320 +{
   1.321 +public:
   1.322 +	CTestStepGetSetSourceBitRate();
   1.323 +	~CTestStepGetSetSourceBitRate();
   1.324 +	virtual TVerdict  DoTestStepL( void );
   1.325 +};
   1.326 +
   1.327 +/**
   1.328 + *
   1.329 + * CTestStepGetSetSourceDataType
   1.330 + * This class provides a test step to test the source data type
   1.331 + *
   1.332 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.333 + *
   1.334 + */
   1.335 +class CTestStepGetSetSourceDataType :public CTestStepActrl
   1.336 +{
   1.337 +public:
   1.338 +	CTestStepGetSetSourceDataType();
   1.339 +	~CTestStepGetSetSourceDataType();
   1.340 +	virtual TVerdict  DoTestStepL( void );
   1.341 +};
   1.342 +
   1.343 +/**
   1.344 + *
   1.345 + * CTestStepGetSetSinkBitRate
   1.346 + * This class provides a test step to set/get the sample rate
   1.347 + * of the sink
   1.348 + *
   1.349 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.350 + *
   1.351 + */
   1.352 +class CTestStepGetSetSinkBitRate :public CTestStepActrl
   1.353 +{
   1.354 +public:
   1.355 +	CTestStepGetSetSinkBitRate();
   1.356 +	~CTestStepGetSetSinkBitRate();
   1.357 +	virtual TVerdict DoTestStepL( void );
   1.358 +};
   1.359 +
   1.360 +/**
   1.361 + *
   1.362 + * CTestStepGetSetSinkDataType
   1.363 + * This class provides a test step to set/get sink data type
   1.364 + *
   1.365 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.366 + *
   1.367 + */
   1.368 +
   1.369 +class CTestStepGetSetSinkDataType :public CTestStepActrl
   1.370 +{
   1.371 +public:
   1.372 +	CTestStepGetSetSinkDataType();
   1.373 +	~CTestStepGetSetSinkDataType();
   1.374 +	virtual TVerdict  DoTestStepL( void );
   1.375 +};
   1.376 +
   1.377 +/**
   1.378 + *
   1.379 + * CTestStepGetSetMetaData
   1.380 + * This class provides a test step to set/get metadata
   1.381 + *
   1.382 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.383 + *
   1.384 + */
   1.385 +class CTestStepGetSetMetaData :public CTestStepActrl
   1.386 +{
   1.387 +public:
   1.388 +	CTestStepGetSetMetaData();
   1.389 +	~CTestStepGetSetMetaData();
   1.390 +	virtual TVerdict  DoTestStepL( void );
   1.391 +};
   1.392 +
   1.393 +/**
   1.394 + *
   1.395 + * CTestStepGetSupportedSinkDataTypes
   1.396 + * This class provides a test for the supported sink data types
   1.397 + *
   1.398 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.399 + *
   1.400 + */
   1.401 +class CTestStepGetSupportedSinkDataTypes :public CTestStepActrl
   1.402 +{
   1.403 +public:
   1.404 +	CTestStepGetSupportedSinkDataTypes();
   1.405 +	~CTestStepGetSupportedSinkDataTypes();
   1.406 +	virtual TVerdict  DoTestStepL( void );
   1.407 +};
   1.408 +
   1.409 +/**
   1.410 + *
   1.411 + * CTestStepGetSupportedSourceDataTypes
   1.412 + * This class provides a test for the supported sink data types
   1.413 + *
   1.414 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.415 + *
   1.416 + */
   1.417 +class CTestStepGetSupportedSourceDataTypes :public CTestStepActrl
   1.418 +{
   1.419 +public:
   1.420 +	CTestStepGetSupportedSourceDataTypes();
   1.421 +	~CTestStepGetSupportedSourceDataTypes();
   1.422 +	virtual TVerdict  DoTestStepL( void );
   1.423 +};
   1.424 +
   1.425 +/**
   1.426 + *
   1.427 + * CTestStepGetSupportedSourceNumChannels
   1.428 + * This class provides a test for the supported number of channels
   1.429 + * on a source.
   1.430 + *
   1.431 + * @lib "TSU_MMF_ACTRL_01.lib"
   1.432 + *
   1.433 + */
   1.434 +class CTestStepGetSupportedSourceNumChannels :public CTestStepActrl
   1.435 +{
   1.436 +public:
   1.437 +	CTestStepGetSupportedSourceNumChannels();
   1.438 +	~CTestStepGetSupportedSourceNumChannels();
   1.439 +	virtual TVerdict  DoTestStepL( void );
   1.440 +};
   1.441 +
   1.442 +#endif //(__TESTSTEPS_GETSET_H__)