sl@0
|
1 |
// Copyright (c) 2003-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 |
// This contains CTestSuite_MMF_SwCodecDevices
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
#ifndef __TSU_MMF_SWCODECDEVICES_SUITE_H_
|
sl@0
|
19 |
#define __TSU_MMF_SWCODECDEVICES_SUITE_H_
|
sl@0
|
20 |
|
sl@0
|
21 |
#include <testframework.h>
|
sl@0
|
22 |
|
sl@0
|
23 |
/*
|
sl@0
|
24 |
TMmfAudioControllerPanics is an enumeration with the following entries:
|
sl@0
|
25 |
EBadArgument indicates a bad argument
|
sl@0
|
26 |
EBadState indicates a state viaolation
|
sl@0
|
27 |
EBadInvariant indicates an invariant violation
|
sl@0
|
28 |
EBadReset indicates failed reset
|
sl@0
|
29 |
EPostConditionViolation indicates a post condition violation
|
sl@0
|
30 |
*/
|
sl@0
|
31 |
enum TMmfCodecTestPanics
|
sl@0
|
32 |
{
|
sl@0
|
33 |
EBadArgument,
|
sl@0
|
34 |
EBadState,
|
sl@0
|
35 |
EBadInvariant,
|
sl@0
|
36 |
EBadReset,
|
sl@0
|
37 |
EPostConditionViolation
|
sl@0
|
38 |
};
|
sl@0
|
39 |
|
sl@0
|
40 |
/**
|
sl@0
|
41 |
* Panic
|
sl@0
|
42 |
* This method generates a panic
|
sl@0
|
43 |
* @param "TInt"
|
sl@0
|
44 |
* @xxxx
|
sl@0
|
45 |
*/
|
sl@0
|
46 |
inline void Panic(TInt aPanicCode)
|
sl@0
|
47 |
{
|
sl@0
|
48 |
_LIT(KMMFTestSwHwDevicesPanicCategory, "MMFTestSwHwDevices");
|
sl@0
|
49 |
User::Panic(KMMFTestSwHwDevicesPanicCategory, aPanicCode);
|
sl@0
|
50 |
}
|
sl@0
|
51 |
|
sl@0
|
52 |
class CTestStep_MMF_SwCodecDevices;
|
sl@0
|
53 |
|
sl@0
|
54 |
class CTestSuite_MMF_SwCodecDevices : public CTestSuite
|
sl@0
|
55 |
{
|
sl@0
|
56 |
public:
|
sl@0
|
57 |
|
sl@0
|
58 |
void InitialiseL( void );
|
sl@0
|
59 |
virtual ~CTestSuite_MMF_SwCodecDevices();
|
sl@0
|
60 |
void AddTestStepL( CTestStep_MMF_SwCodecDevices *ptrTestStep );
|
sl@0
|
61 |
TPtrC GetVersion( void );
|
sl@0
|
62 |
void InitSystemPath();
|
sl@0
|
63 |
const TDesC& DefaultPath() const;
|
sl@0
|
64 |
|
sl@0
|
65 |
private:
|
sl@0
|
66 |
TFileName iDefaultPath;
|
sl@0
|
67 |
};
|
sl@0
|
68 |
|
sl@0
|
69 |
|
sl@0
|
70 |
#endif /* TSU_MMF_SWCODECDEVICES_SUITE_H_ */
|
sl@0
|
71 |
|