0
|
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 |
// OneExampleUnitMMFAudClientTest.cpp
|
|
15 |
// This file contains an example Test step implementation
|
|
16 |
// This demonstrates the various functions provided
|
|
17 |
// by the CTestStep base class which are available within
|
|
18 |
// a test step
|
|
19 |
//
|
|
20 |
//
|
|
21 |
|
|
22 |
|
|
23 |
#if (!defined __ONEEXAMPLE_UNITMMFAUDCLIENTTEST_H__)
|
|
24 |
#define __ONEEXAMPLE_UNITMMFAUDCLIENTTEST_H__
|
|
25 |
|
|
26 |
|
|
27 |
/**
|
|
28 |
*
|
|
29 |
* Example Test
|
|
30 |
*
|
|
31 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
32 |
*
|
|
33 |
* @xxxx
|
|
34 |
*
|
|
35 |
*/
|
|
36 |
class COneExampleUnitMMFAudClientTest : public CTestStepUnitMMFAudClient
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
static COneExampleUnitMMFAudClientTest* NewL();
|
|
40 |
COneExampleUnitMMFAudClientTest();
|
|
41 |
~COneExampleUnitMMFAudClientTest();
|
|
42 |
virtual TVerdict DoTestStepL();
|
|
43 |
|
|
44 |
};
|
|
45 |
|
|
46 |
/**
|
|
47 |
*
|
|
48 |
* Example Test 2
|
|
49 |
*
|
|
50 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
51 |
*
|
|
52 |
* @xxxx
|
|
53 |
*
|
|
54 |
*/
|
|
55 |
class CExampleTest2 : public CTestStepUnitMMFAudClient
|
|
56 |
{
|
|
57 |
public:
|
|
58 |
static CExampleTest2* NewL();
|
|
59 |
CExampleTest2();
|
|
60 |
~CExampleTest2();
|
|
61 |
virtual TVerdict DoTestStepL();
|
|
62 |
|
|
63 |
};
|
|
64 |
|
|
65 |
/**
|
|
66 |
*
|
|
67 |
* Example Test 3
|
|
68 |
*
|
|
69 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
70 |
*
|
|
71 |
* @xxxx
|
|
72 |
*
|
|
73 |
*/
|
|
74 |
class CExampleTest3 : public CTestStepUnitMMFAudClient
|
|
75 |
{
|
|
76 |
public:
|
|
77 |
static CExampleTest3* NewL();
|
|
78 |
CExampleTest3();
|
|
79 |
~CExampleTest3();
|
|
80 |
virtual TVerdict DoTestStepL();
|
|
81 |
|
|
82 |
};
|
|
83 |
|
|
84 |
/**
|
|
85 |
*
|
|
86 |
* Example Test 4
|
|
87 |
*
|
|
88 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
89 |
*
|
|
90 |
* @xxxx
|
|
91 |
*
|
|
92 |
*/
|
|
93 |
class CExampleTest4 : public CTestStepUnitMMFAudClient
|
|
94 |
{
|
|
95 |
public:
|
|
96 |
static CExampleTest4* NewL();
|
|
97 |
CExampleTest4();
|
|
98 |
virtual TVerdict DoTestStepL();
|
|
99 |
|
|
100 |
};
|
|
101 |
|
|
102 |
/**
|
|
103 |
*
|
|
104 |
* Example Test 5
|
|
105 |
*
|
|
106 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
107 |
*
|
|
108 |
* @xxxx
|
|
109 |
*
|
|
110 |
*/
|
|
111 |
class CExampleTest5 : public CTestStepUnitMMFAudClient
|
|
112 |
{
|
|
113 |
public:
|
|
114 |
static CExampleTest5* NewL();
|
|
115 |
CExampleTest5();
|
|
116 |
virtual TVerdict DoTestStepL();
|
|
117 |
|
|
118 |
};
|
|
119 |
|
|
120 |
/**
|
|
121 |
*
|
|
122 |
* Panic Test
|
|
123 |
*
|
|
124 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
125 |
*
|
|
126 |
* @xxxx
|
|
127 |
*
|
|
128 |
*/
|
|
129 |
class CPanicTest : public CTestStepUnitMMFAudClient
|
|
130 |
{
|
|
131 |
public:
|
|
132 |
static CPanicTest* NewL();
|
|
133 |
CPanicTest();
|
|
134 |
virtual TVerdict DoTestStepL();
|
|
135 |
|
|
136 |
};
|
|
137 |
|
|
138 |
/**
|
|
139 |
*
|
|
140 |
* Preamble Panic Test
|
|
141 |
*
|
|
142 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
143 |
*
|
|
144 |
* @xxxx
|
|
145 |
*
|
|
146 |
*/
|
|
147 |
class CPrePanicTest : public CTestStepUnitMMFAudClient
|
|
148 |
{
|
|
149 |
public:
|
|
150 |
static CPrePanicTest* NewL();
|
|
151 |
CPrePanicTest();
|
|
152 |
virtual TVerdict DoTestStepPreambleL();
|
|
153 |
virtual TVerdict DoTestStepL();
|
|
154 |
|
|
155 |
};
|
|
156 |
|
|
157 |
/**
|
|
158 |
*
|
|
159 |
* Postamble Panic Test
|
|
160 |
*
|
|
161 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
162 |
*
|
|
163 |
* @xxxx
|
|
164 |
*
|
|
165 |
*/
|
|
166 |
class CPostPanicTest : public CTestStepUnitMMFAudClient
|
|
167 |
{
|
|
168 |
public:
|
|
169 |
static CPostPanicTest* NewL();
|
|
170 |
CPostPanicTest();
|
|
171 |
virtual TVerdict DoTestStepL();
|
|
172 |
virtual TVerdict DoTestStepPostambleL();
|
|
173 |
|
|
174 |
};
|
|
175 |
|
|
176 |
/**
|
|
177 |
*
|
|
178 |
* FLogTest
|
|
179 |
*
|
|
180 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
181 |
*
|
|
182 |
* @xxxx
|
|
183 |
*
|
|
184 |
*/
|
|
185 |
class CFlogTest : public CTestStepUnitMMFAudClient
|
|
186 |
{
|
|
187 |
public:
|
|
188 |
static CFlogTest* NewL();
|
|
189 |
CFlogTest();
|
|
190 |
virtual TVerdict DoTestStepL();
|
|
191 |
|
|
192 |
};
|
|
193 |
|
|
194 |
/**
|
|
195 |
*
|
|
196 |
* CTimerTest
|
|
197 |
*
|
|
198 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
199 |
*
|
|
200 |
* @xxxx
|
|
201 |
*
|
|
202 |
*/
|
|
203 |
class CTimerTest : public CTestStepUnitMMFAudClient
|
|
204 |
{
|
|
205 |
public:
|
|
206 |
static CTimerTest* NewL();
|
|
207 |
CTimerTest();
|
|
208 |
virtual TVerdict DoTestStepL();
|
|
209 |
|
|
210 |
};
|
|
211 |
|
|
212 |
/**
|
|
213 |
*
|
|
214 |
* Error Code Test
|
|
215 |
*
|
|
216 |
* @lib "TSU_MMF_ACLNT_01.lib"
|
|
217 |
*
|
|
218 |
* @xxxx
|
|
219 |
*
|
|
220 |
*/
|
|
221 |
class CErrorCodeTest : public CTestStepUnitMMFAudClient
|
|
222 |
{
|
|
223 |
public:
|
|
224 |
static CErrorCodeTest* NewL();
|
|
225 |
CErrorCodeTest();
|
|
226 |
virtual TVerdict DoTestStepL();
|
|
227 |
|
|
228 |
};
|
|
229 |
|
|
230 |
|
|
231 |
#endif //(__ONEEXAMPLE_UNITMMFAUDCLIENTTEST_H__)
|