|
1 // Copyright (c) 2005-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 // Example CTestStep derived implementation |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file reminderstep.cpp |
|
20 @internalTechnology |
|
21 */ |
|
22 #include "reminderstep.h" |
|
23 #include "te_lbsapisuitedefs.h" |
|
24 |
|
25 #include "lcfsbucommondefinitions.h" |
|
26 |
|
27 #include <lbs.h> |
|
28 #include <lbssatellite.h> |
|
29 |
|
30 #include <s32mem.h> |
|
31 |
|
32 CReminderStep::~CReminderStep() |
|
33 /** |
|
34 * Destructor |
|
35 */ |
|
36 { |
|
37 } |
|
38 |
|
39 CReminderStep::CReminderStep() |
|
40 /** |
|
41 * Constructor |
|
42 */ |
|
43 { |
|
44 // **MUST** call SetTestStepName in the constructor as the controlling |
|
45 // framework uses the test step name immediately following construction to set |
|
46 // up the step's unique logging ID. |
|
47 SetTestStepName(KReminderStep); |
|
48 } |
|
49 |
|
50 TVerdict CReminderStep::doTestStepPreambleL() |
|
51 /** |
|
52 * @return - TVerdict code |
|
53 * Override of base class virtual |
|
54 */ |
|
55 { |
|
56 CTe_LbsApiSuiteStepBase::doTestStepPreambleL(); |
|
57 return TestStepResult(); |
|
58 } |
|
59 |
|
60 |
|
61 TVerdict CReminderStep::doTestStepL() |
|
62 /** |
|
63 * @return - TVerdict code |
|
64 * Override of base class pure virtual |
|
65 * Our implementation only gets called if the base class doTestStepPreambleL() did |
|
66 * not leave. That being the case, the current test result value will be EPass. |
|
67 */ |
|
68 { |
|
69 INFO_PRINTF1(KReminderCaption); |
|
70 SetTestStepResult(EPass); |
|
71 return TestStepResult(); |
|
72 } |
|
73 |
|
74 |
|
75 |
|
76 TVerdict CReminderStep::doTestStepPostambleL() |
|
77 /** |
|
78 * @return - TVerdict code |
|
79 * Override of base class virtual |
|
80 */ |
|
81 { |
|
82 return TestStepResult(); |
|
83 } |
|
84 |