|
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 __GETINIENUMERATE_STEP_H__) |
|
24 #define __GETINIENUMERATE_STEP_H__ |
|
25 #include <test/testexecutestepbase.h> |
|
26 #include "Te_ConfiguratorSuiteStepBase.h" |
|
27 #include <comms-infras/c32startcli.h> |
|
28 #include "Te_ConfiguratorSuiteDefs.h" |
|
29 #include <cinidata.h> |
|
30 |
|
31 //NET-CONFIGURATOR-I-0018-HP |
|
32 //Getting Info about CPM in a Configurator |
|
33 class CGetInfoCpm : public CTe_ConfiguratorSuiteStepBase |
|
34 { |
|
35 public: |
|
36 CGetInfoCpm(); |
|
37 ~CGetInfoCpm(); |
|
38 virtual TVerdict doTestStepL(); |
|
39 }; |
|
40 _LIT(KGetInfoCpm,"GetInfoCpm"); |
|
41 |
|
42 //NET-CONFIGURATOR-I-0019-HP |
|
43 //Getting ini data section which should be long |
|
44 class CGetLongIniInfoCpm : public CTe_ConfiguratorSuiteStepBase |
|
45 { |
|
46 public: |
|
47 CGetLongIniInfoCpm(); |
|
48 ~CGetLongIniInfoCpm(); |
|
49 virtual TVerdict doTestStepL(); |
|
50 }; |
|
51 _LIT(KGetLongIniInfoCpm,"GetLongIniInfoCpm"); |
|
52 |
|
53 |
|
54 //NET-CONFIGURATOR-I-0020-HP |
|
55 //Getting ini data section which should multiple lines of ini data |
|
56 class CGetMultiLineIniInfoCpm : public CTe_ConfiguratorSuiteStepBase |
|
57 { |
|
58 public: |
|
59 CGetMultiLineIniInfoCpm(); |
|
60 ~CGetMultiLineIniInfoCpm(); |
|
61 virtual TVerdict doTestStepL(); |
|
62 }; |
|
63 _LIT(KGetMultiLineIniInfoCpm,"GetMultiLineIniInfoCpm"); |
|
64 |
|
65 // NET-CONFIGURATOR-I-0021-HP |
|
66 //Getting Info about CPM in a Configurator without CMI files |
|
67 class CGetInfoCpmWithoutCMI : public CTe_ConfiguratorSuiteStepBase |
|
68 { |
|
69 public: |
|
70 CGetInfoCpmWithoutCMI(); |
|
71 ~CGetInfoCpmWithoutCMI(); |
|
72 virtual TVerdict doTestStepL(); |
|
73 }; |
|
74 _LIT(KGetInfoCpmWithoutCMI,"GetInfoCpmWithoutCMI"); |
|
75 |
|
76 // NET-CONFIGURATOR-I-00022-HP |
|
77 //Getting Info about CPM with cmi which does not have iniData section in CMI file |
|
78 class CGetInfoCpmWithoutINI : public CTe_ConfiguratorSuiteStepBase |
|
79 { |
|
80 public: |
|
81 CGetInfoCpmWithoutINI(); |
|
82 ~CGetInfoCpmWithoutINI(); |
|
83 virtual TVerdict doTestStepL(); |
|
84 }; |
|
85 _LIT(KGetInfCpmWithoutINI,"GetInfCpmWithoutINI"); |
|
86 |
|
87 // NET-CONFIGURATOR-I-0023-HP |
|
88 //Getting Info about CPM with cmi iniData overflow |
|
89 //To be implemented |
|
90 class CGetInfoCpmIniOverflow : public CTe_ConfiguratorSuiteStepBase |
|
91 { |
|
92 public: |
|
93 CGetInfoCpmIniOverflow (); |
|
94 ~CGetInfoCpmIniOverflow (); |
|
95 virtual TVerdict doTestStepL(); |
|
96 }; |
|
97 _LIT(KGetInfoCpmIniOverflow,"GetInfoCpmIniOverflow"); |
|
98 //NET-CONFIGURATOR-I-0024-HP |
|
99 //Request for The list of modules in The configurator |
|
100 class CListModules : public CTe_ConfiguratorSuiteStepBase |
|
101 { |
|
102 public: |
|
103 CListModules(); |
|
104 ~CListModules(); |
|
105 virtual TVerdict doTestStepL(); |
|
106 }; |
|
107 _LIT(KListModules,"ListModules"); |
|
108 |
|
109 //NET-CONFIGURATOR-I-0025-HP |
|
110 //Enumerate one group and then enumerate another group |
|
111 class CEnumerateGroup: public CTe_ConfiguratorSuiteStepBase |
|
112 { |
|
113 public: |
|
114 CEnumerateGroup(); |
|
115 ~CEnumerateGroup(); |
|
116 virtual TVerdict doTestStepL(); |
|
117 }; |
|
118 _LIT(KEnumerateGroup,"EnumerateGroup"); |
|
119 |
|
120 //NET-CONFIGURATOR-I-0026-HP |
|
121 //Enumerate cpm with two cmi file which has same CPM name |
|
122 class CEnumeratCpmwithTwoCmi: public CTe_ConfiguratorSuiteStepBase |
|
123 { |
|
124 public: |
|
125 CEnumeratCpmwithTwoCmi(); |
|
126 ~CEnumeratCpmwithTwoCmi(); |
|
127 virtual TVerdict doTestStepL(); |
|
128 }; |
|
129 _LIT(KEnumeratCpmwithTwoCmi,"EnumeratCpmwithTwoCmi"); |
|
130 |
|
131 //NET-CONFIGURATOR-I-0027-HP |
|
132 //Enumerate cpm in a group which has only one CMI file |
|
133 class CEnumeratCpmwithOneCmi: public CTe_ConfiguratorSuiteStepBase |
|
134 { |
|
135 public: |
|
136 CEnumeratCpmwithOneCmi(); |
|
137 ~CEnumeratCpmwithOneCmi(); |
|
138 virtual TVerdict doTestStepL(); |
|
139 }; |
|
140 _LIT(KEnumeratCpmwithOneCmi,"EnumeratCpmwithOneCmi"); |
|
141 |
|
142 |
|
143 //NET-CONFIGURATOR-I-0028-HP |
|
144 //Request for The list of modules in The configurator unknown group name |
|
145 class CListModulesGroupUnknown : public CTe_ConfiguratorSuiteStepBase |
|
146 { |
|
147 public: |
|
148 CListModulesGroupUnknown(); |
|
149 ~CListModulesGroupUnknown(); |
|
150 virtual TVerdict doTestStepL(); |
|
151 }; |
|
152 _LIT(KListModulesGroupUnknown,"ListModulesGroupUnknown"); |
|
153 |
|
154 |
|
155 enum EModuleName |
|
156 { |
|
157 EModuleNotFoundEarlier = 0, |
|
158 EModuleFoundNow |
|
159 }; |
|
160 |
|
161 |
|
162 #endif |
|
163 |