|
1 /* |
|
2 * Copyright (c) 2002 - 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: this project test api in alf_extension_api |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_TESTALFBRUSHHANDLERS_H |
|
20 #define C_TESTALFBRUSHHANDLERS_H |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <alf/alfbrushhandlers.h> |
|
24 #include <testscripterinternal.h> |
|
25 |
|
26 /*This class test protected functions of CAlfBrushHandler*/ |
|
27 class CTestCAlfBrushHandler: public CAlfBrushHandler |
|
28 { |
|
29 public: |
|
30 /* |
|
31 * Constructor |
|
32 * */ |
|
33 CTestCAlfBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
34 |
|
35 /* |
|
36 * DeConstructor |
|
37 * */ |
|
38 ~CTestCAlfBrushHandler(); |
|
39 /* |
|
40 * 2rd-Constructor |
|
41 * */ |
|
42 void ConstructL(); |
|
43 /** |
|
44 * TestBrushHandlerForMAlfExtensionL test functions from MAlfExtension |
|
45 * of CAlfBrushHandler |
|
46 * @since S60 5.0 |
|
47 * @param aItem never used |
|
48 * @return Symbian OS error code. |
|
49 */ |
|
50 virtual TInt TestBrushHandlerForMAlfExtensionL( CStifItemParser& aItem ); |
|
51 /** |
|
52 * TestBrushHandlerForOthers test other functions of CAlfBrushHandler |
|
53 * @since S60 5.0 |
|
54 * @param aItem never used |
|
55 * @return Symbian OS error code. |
|
56 */ |
|
57 virtual TInt TestBrushHandlerForOthers( CStifItemParser& aItem ); |
|
58 }; |
|
59 |
|
60 /*This class test protected functions of CAlfBorderBrushHandler*/ |
|
61 class CTestCAlfBorderBrushHandler: public CAlfBorderBrushHandler |
|
62 { |
|
63 public: |
|
64 /* |
|
65 * Constructor |
|
66 * */ |
|
67 CTestCAlfBorderBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
68 |
|
69 /* |
|
70 * DeConstructor |
|
71 * */ |
|
72 ~CTestCAlfBorderBrushHandler(); |
|
73 /** |
|
74 * TestProtectedL test protected functions |
|
75 * of CAlfBorderBrushHandler |
|
76 * @since S60 5.0 |
|
77 * @param aItem never used |
|
78 * @return Symbian OS error code. |
|
79 */ |
|
80 TInt TestProtectedL( CStifItemParser& aItem ); |
|
81 }; |
|
82 |
|
83 /*This class test protected functions of CAlfImageBrushHandler*/ |
|
84 class CTestCAlfImageBrushHandler: public CAlfImageBrushHandler |
|
85 { |
|
86 public: |
|
87 /* |
|
88 * Constructor |
|
89 * */ |
|
90 CTestCAlfImageBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
91 |
|
92 /* |
|
93 * DeConstructor |
|
94 * */ |
|
95 ~CTestCAlfImageBrushHandler(); |
|
96 /** |
|
97 * TestProtectedL test protected functions |
|
98 * of CAlfImageBrushHandler |
|
99 * @since S60 5.0 |
|
100 * @param aItem never used |
|
101 * @return Symbian OS error code. |
|
102 */ |
|
103 TInt TestProtectedL( CStifItemParser& aItem ); |
|
104 }; |
|
105 |
|
106 /*This class test protected functions of CAlfShadowBorderBrushHandler*/ |
|
107 class CTestCAlfShadowBorderBrushHandler: public CAlfShadowBorderBrushHandler |
|
108 { |
|
109 public: |
|
110 /* |
|
111 * Constructor |
|
112 * */ |
|
113 CTestCAlfShadowBorderBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
114 |
|
115 /* |
|
116 * DeConstructor |
|
117 * */ |
|
118 ~CTestCAlfShadowBorderBrushHandler(); |
|
119 /** |
|
120 * TestProtectedL test protected functions |
|
121 * of CAlfShadowBorderBrushHandler |
|
122 * @since S60 5.0 |
|
123 * @param aItem never used |
|
124 * @return Symbian OS error code. |
|
125 */ |
|
126 TInt TestProtectedL( CStifItemParser& aItem ); |
|
127 }; |
|
128 |
|
129 /*This class test protected functions of CAlfDropShadowBrushHandler*/ |
|
130 class CTestCAlfDropShadowBrushHandler: public CAlfDropShadowBrushHandler |
|
131 { |
|
132 public: |
|
133 /* |
|
134 * Constructor |
|
135 * */ |
|
136 CTestCAlfDropShadowBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
137 |
|
138 /* |
|
139 * DeConstructor |
|
140 * */ |
|
141 ~CTestCAlfDropShadowBrushHandler(); |
|
142 /** |
|
143 * TestProtectedL test protected functions |
|
144 * of CAlfDropShadowBrushHandler |
|
145 * @since S60 5.0 |
|
146 * @param aItem never used |
|
147 * @return Symbian OS error code. |
|
148 */ |
|
149 TInt TestProtectedL( CStifItemParser& aItem ); |
|
150 }; |
|
151 |
|
152 /*This class test protected functions of CAlfGradientBrushHandler*/ |
|
153 class CTestCAlfGradientBrushHandler: public CAlfGradientBrushHandler |
|
154 { |
|
155 public: |
|
156 /* |
|
157 * Constructor |
|
158 * */ |
|
159 CTestCAlfGradientBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
160 |
|
161 /* |
|
162 * DeConstructor |
|
163 * */ |
|
164 ~CTestCAlfGradientBrushHandler(); |
|
165 /** |
|
166 * TestProtectedL test protected functions |
|
167 * of CAlfGradientBrushHandler |
|
168 * @since S60 5.0 |
|
169 * @param aItem never used |
|
170 * @return Symbian OS error code. |
|
171 */ |
|
172 TInt TestProtectedL( CStifItemParser& aItem ); |
|
173 }; |
|
174 |
|
175 /*This class test protected functions of CAlfFrameBrushHandler*/ |
|
176 class CTestCAlfFrameBrushHandler: public CAlfFrameBrushHandler |
|
177 { |
|
178 public: |
|
179 /* |
|
180 * Constructor |
|
181 * */ |
|
182 CTestCAlfFrameBrushHandler( MAlfInterfaceProvider& aResolver ); |
|
183 |
|
184 /* |
|
185 * DeConstructor |
|
186 * */ |
|
187 ~CTestCAlfFrameBrushHandler(); |
|
188 /** |
|
189 * TestProtectedL test protected functions |
|
190 * of CAlfFrameBrushHandler |
|
191 * @since S60 5.0 |
|
192 * @param aItem never used |
|
193 * @return Symbian OS error code. |
|
194 */ |
|
195 TInt TestProtectedL( CStifItemParser& aItem ); |
|
196 }; |
|
197 |
|
198 #endif // C_TESTALFBRUSHHANDLERS_H |
|
199 |