equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __TPERFORMANCETEST_H__ |
|
20 #define __TPERFORMANCETEST_H__ |
|
21 |
|
22 #include "cryptotestaction.h" |
|
23 |
|
24 class CSymmetricCipher; |
|
25 |
|
26 class CPerformanceTest : public CCryptoTestAction |
|
27 { |
|
28 public: |
|
29 static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole, |
|
30 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
31 static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole, |
|
32 Output& aOut, const TTestActionSpec& aTestActionSpec); |
|
33 virtual ~CPerformanceTest(); |
|
34 protected: |
|
35 CPerformanceTest(RFs& aFs, CConsoleBase& aConsole, Output& aOut); |
|
36 protected: |
|
37 void DoPerformActionL(); |
|
38 void DoPerformPrerequisiteL(); |
|
39 protected: |
|
40 CSymmetricCipher* iEncryptor; |
|
41 CSymmetricCipher* iDecryptor; |
|
42 }; |
|
43 |
|
44 #endif |