|
1 [include] |
|
2 file1 =\graphics\t_graphics.ini |
|
3 |
|
4 |
|
5 [bnkwin] |
|
6 name =bnkwin |
|
7 |
|
8 [wingrp] |
|
9 name =wingrp |
|
10 |
|
11 [scrdev] |
|
12 name =scrdev |
|
13 |
|
14 [ws] |
|
15 name =ws |
|
16 |
|
17 |
|
18 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command04] |
|
19 ws =ws |
|
20 |
|
21 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command07] |
|
22 ws =ws |
|
23 |
|
24 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-Construct_command08] |
|
25 clienthandle =1 |
|
26 |
|
27 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-new_command10] |
|
28 ws =ws |
|
29 |
|
30 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-Construct_command11] |
|
31 parent =wingrp |
|
32 handle =2 |
|
33 |
|
34 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-SetRequiredDisplayMode_command12] |
|
35 mode ={default_wserv,display_mode} |
|
36 |
|
37 [GRAPHICS-WSERV-BlankWindow-Setup-0002-0001-SetAutoFlush_command15] |
|
38 newFlushstate =TRUE |
|
39 expectedFlushstate =FALSE |
|
40 |
|
41 |
|
42 [GRAPHICS-WSERV-BlankWindow-PublicApi-0002-0001-new_command04] |
|
43 ws =ws |
|
44 |
|
45 |
|
46 [GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-new_command04] |
|
47 ws =ws |
|
48 |
|
49 [GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-Construct_command05] |
|
50 clienthandle =1 |
|
51 |
|
52 [GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-new_command07] |
|
53 ws =ws |
|
54 |
|
55 [GRAPHICS-WSERV-BlankWindow-PublicApi-0003-0001-Construct_command08] |
|
56 parent =wingrp |
|
57 handle =2 |
|
58 |
|
59 |
|
60 [GRAPHICS-WSERV-BlankWindow-PublicApi-0004-0001-SetColor_command01] |
|
61 color_red =255 |
|
62 color_green =0 |
|
63 color_blue =0 |
|
64 |
|
65 [GRAPHICS-WSERV-BlankWindow-PublicApi-0004-0001-checkRectColor_command03] |
|
66 rect1_top =0 |
|
67 rect1_left =0 |
|
68 rect1_bottom =20 |
|
69 rect1_right =20 |
|
70 expected1_red =255 |
|
71 expected1_green =0 |
|
72 expected1_blue =0 |
|
73 rect2_top =0 |
|
74 rect2_left =180 |
|
75 rect2_bottom =20 |
|
76 rect2_right =200 |
|
77 expected2_red =255 |
|
78 expected2_green =0 |
|
79 expected2_blue =0 |
|
80 rect3_top =180 |
|
81 rect3_left =0 |
|
82 rect3_bottom =200 |
|
83 rect3_right =20 |
|
84 expected3_red =255 |
|
85 expected3_green =0 |
|
86 expected3_blue =0 |
|
87 rect4_top =180 |
|
88 rect4_left =180 |
|
89 rect4_bottom =200 |
|
90 rect4_right =200 |
|
91 expected4_red =255 |
|
92 expected4_green =0 |
|
93 expected4_blue =0 |
|
94 |
|
95 |
|
96 [GRAPHICS-WSERV-BlankWindow-PublicApi-0005-0001-checkRectColor_command03] |
|
97 rect1_top =0 |
|
98 rect1_left =0 |
|
99 rect1_bottom =20 |
|
100 rect1_right =20 |
|
101 expected1_red =255 |
|
102 expected1_green =255 |
|
103 expected1_blue =255 |
|
104 rect2_top =0 |
|
105 rect2_left =180 |
|
106 rect2_bottom =20 |
|
107 rect2_right =200 |
|
108 expected2_red =255 |
|
109 expected2_green =255 |
|
110 expected2_blue =255 |
|
111 rect3_top =180 |
|
112 rect3_left =0 |
|
113 rect3_bottom =200 |
|
114 rect3_right =20 |
|
115 expected3_red =255 |
|
116 expected3_green =255 |
|
117 expected3_blue =255 |
|
118 rect4_top =180 |
|
119 rect4_left =180 |
|
120 rect4_bottom =200 |
|
121 rect4_right =200 |
|
122 expected4_red =255 |
|
123 expected4_green =255 |
|
124 expected4_blue =255 |
|
125 |
|
126 |
|
127 [GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-SetSize_command01] |
|
128 size_height =30 |
|
129 size_width =40 |
|
130 |
|
131 [GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-Size_command02] |
|
132 expected_height =30 |
|
133 expected_width =40 |
|
134 |
|
135 [GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-SetColor_command03] |
|
136 color_red =255 |
|
137 color_green =0 |
|
138 color_blue =0 |
|
139 |
|
140 [GRAPHICS-WSERV-BlankWindow-PublicApi-0006-0001-checkRectColor_command05] |
|
141 rect1_top =0 |
|
142 rect1_left =0 |
|
143 rect1_bottom =30 |
|
144 rect1_right =40 |
|
145 expected1_red =255 |
|
146 expected1_green =0 |
|
147 expected1_blue =0 |
|
148 |
|
149 |
|
150 [GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-SetExtent_command01] |
|
151 size_height =40 |
|
152 size_width =30 |
|
153 point_x =10 |
|
154 point_y =11 |
|
155 |
|
156 [GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-AbsPosition_command02] |
|
157 expected_y =11 |
|
158 expected_x =10 |
|
159 |
|
160 [GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-Size_command03] |
|
161 expected_height =40 |
|
162 expected_width =30 |
|
163 |
|
164 [GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-SetColor_command04] |
|
165 color_red =255 |
|
166 color_green =0 |
|
167 color_blue =0 |
|
168 |
|
169 [GRAPHICS-WSERV-BlankWindow-PublicApi-0007-0001-checkRectColor_command06] |
|
170 rect1_top =11 |
|
171 rect1_left =10 |
|
172 rect1_bottom =51 |
|
173 rect1_right =40 |
|
174 expected1_red =255 |
|
175 expected1_green =0 |
|
176 expected1_blue =0 |
|
177 |
|
178 |
|
179 |
|
180 |
|
181 // **************************************************************************** |
|
182 // Negative testcases of RBlankWindow |
|
183 // **************************************************************************** |
|
184 |
|
185 [GRAPHICS-WSERV-BlankWindow-PublicApi-1005-0001-SetSize_command01] |
|
186 size_height =-30 |
|
187 size_width =-40 |
|
188 |
|
189 [GRAPHICS-WSERV-BlankWindow-PublicApi-1005-0001-Size_command02] |
|
190 expected_height =0 |
|
191 expected_width =0 |
|
192 |
|
193 |
|
194 [GRAPHICS-WSERV-BlankWindow-PublicApi-1006-0001-SetExtent_command01] |
|
195 size_height =-40 |
|
196 size_width =-30 |
|
197 point_x =10 |
|
198 point_y =11 |
|
199 |
|
200 [GRAPHICS-WSERV-BlankWindow-PublicApi-1006-0001-Size_command02] |
|
201 expected_height =0 |
|
202 expected_width =0 |
|
203 |
|
204 |