cryptomgmtlibs/securitytestfw/test/testhandler2/t_testactionspec.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 108 ca9a0fc2f082
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    18 
    18 
    19 #ifndef __T_TESTACTIONSPEC_H__
    19 #ifndef __T_TESTACTIONSPEC_H__
    20 #define __T_TESTACTIONSPEC_H__
    20 #define __T_TESTACTIONSPEC_H__
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
       
    23 #include <f32file.h> 
       
    24 
    23 
    25 
    24 class CConsoleBase;
    26 class CConsoleBase;
    25 class Output;
    27 class Output;
    26 
    28 
    27 /**
    29 /**
    28  * TODO
    30  * TODO
    29  */
    31  */
    30 class TTestActionSpec
    32 class TTestActionSpec
    31 	{
    33 	{ 
    32 public:
    34 public:
    33 	TTestActionSpec();
    35 	TTestActionSpec();
       
    36 	~TTestActionSpec();
    34 	TInt Init(const TDesC8& aInput, TInt& aPos, CConsoleBase& aConsole, Output& aOut, TInt& aBitFlag);
    37 	TInt Init(const TDesC8& aInput, TInt& aPos, CConsoleBase& aConsole, Output& aOut, TInt& aBitFlag);
       
    38 //	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);
       
    39 	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);
    35 	void HardcodedInit(const TDesC8& aInput);
    40 	void HardcodedInit(const TDesC8& aInput);
    36 
    41 
    37 public:
    42 public:
    38 	TPtrC8 iActionName;
    43 	TPtrC8 iActionName;
    39 	TPtrC8 iActionType;
    44 	TPtrC8 iActionType;
    40 	TPtrC8 iActionGroup;
    45 	TPtrC8 iActionGroup;
    41 	TPtrC8 iActionBody;
    46 	TPtrC8 iActionBody;
       
    47 	TPtrC8 iActionResult;
       
    48 	
       
    49 
       
    50 	
       
    51 	TBool	iTefScript;
       
    52 	
       
    53 	TPtrC8 iActionDescription;
       
    54 
       
    55 	RBuf8  iniSectionResultBody;
       
    56 	RBuf8 aTestIniFilePtr;		// This will hold the location in Heap where the ini file has been loaded for general use
       
    57 
    42 	/**
    58 	/**
    43 	 * This member indicates the expected result of the action.
    59 	 * This member indicates the expected result of the action.
    44 	 */
    60 	 */
    45 	TPtrC8 iActionResult;
    61 	
    46 	};
    62 	};
    47 
    63 
    48 #endif
    64 #endif
       
    65