diff -r 000000000000 -r bde4ae8d615e os/security/cryptomgmtlibs/securitytestfw/test/testhandler2/tScriptSetup.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/os/security/cryptomgmtlibs/securitytestfw/test/testhandler2/tScriptSetup.h	Fri Jun 15 03:10:57 2012 +0200
@@ -0,0 +1,79 @@
+/*
+* Copyright (c) 1998-2010 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_SCRIPTSETUP_H__
+#define __T_SCRIPTSETUP_H__
+
+#include "t_testsetup.h"
+#include "tScriptTests.h"
+
+//test setup base classes
+_LIT8(KActionStart, "");
+_LIT8(KActionEnd, "");
+_LIT8(KActionNameStart, "");
+_LIT8(KActionNameEnd, "");
+_LIT8(KActionTypeStart, "");
+_LIT8(KActionTypeEnd, "");
+_LIT8(KActionBodyStart, "");
+_LIT8(KActionBodyEnd, "");
+_LIT8(KActionResultStart, "");
+_LIT8(KActionResultEnd, "");
+_LIT8(KActionGroupingStart, "");
+_LIT8(KActionGroupingEnd, "");
+_LIT8(KKnownDefectStart, "");
+_LIT8(KKnownDefectEnd, "");
+_LIT8(KRunTestStep, "RUN_TEST_STEP");
+_LIT8(KStartTestStep, "START_TESTCASE");
+_LIT8(KEndTestStep, "END_TESTCASE");
+
+class CTestAction;
+class TTestActionSpec;
+class CTestSetup;
+class CTestSpec;
+
+
+class CScriptSetup : public CTestSetup
+	{
+public:
+	IMPORT_C static CScriptSetup* NewLC(CConsoleBase* aConsole);
+
+public:
+	//aTestSpec is the class that holds the array of test actions, and has the GetNextTest function
+	//theTestTypes is the static array of test types 
+	//aCommandLineSettings contains the command line parameters
+	IMPORT_C virtual void SetupTestsL(RFs& aFs,	CTestSpec& aTestSpec, TScriptTests theTestTypes[],
+			const CTestHandlerSettings& aCommandLineSettings);
+	IMPORT_C ~CScriptSetup();
+
+	IMPORT_C TBool InitialiseL(RFs &aFs, const TDesC& aDefaultScript = KNullDesC, const TDesC& aDefaultLog = KNullDesC, TBool aUseCommandLine = ETrue);
+	HBufC* iScriptPath;
+protected:
+	CScriptSetup(CConsoleBase* aConsole);
+
+protected:
+	HBufC8* iTestInput;
+	HBufC8* scriptResult;
+
+	TBool	iTefScript;
+
+protected:
+	IMPORT_C virtual CTestAction* CreateActionL(RFs& aFs, const TTestActionSpec& aTestActionSpec, 
+		const TScriptTests theTestArray[]) const;
+	};
+
+#endif