equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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 __TSISSTEP_H__ |
|
20 #define __TSISSTEP_H__ |
|
21 |
|
22 #include <test/testexecutestepbase.h> |
|
23 |
|
24 #include "siscontents.h" |
|
25 #include "siscontroller.h" |
|
26 |
|
27 namespace Swi |
|
28 { |
|
29 class CFileSisDataProvider; |
|
30 |
|
31 namespace Sis |
|
32 { |
|
33 |
|
34 namespace Test |
|
35 { |
|
36 |
|
37 class CParserTestStep : public CTestStep |
|
38 { |
|
39 public: |
|
40 virtual ~CParserTestStep(); |
|
41 |
|
42 public: |
|
43 IMPORT_C enum TVerdict doTestStepPreambleL(); |
|
44 |
|
45 void SetTestStepResult(TInt result); |
|
46 |
|
47 CContents* GetContentsL(); |
|
48 CController* GetControllerL(CContents& contents, TBool aUseInPlaceParse = EFalse); |
|
49 void SetExpectedResult(); |
|
50 |
|
51 protected: |
|
52 CFileSisDataProvider* iDataProvider; |
|
53 RFs iFs; |
|
54 RArray<TInt> iExpectedResults; |
|
55 HBufC8* iControllerData; |
|
56 }; |
|
57 |
|
58 } // namespace Test |
|
59 |
|
60 } // namespace Sis |
|
61 |
|
62 } // namespace Swi |
|
63 |
|
64 |
|
65 #endif // __TSISSTEP_H__ |