cryptomgmtlibs/securitytestfw/test/testhandler2/tScriptSetup.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    35 _LIT8(KActionResultEnd, "</actionresult>");
    35 _LIT8(KActionResultEnd, "</actionresult>");
    36 _LIT8(KActionGroupingStart, "<actiongrouping>");
    36 _LIT8(KActionGroupingStart, "<actiongrouping>");
    37 _LIT8(KActionGroupingEnd, "</actiongrouping>");
    37 _LIT8(KActionGroupingEnd, "</actiongrouping>");
    38 _LIT8(KKnownDefectStart, "<knowndefect>");
    38 _LIT8(KKnownDefectStart, "<knowndefect>");
    39 _LIT8(KKnownDefectEnd, "</knowndefect>");
    39 _LIT8(KKnownDefectEnd, "</knowndefect>");
       
    40 _LIT8(KRunTestStep, "RUN_TEST_STEP");
       
    41 _LIT8(KStartTestStep, "START_TESTCASE");
       
    42 _LIT8(KEndTestStep, "END_TESTCASE");
    40 
    43 
    41 class CTestAction;
    44 class CTestAction;
    42 class TTestActionSpec;
    45 class TTestActionSpec;
    43 class CTestSetup;
    46 class CTestSetup;
    44 class CTestSpec;
    47 class CTestSpec;
    56 	IMPORT_C virtual void SetupTestsL(RFs& aFs,	CTestSpec& aTestSpec, TScriptTests theTestTypes[],
    59 	IMPORT_C virtual void SetupTestsL(RFs& aFs,	CTestSpec& aTestSpec, TScriptTests theTestTypes[],
    57 			const CTestHandlerSettings& aCommandLineSettings);
    60 			const CTestHandlerSettings& aCommandLineSettings);
    58 	IMPORT_C ~CScriptSetup();
    61 	IMPORT_C ~CScriptSetup();
    59 
    62 
    60 	IMPORT_C TBool InitialiseL(RFs &aFs, const TDesC& aDefaultScript = KNullDesC, const TDesC& aDefaultLog = KNullDesC, TBool aUseCommandLine = ETrue);
    63 	IMPORT_C TBool InitialiseL(RFs &aFs, const TDesC& aDefaultScript = KNullDesC, const TDesC& aDefaultLog = KNullDesC, TBool aUseCommandLine = ETrue);
    61 
    64 	HBufC* iScriptPath;
    62 protected:
    65 protected:
    63 	CScriptSetup(CConsoleBase* aConsole);
    66 	CScriptSetup(CConsoleBase* aConsole);
    64 
    67 
    65 protected:
    68 protected:
    66 	HBufC8* iTestInput;
    69 	HBufC8* iTestInput;
       
    70 	HBufC8* scriptResult;
       
    71 
       
    72 	TBool	iTefScript;
    67 
    73 
    68 protected:
    74 protected:
    69 	IMPORT_C virtual CTestAction* CreateActionL(RFs& aFs, const TTestActionSpec& aTestActionSpec, 
    75 	IMPORT_C virtual CTestAction* CreateActionL(RFs& aFs, const TTestActionSpec& aTestActionSpec, 
    70 		const TScriptTests theTestArray[]) const;
    76 		const TScriptTests theTestArray[]) const;
    71 	};
    77 	};