os/ossrv/genericservices/taskscheduler/Test/Testexecute/src/Te_floating_scheduleSuiteStepBase.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /**
     2 * Copyright (c) 2005-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 "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 
    20 #if (!defined __TE_SCHSVR_FLOATING_SCHEDULE_STEP_BASE__)
    21 #define __TE_SCHSVR_FLOATING_SCHEDULE_STEP_BASE__
    22 #include <test/testexecutestepbase.h>
    23 
    24 // Please add your include here if you have 
    25 #include "Thelpers.h"
    26 #include <e32property.h>
    27 #include <tz.h>
    28 
    29 /****************************************************************************
    30 * The reason to have a new step base is that it is very much possible
    31 * that the all individual test steps have project related common variables 
    32 * and members 
    33 * and this is the place to define these common variable and members.
    34 * 
    35 ****************************************************************************/
    36 static RScheduler	TheScheduler;
    37 
    38 typedef CArrayFixFlat<TScheduleEntryInfo2>	CScheduleEntryInfoArray;
    39 typedef CArrayFixFlat<TTaskSchedulerCondition>	CSchConditionArray;
    40 
    41 const TUid KTestUid = TUid::Uid(0x101F7784);
    42 const TInt KTestKey1 = 1;
    43 const TInt KTestKey2 = 2;
    44 const TInt KTestKey3 = 3;
    45 const TInt KTestKey4 = 4;
    46 const TInt KTestKey5 = 5;
    47 const TInt KTestKey6 = 6;
    48 const TInt KTestKey7 = 7;
    49 const TInt KTestKey8 = 8;
    50 
    51 _LIT(KMinimalTaskHandler, "MinimalTaskHandler");
    52 
    53 
    54 class CTe_floating_scheduleSuiteStepBase : public CTestStep
    55 	{
    56 public:
    57 	virtual ~CTe_floating_scheduleSuiteStepBase();
    58 	CTe_floating_scheduleSuiteStepBase();
    59 	virtual TVerdict doTestStepPreambleL(); 
    60 	virtual TVerdict doTestStepPostambleL();
    61 
    62 //Please add your class members which will be common to all individual test steps:
    63 
    64 protected:
    65 	HBufC8*		iReadData;
    66 	HBufC8*		iWriteData;
    67 	};
    68 
    69 #endif