|
1 |
|
2 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // Header file: Basic tests. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 */ |
|
23 |
|
24 #ifndef TE_SimMisc_H__ |
|
25 #define TE_SimMisc_H__ |
|
26 |
|
27 #include "Te_SimMiscTestStepBase.h" |
|
28 |
|
29 const TInt KLocalTel=32; |
|
30 const TInt KRemoteTel=32; |
|
31 |
|
32 //------------------------------------------------------------------ |
|
33 |
|
34 /** |
|
35 * This class substitutes function SignalAndBatteryStrengthTestL() from T_SimMisc |
|
36 * |
|
37 */ |
|
38 class CSignalAndBatteryStrengthTest : public CSimMiscTestStepBase |
|
39 { |
|
40 public: |
|
41 CSignalAndBatteryStrengthTest() ; |
|
42 ~CSignalAndBatteryStrengthTest(){} ; |
|
43 virtual TVerdict doTestStepL( void ); |
|
44 |
|
45 } ; |
|
46 |
|
47 //------------------------------------------------------------------ |
|
48 |
|
49 /** |
|
50 * This class substitutes function SubscriberIdTestL() from T_SimMisc |
|
51 * |
|
52 */ |
|
53 class CSubscriberIdTest : public CSimMiscTestStepBase |
|
54 { |
|
55 public: |
|
56 CSubscriberIdTest() ; |
|
57 ~CSubscriberIdTest(){} ; |
|
58 virtual TVerdict doTestStepL( void ); |
|
59 |
|
60 } ; |
|
61 |
|
62 //------------------------------------------------------------------ |
|
63 |
|
64 /** |
|
65 * This class substitutes function PhoneStoreTestL() from T_SimMisc |
|
66 * |
|
67 */ |
|
68 class CPhoneStoreTest : public CSimMiscTestStepBase |
|
69 { |
|
70 public: |
|
71 CPhoneStoreTest() ; |
|
72 ~CPhoneStoreTest(){} ; |
|
73 virtual TVerdict doTestStepL( void ); |
|
74 |
|
75 } ; |
|
76 |
|
77 //------------------------------------------------------------------ |
|
78 |
|
79 /** |
|
80 * This class substitutes function GetCapsL() from T_SimMisc |
|
81 * |
|
82 */ |
|
83 class CGetCaps : public CSimMiscTestStepBase |
|
84 { |
|
85 public: |
|
86 CGetCaps() ; |
|
87 ~CGetCaps(){} ; |
|
88 virtual TVerdict doTestStepL( void ); |
|
89 |
|
90 } ; |
|
91 |
|
92 //------------------------------------------------------------------ |
|
93 |
|
94 /** |
|
95 * This class substitutes function GetLinesStatusL() from T_SimMisc |
|
96 * |
|
97 */ |
|
98 class CGetLinesStatus : public CSimMiscTestStepBase |
|
99 { |
|
100 public: |
|
101 CGetLinesStatus() ; |
|
102 ~CGetLinesStatus(){} ; |
|
103 virtual TVerdict doTestStepL( void ); |
|
104 |
|
105 } ; |
|
106 |
|
107 //------------------------------------------------------------------ |
|
108 |
|
109 /** |
|
110 * This class substitutes function GetMultimodeCapsL() from T_SimMisc |
|
111 * |
|
112 */ |
|
113 class CGetMultimodeCaps : public CSimMiscTestStepBase |
|
114 { |
|
115 public: |
|
116 CGetMultimodeCaps() ; |
|
117 ~CGetMultimodeCaps(){} ; |
|
118 virtual TVerdict doTestStepL( void ); |
|
119 |
|
120 } ; |
|
121 |
|
122 //------------------------------------------------------------------ |
|
123 |
|
124 /** |
|
125 * This class substitutes function GetNetworkCapsL() from T_SimMisc |
|
126 * |
|
127 */ |
|
128 class CGetNetworkCaps : public CSimMiscTestStepBase |
|
129 { |
|
130 public: |
|
131 CGetNetworkCaps() ; |
|
132 ~CGetNetworkCaps(){} ; |
|
133 virtual TVerdict doTestStepL( void ); |
|
134 |
|
135 } ; |
|
136 |
|
137 //------------------------------------------------------------------ |
|
138 |
|
139 /** |
|
140 * This class substitutes function GetCurrentModeL() from T_SimMisc |
|
141 * |
|
142 */ |
|
143 class CGetCurrentMode : public CSimMiscTestStepBase |
|
144 { |
|
145 public: |
|
146 CGetCurrentMode() ; |
|
147 ~CGetCurrentMode(){} ; |
|
148 virtual TVerdict doTestStepL( void ); |
|
149 |
|
150 } ; |
|
151 |
|
152 //------------------------------------------------------------------ |
|
153 |
|
154 /** |
|
155 * This class tests GetPhoneId and GetIdentityCaps |
|
156 * |
|
157 */ |
|
158 class CGetPhoneId : public CSimMiscTestStepBase |
|
159 { |
|
160 public: |
|
161 CGetPhoneId() ; |
|
162 ~CGetPhoneId(){} ; |
|
163 virtual TVerdict doTestStepL( void ); |
|
164 } ; |
|
165 |
|
166 |
|
167 /** |
|
168 * This class tests Publish & Subscribe support |
|
169 * |
|
170 */ |
|
171 class CPubSubMode : public CSimMiscTestStepBase |
|
172 { |
|
173 public: |
|
174 CPubSubMode() ; |
|
175 ~CPubSubMode(){} ; |
|
176 virtual TVerdict doTestStepL( void ); |
|
177 |
|
178 private: |
|
179 void DisconnectFromEtel(); |
|
180 TInt ConnectToEtelL(); |
|
181 void TestCallInitiationL(const TDesC& aLineName, TUid aPSCallInitCategory, const TInt aPSCallInitKey); |
|
182 } ; |
|
183 |
|
184 #endif// TE_SimMisc_H__ |
|
185 |