sl@0: /* sl@0: * Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: #ifndef __T_HARDCODEDSETUP_H__ sl@0: #define __T_HARDCODEDSETUP_H__ sl@0: sl@0: #include "t_testsetup.h" sl@0: #include "tHardcodedTests.h" sl@0: sl@0: class CTestAction; sl@0: class TTestActionSpec; sl@0: class CTestSetup; sl@0: class CTestSpec; sl@0: sl@0: sl@0: class CHardcodedSetup : public CTestSetup sl@0: { sl@0: public: sl@0: /** sl@0: * This function creates a new CHardcodedSetup object. sl@0: */ sl@0: IMPORT_C static CHardcodedSetup* NewLC(); sl@0: sl@0: public: sl@0: //aTestSpec is the class that holds the array of test actions, and has the GetNextTest function sl@0: //theHardcodedTests is the static array of tests sl@0: //aCommandLineSettings contains the command line parameters sl@0: IMPORT_C virtual void SetupTestsL(RFs& aFs, CTestSpec& aTestSpec, THardcodedTests theHardcodedTests[], sl@0: const CTestHandlerSettings & aCommandLineSettings); sl@0: ~CHardcodedSetup(); sl@0: IMPORT_C TBool InitialiseL(RFs &aFs, const TDesC& aDefaultLog = KNullDesC); sl@0: sl@0: protected: sl@0: CHardcodedSetup(void); sl@0: sl@0: private: sl@0: RFs iFs; sl@0: sl@0: }; sl@0: sl@0: #endif