os/ossrv/genericservices/taskscheduler/Test/Testexecute/src/Te_floating_scheduleSuiteStepBase.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericservices/taskscheduler/Test/Testexecute/src/Te_floating_scheduleSuiteStepBase.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +/**
     1.5 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +
    1.23 +#if (!defined __TE_SCHSVR_FLOATING_SCHEDULE_STEP_BASE__)
    1.24 +#define __TE_SCHSVR_FLOATING_SCHEDULE_STEP_BASE__
    1.25 +#include <test/testexecutestepbase.h>
    1.26 +
    1.27 +// Please add your include here if you have 
    1.28 +#include "Thelpers.h"
    1.29 +#include <e32property.h>
    1.30 +#include <tz.h>
    1.31 +
    1.32 +/****************************************************************************
    1.33 +* The reason to have a new step base is that it is very much possible
    1.34 +* that the all individual test steps have project related common variables 
    1.35 +* and members 
    1.36 +* and this is the place to define these common variable and members.
    1.37 +* 
    1.38 +****************************************************************************/
    1.39 +static RScheduler	TheScheduler;
    1.40 +
    1.41 +typedef CArrayFixFlat<TScheduleEntryInfo2>	CScheduleEntryInfoArray;
    1.42 +typedef CArrayFixFlat<TTaskSchedulerCondition>	CSchConditionArray;
    1.43 +
    1.44 +const TUid KTestUid = TUid::Uid(0x101F7784);
    1.45 +const TInt KTestKey1 = 1;
    1.46 +const TInt KTestKey2 = 2;
    1.47 +const TInt KTestKey3 = 3;
    1.48 +const TInt KTestKey4 = 4;
    1.49 +const TInt KTestKey5 = 5;
    1.50 +const TInt KTestKey6 = 6;
    1.51 +const TInt KTestKey7 = 7;
    1.52 +const TInt KTestKey8 = 8;
    1.53 +
    1.54 +_LIT(KMinimalTaskHandler, "MinimalTaskHandler");
    1.55 +
    1.56 +
    1.57 +class CTe_floating_scheduleSuiteStepBase : public CTestStep
    1.58 +	{
    1.59 +public:
    1.60 +	virtual ~CTe_floating_scheduleSuiteStepBase();
    1.61 +	CTe_floating_scheduleSuiteStepBase();
    1.62 +	virtual TVerdict doTestStepPreambleL(); 
    1.63 +	virtual TVerdict doTestStepPostambleL();
    1.64 +
    1.65 +//Please add your class members which will be common to all individual test steps:
    1.66 +
    1.67 +protected:
    1.68 +	HBufC8*		iReadData;
    1.69 +	HBufC8*		iWriteData;
    1.70 +	};
    1.71 +
    1.72 +#endif