sl@0: // Copyright (c) 2006-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: // Te_EComPluginReDiscoverPerfTest.h sl@0: // Declaration for class to test the performance of ECom plugin re-discovery. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: #ifndef TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H sl@0: #define TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H sl@0: sl@0: #include sl@0: #include "Te_EComPerfTestStep.h" sl@0: #include "EComSessionAux.h" sl@0: sl@0: _LIT(KEComPluginReDiscoverPerfTest, "EComPluginReDiscoverPerfTest"); sl@0: sl@0: class CEComPluginReDiscoverPerfTest : public CEComPerfTestBase sl@0: { sl@0: public: sl@0: CEComPluginReDiscoverPerfTest(); sl@0: ~CEComPluginReDiscoverPerfTest(); sl@0: virtual TVerdict doTestStepL(void); sl@0: // doTestStepPreamble and doTestStepPostamble are implemented in CEComPerfTestBase, sl@0: // which performs initialization common to all ECom performance tests sl@0: private: sl@0: #ifdef __ECOM_SERVER_PERFORMANCE__ sl@0: void SetBenchmarksL(); sl@0: TBool CheckTimeResults(TReal aTimeLimit, RArray& aTimeResults); sl@0: void CopyPluginCR629TestRSCOnDrive(TUint aDriveNum, TInt aNumOfCopies); sl@0: void DeleteRSCFilesOnDrive(TUint aDriveNum); sl@0: void DeleteRSCFolderOnDrive(TUint aDriveNum); sl@0: #endif //__ECOM_SERVER_PERFORMANCE__ sl@0: }; sl@0: sl@0: #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H