os/mm/mmlibs/mmfw/tsrc/mmfunittest/DevSoundTest/CIPlugins/src/teststepcisbcencoder.h
Update contrib.
1 // Copyright (c) 2007-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.
16 #ifndef TESTSTEPCISBCENCODER_H
17 #define TESTSTEPCISBCENCODER_H
19 #include <testframework.h>
21 // Custom interface definitions
22 #include <mmf/server/devsoundstandardcustominterfaces.h>
23 #include <mmf/plugin/mmfdevsoundcustominterface.hrh>
25 #include "devsoundciutestdevices.hrh"
27 // Test system includes
28 #include "tsu_mmf_devsound_ciu_step.h"
29 #include "tsu_mmf_devsound_ciu_suite.h"
31 class CTestStepCISbcEncoder : public CTestStepCustominterfaceUnificationUnit
34 CTestStepCISbcEncoder();
35 TVerdict DoTestStepL();
38 class CTestStepCISbcEncoderGetSupportedFrequencies : public CTestStepCustominterfaceUnificationUnit
41 CTestStepCISbcEncoderGetSupportedFrequencies();
42 TVerdict DoTestStepL();
44 TBool ValidateArray(const RArray<TUint>& aArray) const;
47 class CTestStepCISbcEncoderGetSupportedSubbands : public CTestStepCustominterfaceUnificationUnit
50 CTestStepCISbcEncoderGetSupportedSubbands();
51 TVerdict DoTestStepL();
53 TBool ValidateArray(const RArray<TUint>& aArray) const;
56 class CTestStepCISbcEncoderGetSupportedNumOfBlocks : public CTestStepCustominterfaceUnificationUnit
59 CTestStepCISbcEncoderGetSupportedNumOfBlocks();
60 TVerdict DoTestStepL();
62 TBool ValidateArray(const RArray<TUint>& aArray) const;
65 class CTestStepCISbcEncoderGetSupportedChannelModes : public CTestStepCustominterfaceUnificationUnit
68 CTestStepCISbcEncoderGetSupportedChannelModes();
69 TVerdict DoTestStepL();
71 TBool ValidateArray(const RArray<MSbcEncoderIntfc::TSbcChannelMode>& aArray) const;
74 class CTestStepCISbcEncoderGetSupportedAllocationMethods : public CTestStepCustominterfaceUnificationUnit
77 CTestStepCISbcEncoderGetSupportedAllocationMethods();
78 TVerdict DoTestStepL();
80 TBool ValidateArray(const RArray<MSbcEncoderIntfc::TSbcAllocationMethod>& aArray) const;
83 class CTestStepCISbcEncoderGetSupportedBitpoolRange : public CTestStepCustominterfaceUnificationUnit
86 CTestStepCISbcEncoderGetSupportedBitpoolRange();
87 TVerdict DoTestStepL();
90 class CTestStepCISbcEncoderGetSetFrequency : public CTestStepCustominterfaceUnificationUnit
93 CTestStepCISbcEncoderGetSetFrequency(TBool iIsGetTest);
94 TVerdict DoTestStepL();
99 class CTestStepCISbcEncoderGetSetChannelMode : public CTestStepCustominterfaceUnificationUnit
102 CTestStepCISbcEncoderGetSetChannelMode(TBool iIsGetTest);
103 TVerdict DoTestStepL();
108 class CTestStepCISbcEncoderGetSetNumOfSubbands : public CTestStepCustominterfaceUnificationUnit
111 CTestStepCISbcEncoderGetSetNumOfSubbands(TBool iIsGetTest);
112 TVerdict DoTestStepL();
117 class CTestStepCISbcEncoderGetSetNumOfBlocks : public CTestStepCustominterfaceUnificationUnit
120 CTestStepCISbcEncoderGetSetNumOfBlocks(TBool iIsGetTest);
121 TVerdict DoTestStepL();
126 class CTestStepCISbcEncoderGetSetAllocationMethod : public CTestStepCustominterfaceUnificationUnit
129 CTestStepCISbcEncoderGetSetAllocationMethod(TBool iIsGetTest);
130 TVerdict DoTestStepL();
135 class CTestStepCISbcEncoderGetSetBitpoolSize : public CTestStepCustominterfaceUnificationUnit
138 CTestStepCISbcEncoderGetSetBitpoolSize(TBool iIsGetTest);
139 TVerdict DoTestStepL();
144 class CTestStepCISbcEncoderApplyConfig : public CTestStepCustominterfaceUnificationUnit
147 CTestStepCISbcEncoderApplyConfig();
148 TVerdict DoTestStepL();