os/kernelhwsrv/baseapitest/basesvs/common/inc/TestStepV2.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 "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 
    20 #if (!defined __TEST_STEP_V2_H__)
    21 #define __TEST_STEP_V2_H__
    22 
    23 //	EPOC includes
    24 #include <test/testexecutestepbase.h>
    25 
    26 class CTestStepV2 : public CTestStep
    27 	{
    28 public:
    29 	TBool	GetBoolFromConfig(const TDesC& aSectName,const TDesC& aKeyName,TBool& aResult);
    30 	TBool	GetIntFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TInt& aResult);
    31 	TBool	GetStringFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TPtrC& aResult);
    32 	TBool	GetHexFromConfig(const TDesC& aSectName, const TDesC& aKeyName, TInt& aResult);
    33 
    34 protected:
    35 	CTestStepV2();
    36 	virtual ~CTestStepV2();
    37 
    38 	virtual enum TVerdict	doTestStepPreambleL();
    39 
    40 private:
    41 	TBool	GetCommandStringParameterL(const TDesC& aSectName, const TDesC& aKeyName, TPtrC& aResult);
    42 
    43 private:
    44 	// Included ini files
    45 	RPointerArray<CIniData>	iInclude;
    46 	RPointerArray<HBufC>	iBuffer;
    47 	};
    48 
    49 #endif /* __TEST_STEP_V2_H__ */