|
1 // Copyright (c) 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 // |
|
15 |
|
16 #include "ElementStep.h" |
|
17 |
|
18 |
|
19 CElementStep1::~CElementStep1() |
|
20 /** |
|
21 * Destructor |
|
22 */ |
|
23 { |
|
24 } |
|
25 |
|
26 CElementStep1::CElementStep1() |
|
27 /** |
|
28 * Constructor |
|
29 */ |
|
30 { |
|
31 // Call base class method to set up the human readable name for logging |
|
32 SetTestStepName(KElementStep1); |
|
33 } |
|
34 |
|
35 TVerdict CElementStep1::doTestStepPreambleL() |
|
36 /** |
|
37 * @return - TVerdict code |
|
38 * Override of base class virtual |
|
39 */ |
|
40 { |
|
41 INFO_PRINTF1(_L("Test Step Preamble")); |
|
42 SetTestStepResult(EPass); |
|
43 return TestStepResult(); |
|
44 } |
|
45 |
|
46 TVerdict CElementStep1::doTestStepL() |
|
47 /** |
|
48 * @return - TVerdict code |
|
49 * Override of base class pure virtual |
|
50 * Demonstrates reading configuration parameters fom an ini file section |
|
51 */ |
|
52 { |
|
53 |
|
54 SetTestStepResult(EPass); |
|
55 INFO_PRINTF1(_L("doTestStepL")); |
|
56 return TestStepResult(); |
|
57 } |
|
58 |
|
59 TVerdict CElementStep1::doTestStepPostambleL() |
|
60 /** |
|
61 * @return - TVerdict code |
|
62 * Override of base class virtual |
|
63 */ |
|
64 { |
|
65 INFO_PRINTF1(_L("Test Step Postamble")); |
|
66 SetTestStepResult(EPass); |
|
67 return TestStepResult(); |
|
68 } |
|
69 |
|
70 |
|
71 CElementStep2::~CElementStep2() |
|
72 /** |
|
73 * Destructor |
|
74 */ |
|
75 { |
|
76 } |
|
77 |
|
78 CElementStep2::CElementStep2(CElementServer& aParent) : iParent(aParent) |
|
79 /** |
|
80 * Constructor |
|
81 */ |
|
82 { |
|
83 // Call base class method to set up the human readable name for logging |
|
84 SetTestStepName(KElementStep2); |
|
85 } |
|
86 |
|
87 TVerdict CElementStep2::doTestStepPreambleL() |
|
88 /** |
|
89 * @return - TVerdict code |
|
90 * Override of base class virtual |
|
91 */ |
|
92 { |
|
93 INFO_PRINTF1(_L("Test Step Preamble")); |
|
94 SetTestStepResult(EPass); |
|
95 return TestStepResult(); |
|
96 } |
|
97 |
|
98 TVerdict CElementStep2::doTestStepL() |
|
99 /** |
|
100 * @return - TVerdict code |
|
101 * Override of base class pure virtual |
|
102 * Demonstrates reading configuration parameters fom an ini file section |
|
103 */ |
|
104 { |
|
105 INFO_PRINTF1(_L("doTestStepL")); |
|
106 SetTestStepResult(EPass); |
|
107 |
|
108 return TestStepResult(); |
|
109 } |
|
110 |
|
111 TVerdict CElementStep2::doTestStepPostambleL() |
|
112 /** |
|
113 * @return - TVerdict code |
|
114 * Override of base class virtual |
|
115 */ |
|
116 { |
|
117 INFO_PRINTF1(_L("Test Step Postamble")); |
|
118 SetTestStepResult(EPass); |
|
119 return TestStepResult(); |
|
120 } |
|
121 // |
|
122 |
|
123 CElementStep3::~CElementStep3() |
|
124 /** |
|
125 * Destructor |
|
126 */ |
|
127 { |
|
128 } |
|
129 |
|
130 CElementStep3::CElementStep3(CElementServer& aParent) : iParent(aParent) |
|
131 /** |
|
132 * Constructor |
|
133 */ |
|
134 { |
|
135 // Call base class method to set up the human readable name for logging |
|
136 SetTestStepName(KElementStep3); |
|
137 } |
|
138 |
|
139 TVerdict CElementStep3::doTestStepPreambleL() |
|
140 /** |
|
141 * @return - TVerdict code |
|
142 * Override of base class virtual |
|
143 */ |
|
144 { |
|
145 INFO_PRINTF1(_L("Test Step Preamble")); |
|
146 SetTestStepResult(EPass); |
|
147 return TestStepResult(); |
|
148 } |
|
149 |
|
150 TVerdict CElementStep3::doTestStepL() |
|
151 /** |
|
152 * @return - TVerdict code |
|
153 * Override of base class pure virtual |
|
154 * Demonstrates reading configuration parameters fom an ini file section |
|
155 */ |
|
156 { |
|
157 INFO_PRINTF1(_L("doTestStepL")); |
|
158 |
|
159 SetTestStepResult(EPass); |
|
160 return TestStepResult(); |
|
161 } |
|
162 |
|
163 TVerdict CElementStep3::doTestStepPostambleL() |
|
164 /** |
|
165 * @return - TVerdict code |
|
166 * Override of base class virtual |
|
167 */ |
|
168 { |
|
169 INFO_PRINTF1(_L("Test Step Postamble")); |
|
170 SetTestStepResult(EPass); |
|
171 return TestStepResult(); |
|
172 } |