equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 "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 OMXXMLTESTWRAPPER_H |
|
20 #define OMXXMLTESTWRAPPER_H |
|
21 |
|
22 #include <test/datawrapper.h> |
|
23 |
|
24 class COmxXmlTestRunner; |
|
25 |
|
26 class COmxXmlTestWrapper : public CDataWrapper |
|
27 { |
|
28 public: |
|
29 static COmxXmlTestWrapper* NewL(); |
|
30 ~COmxXmlTestWrapper(); |
|
31 |
|
32 TBool DoCommandL(const TTEFFunction& aCommand, |
|
33 const TTEFSectionName& aSection, |
|
34 const TInt aAsyncErrorIndex); |
|
35 |
|
36 TAny* GetObject(); |
|
37 |
|
38 void RunL(CActive* aActive, TInt aIndex); |
|
39 |
|
40 private: |
|
41 COmxXmlTestWrapper(); |
|
42 void ConstructL(); |
|
43 |
|
44 void DoNewCmdL(const TDesC& aFilename); |
|
45 void DoRunTestCmdL(const TDesC& aScriptSection); |
|
46 |
|
47 CActiveCallback* iActiveCallback; |
|
48 COmxXmlTestRunner* iTestRunner; |
|
49 }; |
|
50 |
|
51 #endif //OMXXMLTESTWRAPPER_H |