|
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-surface-multiplescreens.script |
|
18 // |
|
19 // Tests elements of the classes associated with RWindow and the Surface Update Server |
|
20 // as a means of confidence that the APIs work as expected. |
|
21 // |
|
22 // The purpose is to provide a regression test suite of Public |
|
23 // APIs for RWindow. 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 //! @file |
|
30 //! @SYMTestSuiteName graphics-wserv-integ-surface |
|
31 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
32 LOAD_SUITE t_wservintegserver |
|
33 |
|
34 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0010-0001 |
|
35 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0010-0001 |
|
36 //! @SYMPREQ 1007 1019 |
|
37 //! @SYMREQ 8222 8223 8227 |
|
38 //! @SYMAPI RWindow |
|
39 //! @SYMAuthor John Mercer |
|
40 //! @SYMCreationDate 24/08/2007 |
|
41 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
42 //! @SYMTestCaseDesc Moving Image with opaque UI Components, multiple screen test 1 |
|
43 //! @SYMTestActions With graphics-0001 as a base, but executed on Screen 1 |
|
44 //! Measure frame rate. |
|
45 //! @SYMTestStatus Implemented |
|
46 //! @SYMTestPriority 1 |
|
47 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
48 //! Display is composed of moving image in background with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
49 //! NOTE: Display of video playback is on screen 1, with screen 0 blank. |
|
50 //! @SYMTestType CIT |
|
51 |
|
52 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0010-001 |
|
53 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0010-0001 |
|
54 |
|
55 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0011-0001 |
|
56 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0011-0001 |
|
57 //! @SYMPREQ 1007 1019 |
|
58 //! @SYMREQ 8222 8223 8227 |
|
59 //! @SYMAPI RWindow |
|
60 //! @SYMAuthor John Mercer |
|
61 //! @SYMCreationDate 24/08/2007 |
|
62 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
63 //! @SYMTestCaseDesc Moving Image with opaque UI Components, multiple screen test 2 |
|
64 //! @SYMTestActions With graphics-0001 as a base. |
|
65 //! Display an independent animation (i.e. a separate app) on screen 1. |
|
66 //! Measure frame rate. |
|
67 //! @SYMTestStatus Implemented |
|
68 //! @SYMTestPriority 1 |
|
69 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
70 //! Screen 0: Display is composed of moving image in background with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
71 //! Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour. |
|
72 //! @SYMTestType CIT |
|
73 |
|
74 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0011-001 |
|
75 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0011-0001 |
|
76 |
|
77 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0025-0001 |
|
78 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0025-0001 |
|
79 //! @SYMPREQ 1007 1019 |
|
80 //! @SYMREQ 8222 8223 8227 |
|
81 //! @SYMAPI RWindow |
|
82 //! @SYMAuthor John Mercer |
|
83 //! @SYMCreationDate 24/08/2007 |
|
84 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
85 //! @SYMTestCaseDesc Moving Image with semi-transparent UI Components, multiple screen test 1 |
|
86 //! @SYMTestActions With graphics-0001 as a base, but executed on Screen 1 |
|
87 //! Measure frame rate. |
|
88 //! @SYMTestStatus Implemented |
|
89 //! @SYMTestPriority 1 |
|
90 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
91 //! Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
92 //! NOTE: Display of video playback is on screen 1, with screen 0 blank. |
|
93 //! @SYMTestType CIT |
|
94 |
|
95 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0025-001 |
|
96 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0025-0001 |
|
97 |
|
98 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0026-0001 |
|
99 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0026-0001 |
|
100 //! @SYMPREQ 1007 1019 |
|
101 //! @SYMREQ 8222 8223 8227 |
|
102 //! @SYMAPI RWindow |
|
103 //! @SYMAuthor John Mercer |
|
104 //! @SYMCreationDate 24/08/2007 |
|
105 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
106 //! @SYMTestCaseDesc Moving Image with semi-transparent UI Components, multiple screen test 2 |
|
107 //! @SYMTestActions With graphics-0001 as a base. |
|
108 //! Display an independent animation (i.e. a separate app) on screen 1. |
|
109 //! Measure frame rate. |
|
110 //! @SYMTestStatus Implemented |
|
111 //! @SYMTestPriority 1 |
|
112 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
113 //! Screen 0: Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
114 //! Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour. |
|
115 //! @SYMTestType CIT |
|
116 |
|
117 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0026-001 |
|
118 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0026-0001 |
|
119 |
|
120 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0040-0001 |
|
121 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0040-0001 |
|
122 //! @SYMPREQ 1007 1019 |
|
123 //! @SYMREQ 8222 8223 8227 |
|
124 //! @SYMAPI RWindow |
|
125 //! @SYMAuthor John Mercer |
|
126 //! @SYMCreationDate 24/08/2007 |
|
127 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
128 //! @SYMTestCaseDesc Multiple Moving Images with opaque UI Components, multiple screen test 1 |
|
129 //! @SYMTestActions With graphics-0001 as a base, but executed on Screen 1 |
|
130 //! Measure frame rate. |
|
131 //! @SYMTestStatus Implemented |
|
132 //! @SYMTestPriority 1 |
|
133 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
134 //! Display is composed of 2 moving images in background, with opaque UI components in foreground. The moving images are that of a clock sweep with large numerals indicating the frame number (red on blue background for video, and yellow on green background for viewfinder). |
|
135 //! NOTE: Display of video playback is on screen 1, with screen 0 blank. |
|
136 //! @SYMTestType CIT |
|
137 |
|
138 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0040-001 |
|
139 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0040-0001 |
|
140 |
|
141 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0041-0001 |
|
142 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0041-0001 |
|
143 //! @SYMPREQ 1007 1019 |
|
144 //! @SYMREQ 8222 8223 8227 |
|
145 //! @SYMAPI RWindow |
|
146 //! @SYMAuthor John Mercer |
|
147 //! @SYMCreationDate 24/08/2007 |
|
148 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
149 //! @SYMTestCaseDesc Multiple Moving Images with opaque UI Components, multiple screen test 2 |
|
150 //! @SYMTestActions With graphics-0001 as a base. |
|
151 //! Display an independent animation (i.e. a separate app) on screen 1. |
|
152 //! Measure frame rate. |
|
153 //! @SYMTestStatus Implemented |
|
154 //! @SYMTestPriority 1 |
|
155 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
156 //! Screen 0: Display is composed of moving image in background with opaque UI components in foreground. The moving images are that of a clock sweep with large numerals indicating the frame number (red on blue background for video, and yellow on green background for viewfinder). |
|
157 //! Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour |
|
158 //! @SYMTestType CIT |
|
159 |
|
160 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0041-001 |
|
161 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0041-0001 |
|
162 |
|
163 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0055-0001 |
|
164 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0055-0001 |
|
165 //! @SYMPREQ 1007 1019 |
|
166 //! @SYMREQ 8222 8223 8227 |
|
167 //! @SYMAPI RWindow |
|
168 //! @SYMAuthor John Mercer |
|
169 //! @SYMCreationDate 24/08/2007 |
|
170 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
171 //! @SYMTestCaseDesc Multiple Moving Images with semi-transparent UI Components, multiple screen test 1 |
|
172 //! @SYMTestActions With graphics-0061 as a base, but executed on Screen 1 |
|
173 //! Measure frame rate. |
|
174 //! @SYMTestStatus Implemented |
|
175 //! @SYMTestPriority 1 |
|
176 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
177 //! Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
178 //! NOTE: Display of video playback is on screen 1, with screen 0 blank. |
|
179 //! @SYMTestType CIT |
|
180 |
|
181 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0055-001 |
|
182 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0055-0001 |
|
183 |
|
184 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0056-0001 |
|
185 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0056-0001 |
|
186 //! @SYMPREQ 1007 1019 |
|
187 //! @SYMREQ 8222 8223 8227 |
|
188 //! @SYMAPI RWindow |
|
189 //! @SYMAuthor John Mercer |
|
190 //! @SYMCreationDate 24/08/2007 |
|
191 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
192 //! @SYMTestCaseDesc Multiple Moving Images with semi-transparent UI Components, multiple screen test 2 |
|
193 //! @SYMTestActions With graphics-0061 as a base. |
|
194 //! Display an independent animation (i.e. a separate app) on screen 1. |
|
195 //! Measure frame rate. |
|
196 //! @SYMTestStatus Implemented |
|
197 //! @SYMTestPriority 1 |
|
198 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
199 //! Screen 0: Display is composed of moving image in background with semi-transparent UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
200 //! Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour. |
|
201 //! @SYMTestType CIT |
|
202 |
|
203 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0056-001 |
|
204 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0056-0001 |
|
205 |
|
206 START_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0076-0001 |
|
207 //! @SYMTestCaseID GRAPHICS-WSERV-INTEG-SURFACE-0076-0001 |
|
208 //! @SYMPREQ 1007 |
|
209 //! @SYMREQ 8223 |
|
210 //! @SYMAPI RSurfaceUpdateSession |
|
211 //! @SYMAuthor Alon Orbach |
|
212 //! @SYMCreationDate 28/01/2009 |
|
213 //! @SYMTestCaseDependencies graphics-wserv-integ-surface.script |
|
214 //! @SYMTestCaseDesc Background animation on a surface shared by two screens using global surface update |
|
215 //! @SYMTestActions With graphics-wserv-integ-surface-0001 as a base for screen 0. |
|
216 //! Screen 1 has a window sharing the same surface as the window on screen 0. |
|
217 //! Global surface update is used to update animation content on both backends simultaneously. |
|
218 //! |
|
219 //! Measure the frame rate at which the display is updated. |
|
220 //! @SYMTestStatus Implemented |
|
221 //! @SYMTestPriority 1 |
|
222 //! @SYMTestExpectedResults Frame Rate: 30fps |
|
223 //! Both display are composed of moving image in background. Screen 0 also shows opaque UI components in foreground. |
|
224 //! The moving image is that of a clock sweep with large numerals indicating the frame number. |
|
225 //! @SYMTestType CIT |
|
226 |
|
227 RUN_TEST_STEP !Heap=0x200000 100 t_wservintegserver WServIntegSurface c:\graphics\graphics-wserv-integ-surface.ini graphics-wserv-integ-surface-0076-001 |
|
228 END_TESTCASE GRAPHICS-WSERV-INTEG-SURFACE-0076-0001 |