author | Johnson Ma <johnson.ma@nokia.com> |
Mon, 29 Mar 2010 14:46:27 +0800 | |
changeset 1 | bbd31066657e |
parent 0 | 3e07fef1e154 |
permissions | -rw-r--r-- |
0 | 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 |
|
1
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
28 |
class UT_CSymbianUnitTestCommandLineParser : public CSymbianUnitTest |
0 | 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(); |
|
1
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
43 |
void UT_SetTimeoutL(); |
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
44 |
void UT_SetTestCaseNamesL(); |
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
45 |
|
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
46 |
// new added. |
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
47 |
void UT_TestCommandLineL(); |
bbd31066657e
publish symbianunittest v1.1.0
Johnson Ma <johnson.ma@nokia.com>
parents:
0
diff
changeset
|
48 |
void LaunchExample( TInt aType ); |
0 | 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 |