|
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 #ifndef CTESTSTEPBTROMCONFIGBASE_H |
|
17 #define CTESTSTEPBTROMCONFIGBASE_H |
|
18 |
|
19 #include <test/testexecutestepbase.h> |
|
20 #include <test/testexecuteserverbase.h> |
|
21 |
|
22 // constants used for logging |
|
23 _LIT(KErrNotFoundLit, "KErrNotFound"); |
|
24 _LIT(KErrNoneLit, "KErrNone"); |
|
25 _LIT(KErrBadNameLit, "KErrBadName"); |
|
26 _LIT(KErrNotSupportedLit, "KErrNotSupported"); |
|
27 |
|
28 class CTestStepBtRomConfigBase : public CTestStep |
|
29 { |
|
30 public: |
|
31 ~CTestStepBtRomConfigBase(); |
|
32 TVerdict doTestStepL()=0; |
|
33 TVerdict doTestStepPreambleL(); |
|
34 |
|
35 protected: |
|
36 CTestStepBtRomConfigBase(CTestServer& aParent); |
|
37 void CheckAndSetTestResult(); |
|
38 // ideally this should be const, but we need to get the value out of an ini file |
|
39 // and there's no easy way to do this inside the initialization list |
|
40 TBool iBtExcluded; |
|
41 const CTestServer& iParent; |
|
42 }; |
|
43 |
|
44 #endif // CTESTSTEPBTROMCONFIGBASE_H |
|
45 |
|
46 // EOF |