|
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 // |
|
15 |
|
16 /** |
|
17 @file Te_integration_stltsySuiteStepBase.cpp |
|
18 @internalTechnology |
|
19 */ |
|
20 |
|
21 #include "te_integration_stltsysuitestepbase.h" |
|
22 #include "te_integration_stltsysuitedefs.h" |
|
23 |
|
24 // Device driver constants |
|
25 |
|
26 TVerdict CTe_integration_stltsySuiteStepBase::doTestStepPreambleL() |
|
27 /** |
|
28 * @return - TVerdict |
|
29 * Implementation of CTestStep base class virtual |
|
30 * It is used for doing all initialisation common to derived classes in here. |
|
31 * Make it being able to leave if there are any errors here as there's no point in |
|
32 * trying to run a test step if anything fails. |
|
33 * The leave will be picked up by the framework. |
|
34 */ |
|
35 { |
|
36 |
|
37 // process some common pre setting to test steps then set SetTestStepResult to EFail or Epass. |
|
38 INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPreambleL() of the class CTe_integration_stltsySuiteStepBase!")); |
|
39 SetTestStepResult(EPass); |
|
40 return TestStepResult(); |
|
41 } |
|
42 |
|
43 TVerdict CTe_integration_stltsySuiteStepBase::doTestStepPostambleL() |
|
44 /** |
|
45 * @return - TVerdict |
|
46 * Implementation of CTestStep base class virtual |
|
47 * It is used for doing all after test treatment common to derived classes in here. |
|
48 * Make it being able to leave |
|
49 * The leave will be picked up by the framework. |
|
50 */ |
|
51 { |
|
52 |
|
53 // process some common post setting to test steps then set SetTestStepResult to EFail or Epass. |
|
54 INFO_PRINTF1(_L("Please delete this line or modify me!! I am in doTestStepPostambleL() of the class CTe_integration_stltsySuiteStepBase!")); |
|
55 //SetTestStepResult(EPass); // or EFail |
|
56 return TestStepResult(); |
|
57 } |
|
58 |
|
59 CTe_integration_stltsySuiteStepBase::~CTe_integration_stltsySuiteStepBase() |
|
60 { |
|
61 } |
|
62 |
|
63 CTe_integration_stltsySuiteStepBase::CTe_integration_stltsySuiteStepBase() |
|
64 { |
|
65 } |