equal
deleted
inserted
replaced
|
1 // ciftest.h |
|
2 // |
|
3 // Copyright (c) 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #ifndef CIFTEST_H |
|
14 #define CIFTEST_H |
|
15 |
|
16 #include <fshell/ioutils.h> |
|
17 #include "parser.h" |
|
18 |
|
19 using namespace IoUtils; |
|
20 |
|
21 class CCmdCifTest : public CCommandBase, public MParserObserver |
|
22 { |
|
23 public: |
|
24 static CCommandBase* NewLC(); |
|
25 ~CCmdCifTest(); |
|
26 private: |
|
27 CCmdCifTest(); |
|
28 void TestCifL(CCommandInfoFile* aCif); |
|
29 void NextCif(); |
|
30 void TestCompleted(TInt aError); |
|
31 private: // From CCommandBase. |
|
32 void RunL(); |
|
33 virtual const TDesC& Name() const; |
|
34 virtual void DoRunL(); |
|
35 virtual void ArgumentsL(RCommandArgumentList& aArguments); |
|
36 virtual void OptionsL(RCommandOptionList& aOptions); |
|
37 private: // From MParserObserver. |
|
38 virtual void HandleParserComplete(CParser& aParser, const TError& aError); |
|
39 |
|
40 private: |
|
41 HBufC* iCmd; |
|
42 TBool iVerbose; |
|
43 TBool iKeepGoing; |
|
44 |
|
45 TFileName iFileName; |
|
46 CCommandInfoFile* iCurrentCif; |
|
47 CParser* iParser; |
|
48 CEnvironment* iEnvForScript; |
|
49 RPointerArray<HBufC> iCifFiles; |
|
50 |
|
51 TInt iPasses; |
|
52 TInt iFailures; |
|
53 TInt iNextCif; |
|
54 }; |
|
55 |
|
56 #endif |