lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/Te_EComPerfTestStep.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Defines the ECom Performance Test for the SSA discovery.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23  
       
    24 #ifndef	TE_ECOMPERFTESTSTEP_H
       
    25 #define	TE_ECOMPERFTESTSTEP_H
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "EComSessionAux.h"
       
    29 
       
    30 class CEComPerfTestBase : public CTestStep
       
    31 	{
       
    32 public:
       
    33 	CEComPerfTestBase(const TDesC& aStepName);
       
    34 	virtual ~CEComPerfTestBase();
       
    35 	virtual TVerdict doTestStepPreambleL();
       
    36 	virtual TVerdict doTestStepPostambleL();
       
    37 protected:
       
    38 	void CheckPerformance(TReal aActualTime, TReal aMaxTime, TPtrC aTimingMessage);
       
    39 #ifdef __ECOM_SERVER_PERFORMANCE__
       
    40 	TPtrC ClientRequestTypeName(TEComClientRequestType aClientRequestType);
       
    41 	TPtrC StartupStateName(TStartupStateIdentifier aStartupStateIdentifier);
       
    42 #endif // #ifdef __ECOM_SERVER_PERFORMANCE__
       
    43 
       
    44 #ifndef __ECOM_SERVER_PERFORMANCE__
       
    45 	void MacroNotDefinedError();
       
    46 #endif // #ifndef __ECOM_SERVER_PERFORMANCE__
       
    47 	};
       
    48 	
       
    49 #endif // #ifndef TE_ECOMPERFTESTSTEP_H