24
|
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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Test step declarations for the DTMF functional unit.
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@internalTechnology
|
|
20 |
*/
|
|
21 |
|
|
22 |
|
|
23 |
#ifndef __CCTSYINTEGRATIONTESTDTMF_H__
|
|
24 |
#define __CCTSYINTEGRATIONTESTDTMF_H__
|
|
25 |
|
|
26 |
|
|
27 |
#include <test/testexecutestepbase.h>
|
|
28 |
#include "cctsyintegrationtestsuitebase.h"
|
|
29 |
#include "tcallcontroltsytesthelper.h"
|
|
30 |
#include "tnetworktsytesthelper.h"
|
|
31 |
|
|
32 |
|
|
33 |
class CEtelSessionMgr;
|
|
34 |
|
|
35 |
|
|
36 |
class CCTSYIntegrationTestDTMFBase : public CCTSYIntegrationTestSuiteStepBase
|
|
37 |
{
|
|
38 |
public:
|
|
39 |
|
|
40 |
CCTSYIntegrationTestDTMFBase(CEtelSessionMgr& aEtelSessionMgr);
|
|
41 |
virtual ~CCTSYIntegrationTestDTMFBase();
|
|
42 |
|
|
43 |
protected:
|
|
44 |
|
|
45 |
void AddCallToConferenceL( RMobileConferenceCall& aConfCall, RMobileCall& aCall, TPtrC& aNumber, TInt index );
|
|
46 |
|
|
47 |
// Declare a TSY test helper here if required
|
|
48 |
|
|
49 |
TCallControlTsyTestHelper iCallControlTestHelper;
|
|
50 |
TNetworkTsyTestHelper iNetworkTestHelper;
|
|
51 |
|
|
52 |
}; // class CCTSYIntegrationTestDTMFBase
|
|
53 |
|
|
54 |
|
|
55 |
class CCTSYIntegrationTestDTMF0001 : public CCTSYIntegrationTestDTMFBase
|
|
56 |
{
|
|
57 |
public:
|
|
58 |
|
|
59 |
CCTSYIntegrationTestDTMF0001(CEtelSessionMgr& aEtelSessionMgr);
|
|
60 |
~CCTSYIntegrationTestDTMF0001();
|
|
61 |
virtual TVerdict doTestStepL();
|
|
62 |
static TPtrC GetTestStepName();
|
|
63 |
|
|
64 |
private:
|
|
65 |
|
|
66 |
}; // class CCTSYIntegrationTestDTMF0001
|
|
67 |
|
|
68 |
|
|
69 |
class CCTSYIntegrationTestDTMF0002 : public CCTSYIntegrationTestDTMFBase
|
|
70 |
{
|
|
71 |
public:
|
|
72 |
|
|
73 |
CCTSYIntegrationTestDTMF0002(CEtelSessionMgr& aEtelSessionMgr);
|
|
74 |
~CCTSYIntegrationTestDTMF0002();
|
|
75 |
virtual TVerdict doTestStepL();
|
|
76 |
static TPtrC GetTestStepName();
|
|
77 |
|
|
78 |
private:
|
|
79 |
|
|
80 |
}; // class CCTSYIntegrationTestDTMF0002
|
|
81 |
|
|
82 |
|
|
83 |
class CCTSYIntegrationTestDTMF0003 : public CCTSYIntegrationTestDTMFBase
|
|
84 |
{
|
|
85 |
public:
|
|
86 |
|
|
87 |
CCTSYIntegrationTestDTMF0003(CEtelSessionMgr& aEtelSessionMgr);
|
|
88 |
~CCTSYIntegrationTestDTMF0003();
|
|
89 |
virtual TVerdict doTestStepL();
|
|
90 |
static TPtrC GetTestStepName();
|
|
91 |
|
|
92 |
private:
|
|
93 |
|
|
94 |
}; // class CCTSYIntegrationTestDTMF0003
|
|
95 |
|
|
96 |
|
|
97 |
class CCTSYIntegrationTestDTMF0004 : public CCTSYIntegrationTestDTMFBase
|
|
98 |
{
|
|
99 |
public:
|
|
100 |
|
|
101 |
CCTSYIntegrationTestDTMF0004(CEtelSessionMgr& aEtelSessionMgr);
|
|
102 |
~CCTSYIntegrationTestDTMF0004();
|
|
103 |
virtual TVerdict doTestStepL();
|
|
104 |
static TPtrC GetTestStepName();
|
|
105 |
|
|
106 |
private:
|
|
107 |
|
|
108 |
}; // class CCTSYIntegrationTestDTMF0004
|
|
109 |
|
|
110 |
|
|
111 |
class CCTSYIntegrationTestDTMF0005 : public CCTSYIntegrationTestDTMFBase
|
|
112 |
{
|
|
113 |
public:
|
|
114 |
|
|
115 |
CCTSYIntegrationTestDTMF0005(CEtelSessionMgr& aEtelSessionMgr);
|
|
116 |
~CCTSYIntegrationTestDTMF0005();
|
|
117 |
virtual TVerdict doTestStepL();
|
|
118 |
static TPtrC GetTestStepName();
|
|
119 |
|
|
120 |
private:
|
|
121 |
|
|
122 |
}; // class CCTSYIntegrationTestDTMF0005
|
|
123 |
|
|
124 |
|
|
125 |
class CCTSYIntegrationTestDTMF0006 : public CCTSYIntegrationTestDTMFBase
|
|
126 |
{
|
|
127 |
public:
|
|
128 |
|
|
129 |
CCTSYIntegrationTestDTMF0006(CEtelSessionMgr& aEtelSessionMgr);
|
|
130 |
~CCTSYIntegrationTestDTMF0006();
|
|
131 |
virtual TVerdict doTestStepL();
|
|
132 |
static TPtrC GetTestStepName();
|
|
133 |
|
|
134 |
private:
|
|
135 |
|
|
136 |
}; // class CCTSYIntegrationTestDTMF0006
|
|
137 |
|
|
138 |
|
|
139 |
class CCTSYIntegrationTestDTMF0007 : public CCTSYIntegrationTestDTMFBase
|
|
140 |
{
|
|
141 |
public:
|
|
142 |
|
|
143 |
CCTSYIntegrationTestDTMF0007(CEtelSessionMgr& aEtelSessionMgr);
|
|
144 |
~CCTSYIntegrationTestDTMF0007();
|
|
145 |
virtual TVerdict doTestStepL();
|
|
146 |
static TPtrC GetTestStepName();
|
|
147 |
|
|
148 |
private:
|
|
149 |
|
|
150 |
}; // class CCTSYIntegrationTestDTMF0007
|
|
151 |
|
|
152 |
|
|
153 |
class CCTSYIntegrationTestDTMF0008 : public CCTSYIntegrationTestDTMFBase
|
|
154 |
{
|
|
155 |
public:
|
|
156 |
|
|
157 |
CCTSYIntegrationTestDTMF0008(CEtelSessionMgr& aEtelSessionMgr);
|
|
158 |
~CCTSYIntegrationTestDTMF0008();
|
|
159 |
virtual TVerdict doTestStepL();
|
|
160 |
static TPtrC GetTestStepName();
|
|
161 |
|
|
162 |
private:
|
|
163 |
|
|
164 |
}; // class CCTSYIntegrationTestDTMF0008
|
|
165 |
|
|
166 |
|
|
167 |
class CCTSYIntegrationTestDTMF0009 : public CCTSYIntegrationTestDTMFBase
|
|
168 |
{
|
|
169 |
public:
|
|
170 |
|
|
171 |
CCTSYIntegrationTestDTMF0009(CEtelSessionMgr& aEtelSessionMgr);
|
|
172 |
~CCTSYIntegrationTestDTMF0009();
|
|
173 |
virtual TVerdict doTestStepL();
|
|
174 |
static TPtrC GetTestStepName();
|
|
175 |
|
|
176 |
private:
|
|
177 |
|
|
178 |
}; // class CCTSYIntegrationTestDTMF0009
|
|
179 |
|
|
180 |
|
|
181 |
class CCTSYIntegrationTestDTMF0010 : public CCTSYIntegrationTestDTMFBase
|
|
182 |
{
|
|
183 |
public:
|
|
184 |
|
|
185 |
CCTSYIntegrationTestDTMF0010(CEtelSessionMgr& aEtelSessionMgr);
|
|
186 |
~CCTSYIntegrationTestDTMF0010();
|
|
187 |
virtual TVerdict doTestStepL();
|
|
188 |
static TPtrC GetTestStepName();
|
|
189 |
|
|
190 |
private:
|
|
191 |
|
|
192 |
}; // class CCTSYIntegrationTestDTMF0010
|
|
193 |
|
|
194 |
|
|
195 |
class CCTSYIntegrationTestDTMF0011 : public CCTSYIntegrationTestDTMFBase
|
|
196 |
{
|
|
197 |
public:
|
|
198 |
|
|
199 |
CCTSYIntegrationTestDTMF0011(CEtelSessionMgr& aEtelSessionMgr);
|
|
200 |
~CCTSYIntegrationTestDTMF0011();
|
|
201 |
virtual TVerdict doTestStepL();
|
|
202 |
static TPtrC GetTestStepName();
|
|
203 |
|
|
204 |
private:
|
|
205 |
|
|
206 |
void CCTSYIntegrationTestDTMF0011::AddCallToConferenceL(RMobileConferenceCall& aConfCall,
|
|
207 |
RMobileCall& aCall,
|
|
208 |
TPtrC& aNumber,
|
|
209 |
TInt index);
|
|
210 |
|
|
211 |
}; // class CCTSYIntegrationTestDTMF0011
|
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
#endif // __CCTSYINTEGRATIONTESTDTMF_H__
|