|
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 #ifndef UT_SYMBIANUNITTESTCOMMANDLINEPARSER_H |
|
19 #define UT_SYMBIANUNITTESTCOMMANDLINEPARSER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <symbianunittest.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CSymbianUnitTestCommandLineParser; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 class UT_CSymbianUnitTestCommandLineParser : public CSymbianUnitTest |
|
29 { |
|
30 public: // Constructors and destructor |
|
31 |
|
32 static UT_CSymbianUnitTestCommandLineParser* NewL(); |
|
33 static UT_CSymbianUnitTestCommandLineParser* NewLC(); |
|
34 ~UT_CSymbianUnitTestCommandLineParser(); |
|
35 |
|
36 protected: // Test functions |
|
37 |
|
38 void SetupL(); |
|
39 void Teardown(); |
|
40 void UT_SetOutputFormatL(); |
|
41 void UT_SetTestDllNamesL(); |
|
42 void UT_FindArgumentL(); |
|
43 void UT_SetTimeoutL(); |
|
44 void UT_SetTestCaseNamesL(); |
|
45 |
|
46 // new added. |
|
47 void UT_TestCommandLineL(); |
|
48 void LaunchExample( TInt aType ); |
|
49 |
|
50 private: // Contructors |
|
51 |
|
52 UT_CSymbianUnitTestCommandLineParser(); |
|
53 void ConstructL(); |
|
54 |
|
55 private: // Data |
|
56 |
|
57 // The object to be tested as a member variable: |
|
58 CSymbianUnitTestCommandLineParser* iParser; |
|
59 }; |
|
60 |
|
61 #endif // UT_SYMBIANUNITTESTCOMMANDLINEPARSER_H |