Update contrib.
1 // Copyright (c) 2002-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This file contains definitions of the test step classes for RTestStepVirtualStub
18 #ifndef __TESTSTEPVIRTUALSTUB_H__
19 #define __TESTSTEPVIRTUALSTUB_H__
22 _LIT(KTestStepVirtualStubName, "TestStepVirtualStub");
23 _LIT(KTestStepVirtualStub2Name, "TestStepVirtualStub2");
25 // RTestStepVirtualStub : a test step stub class to run testing on
27 class RTestStepVirtualStub : public RTestStep
30 static RTestStepVirtualStub* NewL();
31 RTestStepVirtualStub();
32 virtual TVerdict OpenL();
34 virtual TVerdict DoTestStepL();
36 // extra accessors for testing
37 CTestSuite* TestGetSuite() const;
38 TVerdict TestGetResult() const;
39 void TestSetStepName(const TDesC& aName);
44 TBool TestGetBoolFromConfig(const TDesC &aSectName, const TDesC &aKeyName, TBool &aResult);
52 // RTestStepVirtualStub2 : a test step stub class which is identical to
53 // RTestStepVirtualStub in all but name.
56 class RTestStepVirtualStub2 : public RTestStepVirtualStub
59 static RTestStepVirtualStub2* NewL();
60 RTestStepVirtualStub2();
63 #endif // __TESTSTEPVIRTUALSTUB_H__