diff -r 675a964f4eb5 -r 35751d3474b7 cryptomgmtlibs/securitytestfw/test/testhandler2/t_testactionspec.h --- a/cryptomgmtlibs/securitytestfw/test/testhandler2/t_testactionspec.h Tue Jul 21 01:04:32 2009 +0100 +++ b/cryptomgmtlibs/securitytestfw/test/testhandler2/t_testactionspec.h Thu Sep 10 14:01:51 2009 +0300 @@ -1,48 +1,65 @@ -/* -* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - -#ifndef __T_TESTACTIONSPEC_H__ -#define __T_TESTACTIONSPEC_H__ - -#include - -class CConsoleBase; -class Output; - -/** - * TODO - */ -class TTestActionSpec - { -public: - TTestActionSpec(); - TInt Init(const TDesC8& aInput, TInt& aPos, CConsoleBase& aConsole, Output& aOut, TInt& aBitFlag); - void HardcodedInit(const TDesC8& aInput); - -public: - TPtrC8 iActionName; - TPtrC8 iActionType; - TPtrC8 iActionGroup; - TPtrC8 iActionBody; - /** - * This member indicates the expected result of the action. - */ - TPtrC8 iActionResult; - }; - -#endif +/* +* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#ifndef __T_TESTACTIONSPEC_H__ +#define __T_TESTACTIONSPEC_H__ + +#include +#include + + +class CConsoleBase; +class Output; + +/** + * TODO + */ +class TTestActionSpec + { +public: + TTestActionSpec(); + ~TTestActionSpec(); + TInt Init(const TDesC8& aInput, TInt& aPos, CConsoleBase& aConsole, Output& aOut, TInt& aBitFlag); +// TInt TEFInit(RFs& aFs, const TDesC8& aInput, HBufC8*& aSectionData, HBufC8*& aIniSectionResultBody, const TDesC8& aTestCaseID, const TDesC8& aPrevTestCaseID, const TDesC8& aTestDescription, TBool testSet, const TDesC& aScriptPath, CConsoleBase& aConsole, Output& aOut, TInt& aBitFlag); + TInt TEFInit(RFs& aFs, const TDesC8& aInput, const TDesC8& aTestCaseID, TDesC8& aPrevTestCaseID, TBool& tefFile, TBool& runtest, TBool& iniFile, TDes8& aScriptResult , TDes8& aActionType, const TDesC& aScriptPath, CConsoleBase& /*aConsole*/, Output& aOut); + void HardcodedInit(const TDesC8& aInput); + +public: + TPtrC8 iActionName; + TPtrC8 iActionType; + TPtrC8 iActionGroup; + TPtrC8 iActionBody; + TPtrC8 iActionResult; + + + + TBool iTefScript; + + TPtrC8 iActionDescription; + + RBuf8 iniSectionResultBody; + RBuf8 aTestIniFilePtr; // This will hold the location in Heap where the ini file has been loaded for general use + + /** + * This member indicates the expected result of the action. + */ + + }; + +#endif +