|
1 [include] |
|
2 file1 =\graphics\t_graphics.ini |
|
3 |
|
4 |
|
5 [fbsbmp] |
|
6 name =fbsbmp |
|
7 |
|
8 [fbsbmp2] |
|
9 name =fbsbmp2 |
|
10 |
|
11 [fbsmaskbmp] |
|
12 name =fbsmaskbmp |
|
13 |
|
14 [ws] |
|
15 name =ws |
|
16 |
|
17 [wsgraph] |
|
18 name =wsgraph |
|
19 |
|
20 [wsgraph2] |
|
21 name =wsgraph2 |
|
22 |
|
23 |
|
24 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Load_command05] |
|
25 bitmap_id =0 |
|
26 file_name =\graphics\wserv\test_board.mbm |
|
27 share_if_loaded =FALSE |
|
28 use_rfile =FALSE |
|
29 |
|
30 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Load_command08] |
|
31 bitmap_id =0 |
|
32 file_name =\graphics\wserv\test_mask.mbm |
|
33 share_if_loaded =FALSE |
|
34 use_rfile =FALSE |
|
35 |
|
36 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-NewL_command10] |
|
37 bitmap =fbsbmp |
|
38 mask =fbsmaskbmp |
|
39 |
|
40 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0001-0001-Id_command11] |
|
41 expectnot_id =0 |
|
42 |
|
43 |
|
44 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Load_command05] |
|
45 bitmap_id =0 |
|
46 file_name =\graphics\wserv\test_board.mbm |
|
47 share_if_loaded =FALSE |
|
48 use_rfile =FALSE |
|
49 |
|
50 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Load_command08] |
|
51 bitmap_id =0 |
|
52 file_name =\graphics\wserv\test_mask.mbm |
|
53 share_if_loaded =FALSE |
|
54 use_rfile =FALSE |
|
55 |
|
56 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-NewL_command10] |
|
57 uid =98765 |
|
58 bitmap =fbsbmp |
|
59 mask =fbsmaskbmp |
|
60 |
|
61 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0002-0001-Id_command11] |
|
62 expected_uid =98765 |
|
63 |
|
64 |
|
65 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command05] |
|
66 bitmap_id =0 |
|
67 file_name =\graphics\wserv\test_board.mbm |
|
68 share_if_loaded =FALSE |
|
69 use_rfile =FALSE |
|
70 |
|
71 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command08] |
|
72 bitmap_id =0 |
|
73 file_name =\graphics\wserv\test_mask.mbm |
|
74 share_if_loaded =FALSE |
|
75 use_rfile =FALSE |
|
76 |
|
77 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-NewL_command10] |
|
78 uid =98765 |
|
79 bitmap =fbsbmp |
|
80 mask =fbsmaskbmp |
|
81 |
|
82 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Id_command11] |
|
83 expected_uid =98765 |
|
84 |
|
85 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Load_command14] |
|
86 bitmap_id =0 |
|
87 file_name =\graphics\wserv\test_alpha.mbm |
|
88 share_if_loaded =FALSE |
|
89 use_rfile =FALSE |
|
90 |
|
91 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-NewL_command16] |
|
92 replace_name =wsgraph |
|
93 bitmap =fbsbmp2 |
|
94 mask =fbsmaskbmp |
|
95 |
|
96 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0003-0001-Id_command17] |
|
97 expected_uid =98765 |
|
98 |
|
99 |
|
100 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-Load_command05] |
|
101 bitmap_id =0 |
|
102 file_name =\graphics\wserv\test_board.mbm |
|
103 share_if_loaded =FALSE |
|
104 use_rfile =FALSE |
|
105 |
|
106 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-Load_command08] |
|
107 bitmap_id =0 |
|
108 file_name =\graphics\wserv\test_mask.mbm |
|
109 share_if_loaded =FALSE |
|
110 use_rfile =FALSE |
|
111 |
|
112 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0004-0001-NewL_command10] |
|
113 bitmap =fbsbmp |
|
114 mask =fbsmaskbmp |
|
115 |
|
116 |
|
117 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Load_command05] |
|
118 bitmap_id =0 |
|
119 file_name =\graphics\wserv\test_board.mbm |
|
120 share_if_loaded =FALSE |
|
121 use_rfile =FALSE |
|
122 |
|
123 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Load_command08] |
|
124 bitmap_id =0 |
|
125 file_name =\graphics\wserv\test_mask.mbm |
|
126 share_if_loaded =FALSE |
|
127 use_rfile =FALSE |
|
128 |
|
129 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-NewL_command10] |
|
130 uid =98765 |
|
131 bitmap =fbsbmp |
|
132 mask =fbsmaskbmp |
|
133 |
|
134 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0005-0001-Id_command11] |
|
135 expected_uid =98765 |
|
136 |
|
137 |
|
138 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Load_command05] |
|
139 bitmap_id =0 |
|
140 file_name =\graphics\wserv\test_board.mbm |
|
141 share_if_loaded =FALSE |
|
142 use_rfile =FALSE |
|
143 |
|
144 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Load_command08] |
|
145 bitmap_id =0 |
|
146 file_name =\graphics\wserv\test_mask.mbm |
|
147 share_if_loaded =FALSE |
|
148 use_rfile =FALSE |
|
149 |
|
150 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-NewL_command10] |
|
151 uid =98765 |
|
152 bitmap =fbsbmp |
|
153 mask =fbsmaskbmp |
|
154 |
|
155 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Id_command11] |
|
156 expected_uid =98765 |
|
157 |
|
158 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0006-0001-Share_command12] |
|
159 clientid =10 |
|
160 |
|
161 |
|
162 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Load_command05] |
|
163 bitmap_id =0 |
|
164 file_name =\graphics\wserv\test_board.mbm |
|
165 share_if_loaded =FALSE |
|
166 use_rfile =FALSE |
|
167 |
|
168 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Load_command08] |
|
169 bitmap_id =0 |
|
170 file_name =\graphics\wserv\test_mask.mbm |
|
171 share_if_loaded =FALSE |
|
172 use_rfile =FALSE |
|
173 |
|
174 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-NewL_command10] |
|
175 uid =98765 |
|
176 bitmap =fbsbmp |
|
177 mask =fbsmaskbmp |
|
178 |
|
179 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Id_command11] |
|
180 expected_uid =98765 |
|
181 |
|
182 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-Share_command12] |
|
183 clientid =10 |
|
184 |
|
185 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0007-0001-UnShare_command13] |
|
186 clientid =10 |
|
187 |
|
188 |
|
189 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Load_command05] |
|
190 bitmap_id =0 |
|
191 file_name =\graphics\wserv\test_board.mbm |
|
192 share_if_loaded =FALSE |
|
193 use_rfile =FALSE |
|
194 |
|
195 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Load_command08] |
|
196 bitmap_id =0 |
|
197 file_name =\graphics\wserv\test_mask.mbm |
|
198 share_if_loaded =FALSE |
|
199 use_rfile =FALSE |
|
200 |
|
201 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-NewL_command10] |
|
202 uid =98765 |
|
203 bitmap =fbsbmp |
|
204 mask =fbsmaskbmp |
|
205 |
|
206 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0008-0001-Id_command11] |
|
207 expected_uid =98765 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 |
|
213 |
|
214 // **************************************************************************** |
|
215 // CWsGraphicBitmap Public APIs inherited from CWsGraphic |
|
216 // **************************************************************************** |
|
217 |
|
218 |
|
219 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-Load_command05] |
|
220 bitmap_id =0 |
|
221 file_name =\graphics\wserv\test_board.mbm |
|
222 share_if_loaded =FALSE |
|
223 use_rfile =FALSE |
|
224 |
|
225 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-Load_command08] |
|
226 bitmap_id =0 |
|
227 file_name =\graphics\wserv\test_mask.mbm |
|
228 share_if_loaded =FALSE |
|
229 use_rfile =FALSE |
|
230 |
|
231 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0101-0001-NewL_command10] |
|
232 bitmap =fbsbmp |
|
233 mask =fbsmaskbmp |
|
234 |
|
235 |
|
236 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Load_command05] |
|
237 bitmap_id =0 |
|
238 file_name =\graphics\wserv\test_board.mbm |
|
239 share_if_loaded =FALSE |
|
240 use_rfile =FALSE |
|
241 |
|
242 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Load_command08] |
|
243 bitmap_id =0 |
|
244 file_name =\graphics\wserv\test_mask.mbm |
|
245 share_if_loaded =FALSE |
|
246 use_rfile =FALSE |
|
247 |
|
248 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-NewL_command10] |
|
249 bitmap =fbsbmp |
|
250 mask =fbsmaskbmp |
|
251 |
|
252 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0102-0001-Id_command11] |
|
253 expectnot_id =0 |
|
254 |
|
255 |
|
256 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-Load_command05] |
|
257 bitmap_id =0 |
|
258 file_name =\graphics\wserv\test_board.mbm |
|
259 share_if_loaded =FALSE |
|
260 use_rfile =FALSE |
|
261 |
|
262 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-Load_command08] |
|
263 bitmap_id =0 |
|
264 file_name =\graphics\wserv\test_mask.mbm |
|
265 share_if_loaded =FALSE |
|
266 use_rfile =FALSE |
|
267 |
|
268 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-NewL_command10] |
|
269 bitmap =fbsbmp |
|
270 mask =fbsmaskbmp |
|
271 |
|
272 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0103-0001-IsActive_command11] |
|
273 expected =TRUE |
|
274 |
|
275 |
|
276 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Load_command05] |
|
277 bitmap_id =0 |
|
278 file_name =\graphics\wserv\test_board.mbm |
|
279 share_if_loaded =FALSE |
|
280 use_rfile =FALSE |
|
281 |
|
282 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Load_command08] |
|
283 bitmap_id =0 |
|
284 file_name =\graphics\wserv\test_mask.mbm |
|
285 share_if_loaded =FALSE |
|
286 use_rfile =FALSE |
|
287 |
|
288 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-NewL_command10] |
|
289 bitmap =fbsbmp |
|
290 mask =fbsmaskbmp |
|
291 |
|
292 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-IsActive_command11] |
|
293 expected =TRUE |
|
294 |
|
295 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Id_command12] |
|
296 expectnot_id =0 |
|
297 |
|
298 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-IsActive_command14] |
|
299 expected =FALSE |
|
300 |
|
301 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-0104-0001-Id_command15] |
|
302 expected_id =0 |
|
303 |
|
304 |
|
305 |
|
306 |
|
307 // **************************************************************************** |
|
308 // Negative testcases of CWsGraphicBitmap |
|
309 // **************************************************************************** |
|
310 |
|
311 [GRAPHICS-WSERV-WsGraphicBitmap-PublicApi-1002-0001-NewL_command01] |
|
312 replace_uid =98765 |
|
313 bitmap =fbsbmp |
|
314 mask =fbsmaskbmp |