os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/teststepcisbcencoder.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
//
sl@0
    15
sl@0
    16
#ifndef TESTSTEPCISBCENCODER_H
sl@0
    17
#define TESTSTEPCISBCENCODER_H
sl@0
    18
sl@0
    19
#include <testframework.h>
sl@0
    20
sl@0
    21
// Custom interface definitions
sl@0
    22
#include <mmf/server/devsoundstandardcustominterfaces.h>
sl@0
    23
#include <mmf/plugin/mmfdevsoundcustominterface.hrh>
sl@0
    24
sl@0
    25
#include "devsoundciutestdevices.hrh"
sl@0
    26
sl@0
    27
// Test system includes
sl@0
    28
#include "tsu_mmf_devsound_ciu_step.h"
sl@0
    29
#include "tsu_mmf_devsound_ciu_suite.h"
sl@0
    30
sl@0
    31
class CTestStepCISbcEncoder : public CTestStepCustominterfaceUnificationUnit
sl@0
    32
	{
sl@0
    33
public:
sl@0
    34
	CTestStepCISbcEncoder();
sl@0
    35
	TVerdict DoTestStepL();
sl@0
    36
	};
sl@0
    37
sl@0
    38
class CTestStepCISbcEncoderGetSupportedFrequencies : public CTestStepCustominterfaceUnificationUnit
sl@0
    39
	{
sl@0
    40
public:
sl@0
    41
	CTestStepCISbcEncoderGetSupportedFrequencies();
sl@0
    42
	TVerdict DoTestStepL();
sl@0
    43
private:
sl@0
    44
	TBool ValidateArray(const RArray<TUint>& aArray) const;
sl@0
    45
	};
sl@0
    46
sl@0
    47
class CTestStepCISbcEncoderGetSupportedSubbands : public CTestStepCustominterfaceUnificationUnit
sl@0
    48
	{
sl@0
    49
public:
sl@0
    50
	CTestStepCISbcEncoderGetSupportedSubbands();
sl@0
    51
	TVerdict DoTestStepL();
sl@0
    52
private:
sl@0
    53
	TBool ValidateArray(const RArray<TUint>& aArray) const;
sl@0
    54
	};
sl@0
    55
sl@0
    56
class CTestStepCISbcEncoderGetSupportedNumOfBlocks : public CTestStepCustominterfaceUnificationUnit
sl@0
    57
	{
sl@0
    58
public:
sl@0
    59
	CTestStepCISbcEncoderGetSupportedNumOfBlocks();
sl@0
    60
	TVerdict DoTestStepL();
sl@0
    61
private:
sl@0
    62
	TBool ValidateArray(const RArray<TUint>& aArray) const;
sl@0
    63
	};
sl@0
    64
sl@0
    65
class CTestStepCISbcEncoderGetSupportedChannelModes : public CTestStepCustominterfaceUnificationUnit
sl@0
    66
	{
sl@0
    67
public:
sl@0
    68
	CTestStepCISbcEncoderGetSupportedChannelModes();
sl@0
    69
	TVerdict DoTestStepL();
sl@0
    70
private:
sl@0
    71
	TBool ValidateArray(const RArray<MSbcEncoderIntfc::TSbcChannelMode>& aArray) const;
sl@0
    72
	};
sl@0
    73
sl@0
    74
class CTestStepCISbcEncoderGetSupportedAllocationMethods : public CTestStepCustominterfaceUnificationUnit
sl@0
    75
	{
sl@0
    76
public:
sl@0
    77
	CTestStepCISbcEncoderGetSupportedAllocationMethods();
sl@0
    78
	TVerdict DoTestStepL();
sl@0
    79
private:
sl@0
    80
	TBool ValidateArray(const RArray<MSbcEncoderIntfc::TSbcAllocationMethod>& aArray) const;
sl@0
    81
	};
sl@0
    82
sl@0
    83
class CTestStepCISbcEncoderGetSupportedBitpoolRange : public CTestStepCustominterfaceUnificationUnit
sl@0
    84
	{
sl@0
    85
public:
sl@0
    86
	CTestStepCISbcEncoderGetSupportedBitpoolRange();
sl@0
    87
	TVerdict DoTestStepL();
sl@0
    88
	};
sl@0
    89
	
sl@0
    90
class CTestStepCISbcEncoderGetSetFrequency : public CTestStepCustominterfaceUnificationUnit
sl@0
    91
	{
sl@0
    92
public:
sl@0
    93
	CTestStepCISbcEncoderGetSetFrequency(TBool iIsGetTest);
sl@0
    94
	TVerdict DoTestStepL();
sl@0
    95
private:
sl@0
    96
	TBool iIsGetTest;
sl@0
    97
	};
sl@0
    98
sl@0
    99
class CTestStepCISbcEncoderGetSetChannelMode : public CTestStepCustominterfaceUnificationUnit
sl@0
   100
	{
sl@0
   101
public:
sl@0
   102
	CTestStepCISbcEncoderGetSetChannelMode(TBool iIsGetTest);
sl@0
   103
	TVerdict DoTestStepL();
sl@0
   104
private:
sl@0
   105
	TBool iIsGetTest;
sl@0
   106
	};
sl@0
   107
sl@0
   108
class CTestStepCISbcEncoderGetSetNumOfSubbands : public CTestStepCustominterfaceUnificationUnit
sl@0
   109
	{
sl@0
   110
public:
sl@0
   111
	CTestStepCISbcEncoderGetSetNumOfSubbands(TBool iIsGetTest);
sl@0
   112
	TVerdict DoTestStepL();
sl@0
   113
private:
sl@0
   114
	TBool iIsGetTest;
sl@0
   115
	};
sl@0
   116
sl@0
   117
class CTestStepCISbcEncoderGetSetNumOfBlocks : public CTestStepCustominterfaceUnificationUnit
sl@0
   118
	{
sl@0
   119
public:
sl@0
   120
	CTestStepCISbcEncoderGetSetNumOfBlocks(TBool iIsGetTest);
sl@0
   121
	TVerdict DoTestStepL();
sl@0
   122
private:
sl@0
   123
	TBool iIsGetTest;
sl@0
   124
	};
sl@0
   125
sl@0
   126
class CTestStepCISbcEncoderGetSetAllocationMethod : public CTestStepCustominterfaceUnificationUnit
sl@0
   127
	{
sl@0
   128
public:
sl@0
   129
	CTestStepCISbcEncoderGetSetAllocationMethod(TBool iIsGetTest);
sl@0
   130
	TVerdict DoTestStepL();
sl@0
   131
private:
sl@0
   132
	TBool iIsGetTest;
sl@0
   133
	};
sl@0
   134
sl@0
   135
class CTestStepCISbcEncoderGetSetBitpoolSize : public CTestStepCustominterfaceUnificationUnit
sl@0
   136
	{
sl@0
   137
public:
sl@0
   138
	CTestStepCISbcEncoderGetSetBitpoolSize(TBool iIsGetTest);
sl@0
   139
	TVerdict DoTestStepL();
sl@0
   140
private:
sl@0
   141
	TBool iIsGetTest;
sl@0
   142
	};
sl@0
   143
	
sl@0
   144
class CTestStepCISbcEncoderApplyConfig : public CTestStepCustominterfaceUnificationUnit
sl@0
   145
	{
sl@0
   146
public:
sl@0
   147
	CTestStepCISbcEncoderApplyConfig();
sl@0
   148
	TVerdict DoTestStepL();
sl@0
   149
	};
sl@0
   150
sl@0
   151
#endif