|
1 // |
|
2 // Copyright (c) 2009 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: |
|
15 // |
|
16 ///////////////////////////////////////////////////////////////////// |
|
17 // graphics-wserv-integ-basic.script |
|
18 // |
|
19 // Tests all InternalTechnology elements of the RWindowBase class |
|
20 // as a means of confidence that the APIs work as expected. |
|
21 // |
|
22 // The purpose is to provide a regression test suite of InternalTechnology |
|
23 // APIs for RWindowBase. Negative testing is performed to confirm that correct |
|
24 // errors are returned when incorrect parameters are given. |
|
25 // |
|
26 // The tests are fully automated. |
|
27 ///////////////////////////////////////////////////////////////////// |
|
28 |
|
29 LOAD_SUITE t_wservintegserver |
|
30 DELAY 5000 |
|
31 |
|
32 //! @file |
|
33 //! @SYMTestSuiteName graphics-wserv-integ-basic |
|
34 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
35 |
|
36 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0001 |
|
37 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0001 |
|
38 //! @SYMPREQ 1019 |
|
39 //! @SYMREQ 8227 |
|
40 //! @SYMAPI RWindow |
|
41 //! @SYMAuthor Usman Fayyaz |
|
42 //! @SYMCreationDate 23/04/2007 |
|
43 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
44 //! @SYMTestCaseDesc Positive testing for setting a surface as the background of a window |
|
45 //! @SYMTestActions Create an Rwindow object, set to non-zero size. |
|
46 //! Set Rwindow background color. |
|
47 //! Create a surface and get a handle to it. |
|
48 //! Set surface content distinguishable from window background color |
|
49 //! Use SetBackgroundSurface() to set the background of the window to the surface. |
|
50 //! Activate the window. |
|
51 //! @SYMTestStatus Implemented |
|
52 //! @SYMTestPriority 1 |
|
53 //! @SYMTestExpectedResults Window displayed on screen, filled with surface. SetBackgroundSurface() returns KerrNone |
|
54 //! @SYMTestType CIT |
|
55 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0001 |
|
56 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0001 |
|
57 |
|
58 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0002 |
|
59 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0002 |
|
60 //! @SYMPREQ 1019 |
|
61 //! @SYMREQ 8227 |
|
62 //! @SYMAPI RWindow |
|
63 //! @SYMAuthor Usman Fayyaz |
|
64 //! @SYMCreationDate 23/04/2007 |
|
65 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
66 //! @SYMTestCaseDesc Positive testing for setting a surface as the background of a window |
|
67 //! @SYMTestActions Create an Rblankwindow object, set to non-zero size. |
|
68 //! Set Rblankwindow background color. |
|
69 //! Create a surface and get a handle to it. |
|
70 //! Set surface content distinguishable from window background color |
|
71 //! Use SetBackgroundSurface() to set the background of the window to the surface. |
|
72 //! Activate the window |
|
73 //! @SYMTestStatus Implemented |
|
74 //! @SYMTestPriority 1 |
|
75 //! @SYMTestExpectedResults Window displayed on screen, filled with surface. SetBackgroundSurface() returns KerrNone |
|
76 //! @SYMTestType CIT |
|
77 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0002 |
|
78 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0002 |
|
79 |
|
80 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0003 |
|
81 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0003 |
|
82 //! @SYMPREQ 1019 |
|
83 //! @SYMREQ 8227 |
|
84 //! @SYMAPI RWindow |
|
85 //! @SYMAuthor Usman Fayyaz |
|
86 //! @SYMCreationDate 23/04/2007 |
|
87 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
88 //! @SYMTestCaseDesc Negative testing for setting a surface as the background of a window |
|
89 //! @SYMTestActions Create a surface and get a handle to it. |
|
90 //! Create an RbackedUpWindow object, set to non-zero size. |
|
91 //! Use SetBackgroundSurface() to set the background of the window |
|
92 //! @SYMTestStatus Implemented |
|
93 //! @SYMTestPriority 1 |
|
94 //! @SYMTestExpectedResults TClientPanic::EWservPanicDrawable |
|
95 //! @SYMTestType CIT |
|
96 RUN_PANIC_STEP_RESULT 5 WSERV 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0003 |
|
97 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0003 |
|
98 |
|
99 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0004 |
|
100 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0004 |
|
101 //! @SYMPREQ 1019 |
|
102 //! @SYMREQ 8227 |
|
103 //! @SYMAPI RWindow |
|
104 //! @SYMAuthor Usman Fayyaz |
|
105 //! @SYMCreationDate 23/04/2007 |
|
106 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
107 //! @SYMTestCaseDesc Positive testing for moving a window with its background set |
|
108 //! @SYMTestActions Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
109 //! Move window to new position on screen. |
|
110 //! Note: move window throughout the display area, i.e. from top right, to bottom right, bottom left, and then top left (i.e. circular movement around screen). |
|
111 //! @SYMTestStatus Implemented |
|
112 //! @SYMTestPriority 1 |
|
113 //! @SYMTestExpectedResults Window and surface contents move to the new position |
|
114 //! @SYMTestType CIT |
|
115 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0004 |
|
116 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0004 |
|
117 |
|
118 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0005 |
|
119 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0005 |
|
120 //! @SYMPREQ 1019 |
|
121 //! @SYMREQ 8227 |
|
122 //! @SYMAPI RWindow |
|
123 //! @SYMAuthor Usman Fayyaz |
|
124 //! @SYMCreationDate 23/04/2007 |
|
125 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
126 //! @SYMTestCaseDesc Positive testing for moving a window with its background set |
|
127 //! @SYMTestActions Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
128 //! Move window to new position off screen. |
|
129 //! Note: off screen is both partially, and wholly off screen |
|
130 //! @SYMTestStatus Implemented |
|
131 //! @SYMTestPriority 1 |
|
132 //! @SYMTestExpectedResults Window and surface contents move to the new position. |
|
133 //! @SYMTestType CIT |
|
134 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0005 |
|
135 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0005 |
|
136 |
|
137 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0006 |
|
138 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0006 |
|
139 //! @SYMPREQ 1019 |
|
140 //! @SYMREQ 8227 |
|
141 //! @SYMAPI RWindow |
|
142 //! @SYMAuthor Usman Fayyaz |
|
143 //! @SYMCreationDate 23/04/2007 |
|
144 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
145 //! @SYMTestCaseDesc Positive testing for resizing a window with its background set to a surface |
|
146 //! @SYMTestActions Set up an RWindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
147 Resize window to new size on screen: |
|
148 1. larger than current size (x larger) |
|
149 2. larger than current size (y larger) |
|
150 3. larger than current size (x and y) |
|
151 4. equal to surface size |
|
152 //! @SYMTestStatus Implemented |
|
153 //! @SYMTestPriority 1 |
|
154 //! @SYMTestExpectedResults Window and surface contents scale to the new size |
|
155 //! @SYMTestType CIT |
|
156 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0006 |
|
157 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0006 |
|
158 |
|
159 //GRAPHICS-WSERV-INTEG-BASIC-0007 removed by CR1489 |
|
160 //GRAPHICS-WSERV-INTEG-BASIC-0008 removed by CR1489 |
|
161 //GRAPHICS-WSERV-INTEG-BASIC-0009 removed by CR1489 |
|
162 //GRAPHICS-WSERV-INTEG-BASIC-0010 removed by CR1489 |
|
163 |
|
164 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0011 |
|
165 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0011 |
|
166 //! @SYMPREQ 1019 |
|
167 //! @SYMREQ 8227 |
|
168 //! @SYMAPI RWindow |
|
169 //! @SYMAuthor Usman Fayyaz |
|
170 //! @SYMCreationDate 23/04/2007 |
|
171 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
172 //! @SYMTestCaseDesc Positive testing that opaque GDI operations can be successfully performed on an Rwindow with a background surface set |
|
173 //! @SYMTestActions Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
174 //! Activate a CwindowGc object on the Rwindow. |
|
175 //! Use this object to draw to the window, in a manner distinguishable from the surface content, using opaque drawing operations |
|
176 //! @SYMTestStatus Implemented |
|
177 //! @SYMTestPriority 1 |
|
178 //! @SYMTestExpectedResults The window's content should be the combination of the surface where still visible, and the CwindowGc rendering |
|
179 //! @SYMTestType CIT |
|
180 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0011 |
|
181 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0011 |
|
182 |
|
183 //GRAPHICS-WSERV-INTEG-BASIC-0012 removed by CR1489 |
|
184 |
|
185 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0013 |
|
186 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0013 |
|
187 //! @SYMPREQ 1019 |
|
188 //! @SYMAPI RWindow |
|
189 //! @SYMAuthor Usman Fayyaz |
|
190 //! @SYMCreationDate 23/04/2007 |
|
191 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
192 //! @SYMTestCaseDesc Positive testing that semi-transparent GDI operations can be successfully performed on an Rwindow with a background surface set |
|
193 //! @SYMTestActions On a device and in a mode that supports alpha blending: |
|
194 //! Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
195 //! Activate a CwindowGc object on the Rwindow. |
|
196 //! Use this object to draw to the window, in a manner distinguishable from the surface content, using semi-transparent drawing operations |
|
197 //! @SYMTestStatus Implemented |
|
198 //! @SYMTestPriority 1 |
|
199 //! @SYMTestExpectedResults The window's content should be the combination of the surface where still visible, and the CwindowGc rendering |
|
200 //! @SYMTestType CIT |
|
201 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0013 |
|
202 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0013 |
|
203 |
|
204 //GRAPHICS-WSERV-INTEG-BASIC-0014 removed by CR1489 |
|
205 |
|
206 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0015 |
|
207 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0015 |
|
208 //! @SYMPREQ 1019 |
|
209 //! @SYMAPI RWindow |
|
210 //! @SYMAuthor Usman Fayyaz |
|
211 //! @SYMCreationDate 23/04/2007 |
|
212 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
213 //! @SYMTestCaseDesc Positive testing that an opaque window can be put in front of an Rwindow with a background surface set |
|
214 //! @SYMTestActions Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
215 //! Display another window, distinguishable from the surface content, |
|
216 //! in front of part of the first window. The window must be set as opaque |
|
217 //! @SYMTestStatus Implemented |
|
218 //! @SYMTestPriority 1 |
|
219 //! @SYMTestExpectedResults In the area of overlap of the two windows, the result should be only the front window |
|
220 //! @SYMTestType CIT |
|
221 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0015 |
|
222 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0015 |
|
223 |
|
224 //GRAPHICS-WSERV-INTEG-BASIC-0016 removed by CR1489 |
|
225 |
|
226 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0017 |
|
227 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0017 |
|
228 //! @SYMPREQ 1019 |
|
229 //! @SYMAPI RWindow |
|
230 //! @SYMAuthor Usman Fayyaz |
|
231 //! @SYMCreationDate 23/04/2007 |
|
232 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
233 //! @SYMTestCaseDesc Positive testing that a semi-transparent window can be put in front of an Rwindow with a background surface set |
|
234 //! @SYMTestActions On a device and in a mode that supports alpha blending: |
|
235 //! Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
236 //! Display another window, distinguishable from the surface content, in front of part of the first window. The window must be set as semi-transparent |
|
237 //! @SYMTestStatus Implemented |
|
238 //! @SYMTestPriority 1 |
|
239 //! @SYMTestExpectedResults In the area of overlap of the two windows, the result should be a blend of the semi-transparent window and the surface content |
|
240 //! @SYMTestType CIT |
|
241 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0017 |
|
242 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0017 |
|
243 |
|
244 //GRAPHICS-WSERV-INTEG-BASIC-0018 removed by CR1489 |
|
245 |
|
246 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0019 |
|
247 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0019 |
|
248 //! @SYMPREQ 1019 |
|
249 //! @SYMREQ 8227 |
|
250 //! @SYMAPI RWindow |
|
251 //! @SYMAuthor Usman Fayyaz |
|
252 //! @SYMCreationDate 23/04/2007 |
|
253 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
254 //! @SYMTestCaseDesc Positive test that the background surface on a window can be changed |
|
255 //! @SYMTestActions Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001. |
|
256 //! Create a second surface with content distinguishable from the first one. |
|
257 //! Call SetBackgroundSurface() to change the window's background from one surface to the other. |
|
258 //! Update the display by hiding the window and making it visible again. |
|
259 //! @SYMTestStatus Implemented |
|
260 //! @SYMTestPriority 1 |
|
261 //! @SYMTestExpectedResults The second surface's content will be displayed |
|
262 //! @SYMTestType CIT |
|
263 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0019 |
|
264 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0019 |
|
265 |
|
266 //GRAPHICS-WSERV-INTEG-BASIC-0020 removed by CR1489 |
|
267 |
|
268 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0021 |
|
269 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0021 |
|
270 //! @SYMAPI RWindow |
|
271 //! @SYMAuthor Usman Fayyaz |
|
272 //! @SYMCreationDate 23/04/2007 |
|
273 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
274 //! @SYMTestCaseDesc Positive test that the shape of a window is applied to the surface. |
|
275 //! @SYMTestActions Create a window as in GRAPHICS-WSERV-GCE-0001. |
|
276 //! Set the shape of the window to be non-rectangular. |
|
277 //! @SYMTestStatus Implemented |
|
278 //! @SYMTestPriority 1 |
|
279 //! @SYMTestExpectedResults The surface content should be clipped to match the window shape |
|
280 //! @SYMTestType CIT |
|
281 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0021 |
|
282 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0021 |
|
283 |
|
284 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0022 |
|
285 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0022 |
|
286 //! @SYMPREQ 1019 |
|
287 //! @SYMREQ 8227 |
|
288 //! @SYMAPI RWindow |
|
289 //! @SYMAuthor Usman Fayyaz |
|
290 //! @SYMCreationDate 23/04/2007 |
|
291 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
292 //! @SYMTestCaseDesc Positive test that a valid key color is returned when a surface has been set as the background of a window |
|
293 //! @SYMTestActions Positive test that a valid key color is returned |
|
294 //! when a surface has been set as |
|
295 //! the background of a window. |
|
296 //! @SYMTestStatus Implemented |
|
297 //! @SYMTestPriority 1 |
|
298 //! @SYMTestExpectedResults Either an opaque color in chroma key composition mode, or transparent black in alpha blending mode |
|
299 //! @SYMTestType CIT |
|
300 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0022 |
|
301 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0022 |
|
302 |
|
303 //GRAPHICS-WSERV-INTEG-BASIC-0023 removed by CR1489 |
|
304 //GRAPHICS-WSERV-INTEG-BASIC-0024 removed by CR1489 |
|
305 //GRAPHICS-WSERV-INTEG-BASIC-0025 removed by CR1489 |
|
306 //GRAPHICS-WSERV-INTEG-BASIC-0026 removed by CR1489 |
|
307 //GRAPHICS-WSERV-INTEG-BASIC-0027 removed by CR1489 |
|
308 //GRAPHICS-WSERV-INTEG-BASIC-0028 removed by CR1489 |
|
309 //GRAPHICS-WSERV-INTEG-BASIC-0029 removed by CR1489 |
|
310 //GRAPHICS-WSERV-INTEG-BASIC-0030 removed by CR1489 |
|
311 |
|
312 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0031 |
|
313 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0031 |
|
314 //! @SYMPREQ 1019 |
|
315 //! @SYMREQ 8227 |
|
316 //! @SYMAPI RWindow |
|
317 //! @SYMAuthor Usman Fayyaz |
|
318 //! @SYMCreationDate 23/04/2007 |
|
319 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
320 //! @SYMTestCaseDesc Using SetColor() to remove any surface assigned to a Rblankwindow |
|
321 //! @SYMTestActions Create a RblankWindow with an assigned surface as in GRAPHICS-WSERV-GCE-0002 |
|
322 //! Use SetColor() |
|
323 //! @SYMTestStatus Implemented |
|
324 //! @SYMTestPriority 1 |
|
325 //! @SYMTestExpectedResults The use of SetColor() removes any surface assigned to the window |
|
326 //! @SYMTestType CIT |
|
327 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0031 |
|
328 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0031 |
|
329 |
|
330 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0032 |
|
331 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0032 |
|
332 //! @SYMPREQ 1019 |
|
333 //! @SYMREQ 8227 |
|
334 //! @SYMAPI RWindow |
|
335 //! @SYMAuthor Usman Fayyaz |
|
336 //! @SYMCreationDate 23/04/2007 |
|
337 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
338 //! @SYMTestCaseDesc Moving a shaped window with a background surface |
|
339 //! @SYMTestActions Create a shaped window as in GRAPHICS-WSERV-GCE-0021. |
|
340 //! Move the window to a new location |
|
341 //! @SYMTestStatus Implemented |
|
342 //! @SYMTestPriority 1 |
|
343 //! @SYMTestExpectedResults Window and surface contents move to the new position |
|
344 //! @SYMTestType CIT |
|
345 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0032 |
|
346 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0032 |
|
347 |
|
348 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0033 |
|
349 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0033 |
|
350 //! @SYMPREQ 1019 |
|
351 //! @SYMREQ 8227 |
|
352 //! @SYMAPI RWindow |
|
353 //! @SYMAuthor Usman Fayyaz |
|
354 //! @SYMCreationDate 23/04/2007 |
|
355 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
356 //! @SYMTestCaseDesc Resizing a shaped window with a background surface |
|
357 //! @SYMTestActions Create a shaped window as in GRAPHICS-WSERV-GCE-0021. |
|
358 //! Resize the window |
|
359 //! @SYMTestStatus Implemented |
|
360 //! @SYMTestPriority 1 |
|
361 //! @SYMTestExpectedResults Window and surface contents scale to the new size |
|
362 //! @SYMTestType CIT |
|
363 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0033 |
|
364 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0033 |
|
365 |
|
366 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0034 |
|
367 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0034 |
|
368 //! @SYMPREQ 1019 |
|
369 //! @SYMREQ 8227 |
|
370 //! @SYMAPI RWindow |
|
371 //! @SYMAuthor Usman Fayyaz |
|
372 //! @SYMCreationDate 23/04/2007 |
|
373 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
374 //! @SYMTestCaseDesc Semitransparent drawing on semitransparent window which is in front of a window with a background surface |
|
375 //! @SYMTestActions Create a window as in GRAPHICS-WSERV-GCE-0001. |
|
376 //! Create another window in front of it (wholly/partially)? |
|
377 //! which is semitransparent and do a semi transparent drawing |
|
378 //! on the front window |
|
379 //! @SYMTestStatus Implemented |
|
380 //! @SYMTestPriority 1 |
|
381 //! @SYMTestExpectedResults The result may not be the same from one device to the next but the background surface should be blended with the semi-transparent window to some extent |
|
382 //! @SYMTestType CIT |
|
383 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0034 |
|
384 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0034 |
|
385 |
|
386 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0035 |
|
387 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0035 |
|
388 //! @SYMPREQ 1019 |
|
389 //! @SYMREQ 8227 |
|
390 //! @SYMAPI RWindow |
|
391 //! @SYMAuthor Usman Fayyaz |
|
392 //! @SYMCreationDate 23/04/2007 |
|
393 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
394 //! @SYMTestCaseDesc Set a corner style for a window with surface background |
|
395 //! @SYMTestActions Create a window as in GRAPHICS-WSERV-GCE-0001 |
|
396 //! Set the shape of the window using SetCornerType with few different types |
|
397 //! @SYMTestStatus Implemented |
|
398 //! @SYMTestPriority 1 |
|
399 //! @SYMTestExpectedResults The surface content should be clipped to match the window shape |
|
400 //! @SYMTestType CIT |
|
401 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0035 |
|
402 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0035 |
|
403 |
|
404 START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0036 |
|
405 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-BASIC-0036 |
|
406 //! @SYMPREQ 1019 |
|
407 //! @SYMREQ 8227 |
|
408 //! @SYMAPI RWindow |
|
409 //! @SYMAuthor Usman Fayyaz |
|
410 //! @SYMCreationDate 23/04/2007 |
|
411 //! @SYMTestCaseDependencies graphics-wserv-integ-basic.script |
|
412 //! @SYMTestCaseDesc Surface seen through shaped region |
|
413 //! @SYMTestActions Create 2 shaped windows (front and back) as in GRAPHICS-WSERV-GCE-0021 each one with different background surface content. |
|
414 //! Position the back window behind the front's L-shaped region. |
|
415 //! @SYMTestStatus Implemented |
|
416 //! @SYMTestPriority 1 |
|
417 //! @SYMTestExpectedResults The back window's surface contents shall be visible through the L-shaped boundary |
|
418 //! @SYMTestType CIT |
|
419 RUN_TEST_STEP 100 t_wservintegserver T_WServIntegStepBasic Z:\graphics\graphics-wserv-integ-basic.ini graphics-wserv-integ-basic-0036 |
|
420 END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0036 |
|
421 |
|
422 //GRAPHICS-WSERV-INTEG-BASIC-0037 removed by CR1489 |