os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/Te_EComPluginReDiscoverPerfTestStep.h
Update contrib.
1 // Copyright (c) 2006-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 // Te_EComPluginReDiscoverPerfTest.h
15 // Declaration for class to test the performance of ECom plugin re-discovery.
24 #ifndef TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H
25 #define TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H
28 #include "Te_EComPerfTestStep.h"
29 #include "EComSessionAux.h"
31 _LIT(KEComPluginReDiscoverPerfTest, "EComPluginReDiscoverPerfTest");
33 class CEComPluginReDiscoverPerfTest : public CEComPerfTestBase
36 CEComPluginReDiscoverPerfTest();
37 ~CEComPluginReDiscoverPerfTest();
38 virtual TVerdict doTestStepL(void);
39 // doTestStepPreamble and doTestStepPostamble are implemented in CEComPerfTestBase,
40 // which performs initialization common to all ECom performance tests
42 #ifdef __ECOM_SERVER_PERFORMANCE__
43 void SetBenchmarksL();
44 TBool CheckTimeResults(TReal aTimeLimit, RArray<TEComPerfRealTimeResult>& aTimeResults);
45 void CopyPluginCR629TestRSCOnDrive(TUint aDriveNum, TInt aNumOfCopies);
46 void DeleteRSCFilesOnDrive(TUint aDriveNum);
47 void DeleteRSCFolderOnDrive(TUint aDriveNum);
48 #endif //__ECOM_SERVER_PERFORMANCE__
51 #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H