|
1 /** |
|
2 * Copyright (c) 2005-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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file loadcpmStep.h |
|
22 */ |
|
23 #if (!defined __LOADCPM_STEP_H__) |
|
24 #define __LOADCPM_STEP_H__ |
|
25 #include <test/testexecutestepbase.h> |
|
26 #include "Te_ConfiguratorSuiteStepBase.h" |
|
27 #include <comms-infras/c32startcli.h> |
|
28 |
|
29 //NET-CONFIGURATOR-I-0001-HP |
|
30 //Loading a CPM in configurator with OnDemand option 1 |
|
31 class CLoadCpm : public CTe_ConfiguratorSuiteStepBase |
|
32 { |
|
33 public: |
|
34 CLoadCpm(); |
|
35 ~CLoadCpm(); |
|
36 virtual TVerdict doTestStepL(); |
|
37 }; |
|
38 _LIT(KLoadCpm,"LoadCpm"); |
|
39 |
|
40 //NET-CONFIGURATOR-I-0002-HP |
|
41 //Loading CPM More Than one time in a Configurator |
|
42 |
|
43 class CLoadCpmMorethanOne : public CTe_ConfiguratorSuiteStepBase |
|
44 { |
|
45 public: |
|
46 CLoadCpmMorethanOne(); |
|
47 ~CLoadCpmMorethanOne(); |
|
48 virtual TVerdict doTestStepL(); |
|
49 }; |
|
50 _LIT(KLoadCpmMorethanOne,"LoadCpmMorethanOne"); |
|
51 |
|
52 //NET-CONFIGURATOR-I-0003-HP |
|
53 //Loading a CPM in configurator During Boot time |
|
54 |
|
55 class CLoadCpmBootTime: public CTe_ConfiguratorSuiteStepBase |
|
56 { |
|
57 public: |
|
58 CLoadCpmBootTime(); |
|
59 ~CLoadCpmBootTime(); |
|
60 virtual TVerdict doTestStepL(); |
|
61 }; |
|
62 _LIT(KLoadCpmBootTime,"LoadCpmBootTime"); |
|
63 |
|
64 //NET-CONFIGURATOR-I-0004-HP |
|
65 //Loading CPM in a Configurator Without CMI files |
|
66 |
|
67 class CLoadCpmWithoutCMI : public CTe_ConfiguratorSuiteStepBase |
|
68 { |
|
69 public: |
|
70 CLoadCpmWithoutCMI(); |
|
71 ~CLoadCpmWithoutCMI(); |
|
72 virtual TVerdict doTestStepL(); |
|
73 }; |
|
74 _LIT(KLoadCpmWithoutCMI,"LoadCpmWithoutCMI"); |
|
75 |
|
76 //NET-CONFIGURATOR-I-0005-HP |
|
77 //Loading of CPM which has different heap option |
|
78 |
|
79 class CLoadCpmWithDiffHeapOption : public CTe_ConfiguratorSuiteStepBase |
|
80 { |
|
81 public: |
|
82 CLoadCpmWithDiffHeapOption(); |
|
83 ~CLoadCpmWithDiffHeapOption(); |
|
84 virtual TVerdict doTestStepL(); |
|
85 }; |
|
86 _LIT(KLoadCpmWithDiffHeapOption,"LoadCpmWithDiffHeapOption"); |
|
87 |
|
88 //NET-CONFIGURATOR-I-0006-HP |
|
89 //Loading OnDemand CPM during Boot time |
|
90 |
|
91 class CLoadOnDemandCpmBootTime : public CTe_ConfiguratorSuiteStepBase |
|
92 { |
|
93 public: |
|
94 CLoadOnDemandCpmBootTime(); |
|
95 ~CLoadOnDemandCpmBootTime(); |
|
96 virtual TVerdict doTestStepL(); |
|
97 }; |
|
98 _LIT(KLoadOnDemandCpmBootTime,"LoadOnDemandCpmBootTime"); |
|
99 |
|
100 //NET-CONFIGURATOR-I-0007-HP |
|
101 //Load same cpm with difference session simultaneously |
|
102 //To be implemented newly |
|
103 class CLoadCpmDiffSession : public CTe_ConfiguratorSuiteStepBase |
|
104 { |
|
105 public: |
|
106 CLoadCpmDiffSession(); |
|
107 ~CLoadCpmDiffSession(); |
|
108 virtual TVerdict doTestStepL(); |
|
109 }; |
|
110 _LIT(KLoadCpmDiffSession,"LoadCpmDiffSession"); |
|
111 |
|
112 |
|
113 //NET-CONFIGURATOR-I-0008-HP |
|
114 //To be implemented newly |
|
115 //Load all CPMs in a group where all modules are OnDemand |
|
116 class CLoadallDemandCpm : public CTe_ConfiguratorSuiteStepBase |
|
117 { |
|
118 public: |
|
119 CLoadallDemandCpm(); |
|
120 ~CLoadallDemandCpm(); |
|
121 virtual TVerdict doTestStepL(); |
|
122 }; |
|
123 _LIT(KLoadallDemandCpm,"LoadallDemandCpm"); |
|
124 |
|
125 //NET-CONFIGURATOR-I-0009-HP |
|
126 //To be implemented newly |
|
127 //Load CPMs of same group in different session simultaneously. |
|
128 class CLoadCpmGrpDiffSession : public CTe_ConfiguratorSuiteStepBase |
|
129 { |
|
130 public: |
|
131 CLoadCpmGrpDiffSession(); |
|
132 ~CLoadCpmGrpDiffSession(); |
|
133 virtual TVerdict doTestStepL(); |
|
134 }; |
|
135 _LIT(KLoadCpmGrpDiffSession,"LoadCpmGrpDiffSession"); |
|
136 |
|
137 //NET-CONFIGURATOR-I-0010-HP |
|
138 //Loading CPM With corrupted CMI files. Missed some mandatory field |
|
139 class CLoadCpmCorruptCMI : public CTe_ConfiguratorSuiteStepBase |
|
140 { |
|
141 public: |
|
142 CLoadCpmCorruptCMI(); |
|
143 ~CLoadCpmCorruptCMI(); |
|
144 virtual TVerdict doTestStepL(); |
|
145 }; |
|
146 _LIT(KLoadCpmCorruptCMI,"LoadCpmCorruptCMI"); |
|
147 |
|
148 //NET-CONFIGURATOR-I-0011-HP |
|
149 //Loading CPM in a Configurator With corrupted or broken CMI files ( fields with wrong spelling Group ) |
|
150 class CLoadCpmBrokenCmi: public CTe_ConfiguratorSuiteStepBase |
|
151 { |
|
152 public: |
|
153 CLoadCpmBrokenCmi(); |
|
154 ~CLoadCpmBrokenCmi(); |
|
155 virtual TVerdict doTestStepL(); |
|
156 }; |
|
157 _LIT(KLoadCpmBrokenCmi,"LoadCpmBrokenCmi"); |
|
158 |
|
159 //NET-CONFIGURATOR-I-0012-HP |
|
160 //Loading CPM in a Configurator With corrupted or broken CMI files ( fields with wrong spelling OnDemand) |
|
161 class CLoadCpmCorruptOnDemand: public CTe_ConfiguratorSuiteStepBase |
|
162 { |
|
163 public: |
|
164 CLoadCpmCorruptOnDemand(); |
|
165 ~CLoadCpmCorruptOnDemand(); |
|
166 virtual TVerdict doTestStepL(); |
|
167 }; |
|
168 _LIT(KLoadCpmCorruptOnDemand,"LoadCpmCorruptOnDemand"); |
|
169 |
|
170 //NET-CONFIGURATOR-I-0035-HP |
|
171 //Added on 23.02.2006 |
|
172 //Loading CPM in a Configurator, two cmi file with same worker id |
|
173 class CLoadCpmSameWorkerID: public CTe_ConfiguratorSuiteStepBase |
|
174 { |
|
175 public: |
|
176 CLoadCpmSameWorkerID(); |
|
177 ~CLoadCpmSameWorkerID(); |
|
178 virtual TVerdict doTestStepL(); |
|
179 }; |
|
180 _LIT(KLoadCpmSameWorkerID,"LoadCpmSameWorkerID"); |
|
181 |
|
182 class CLoadCpmBindTimeOut : public CTe_ConfiguratorSuiteStepBase |
|
183 { |
|
184 public: |
|
185 CLoadCpmBindTimeOut(); |
|
186 ~CLoadCpmBindTimeOut(); |
|
187 virtual TVerdict doTestStepL(); |
|
188 }; |
|
189 _LIT(KLoadCpmBindTimeOut,"LoadCpmBindTimeOut"); |
|
190 |
|
191 class CLoadOnDemandBootCPMFailToLoad : public CTe_ConfiguratorSuiteStepBase |
|
192 { |
|
193 public: |
|
194 CLoadOnDemandBootCPMFailToLoad(); |
|
195 ~CLoadOnDemandBootCPMFailToLoad(); |
|
196 virtual TVerdict doTestStepL(); |
|
197 }; |
|
198 _LIT(KLoadOnDemandBootCPMFailToLoad,"LoadOnDemandBootCPMFailToLoad"); |
|
199 |
|
200 class COnDemandCPMFailToLoad : public CTe_ConfiguratorSuiteStepBase |
|
201 { |
|
202 public: |
|
203 COnDemandCPMFailToLoad(); |
|
204 ~COnDemandCPMFailToLoad(); |
|
205 virtual TVerdict doTestStepL(); |
|
206 }; |
|
207 _LIT(KOnDemandCPMFailToLoad,"OnDemandCPMFailToLoad"); |
|
208 |
|
209 class COnDemandCPMFailToLoadBindingOrderChanged : public CTe_ConfiguratorSuiteStepBase |
|
210 { |
|
211 public: |
|
212 COnDemandCPMFailToLoadBindingOrderChanged(); |
|
213 ~COnDemandCPMFailToLoadBindingOrderChanged(); |
|
214 virtual TVerdict doTestStepL(); |
|
215 }; |
|
216 _LIT(KOnDemandCPMFailToLoadBindingOrderChanged,"OnDemandCPMFailToLoadBindingOrderChanged"); |
|
217 |
|
218 class CLoadOnDemandCPMOneofTwoBindingsFail : public CTe_ConfiguratorSuiteStepBase |
|
219 { |
|
220 public: |
|
221 CLoadOnDemandCPMOneofTwoBindingsFail(); |
|
222 ~CLoadOnDemandCPMOneofTwoBindingsFail(); |
|
223 virtual TVerdict doTestStepL(); |
|
224 }; |
|
225 _LIT(KLoadOnDemandCPMOneofTwoBindingsFail,"LoadOnDemandCPMOneofTwoBindingsFail"); |
|
226 |
|
227 #endif |
|
228 |