os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/Te_EComPerfTestStep.h
First public contribution.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Defines the ECom Performance Test for the SSA discovery.
24 #ifndef TE_ECOMPERFTESTSTEP_H
25 #define TE_ECOMPERFTESTSTEP_H
27 #include <test/testexecutestepbase.h>
28 #include "EComSessionAux.h"
30 class CEComPerfTestBase : public CTestStep
33 CEComPerfTestBase(const TDesC& aStepName);
34 virtual ~CEComPerfTestBase();
35 virtual TVerdict doTestStepPreambleL();
36 virtual TVerdict doTestStepPostambleL();
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__
44 #ifndef __ECOM_SERVER_PERFORMANCE__
45 void MacroNotDefinedError();
46 #endif // #ifndef __ECOM_SERVER_PERFORMANCE__
49 #endif // #ifndef TE_ECOMPERFTESTSTEP_H