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_BCTESTDOMPSLNCASE_H |
|
20 #define C_BCTESTDOMPSLNCASE_H |
|
21 |
|
22 #include "bctestcase.h" |
|
23 |
|
24 class CBCTestDomAvkonPslnContainer; |
|
25 class CCoeControl; |
|
26 |
|
27 /** |
|
28 * test case for various classes |
|
29 */ |
|
30 class CBCTestDomPslnCase: public CBCTestCase |
|
31 { |
|
32 |
|
33 public: |
|
34 // constructor and destructor |
|
35 |
|
36 /** |
|
37 * Symbian 2nd static constructor |
|
38 */ |
|
39 static CBCTestDomPslnCase* NewL( CBCTestDomAvkonPslnContainer* aContainer ); |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 */ |
|
44 virtual ~CBCTestDomPslnCase(); |
|
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: // new functions |
|
55 |
|
56 /** |
|
57 * Build autotest script |
|
58 */ |
|
59 void BuildScriptL(); |
|
60 |
|
61 /** |
|
62 * TestPslnFWBaseContainerL |
|
63 */ |
|
64 void TestPslnFWBaseContainerL(); |
|
65 |
|
66 /** |
|
67 * TestPslnFWBaseView |
|
68 */ |
|
69 void TestPslnFWBaseViewL(); |
|
70 |
|
71 /** |
|
72 * TestFWIconHelperL |
|
73 */ |
|
74 void TestFWIconHelperL(); |
|
75 |
|
76 /** |
|
77 * TestFWPluginHandlerL |
|
78 */ |
|
79 void TestFWPluginHandlerL(); |
|
80 |
|
81 /** |
|
82 * TestPslnFWAppThemeHandlerL |
|
83 */ |
|
84 void TestPslnFWAppThemeHandlerL(); |
|
85 |
|
86 private: // constructor |
|
87 |
|
88 /** |
|
89 * C++ default constructor |
|
90 */ |
|
91 CBCTestDomPslnCase( CBCTestDomAvkonPslnContainer* aContainer ); |
|
92 |
|
93 /** |
|
94 * Symbian 2nd constructor |
|
95 */ |
|
96 void ConstructL(); |
|
97 |
|
98 private: // data |
|
99 |
|
100 /** |
|
101 * Pointer to container. |
|
102 * not own |
|
103 */ |
|
104 CBCTestDomAvkonPslnContainer* iContainer; |
|
105 |
|
106 }; |
|
107 |
|
108 #endif // C_BCTESTDOMTEMPLATECASE_H |
|