os/mm/mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepsGetSet.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // This file contains Test step implementations for
    15 // getting and setting audio settings
    16 //
    17 
    18 #if (!defined __TESTSTEPS_GETSET_H__)
    19 #define __TESTSTEPS_GETSET_H__
    20 
    21 #include <e32std.h>
    22 #include <e32base.h>
    23 
    24 #include "TS_MMF_ACTRL_TestStep.h"
    25 
    26 /**
    27  *
    28  * CTestStepGetSetVolumeInPrimed
    29  * This class provides a test step to set/get the volume
    30  * in the primed state
    31  *
    32  * @lib "TSU_MMF_ACTRL_01.lib"
    33  *
    34  *
    35  */
    36 class CTestStepGetSetVolumeInPrimed :public CTestStepActrl
    37 {
    38 public:               
    39 	CTestStepGetSetVolumeInPrimed();
    40 	~CTestStepGetSetVolumeInPrimed();
    41 	virtual TVerdict  DoTestStepL( void );
    42 };
    43 
    44 
    45 /**
    46  *
    47  * CTestStepGetSetVolumeInPlay
    48  * This class provides a test step to set/get the volume
    49  * in the primed state
    50  *
    51  * @lib "TSU_MMF_ACTRL_01.lib"
    52  *
    53  *
    54  */
    55 class CTestStepGetSetVolumeInPlay :public CTestStepActrl
    56 {
    57 public:               
    58 	CTestStepGetSetVolumeInPlay();
    59 	~CTestStepGetSetVolumeInPlay();
    60 	virtual TVerdict  DoTestStepL( void );
    61 };
    62 
    63 
    64 /**
    65  *
    66  * CTestStepGetSetVolumeInPlay
    67  * This class provides a test step to set/get the volume
    68  * in the primed state
    69  *
    70  * @lib "TSU_MMF_ACTRL_01.lib"
    71  *
    72  */
    73 class CTestStepGetSetVolumeInStopped :public CTestStepActrl
    74 {
    75 public:               
    76 	CTestStepGetSetVolumeInStopped();
    77 	~CTestStepGetSetVolumeInStopped();
    78 	virtual TVerdict  DoTestStepL( void );
    79 };
    80 
    81 
    82 /**
    83  *
    84  * CTestStepGetSetBalanceInPrimed
    85  * This class provides a test step to set/get the balance
    86  * in the primed state
    87  *
    88  * @lib "TSU_MMF_ACTRL_01.lib"
    89  *
    90  *
    91  */
    92 class CTestStepGetSetBalanceInPrimed :public CTestStepActrl
    93 {
    94 public:               
    95 	CTestStepGetSetBalanceInPrimed();
    96 	~CTestStepGetSetBalanceInPrimed();
    97 	virtual TVerdict  DoTestStepL( void );
    98 };
    99 
   100 /**
   101  *
   102  * CTestStepGetSetBalanceInPlay
   103  * This class provides a test step to set/get the balance
   104  * in the playing state
   105  *
   106  * @lib "TSU_MMF_ACTRL_01.lib"
   107  *
   108  *
   109  */
   110 class CTestStepGetSetBalanceInPlay :public CTestStepActrl
   111 {
   112 public:
   113 	CTestStepGetSetBalanceInPlay();
   114 	~CTestStepGetSetBalanceInPlay();
   115 	virtual TVerdict  DoTestStepL( void );
   116 };
   117 
   118 /**
   119  *
   120  * CTestStepGetSetBalanceInStopped
   121  * This class provides a test step to set/get the balance
   122  * in the primed state
   123  *
   124  * @lib "TSU_MMF_ACTRL_01.lib"
   125  *
   126  *
   127  */
   128 class CTestStepGetSetBalanceInStopped :public CTestStepActrl
   129 {
   130 public:               
   131 	CTestStepGetSetBalanceInStopped();
   132 	~CTestStepGetSetBalanceInStopped();
   133 	virtual TVerdict  DoTestStepL( void );
   134 };
   135 
   136 /**
   137  *
   138  * CTestStepGetSetPositionInStopped
   139  * This class provides a test step to set/get the position
   140  * in the stopped state.
   141  *
   142  * @lib "TSU_MMF_ACTRL_01.lib"
   143  *
   144  *
   145  */
   146 class CTestStepGetSetPositionInStopped :public CTestStepActrl
   147 {
   148 public:               
   149 	CTestStepGetSetPositionInStopped();
   150 	~CTestStepGetSetPositionInStopped();
   151 	virtual TVerdict  DoTestStepL( void );
   152 };
   153 
   154 /**
   155  *
   156  * CTestStepGetSetPositionInPrimed
   157  * This class provides a test step to set/get the position
   158  * in the primed state.
   159  *
   160  * @lib "TSU_MMF_ACTRL_01.lib"
   161  *
   162  *
   163  */
   164 class CTestStepGetSetPositionInPrimed :public CTestStepActrl
   165 {
   166 public:               
   167 	CTestStepGetSetPositionInPrimed();
   168 	~CTestStepGetSetPositionInPrimed();
   169 	virtual TVerdict DoTestStepL( void );
   170 };
   171 
   172 /**
   173  *
   174  * CTestStepGetSetPositionInPlay
   175  * This class provides a test step to set/get the position
   176  * in the play state.
   177  *
   178  * @lib "TSU_MMF_ACTRL_01.lib"
   179  *
   180  *
   181  */
   182 class CTestStepGetSetPositionInPlay :public CTestStepActrl
   183 {
   184 public:
   185 	CTestStepGetSetPositionInPlay();
   186 	~CTestStepGetSetPositionInPlay();
   187 	virtual TVerdict  DoTestStepL( void );
   188 };
   189 
   190 /**
   191  *
   192  * CTestStepGetSetPositionInPaused
   193  * This class provides a test step to set/get the position
   194  * in the paused state.
   195  *
   196  * @lib "TSU_MMF_ACTRL_01.lib"
   197  *
   198  *
   199  */
   200 class CTestStepGetSetPositionInPaused :public CTestStepActrl
   201 {
   202 public:               
   203 	CTestStepGetSetPositionInPaused();
   204 	~CTestStepGetSetPositionInPaused();
   205 	virtual TVerdict  DoTestStepL( void );
   206 };
   207 
   208 /**
   209  *
   210  * CTestStepGetSetNumChannelsOnSource
   211  * This class provides a test step to set/get the number of channels
   212  *
   213  * @lib "TSU_MMF_ACTRL_01.lib"
   214  *
   215  *
   216  */
   217 class CTestStepGetSetNumChannelsOnSource :public CTestStepActrl
   218 {
   219 public:
   220 	CTestStepGetSetNumChannelsOnSource();
   221 	~CTestStepGetSetNumChannelsOnSource();
   222 	virtual TVerdict  DoTestStepL( void );
   223 };
   224 
   225 /**
   226  *
   227  * CTestStepGetSetNumChannelsOnSink
   228  * This class provides a test step to set/get the number of channels
   229  * on a Sink
   230  *
   231  * @lib "TSU_MMF_ACTRL_01.lib"
   232  *
   233  */
   234 class CTestStepGetSetNumChannelsOnSink :public CTestStepActrl
   235 {
   236 public:               
   237 	CTestStepGetSetNumChannelsOnSink();
   238 	~CTestStepGetSetNumChannelsOnSink();
   239 	virtual TVerdict  DoTestStepL( void );
   240 };
   241 
   242 /**
   243  *
   244  * CTestStepGetSetSinkFormat
   245  * This class gets/sets the format of the sink
   246  *
   247  * @lib "TSU_MMF_ACTRL_01.lib"
   248  *
   249  */
   250 class CTestStepGetSetSinkFormat :public CTestStepActrl
   251 {
   252 public:               
   253 	CTestStepGetSetSinkFormat();
   254 	~CTestStepGetSetSinkFormat();
   255 	virtual TVerdict  DoTestStepL( void );
   256 };
   257 
   258 /**
   259  *
   260  * CTestStepGetSetSourceFormat
   261  * This class gets/sets the format of the Source
   262  *
   263  * @lib "TSU_MMF_ACTRL_01.lib"
   264  *
   265  */
   266 class CTestStepGetSetSourceFormat :public CTestStepActrl
   267 {
   268 public:
   269 	CTestStepGetSetSourceFormat();
   270 	~CTestStepGetSetSourceFormat();
   271 	virtual TVerdict  DoTestStepL( void );
   272 };
   273 
   274 /**
   275  *
   276  * CTestStepGetSetSourceSampleRate
   277  * This class provides a test step to set/get the sample rate
   278  * of the source
   279  *
   280  * @lib "TSU_MMF_ACTRL_01.lib"
   281  *
   282  */
   283 class CTestStepGetSetSourceSampleRate :public CTestStepActrl
   284 {
   285 public:
   286 	CTestStepGetSetSourceSampleRate();
   287 	~CTestStepGetSetSourceSampleRate();
   288 	virtual TVerdict  DoTestStepL( void );
   289 };
   290 
   291 /**
   292  *
   293  * CTestStepGetSetSinkSampleRate
   294  * This class provides a test step to set/get the sample rate
   295  * of the sink
   296  *
   297  * @lib "TSU_MMF_ACTRL_01.lib"
   298  *
   299  */
   300 class CTestStepGetSetSinkSampleRate :public CTestStepActrl
   301 {
   302 public:
   303 	CTestStepGetSetSinkSampleRate();
   304 	~CTestStepGetSetSinkSampleRate();
   305 	virtual TVerdict  DoTestStepL( void );
   306 };
   307 
   308 /**
   309  *
   310  * CTestStepGetSetSourceBitRate
   311  * This class provides a test step get/set the source bit rate
   312  *
   313  * @lib "TSU_MMF_ACTRL_01.lib"
   314  *
   315  */
   316 class CTestStepGetSetSourceBitRate :public CTestStepActrl
   317 {
   318 public:
   319 	CTestStepGetSetSourceBitRate();
   320 	~CTestStepGetSetSourceBitRate();
   321 	virtual TVerdict  DoTestStepL( void );
   322 };
   323 
   324 /**
   325  *
   326  * CTestStepGetSetSourceDataType
   327  * This class provides a test step to test the source data type
   328  *
   329  * @lib "TSU_MMF_ACTRL_01.lib"
   330  *
   331  */
   332 class CTestStepGetSetSourceDataType :public CTestStepActrl
   333 {
   334 public:
   335 	CTestStepGetSetSourceDataType();
   336 	~CTestStepGetSetSourceDataType();
   337 	virtual TVerdict  DoTestStepL( void );
   338 };
   339 
   340 /**
   341  *
   342  * CTestStepGetSetSinkBitRate
   343  * This class provides a test step to set/get the sample rate
   344  * of the sink
   345  *
   346  * @lib "TSU_MMF_ACTRL_01.lib"
   347  *
   348  */
   349 class CTestStepGetSetSinkBitRate :public CTestStepActrl
   350 {
   351 public:
   352 	CTestStepGetSetSinkBitRate();
   353 	~CTestStepGetSetSinkBitRate();
   354 	virtual TVerdict DoTestStepL( void );
   355 };
   356 
   357 /**
   358  *
   359  * CTestStepGetSetSinkDataType
   360  * This class provides a test step to set/get sink data type
   361  *
   362  * @lib "TSU_MMF_ACTRL_01.lib"
   363  *
   364  */
   365 
   366 class CTestStepGetSetSinkDataType :public CTestStepActrl
   367 {
   368 public:
   369 	CTestStepGetSetSinkDataType();
   370 	~CTestStepGetSetSinkDataType();
   371 	virtual TVerdict  DoTestStepL( void );
   372 };
   373 
   374 /**
   375  *
   376  * CTestStepGetSetMetaData
   377  * This class provides a test step to set/get metadata
   378  *
   379  * @lib "TSU_MMF_ACTRL_01.lib"
   380  *
   381  */
   382 class CTestStepGetSetMetaData :public CTestStepActrl
   383 {
   384 public:
   385 	CTestStepGetSetMetaData();
   386 	~CTestStepGetSetMetaData();
   387 	virtual TVerdict  DoTestStepL( void );
   388 };
   389 
   390 /**
   391  *
   392  * CTestStepGetSupportedSinkDataTypes
   393  * This class provides a test for the supported sink data types
   394  *
   395  * @lib "TSU_MMF_ACTRL_01.lib"
   396  *
   397  */
   398 class CTestStepGetSupportedSinkDataTypes :public CTestStepActrl
   399 {
   400 public:
   401 	CTestStepGetSupportedSinkDataTypes();
   402 	~CTestStepGetSupportedSinkDataTypes();
   403 	virtual TVerdict  DoTestStepL( void );
   404 };
   405 
   406 /**
   407  *
   408  * CTestStepGetSupportedSourceDataTypes
   409  * This class provides a test for the supported sink data types
   410  *
   411  * @lib "TSU_MMF_ACTRL_01.lib"
   412  *
   413  */
   414 class CTestStepGetSupportedSourceDataTypes :public CTestStepActrl
   415 {
   416 public:
   417 	CTestStepGetSupportedSourceDataTypes();
   418 	~CTestStepGetSupportedSourceDataTypes();
   419 	virtual TVerdict  DoTestStepL( void );
   420 };
   421 
   422 /**
   423  *
   424  * CTestStepGetSupportedSourceNumChannels
   425  * This class provides a test for the supported number of channels
   426  * on a source.
   427  *
   428  * @lib "TSU_MMF_ACTRL_01.lib"
   429  *
   430  */
   431 class CTestStepGetSupportedSourceNumChannels :public CTestStepActrl
   432 {
   433 public:
   434 	CTestStepGetSupportedSourceNumChannels();
   435 	~CTestStepGetSupportedSourceNumChannels();
   436 	virtual TVerdict  DoTestStepL( void );
   437 };
   438 
   439 #endif //(__TESTSTEPS_GETSET_H__)