|
1 [include] |
|
2 file1 =\graphics\t_graphics.ini |
|
3 |
|
4 |
|
5 [wsbmp_src] |
|
6 name =wsbmp_src |
|
7 |
|
8 |
|
9 [wsbmp] |
|
10 name =wsbmp |
|
11 |
|
12 |
|
13 [ws] |
|
14 name =ws |
|
15 |
|
16 |
|
17 [GRAPHICS-WSERV-WsBitmap-PublicApi-0002-0001-new_command04] |
|
18 ws =ws |
|
19 |
|
20 |
|
21 [GRAPHICS-WSERV-WsBitmap-PublicApi-0003-0001-new_command04] |
|
22 ws =ws |
|
23 |
|
24 |
|
25 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-new_command04] |
|
26 ws =ws |
|
27 |
|
28 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-Handle_command05] |
|
29 expected_int =0 |
|
30 |
|
31 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-WsHandle_command06] |
|
32 expected =0 |
|
33 |
|
34 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-SizeInPixels_command07] |
|
35 width =0 |
|
36 height =0 |
|
37 |
|
38 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-DisplayMode_command08] |
|
39 displaymode =ENone |
|
40 |
|
41 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-Create_command09] |
|
42 dispmode =EColor64K |
|
43 sizeinpixels_height =50 |
|
44 sizeinpixels_width =60 |
|
45 |
|
46 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-SizeInPixels_command10] |
|
47 width =60 |
|
48 height =50 |
|
49 |
|
50 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-DisplayMode_command11] |
|
51 displaymode =EColor64K |
|
52 |
|
53 [GRAPHICS-WSERV-WsBitmap-PublicApi-0004-0001-WsHandle_command13] |
|
54 expectnot =0 |
|
55 |
|
56 |
|
57 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-new_command04] |
|
58 ws =ws |
|
59 |
|
60 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-Create_command05] |
|
61 dispmode =EColor64K |
|
62 sizeinpixels_height =50 |
|
63 sizeinpixels_width =60 |
|
64 |
|
65 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-WsHandle_command07] |
|
66 expectnot =0 |
|
67 |
|
68 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-new_command09] |
|
69 ws =ws |
|
70 |
|
71 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-Handle_command10] |
|
72 expected_int =0 |
|
73 |
|
74 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-WsHandle_command11] |
|
75 expected =0 |
|
76 |
|
77 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-SizeInPixels_command12] |
|
78 width =0 |
|
79 height =0 |
|
80 |
|
81 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-DisplayMode_command13] |
|
82 displaymode =ENone |
|
83 |
|
84 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-Duplicate_command14] |
|
85 handle_name =wsbmp_src |
|
86 |
|
87 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-SizeInPixels_command15] |
|
88 width =60 |
|
89 height =50 |
|
90 |
|
91 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-DisplayMode_command16] |
|
92 displaymode =EColor64K |
|
93 |
|
94 [GRAPHICS-WSERV-WsBitmap-PublicApi-0005-0001-WsHandle_command18] |
|
95 expectnot =0 |
|
96 |
|
97 |
|
98 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-new_command04] |
|
99 ws =ws |
|
100 |
|
101 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-Create_command05] |
|
102 dispmode =EColor64K |
|
103 sizeinpixels_height =50 |
|
104 sizeinpixels_width =60 |
|
105 |
|
106 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-Save_command06] |
|
107 file_name =\graphics\test_wsbitmap.tmp |
|
108 use_rfile =FALSE |
|
109 |
|
110 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-WsHandle_command08] |
|
111 expectnot =0 |
|
112 |
|
113 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-new_command10] |
|
114 ws =ws |
|
115 |
|
116 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-Handle_command11] |
|
117 expected_int =0 |
|
118 |
|
119 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-WsHandle_command12] |
|
120 expected =0 |
|
121 |
|
122 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-SizeInPixels_command13] |
|
123 width =0 |
|
124 height =0 |
|
125 |
|
126 [GRAPHICS-WSERV-WsBitmap-PublicApi-0006-0001-Load_command14] |
|
127 shareifloaded =TRUE |
|
128 id =0 |
|
129 filename =\graphics\test_wsbitmap.tmp |
|
130 |
|
131 |
|
132 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-new_command04] |
|
133 ws =ws |
|
134 |
|
135 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-Create_command05] |
|
136 dispmode =EColor64K |
|
137 sizeinpixels_height =50 |
|
138 sizeinpixels_width =60 |
|
139 |
|
140 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-ExternalizeL_command06] |
|
141 file_name =\graphics\test_wsbitmap.tmp |
|
142 use_closed_stream =FALSE |
|
143 |
|
144 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-new_command08] |
|
145 ws =ws |
|
146 |
|
147 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-Handle_command09] |
|
148 expected_int =0 |
|
149 |
|
150 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-WsHandle_command10] |
|
151 expected =0 |
|
152 |
|
153 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-SizeInPixels_command11] |
|
154 width =0 |
|
155 height =0 |
|
156 |
|
157 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-InternalizeL_command12] |
|
158 filename =\graphics\test_wsbitmap.tmp |
|
159 use_closed_stream =FALSE |
|
160 |
|
161 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-WsHandle_command14] |
|
162 expectnot =0 |
|
163 |
|
164 [GRAPHICS-WSERV-WsBitmap-PublicApi-0007-0001-SizeInPixels_command15] |
|
165 width =60 |
|
166 height =50 |
|
167 |
|
168 |
|
169 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-new_command04] |
|
170 ws =ws |
|
171 |
|
172 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-Create_command05] |
|
173 sizeinpixels_height =50 |
|
174 dispmode =EColor64K |
|
175 sizeinpixels_width =60 |
|
176 |
|
177 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-WsHandle_command07] |
|
178 expectnot =0 |
|
179 |
|
180 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-Handle_command09] |
|
181 expected_int =0 |
|
182 |
|
183 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-WsHandle_command10] |
|
184 expected =0 |
|
185 |
|
186 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-SizeInPixels_command11] |
|
187 width =0 |
|
188 height =0 |
|
189 |
|
190 [GRAPHICS-WSERV-WsBitmap-PublicApi-0008-0001-DisplayMode_command12] |
|
191 displaymode =ENone |
|
192 |
|
193 // **************************************************************************** |
|
194 // Negative testcases of CWsBitmap |
|
195 // **************************************************************************** |
|
196 |
|
197 [GRAPHICS-WSERV-WsBitmap-PublicApi-1001-0001-Create_command01] |
|
198 dispmode =EColor64K |
|
199 sizeinpixels_height =50 |
|
200 sizeinpixels_width =60 |
|
201 |
|
202 |
|
203 [GRAPHICS-WSERV-WsBitmap-PublicApi-1002-0001-new_command01] |
|
204 ws =ws |
|
205 |
|
206 [GRAPHICS-WSERV-WsBitmap-PublicApi-1002-0001-Create_command02] |
|
207 dispmode =EColor64K |
|
208 sizeinpixels_height =50 |
|
209 sizeinpixels_width =60 |
|
210 |
|
211 |
|
212 [GRAPHICS-WSERV-WsBitmap-PublicApi-1003-0001-new_command01] |
|
213 ws =ws |
|
214 |
|
215 [GRAPHICS-WSERV-WsBitmap-PublicApi-1003-0001-Create_command02] |
|
216 dispmode =EColor64K |
|
217 sizeinpixels_height =-50 |
|
218 sizeinpixels_width =-60 |
|
219 |
|
220 |
|
221 [GRAPHICS-WSERV-WsBitmap-PublicApi-1004-0001-new_command01] |
|
222 ws =ws |
|
223 |
|
224 [GRAPHICS-WSERV-WsBitmap-PublicApi-1004-0001-Create_command02] |
|
225 dispmode =ENone |
|
226 sizeinpixels_height =50 |
|
227 sizeinpixels_width =60 |
|
228 |
|
229 |
|
230 [GRAPHICS-WSERV-WsBitmap-PublicApi-1005-0001-new_command01] |
|
231 ws =ws |
|
232 |
|
233 [GRAPHICS-WSERV-WsBitmap-PublicApi-1005-0001-Duplicate_command02] |
|
234 handle =-1 |
|
235 |
|
236 |
|
237 [GRAPHICS-WSERV-WsBitmap-PublicApi-1006-0001-new_command01] |
|
238 ws =ws |
|
239 |
|
240 [GRAPHICS-WSERV-WsBitmap-PublicApi-1006-0001-Create_command02] |
|
241 dispmode =EColor64K |
|
242 sizeinpixels_height =50 |
|
243 sizeinpixels_width =60 |
|
244 |
|
245 [GRAPHICS-WSERV-WsBitmap-PublicApi-1006-0001-Duplicate_command03] |
|
246 handle_name =wsbmp_src |
|
247 |
|
248 |
|
249 [GRAPHICS-WSERV-WsBitmap-PublicApi-1007-0001-new_command01] |
|
250 ws =ws |
|
251 |
|
252 [GRAPHICS-WSERV-WsBitmap-PublicApi-1007-0001-Load_command02] |
|
253 shareifloaded =TRUE |
|
254 id =0 |
|
255 filename =\graphics\wserv\test_board.mbm |
|
256 |
|
257 |
|
258 [GRAPHICS-WSERV-WsBitmap-PublicApi-1008-0001-new_command01] |
|
259 ws =ws |
|
260 |
|
261 [GRAPHICS-WSERV-WsBitmap-PublicApi-1008-0001-Load_command02] |
|
262 shareifloaded =TRUE |
|
263 id =10000 |
|
264 filename =\graphics\wserv\test_board.mbm |
|
265 |
|
266 |
|
267 [GRAPHICS-WSERV-WsBitmap-PublicApi-1009-0001-new_command01] |
|
268 ws =ws |
|
269 |
|
270 [GRAPHICS-WSERV-WsBitmap-PublicApi-1009-0001-Load_command02] |
|
271 shareifloaded =TRUE |
|
272 id =1 |
|
273 filename =\graphics\wserv\file_not_found.txt |
|
274 |
|
275 |
|
276 [GRAPHICS-WSERV-WsBitmap-PublicApi-1010-0001-new_command01] |
|
277 ws =ws |
|
278 |
|
279 [GRAPHICS-WSERV-WsBitmap-PublicApi-1010-0001-InternalizeL_command02] |
|
280 filename =\graphics\wserv\test_board.mbm |
|
281 use_closed_stream =FALSE |
|
282 |