sl@0: // Copyright (c) 2005-2009 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 "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: // Defines the ECom Performance Test for the SSA discovery. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: sl@0: #ifndef TE_ECOMPERFTESTSTEP_H sl@0: #define TE_ECOMPERFTESTSTEP_H sl@0: sl@0: #include <test/testexecutestepbase.h> sl@0: #include "EComSessionAux.h" sl@0: sl@0: class CEComPerfTestBase : public CTestStep sl@0: { sl@0: public: sl@0: CEComPerfTestBase(const TDesC& aStepName); sl@0: virtual ~CEComPerfTestBase(); sl@0: virtual TVerdict doTestStepPreambleL(); sl@0: virtual TVerdict doTestStepPostambleL(); sl@0: protected: sl@0: void CheckPerformance(TReal aActualTime, TReal aMaxTime, TPtrC aTimingMessage); sl@0: #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: TPtrC ClientRequestTypeName(TEComClientRequestType aClientRequestType); sl@0: TPtrC StartupStateName(TStartupStateIdentifier aStartupStateIdentifier); sl@0: #endif // #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: sl@0: #ifndef __ECOM_SERVER_PERFORMANCE__ sl@0: void MacroNotDefinedError(); sl@0: #endif // #ifndef __ECOM_SERVER_PERFORMANCE__ sl@0: }; sl@0: sl@0: #endif // #ifndef TE_ECOMPERFTESTSTEP_H