|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Te_EComPluginReDiscoverPerfTest.h |
|
15 // Declaration for class to test the performance of ECom plugin re-discovery. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 */ |
|
23 |
|
24 #ifndef TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H |
|
25 #define TE_ECOMPLUGINREDISCOVERPERFTESTSTEP_H |
|
26 |
|
27 #include <e32cmn.h> |
|
28 #include "Te_EComPerfTestStep.h" |
|
29 #include "EComSessionAux.h" |
|
30 |
|
31 _LIT(KEComPluginReDiscoverPerfTest, "EComPluginReDiscoverPerfTest"); |
|
32 |
|
33 class CEComPluginReDiscoverPerfTest : public CEComPerfTestBase |
|
34 { |
|
35 public: |
|
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 |
|
41 private: |
|
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__ |
|
49 }; |
|
50 |
|
51 #endif //TE_ECOMSTARTUPSTATEPERFTESTSTEP_H |