equal
deleted
inserted
replaced
|
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 the License "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 #if (!defined __TEST_STEP_V2_H__) |
|
20 #define __TEST_STEP_V2_H__ |
|
21 |
|
22 // EPOC includes |
|
23 #include <test/testexecutestepbase.h> |
|
24 |
|
25 class CTestStepV2 : public CTestStep |
|
26 { |
|
27 public: |
|
28 TBool GetBoolFromConfig(const TDesC& aSectName,const TDesC& aKeyName,TBool& aResult); |
|
29 TBool GetIntFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TInt& aResult); |
|
30 TBool GetStringFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TPtrC& aResult); |
|
31 TBool GetHexFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TInt& aResult); |
|
32 |
|
33 protected: |
|
34 CTestStepV2(); |
|
35 virtual ~CTestStepV2(); |
|
36 |
|
37 virtual enum TVerdict doTestStepPreambleL(); |
|
38 |
|
39 private: |
|
40 TBool GetCommandStringParameterL(const TDesC& aSectName, const TDesC& aKeyName, TPtrC& aResult); |
|
41 |
|
42 private: |
|
43 // Included ini files |
|
44 RPointerArray<CIniData> iInclude; |
|
45 RPointerArray<HBufC> iBuffer; |
|
46 }; |
|
47 |
|
48 #endif /* __TEST_STEP_V2_H__ */ |