windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface1.script
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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-surface1.script
       
    18 //
       
    19 // Tests elements of the classes associated with RWindow,
       
    20 // as a means of confidence that the APIs work as expected.
       
    21 //
       
    22 // This test grouping are broardly categorised as opaque UI, 
       
    23 // with one window per screen
       
    24 // 
       
    25 // The purpose is to provide a regression test suite of Public
       
    26 // APIs for RWindow. Negative testing is performed to confirm that correct 
       
    27 // errors are returned when incorrect parameters are given.
       
    28 //
       
    29 // The tests are fully automated.
       
    30 /////////////////////////////////////////////////////////////////////
       
    31 
       
    32 //! @file
       
    33 //! @SYMTestSuiteName			graphics-wserv-integ-surface
       
    34 //! @SYMScriptTestEnvironment	This test script requires a basic ROM.
       
    35 LOAD_SUITE	t_wservintegserver
       
    36 
       
    37 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0001-0001
       
    38 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0001-0001
       
    39 //! @SYMPREQ					1007 1019
       
    40 //! @SYMREQ						8222 8223 8227
       
    41 //! @SYMAPI						RWindow
       
    42 //! @SYMAuthor					John Mercer
       
    43 //! @SYMCreationDate			24/08/2007
       
    44 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
    45 //! @SYMTestCaseDesc			Moving Image with opaque UI Components 				
       
    46 //! @SYMTestActions				Environment settings:
       
    47 //! 							Window Size: Full screen
       
    48 //! 							Image Size: Full screen
       
    49 //! 								Simulated Load: 0%
       
    50 //! 								Colour Depth: 16MAP
       
    51 //! 								Pixel Format: RGB8888
       
    52 //! 								Screen Number: 0
       
    53 //! 								Rotation: 0
       
    54 //! 								Screen Location: (0,0)
       
    55 //! 								Execution Time: 30s
       
    56 //! 								Frame Rate: 30fps
       
    57 //! 							Start SimLoadApp
       
    58 //! 							Start pseudo video playback application:
       
    59 //! 							Create RWindow (simulate DevVideo/Ecam usage) 
       
    60 //! 							Create RsurfaceHandle with ‘first frame of video’ 
       
    61 //! 							Use Surface data APIs to generate content. Since this is licensee replaceable, the test code implementation must allow for this to be replaceable, e.g. library dll. [exact details of data APIs unknown at this point]
       
    62 //! 							Content is to be simple but quickly indicative of failure to the human eye, e.g. a clock sweep with large numerals indicating the frame number.. 
       
    63 //! 							Number of buffers per surface set to two.
       
    64 //! 							Call RWindow::SetBackgroundSurface()
       
    65 //! 							Create simulated UI Components
       
    66 //! 							Draw components using CwindowGC::BitBlt() with preloaded images of UI components (button, menu bar).
       
    67 //! 							Activate Window.
       
    68 //! 							Update Image with next frame
       
    69 //! 							Utilise RsurfaceHandle notification to indicate when surface has been consumed by GCE. Use Surface data APIs to update contents. Invalidate window to cause redraw.
       
    70 //! 							Continuously perform Image updates to simulate video playback.
       
    71 //! 
       
    72 //! 							Measure the frame rate at which the display is updated.
       
    73 //! @SYMTestStatus				Implemented
       
    74 //! @SYMTestPriority			1
       
    75 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
    76 //!								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.
       
    77 //! @SYMTestType				IT
       
    78 
       
    79 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0001-001
       
    80 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0001-0001
       
    81 
       
    82 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0001
       
    83 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0001
       
    84 //! @SYMPREQ					1007 1019
       
    85 //! @SYMREQ						8222 8223 8227
       
    86 //! @SYMAPI						RWindow
       
    87 //! @SYMAuthor					John Mercer
       
    88 //! @SYMCreationDate			24/08/2007
       
    89 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
    90 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 10% simulated load 				
       
    91 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 10% before executing the video playback.
       
    92 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
    93 //! @SYMTestStatus				Implemented
       
    94 //! @SYMTestPriority			1
       
    95 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
    96 //!								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.
       
    97 //! @SYMTestType				CIT
       
    98 
       
    99 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-001
       
   100 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0001
       
   101 
       
   102 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0002
       
   103 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0002
       
   104 //! @SYMPREQ					1007 1019
       
   105 //! @SYMREQ						8222 8223 8227
       
   106 //! @SYMAPI						RWindow
       
   107 //! @SYMAuthor					John Mercer
       
   108 //! @SYMCreationDate			24/08/2007
       
   109 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   110 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 20% simulated load 				
       
   111 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 20% before executing the video playback.
       
   112 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
   113 //! @SYMTestStatus				Implemented
       
   114 //! @SYMTestPriority			1
       
   115 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
   116 //!								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.
       
   117 //! @SYMTestType				CIT
       
   118 
       
   119 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-002
       
   120 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0002
       
   121 
       
   122 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0003
       
   123 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0003
       
   124 //! @SYMPREQ					1007 1019
       
   125 //! @SYMREQ						8222 8223 8227
       
   126 //! @SYMAPI						RWindow
       
   127 //! @SYMAuthor					John Mercer
       
   128 //! @SYMCreationDate			24/08/2007
       
   129 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   130 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 30% simulated load 				
       
   131 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 30% before executing the video playback.
       
   132 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
   133 //! @SYMTestStatus				Implemented
       
   134 //! @SYMTestPriority			1
       
   135 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
   136 //!								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.
       
   137 //! @SYMTestType				CIT
       
   138 
       
   139 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-003
       
   140 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0003
       
   141 
       
   142 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0004
       
   143 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0004
       
   144 //! @SYMPREQ					1007 1019
       
   145 //! @SYMREQ						8222 8223 8227
       
   146 //! @SYMAPI						RWindow
       
   147 //! @SYMAuthor					John Mercer
       
   148 //! @SYMCreationDate			24/08/2007
       
   149 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   150 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 40% simulated load 				
       
   151 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 40% before executing the video playback.
       
   152 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
   153 //! @SYMTestStatus				Implemented
       
   154 //! @SYMTestPriority			1
       
   155 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
   156 //!								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.
       
   157 //! @SYMTestType				CIT
       
   158 
       
   159 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-004
       
   160 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0004
       
   161 
       
   162 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0005
       
   163 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0005
       
   164 //! @SYMPREQ					1007 1019
       
   165 //! @SYMREQ						8222 8223 8227
       
   166 //! @SYMAPI						RWindow
       
   167 //! @SYMAuthor					John Mercer
       
   168 //! @SYMCreationDate			24/08/2007
       
   169 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   170 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 50% simulated load 				
       
   171 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 50% before executing the video playback.
       
   172 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
   173 //! @SYMTestStatus				Implemented
       
   174 //! @SYMTestPriority			1
       
   175 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
   176 //!								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.
       
   177 //! @SYMTestType				CIT
       
   178 
       
   179 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-005
       
   180 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0005
       
   181 
       
   182 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0006
       
   183 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0002-0006
       
   184 //! @SYMPREQ					1007 1019
       
   185 //! @SYMREQ						8222 8223 8227
       
   186 //! @SYMAPI						RWindow
       
   187 //! @SYMAuthor					John Mercer
       
   188 //! @SYMCreationDate			24/08/2007
       
   189 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   190 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with 60% simulated load 				
       
   191 //! @SYMTestActions				graphics-wserv-integ-surface-0001-001 as a base, modify the SimLoadApp to load the CPU to 60% before executing the video playback.
       
   192 //!								Measure the frame rate at which the display is updated when under a simulated load.
       
   193 //! @SYMTestStatus				Implemented
       
   194 //! @SYMTestPriority			1
       
   195 //! @SYMTestExpectedResults			Frame rate is reduced with increased static load
       
   196 //!								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.
       
   197 //! @SYMTestType				CIT
       
   198 
       
   199 RUN_TEST_STEP !Heap=0x200000	2000	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0002-006
       
   200 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0002-0006
       
   201 
       
   202 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0001
       
   203 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0003-0001
       
   204 //! @SYMPREQ					1007 1019
       
   205 //! @SYMREQ						8222 8223 8227
       
   206 //! @SYMAPI						RWindow
       
   207 //! @SYMAuthor					John Mercer
       
   208 //! @SYMCreationDate			24/08/2007
       
   209 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   210 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size > image size				
       
   211 //! @SYMTestActions						Info - Image stretched to fit window
       
   212 //! 								Measure frame rate achieved whilst image size is changed
       
   213 //! 								With window size to full screen.
       
   214 //! 								Image size to Half Screen
       
   215 //! @SYMTestStatus				Implemented
       
   216 //! @SYMTestPriority			1
       
   217 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   218 //!								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. 
       
   219 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   220 //! @SYMTestType				CIT
       
   221 
       
   222 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0003-001
       
   223 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0001
       
   224 
       
   225 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0002
       
   226 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0003-0002
       
   227 //! @SYMPREQ					1007 1019
       
   228 //! @SYMREQ						8222 8223 8227
       
   229 //! @SYMAPI						RWindow
       
   230 //! @SYMAuthor					John Mercer
       
   231 //! @SYMCreationDate			24/08/2007
       
   232 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   233 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size > image size				
       
   234 //! @SYMTestActions						Info - Image stretched to fit window
       
   235 //!								Measure frame rate achieved whilst image size is changed
       
   236 //!								With window size to full screen.
       
   237 //!								Image size to Quarter Screen
       
   238 //! @SYMTestStatus				Implemented
       
   239 //! @SYMTestPriority			1
       
   240 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   241 //!								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. 
       
   242 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   243 //! @SYMTestType				CIT
       
   244 
       
   245 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0003-002
       
   246 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0002
       
   247 
       
   248 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0003
       
   249 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0003-0003
       
   250 //! @SYMPREQ					1007 1019
       
   251 //! @SYMREQ						8222 8223 8227
       
   252 //! @SYMAPI						RWindow
       
   253 //! @SYMAuthor					John Mercer
       
   254 //! @SYMCreationDate			24/08/2007
       
   255 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   256 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size > image size				
       
   257 //! @SYMTestActions					Info - Image stretched to fit window
       
   258 //! 							Measure frame rate achieved whilst image size is changed
       
   259 //! 							With window size to full screen.
       
   260 //! 							Image size to Eigth Screen
       
   261 //! @SYMTestStatus				Implemented
       
   262 //! @SYMTestPriority			1
       
   263 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   264 								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. 
       
   265 								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   266 //! @SYMTestType				CIT
       
   267 
       
   268 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0003-003
       
   269 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0003-0003
       
   270 
       
   271 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0001
       
   272 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0004-0001
       
   273 //! @SYMPREQ					1007 1019
       
   274 //! @SYMREQ						8222 8223 8227
       
   275 //! @SYMAPI						RWindow
       
   276 //! @SYMAuthor					John Mercer
       
   277 //! @SYMCreationDate			24/08/2007
       
   278 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   279 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size == image size				
       
   280 //! @SYMTestActions						Measure frame rate achieved whilst image size is changed
       
   281 //!								With window size to half screen.
       
   282 //!								Image size to Half Screen
       
   283 //! @SYMTestStatus				Implemented
       
   284 //! @SYMTestPriority			1
       
   285 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   286 								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. 
       
   287 								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   288 //! @SYMTestType				CIT
       
   289 
       
   290 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0004-001
       
   291 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0001
       
   292 
       
   293 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0002
       
   294 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0004-0002
       
   295 //! @SYMPREQ					1007 1019
       
   296 //! @SYMREQ						8222 8223 8227
       
   297 //! @SYMAPI						RWindow
       
   298 //! @SYMAuthor					John Mercer
       
   299 //! @SYMCreationDate			24/08/2007
       
   300 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   301 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size == image size				
       
   302 //! @SYMTestActions					Measure frame rate achieved whilst image size is changed
       
   303 //! 							With window size to quarter screen.
       
   304 //! 							Image size to Quarter Screen
       
   305 //! @SYMTestStatus				Implemented
       
   306 //! @SYMTestPriority			1
       
   307 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   308 //!								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. 
       
   309 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   310 //! @SYMTestType				CIT
       
   311 
       
   312 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0004-002
       
   313 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0002
       
   314 
       
   315 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0003
       
   316 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0004-0003
       
   317 //! @SYMPREQ					1007 1019
       
   318 //! @SYMREQ						8222 8223 8227
       
   319 //! @SYMAPI						RWindow
       
   320 //! @SYMAuthor					John Mercer
       
   321 //! @SYMCreationDate			24/08/2007
       
   322 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   323 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size == image size				
       
   324 //! @SYMTestActions						Measure frame rate achieved whilst image size is changed
       
   325 //! 								With window size to eigth screen.
       
   326 //! 								Image size to Eigth Screen
       
   327 //! @SYMTestStatus				Implemented
       
   328 //! @SYMTestPriority			1
       
   329 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   330 //! 								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. 
       
   331 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   332 //! @SYMTestType				CIT
       
   333 
       
   334 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0004-003
       
   335 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0004-0003
       
   336 
       
   337 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0001
       
   338 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0005-0001
       
   339 //! @SYMPREQ					1007 1019
       
   340 //! @SYMREQ						8222 8223 8227
       
   341 //! @SYMAPI						RWindow
       
   342 //! @SYMAuthor					John Mercer
       
   343 //! @SYMCreationDate			24/08/2007
       
   344 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   345 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size < image size				
       
   346 //! @SYMTestActions					Info - Image compressed to fit window
       
   347 //! 							Measure frame rate achieved whilst image size is changed
       
   348 //! 							With window size to half screen.
       
   349 //! 							Image size to full screen
       
   350 //! @SYMTestStatus				Implemented
       
   351 //! @SYMTestPriority			1
       
   352 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   353 //! 							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. 
       
   354 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   355 //! @SYMTestType				CIT
       
   356 
       
   357 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0005-001
       
   358 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0001
       
   359 
       
   360 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0002
       
   361 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0005-0002
       
   362 //! @SYMPREQ					1007 1019
       
   363 //! @SYMREQ						8222 8223 8227
       
   364 //! @SYMAPI						RWindow
       
   365 //! @SYMAuthor					John Mercer
       
   366 //! @SYMCreationDate			24/08/2007
       
   367 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   368 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size < image size				
       
   369 //! @SYMTestActions					Info - Image compressed to fit window
       
   370 //! 							Measure frame rate achieved whilst image size is changed
       
   371 //! 							With window size to quarter screen.
       
   372 //! 							Image size to full screen
       
   373 //! @SYMTestStatus				Implemented
       
   374 //! @SYMTestPriority			1
       
   375 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   376 //! 							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. 
       
   377 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   378 //! @SYMTestType				CIT
       
   379 
       
   380 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0005-002
       
   381 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0002
       
   382 
       
   383 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0003
       
   384 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0005-0003
       
   385 //! @SYMPREQ					1007 1019
       
   386 //! @SYMREQ						8222 8223 8227
       
   387 //! @SYMAPI						RWindow
       
   388 //! @SYMAuthor					John Mercer
       
   389 //! @SYMCreationDate			24/08/2007
       
   390 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   391 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, with window size < image size				
       
   392 //! @SYMTestActions					Info - Image compressed to fit window
       
   393 //! 							Measure frame rate achieved whilst image size is changed
       
   394 //! 							With window size to eigth screen.
       
   395 //! 							Image size to full screen
       
   396 //! @SYMTestStatus				Implemented
       
   397 //! @SYMTestPriority			1
       
   398 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   399 //! 							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. 
       
   400 //!								NOTE: Results may well differ between emulator and hardware depending on filtering technique used in stretching the image to the window size.
       
   401 //! @SYMTestType				CIT
       
   402 
       
   403 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0005-003
       
   404 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0005-0003
       
   405 
       
   406 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0006-0001
       
   407 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0006-0001
       
   408 //! @SYMPREQ					1007 1019
       
   409 //! @SYMREQ						8222 8223 8227
       
   410 //! @SYMAPI						RWindow
       
   411 //! @SYMAuthor					John Mercer
       
   412 //! @SYMCreationDate			24/08/2007
       
   413 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   414 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, changing window size during playback				
       
   415 //! @SYMTestActions				With graphics-0001 as a base.
       
   416 //! 							Use Rwindow::SetSize() to incrementally decrease window size to 0, and then increase again to full screen. 
       
   417 //! 							Rate of change: once per frame
       
   418 //! 							(Image stretched/compressed to fit window)
       
   419 //! 							Measure frame rate achieved whilst window size is changed.
       
   420 //! @SYMTestStatus				Implemented
       
   421 //! @SYMTestPriority			1
       
   422 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   423 //!								Display is composed of moving image in background, which decreases in size to 0, then increases back to full screen, with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. 
       
   424 //! 							NOTE: Results may well differ between emulator and hardware depending on filtering technique used in compressing the image to the window size.
       
   425 //! @SYMTestType				CIT
       
   426 
       
   427 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0006-001
       
   428 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0006-0001
       
   429 
       
   430 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0007-0001
       
   431 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0007-0001
       
   432 //! @SYMPREQ					1007 1019
       
   433 //! @SYMREQ						8222 8223 8227
       
   434 //! @SYMAPI						RWindow
       
   435 //! @SYMAuthor					John Mercer
       
   436 //! @SYMCreationDate			24/08/2007
       
   437 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   438 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, changing window position during playback		
       
   439 //! @SYMTestActions				With graphics-0001 as a base.
       
   440 //! 							Window Size: 25% of screen size
       
   441 //! 							Image Size: 25% of screen size
       
   442 //! 							Rate of change: once per frame
       
   443 //! 							Use Rwindow::SetPosition() to incrementally change the window position, to move around the screen, in a counter clockwise direction, and then change direction after 1 revolution.
       
   444 //! 							Measure frame rate achieved whilst window position is changed.
       
   445 //! @SYMTestStatus				Implemented
       
   446 //!	@SYMTestPriority			1
       
   447 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   448 //!								Display is composed of moving image in background, which moves around screen in CCW and CW directions, with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. 
       
   449 //! @SYMTestType				CIT
       
   450 
       
   451 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0007-001
       
   452 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0007-0001
       
   453 
       
   454 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0008-0001
       
   455 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0008-0001
       
   456 //! @SYMPREQ					1007 1019
       
   457 //! @SYMREQ						8222 8223 8227
       
   458 //! @SYMAPI						RWindow
       
   459 //! @SYMAuthor					John Mercer
       
   460 //! @SYMCreationDate			24/08/2007
       
   461 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   462 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, changing window position and size during playback
       
   463 //! @SYMTestActions				With graphics-0001 as a base.
       
   464 //! 							Use Rwindow::SetExtent() to incrementally change the window position, to move around the screen, in a counter clockwise direction, and then change direction after 1 revolution, and size from full screen down to 0, and back again.
       
   465 //! 							Rate of change: once per frame
       
   466 //! 							Measure frame rate achieved whilst window size is changed.
       
   467 //! @SYMTestStatus				Implemented
       
   468 //! @SYMTestPriority			1
       
   469 //!	@SYMTestExpectedResults		Frame Rate: 30fps
       
   470 //! 							Display is composed of moving image in background, which decreases in size to 0, then increases back to full screen, with opaque UI components in foreground. The moving image is that of a clock sweep with large numerals indicating the frame number. 
       
   471 //! 							NOTE: Results may well differ between emulator and hardware depending on filtering technique used in compressing the image to the window size.
       
   472 //! @SYMTestType				CIT
       
   473 
       
   474 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0008-001
       
   475 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0008-0001
       
   476 
       
   477 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0012-0001
       
   478 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0012-0001
       
   479 //! @SYMPREQ					1007 1019
       
   480 //! @SYMREQ						8222 8223 8227
       
   481 //! @SYMAPI						RWindow
       
   482 //! @SYMAuthor					John Mercer
       
   483 //! @SYMCreationDate			24/08/2007
       
   484 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   485 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, image off screen 1
       
   486 //! @SYMTestActions				With graphics-0001 as a base.
       
   487 //! 							Position window to be partially off screen
       
   488 //! 							Measure frame rate.
       
   489 //! @SYMTestStatus				Implemented
       
   490 //! @SYMTestPriority			1
       
   491 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   492 //!								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. 
       
   493 //! 							NOTE: Part of the image is off screen.
       
   494 //! @SYMTestType				CIT
       
   495 
       
   496 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0012-001
       
   497 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0012-0001
       
   498 
       
   499 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0013-0001
       
   500 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0013-0001
       
   501 //! @SYMPREQ					1007 1019
       
   502 //! @SYMREQ						8222 8223 8227
       
   503 //! @SYMAPI						RWindow
       
   504 //! @SYMAuthor					John Mercer
       
   505 //! @SYMCreationDate			24/08/2007
       
   506 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   507 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, image off screen 2
       
   508 //! @SYMTestActions				With graphics-0001 as a base.
       
   509 //! 							Position window to be partially off screen.
       
   510 //! 							Use Rwindow::SetExtent() to incrementally change the window position and size, to move further off screen. At least one call must be to keep same position but to change size in the off screen portion.
       
   511 //! 							Measure frame rate.
       
   512 //! @SYMTestStatus				Implemented
       
   513 //!	@SYMTestPriority			1
       
   514 //! @SYMTestExpectedResults		Composition time improves as more of window moves off screen.
       
   515 //! 							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. 
       
   516 //!								NOTE: Window moves further off screen.
       
   517 //! @SYMTestType				CIT
       
   518 
       
   519 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0013-001
       
   520 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0013-0001
       
   521 
       
   522 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0014-0001
       
   523 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0014-0001
       
   524 //! @SYMPREQ					1007 1019
       
   525 //! @SYMREQ						8222 8223 8227
       
   526 //! @SYMAPI						RWindow
       
   527 //! @SYMAuthor					John Mercer
       
   528 //! @SYMCreationDate			24/08/2007
       
   529 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   530 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, popup opaque dialog
       
   531 //! @SYMTestActions				With graphics-0001 as a base.
       
   532 //! 							During playback create opaque popup dialog box in its own window and then remove. Repeat once  (BitBlt of prepared image of dialog box)
       
   533 //! 							Close dialog.
       
   534 //! 							Repeat.
       
   535 //! 							Measure frame rate
       
   536 //! @SYMTestStatus				Implemented
       
   537 //!	@SYMTestPriority			1
       
   538 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   539 //! 							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. 
       
   540 //!								Opaque dialog appears and disappears on top of scene.
       
   541 //! @SYMTestType				CIT
       
   542 
       
   543 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0014-001
       
   544 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0014-0001
       
   545 
       
   546 START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0015-0001
       
   547 //! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0015-0001
       
   548 //! @SYMPREQ					1007 1019
       
   549 //! @SYMREQ						8222 8223 8227
       
   550 //! @SYMAPI						RWindow
       
   551 //! @SYMAuthor					John Mercer
       
   552 //! @SYMCreationDate			24/08/2007
       
   553 //! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
       
   554 //! @SYMTestCaseDesc			Moving Image with opaque UI Components, popup semi-transparent dialog
       
   555 //! @SYMTestActions				With graphics-0001 as a base.
       
   556 //! 							During playback create semi-transparent popup dialog box in its own window and then remove. Repeat once  (BitBlt of prepared image of dialog box)
       
   557 //! 							Close dialog.
       
   558 //! 							Repeat.
       
   559 //! 							Measure frame rate.
       
   560 //! @SYMTestStatus				Implemented
       
   561 //!	@SYMTestPriority			1
       
   562 //! @SYMTestExpectedResults		Frame Rate: 30fps
       
   563 //! 							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. 
       
   564 //!								Semi-transparent dialog is composed on top of scene.
       
   565 //! @SYMTestType				CIT
       
   566 
       
   567 RUN_TEST_STEP !Heap=0x200000	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0015-001
       
   568 END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0015-0001