1 /* |
|
2 * Copyright (c) 2007 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: declaration of test case |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_BCTESTDOMJPLANGCASE_H |
|
20 #define C_BCTESTDOMJPLANGCASE_H |
|
21 |
|
22 #include "bctestcase.h" |
|
23 |
|
24 class CBCTestDomAvkonPslnContainer; |
|
25 class CCoeControl; |
|
26 |
|
27 /** |
|
28 * test case for various classes |
|
29 */ |
|
30 class CBCTestDomJPLangCase: public CBCTestCase |
|
31 { |
|
32 |
|
33 public: |
|
34 // constructor and destructor |
|
35 |
|
36 /** |
|
37 * Symbian 2nd static constructor |
|
38 */ |
|
39 static CBCTestDomJPLangCase* NewL( CBCTestDomAvkonPslnContainer* aContainer ); |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 */ |
|
44 virtual ~CBCTestDomJPLangCase(); |
|
45 |
|
46 // from CBCTestCase |
|
47 |
|
48 /** |
|
49 * Execute corresponding test functions for UI command |
|
50 * @param aCmd, UI command |
|
51 */ |
|
52 void RunL( TInt aCmd ); |
|
53 |
|
54 protected: |
|
55 // new functions |
|
56 |
|
57 /** |
|
58 * Build autotest script |
|
59 */ |
|
60 void BuildScriptL(); |
|
61 |
|
62 /** |
|
63 * TestJPLangUtilL() |
|
64 */ |
|
65 void TestJPLangUtilL(); |
|
66 |
|
67 /** |
|
68 * TestNumberGroupL() |
|
69 */ |
|
70 void TestNumberGroupL(); |
|
71 |
|
72 /** |
|
73 * TestGenericParamConsumerL() |
|
74 */ |
|
75 void TestGenericParamConsumerL(); |
|
76 |
|
77 private: |
|
78 // constructor |
|
79 |
|
80 /** |
|
81 * C++ default constructor |
|
82 */ |
|
83 CBCTestDomJPLangCase( CBCTestDomAvkonPslnContainer* aContainer ); |
|
84 |
|
85 /** |
|
86 * Symbian 2nd constructor |
|
87 */ |
|
88 void ConstructL(); |
|
89 |
|
90 private: // data |
|
91 |
|
92 /** |
|
93 * Pointer to container. |
|
94 * not own |
|
95 */ |
|
96 CBCTestDomAvkonPslnContainer* iContainer; |
|
97 |
|
98 }; |
|
99 |
|
100 #endif // C_BCTESTDOMTEMPLATECASE_H |
|