|
1 // Copyright (c) 2003-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 // |
|
15 |
|
16 #ifndef __TSU_MMF_SWCDWRAP_STEPSTARTCONVERT_H__ |
|
17 #define __TSU_MMF_SWCDWRAP_STEPSTARTCONVERT_H__ |
|
18 |
|
19 #include "TSU_MMF_SWCDWRAP_Step.h" |
|
20 |
|
21 class CTestSuite; |
|
22 class CTestSuite_MMF_SWCDWRAP; |
|
23 class CTestConvertMMFHwDeviceObserver; |
|
24 |
|
25 /** |
|
26 * |
|
27 * CTestStep_MMF_SWCDWRAP_StartTestConvert, which is the base class for all |
|
28 * the MMF BASECL suite test steps that test the Start() |
|
29 * method when used for convertion. |
|
30 * |
|
31 * @lib "TSU_MMF_SWCDWRAP.lib" |
|
32 * |
|
33 * @xxxx |
|
34 * |
|
35 */ |
|
36 class CTestStep_MMF_SWCDWRAP_StartTestConvert : public CTestStep_MMF_SWCDWRAP |
|
37 { |
|
38 protected: |
|
39 virtual TVerdict DoTestStepPreambleL(); |
|
40 virtual TVerdict DoTestStepPostambleL(); |
|
41 TVerdict InitializeTestStepUsingHwDeviceL(TUid aHwDeviceUid); |
|
42 protected: |
|
43 CActiveScheduler* iActiveScheduler; |
|
44 CMMFHwDevice* iHwDevice; |
|
45 CTestConvertMMFHwDeviceObserver* iHwDeviceObserver; |
|
46 }; |
|
47 |
|
48 |
|
49 /** |
|
50 * |
|
51 * CTestStep_MMF_SWCDWRAP_StartTest2To1Convert, which is the base class for all |
|
52 * the MMF SWCDWRAP suite test steps that test the Start() |
|
53 * method when used for convertion when using the 2 to 1 buffer ratio codec. |
|
54 * |
|
55 * @lib "TSU_MMF_SWCDWRAP.lib" |
|
56 * |
|
57 */ |
|
58 class CTestStep_MMF_SWCDWRAP_StartTest2To1Convert : public CTestStep_MMF_SWCDWRAP_StartTestConvert |
|
59 { |
|
60 protected: |
|
61 virtual TVerdict DoTestStepPreambleL(); |
|
62 }; |
|
63 |
|
64 |
|
65 class CTestStep_MMF_SWCDWRAP_U_0200 : public CTestStep_MMF_SWCDWRAP_StartTestConvert |
|
66 { |
|
67 public: |
|
68 CTestStep_MMF_SWCDWRAP_U_0200() ; |
|
69 ~CTestStep_MMF_SWCDWRAP_U_0200(){} ; |
|
70 virtual TVerdict DoTestStepL(); |
|
71 private: |
|
72 TBool CompareL( RFile& aFile1, RFile& aFile2, TUint aCompareLength ); |
|
73 } ; |
|
74 |
|
75 |
|
76 class CTestStep_MMF_SWCDWRAP_U_0240 : public CTestStep_MMF_SWCDWRAP_StartTest2To1Convert |
|
77 { |
|
78 public: |
|
79 CTestStep_MMF_SWCDWRAP_U_0240() ; |
|
80 ~CTestStep_MMF_SWCDWRAP_U_0240(){} ; |
|
81 virtual TVerdict DoTestStepL(); |
|
82 } ; |
|
83 |
|
84 #endif /* __TSU_MMF_SWCDWRAP_STEPSTARTCONVERT_H__ */ |