|
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 CallEmergency functional unit. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @internalTechnology |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef __CCTSYINTEGRATIONTESTCALLEMERGENCY_H__ |
|
24 #define __CCTSYINTEGRATIONTESTCALLEMERGENCY_H__ |
|
25 |
|
26 |
|
27 #include <test/testexecutestepbase.h> |
|
28 #include "cctsyintegrationtestsuitebase.h" |
|
29 #include "tphonetsytesthelper.h" |
|
30 #include "tnetworktsytesthelper.h" |
|
31 #include "tcallcontroltsytesthelper.h" |
|
32 |
|
33 class CEtelSessionMgr; |
|
34 |
|
35 |
|
36 class CCTSYIntegrationTestCallEmergencyBase : public CCTSYIntegrationTestSuiteStepBase |
|
37 { |
|
38 public: |
|
39 |
|
40 CCTSYIntegrationTestCallEmergencyBase(CEtelSessionMgr& aEtelSessionMgr); |
|
41 virtual ~CCTSYIntegrationTestCallEmergencyBase(); |
|
42 |
|
43 protected: |
|
44 |
|
45 void MakeEmergencyCallL(RMobileCall& aCall, const TDesC& aNumber); |
|
46 |
|
47 //attributes section |
|
48 protected: |
|
49 TNetworkTsyTestHelper iNetworkTestHelper; |
|
50 TPhoneTsyTestHelper iPhoneTestHelper; |
|
51 TCallControlTsyTestHelper iCallControlTestHelper; |
|
52 |
|
53 }; // class CCTSYIntegrationTestCallEmergencyBase |
|
54 |
|
55 |
|
56 class CCTSYIntegrationTestCallEmergency0001 : public CCTSYIntegrationTestCallEmergencyBase |
|
57 { |
|
58 public: |
|
59 |
|
60 CCTSYIntegrationTestCallEmergency0001(CEtelSessionMgr& aEtelSessionMgr); |
|
61 ~CCTSYIntegrationTestCallEmergency0001(); |
|
62 virtual TVerdict doTestStepL(); |
|
63 static TPtrC GetTestStepName(); |
|
64 |
|
65 protected: |
|
66 |
|
67 void DoTest0001L(RMobilePhone &aPhone, RMobileCall& aCall, const TDesC& aNumber, RMobilePhone::TMobilePassword& aPIN2Password); |
|
68 |
|
69 private: |
|
70 |
|
71 }; // class CCTSYIntegrationTestCallEmergency0001 |
|
72 |
|
73 |
|
74 class CCTSYIntegrationTestCallEmergency0002 : public CCTSYIntegrationTestCallEmergencyBase |
|
75 { |
|
76 public: |
|
77 |
|
78 CCTSYIntegrationTestCallEmergency0002(CEtelSessionMgr& aEtelSessionMgr); |
|
79 ~CCTSYIntegrationTestCallEmergency0002(); |
|
80 virtual TVerdict doTestStepL(); |
|
81 static TPtrC GetTestStepName(); |
|
82 |
|
83 private: |
|
84 |
|
85 }; // class CCTSYIntegrationTestCallEmergency0002 |
|
86 |
|
87 |
|
88 class CCTSYIntegrationTestCallEmergency0003 : public CCTSYIntegrationTestCallEmergencyBase |
|
89 { |
|
90 public: |
|
91 |
|
92 CCTSYIntegrationTestCallEmergency0003(CEtelSessionMgr& aEtelSessionMgr); |
|
93 ~CCTSYIntegrationTestCallEmergency0003(); |
|
94 virtual TVerdict doTestStepL(); |
|
95 static TPtrC GetTestStepName(); |
|
96 |
|
97 private: |
|
98 |
|
99 }; // class CCTSYIntegrationTestCallEmergency0003 |
|
100 |
|
101 |
|
102 class CCTSYIntegrationTestCallEmergency0004 : public CCTSYIntegrationTestCallEmergencyBase |
|
103 { |
|
104 public: |
|
105 |
|
106 CCTSYIntegrationTestCallEmergency0004(CEtelSessionMgr& aEtelSessionMgr); |
|
107 ~CCTSYIntegrationTestCallEmergency0004(); |
|
108 virtual TVerdict doTestStepL(); |
|
109 static TPtrC GetTestStepName(); |
|
110 |
|
111 private: |
|
112 |
|
113 }; // class CCTSYIntegrationTestCallEmergency0004 |
|
114 |
|
115 |
|
116 class CCTSYIntegrationTestCallEmergency0005 : public CCTSYIntegrationTestCallEmergencyBase |
|
117 { |
|
118 public: |
|
119 |
|
120 CCTSYIntegrationTestCallEmergency0005(CEtelSessionMgr& aEtelSessionMgr); |
|
121 ~CCTSYIntegrationTestCallEmergency0005(); |
|
122 virtual TVerdict doTestStepL(); |
|
123 static TPtrC GetTestStepName(); |
|
124 |
|
125 private: |
|
126 |
|
127 }; // class CCTSYIntegrationTestCallEmergency0005 |
|
128 |
|
129 |
|
130 class CCTSYIntegrationTestCallEmergency0006 : public CCTSYIntegrationTestCallEmergencyBase |
|
131 { |
|
132 public: |
|
133 |
|
134 CCTSYIntegrationTestCallEmergency0006(CEtelSessionMgr& aEtelSessionMgr); |
|
135 ~CCTSYIntegrationTestCallEmergency0006(); |
|
136 virtual TVerdict doTestStepL(); |
|
137 static TPtrC GetTestStepName(); |
|
138 |
|
139 private: |
|
140 |
|
141 }; // class CCTSYIntegrationTestCallEmergency0006 |
|
142 |
|
143 |
|
144 class CCTSYIntegrationTestCallEmergency0007 : public CCTSYIntegrationTestCallEmergencyBase |
|
145 { |
|
146 public: |
|
147 |
|
148 CCTSYIntegrationTestCallEmergency0007(CEtelSessionMgr& aEtelSessionMgr); |
|
149 ~CCTSYIntegrationTestCallEmergency0007(); |
|
150 virtual TVerdict doTestStepL(); |
|
151 static TPtrC GetTestStepName(); |
|
152 |
|
153 private: |
|
154 |
|
155 }; // class CCTSYIntegrationTestCallEmergency0007 |
|
156 |
|
157 |
|
158 class CCTSYIntegrationTestCallEmergency0008 : public CCTSYIntegrationTestCallEmergencyBase |
|
159 { |
|
160 public: |
|
161 |
|
162 CCTSYIntegrationTestCallEmergency0008(CEtelSessionMgr& aEtelSessionMgr); |
|
163 ~CCTSYIntegrationTestCallEmergency0008(); |
|
164 virtual TVerdict doTestStepL(); |
|
165 static TPtrC GetTestStepName(); |
|
166 |
|
167 private: |
|
168 |
|
169 }; // class CCTSYIntegrationTestCallEmergency0008 |
|
170 |
|
171 |
|
172 class CCTSYIntegrationTestCallEmergency0009 : public CCTSYIntegrationTestCallEmergencyBase |
|
173 { |
|
174 public: |
|
175 |
|
176 CCTSYIntegrationTestCallEmergency0009(CEtelSessionMgr& aEtelSessionMgr); |
|
177 ~CCTSYIntegrationTestCallEmergency0009(); |
|
178 virtual TVerdict doTestStepL(); |
|
179 static TPtrC GetTestStepName(); |
|
180 |
|
181 private: |
|
182 |
|
183 }; // class CCTSYIntegrationTestCallEmergency0009 |
|
184 |
|
185 |
|
186 class CCTSYIntegrationTestCallEmergency0010 : public CCTSYIntegrationTestCallEmergencyBase |
|
187 { |
|
188 public: |
|
189 |
|
190 CCTSYIntegrationTestCallEmergency0010(CEtelSessionMgr& aEtelSessionMgr); |
|
191 ~CCTSYIntegrationTestCallEmergency0010(); |
|
192 virtual TVerdict doTestStepL(); |
|
193 static TPtrC GetTestStepName(); |
|
194 |
|
195 private: |
|
196 |
|
197 }; // class CCTSYIntegrationTestCallEmergency0010 |
|
198 |
|
199 |
|
200 class CCTSYIntegrationTestCallEmergency0011 : public CCTSYIntegrationTestCallEmergencyBase |
|
201 { |
|
202 public: |
|
203 |
|
204 CCTSYIntegrationTestCallEmergency0011(CEtelSessionMgr& aEtelSessionMgr); |
|
205 ~CCTSYIntegrationTestCallEmergency0011(); |
|
206 virtual TVerdict doTestStepL(); |
|
207 static TPtrC GetTestStepName(); |
|
208 |
|
209 private: |
|
210 |
|
211 }; // class CCTSYIntegrationTestCallEmergency0011 |
|
212 |
|
213 |
|
214 |
|
215 #endif // __CCTSYINTEGRATIONTESTCALLEMERGENCY_H__ |