cryptomgmtlibs/securitytestfw/test/testhandler2/Thardcodedsetup.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 1998-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 the License "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 #ifndef __T_HARDCODEDSETUP_H__
       
    20 #define __T_HARDCODEDSETUP_H__
       
    21 
       
    22 #include <testhandler2/t_testsetup.h>
       
    23 #include <testhandler2/thardcodedtests.h>
       
    24 
       
    25 class CTestAction;
       
    26 class TTestActionSpec;
       
    27 class CTestSetup;
       
    28 class CTestSpec;
       
    29 
       
    30 
       
    31 class CHardcodedSetup : public CTestSetup
       
    32 	{
       
    33 public:
       
    34 	/**
       
    35 	 * This function creates a new CHardcodedSetup object.
       
    36 	 */
       
    37 	IMPORT_C static CHardcodedSetup* NewLC();
       
    38 
       
    39 public:
       
    40 	//aTestSpec is the class that holds the array of test actions, and has the GetNextTest function
       
    41 	//theHardcodedTests is the static array of tests 
       
    42 	//aCommandLineSettings contains the command line parameters
       
    43 	IMPORT_C virtual void SetupTestsL(RFs& aFs,	CTestSpec& aTestSpec, THardcodedTests theHardcodedTests[],
       
    44 		const CTestHandlerSettings & aCommandLineSettings);
       
    45 	~CHardcodedSetup();
       
    46 	IMPORT_C TBool InitialiseL(RFs &aFs, const TDesC& aDefaultLog = KNullDesC);
       
    47 
       
    48 protected:
       
    49 	CHardcodedSetup(void);
       
    50 	
       
    51 private:
       
    52 	RFs iFs;
       
    53 
       
    54 	};
       
    55 
       
    56 #endif