equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-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 // |
|
15 |
|
16 #ifndef __CRECTESTENGINE_H__ |
|
17 #define __CRECTESTENGINE_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <ecom/ecom.h> |
|
21 #include <e32test.h> |
|
22 #include <apgcli.h> |
|
23 |
|
24 #include "cecomrecogtest.h" |
|
25 #include "tfailedrectest.h" |
|
26 |
|
27 class CRecTestLogger; |
|
28 |
|
29 class CRecTestEngine : public CBase |
|
30 { |
|
31 public: |
|
32 static CRecTestEngine* NewL(); |
|
33 ~CRecTestEngine(); |
|
34 |
|
35 void StartTestsL(); |
|
36 |
|
37 private: |
|
38 CRecTestEngine(); |
|
39 void ConstructL(); |
|
40 |
|
41 void RunTestCasesFromPluginL(TInt aPluginIndex); |
|
42 void ProcessTestResultL(TInt aError); |
|
43 |
|
44 private: |
|
45 REComSession iEcomSession; |
|
46 RImplInfoPtrArray iPluginArray; |
|
47 RPointerArray<CEComRecogTest> iTestArray; |
|
48 RTest iTest; |
|
49 CRecTestLogger* iLogger; |
|
50 RApaLsSession iAppArcSession; |
|
51 TInt iTestPassCount; |
|
52 TInt iTestFailCount; |
|
53 TInt iCurrentTest; |
|
54 const TDesC* iCurrentTestTitle; |
|
55 RPointerArray<TFailedRecTest> iFailedTests; |
|
56 }; |
|
57 |
|
58 #endif // __CRECTESTENGINE_H__ |