os/graphics/windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface-multiplescreens.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface-multiplescreens.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,228 @@
     1.4 +//
     1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description: 
    1.18 +//
    1.19 +/////////////////////////////////////////////////////////////////////
    1.20 +// graphics-wserv-integ-surface-multiplescreens.script
    1.21 +//
    1.22 +// Tests elements of the classes associated with RWindow and the Surface Update Server
    1.23 +// as a means of confidence that the APIs work as expected.
    1.24 +//
    1.25 +// The purpose is to provide a regression test suite of Public
    1.26 +// APIs for RWindow. Negative testing is performed to confirm that correct 
    1.27 +// errors are returned when incorrect parameters are given.
    1.28 +//
    1.29 +// The tests are fully automated.
    1.30 +/////////////////////////////////////////////////////////////////////
    1.31 +
    1.32 +//! @file
    1.33 +//! @SYMTestSuiteName			graphics-wserv-integ-surface
    1.34 +//! @SYMScriptTestEnvironment	This test script requires a basic ROM.
    1.35 +LOAD_SUITE	t_wservintegserver
    1.36 +
    1.37 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0010-0001
    1.38 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0010-0001
    1.39 +//! @SYMPREQ					1007 1019
    1.40 +//! @SYMREQ						8222 8223 8227
    1.41 +//! @SYMAPI						RWindow
    1.42 +//! @SYMAuthor					John Mercer
    1.43 +//! @SYMCreationDate			24/08/2007
    1.44 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
    1.45 +//! @SYMTestCaseDesc			Moving Image with opaque UI Components, multiple screen test 1
    1.46 +//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
    1.47 +//! 						Measure frame rate.
    1.48 +//! @SYMTestStatus				Implemented
    1.49 +//! @SYMTestPriority			1
    1.50 +//! @SYMTestExpectedResults		Frame Rate: 30fps
    1.51 +//! 							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. 
    1.52 +//!								NOTE: Display of video playback is on screen 1, with screen 0 blank.
    1.53 +//! @SYMTestType				CIT
    1.54 +
    1.55 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0010-001
    1.56 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0010-0001
    1.57 +
    1.58 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0011-0001
    1.59 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0011-0001
    1.60 +//! @SYMPREQ					1007 1019
    1.61 +//! @SYMREQ						8222 8223 8227
    1.62 +//! @SYMAPI						RWindow
    1.63 +//! @SYMAuthor					John Mercer
    1.64 +//! @SYMCreationDate			24/08/2007
    1.65 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
    1.66 +//! @SYMTestCaseDesc			Moving Image with opaque UI Components, multiple screen test 2
    1.67 +//! @SYMTestActions				With graphics-0001 as a base.
    1.68 +//! 							Display an independent animation (i.e. a separate app) on screen 1.
    1.69 +//! 							Measure frame rate.
    1.70 +//! @SYMTestStatus				Implemented
    1.71 +//! @SYMTestPriority			1
    1.72 +//! @SYMTestExpectedResults		Frame Rate: 30fps
    1.73 +//!								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. 
    1.74 +//! 							Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
    1.75 +//! @SYMTestType				CIT
    1.76 +
    1.77 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0011-001
    1.78 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0011-0001
    1.79 +
    1.80 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0025-0001
    1.81 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0025-0001
    1.82 +//! @SYMPREQ					1007 1019
    1.83 +//! @SYMREQ						8222 8223 8227
    1.84 +//! @SYMAPI						RWindow
    1.85 +//! @SYMAuthor					John Mercer
    1.86 +//! @SYMCreationDate			24/08/2007
    1.87 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
    1.88 +//! @SYMTestCaseDesc			Moving Image with semi-transparent UI Components, multiple screen test 1
    1.89 +//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
    1.90 +//! 							Measure frame rate.
    1.91 +//! @SYMTestStatus				Implemented
    1.92 +//! @SYMTestPriority			1
    1.93 +//! @SYMTestExpectedResults		Frame Rate: 30fps
    1.94 +//! 							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. 
    1.95 +//! 							NOTE: Display of video playback is on screen 1, with screen 0 blank.
    1.96 +//!	@SYMTestType				CIT
    1.97 + 
    1.98 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0025-001
    1.99 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0025-0001
   1.100 +
   1.101 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0026-0001
   1.102 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0026-0001
   1.103 +//! @SYMPREQ					1007 1019
   1.104 +//! @SYMREQ						8222 8223 8227
   1.105 +//! @SYMAPI						RWindow
   1.106 +//! @SYMAuthor					John Mercer
   1.107 +//! @SYMCreationDate			24/08/2007
   1.108 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
   1.109 +//! @SYMTestCaseDesc			Moving Image with semi-transparent UI Components, multiple screen test 2
   1.110 +//! @SYMTestActions				With graphics-0001 as a base.
   1.111 +//! 							Display an independent animation (i.e. a separate app) on screen 1.
   1.112 +//! 							Measure frame rate.
   1.113 +//! @SYMTestStatus				Implemented
   1.114 +//! @SYMTestPriority			1
   1.115 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.116 +//! 							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. 
   1.117 +//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
   1.118 +//! @SYMTestType				CIT
   1.119 +
   1.120 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0026-001
   1.121 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0026-0001
   1.122 +
   1.123 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0040-0001
   1.124 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0040-0001
   1.125 +//! @SYMPREQ					1007 1019
   1.126 +//! @SYMREQ						8222 8223 8227
   1.127 +//! @SYMAPI						RWindow
   1.128 +//! @SYMAuthor					John Mercer
   1.129 +//! @SYMCreationDate			24/08/2007
   1.130 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
   1.131 +//! @SYMTestCaseDesc			Multiple Moving Images with opaque UI Components, multiple screen test 1
   1.132 +//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
   1.133 +//! 							Measure frame rate.
   1.134 +//! @SYMTestStatus				Implemented
   1.135 +//! @SYMTestPriority			1
   1.136 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.137 +//!								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).
   1.138 +//!								NOTE: Display of video playback is on screen 1, with screen 0 blank.
   1.139 +//! @SYMTestType				CIT
   1.140 +
   1.141 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0040-001
   1.142 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0040-0001
   1.143 +
   1.144 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0041-0001
   1.145 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0041-0001
   1.146 +//! @SYMPREQ					1007 1019
   1.147 +//! @SYMREQ						8222 8223 8227
   1.148 +//! @SYMAPI						RWindow
   1.149 +//! @SYMAuthor					John Mercer
   1.150 +//! @SYMCreationDate			24/08/2007
   1.151 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
   1.152 +//! @SYMTestCaseDesc			Multiple Moving Images with opaque UI Components, multiple screen test 2
   1.153 +//! @SYMTestActions				With graphics-0001 as a base.
   1.154 +//! 							Display an independent animation (i.e. a separate app) on screen 1.
   1.155 +//! 							Measure frame rate.
   1.156 +//! @SYMTestStatus				Implemented
   1.157 +//! @SYMTestPriority			1
   1.158 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.159 +//!								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).
   1.160 +//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour
   1.161 +//! @SYMTestType				CIT
   1.162 +
   1.163 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0041-001
   1.164 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0041-0001
   1.165 +
   1.166 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0055-0001
   1.167 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0055-0001
   1.168 +//! @SYMPREQ					1007 1019
   1.169 +//! @SYMREQ						8222 8223 8227
   1.170 +//! @SYMAPI						RWindow
   1.171 +//! @SYMAuthor					John Mercer
   1.172 +//! @SYMCreationDate			24/08/2007
   1.173 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
   1.174 +//! @SYMTestCaseDesc			Multiple Moving Images with semi-transparent UI Components, multiple screen test 1
   1.175 +//! @SYMTestActions				With graphics-0061 as a base, but executed on Screen 1
   1.176 +//! 							Measure frame rate.
   1.177 +//! @SYMTestStatus				Implemented
   1.178 +//! @SYMTestPriority			1
   1.179 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.180 +//! 							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. 
   1.181 +//! 							NOTE: Display of video playback is on screen 1, with screen 0 blank.
   1.182 +//!	@SYMTestType				CIT
   1.183 + 
   1.184 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0055-001
   1.185 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0055-0001
   1.186 +
   1.187 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0056-0001
   1.188 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0056-0001
   1.189 +//! @SYMPREQ					1007 1019
   1.190 +//! @SYMREQ						8222 8223 8227
   1.191 +//! @SYMAPI						RWindow
   1.192 +//! @SYMAuthor					John Mercer
   1.193 +//! @SYMCreationDate			24/08/2007
   1.194 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
   1.195 +//! @SYMTestCaseDesc			Multiple Moving Images with semi-transparent UI Components, multiple screen test 2
   1.196 +//! @SYMTestActions				With graphics-0061 as a base.
   1.197 +//! 							Display an independent animation (i.e. a separate app) on screen 1.
   1.198 +//! 							Measure frame rate.
   1.199 +//! @SYMTestStatus				Implemented
   1.200 +//! @SYMTestPriority			1
   1.201 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.202 +//! 							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. 
   1.203 +//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
   1.204 +//! @SYMTestType				CIT
   1.205 +
   1.206 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0056-001
   1.207 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0056-0001
   1.208 +
   1.209 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0076-0001
   1.210 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0076-0001
   1.211 +//! @SYMPREQ					1007
   1.212 +//! @SYMREQ						8223
   1.213 +//! @SYMAPI						RSurfaceUpdateSession				
   1.214 +//! @SYMAuthor					Alon Orbach
   1.215 +//! @SYMCreationDate			28/01/2009
   1.216 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script	
   1.217 +//! @SYMTestCaseDesc			Background animation on a surface shared by two screens using global surface update
   1.218 +//! @SYMTestActions				With graphics-wserv-integ-surface-0001 as a base for screen 0.
   1.219 +//! 							Screen 1 has a window sharing the same surface as the window on screen 0.
   1.220 +//! 							Global surface update is used to update animation content on both backends simultaneously.
   1.221 +//! 
   1.222 +//! 							Measure the frame rate at which the display is updated.
   1.223 +//! @SYMTestStatus				Implemented
   1.224 +//! @SYMTestPriority			1
   1.225 +//! @SYMTestExpectedResults		Frame Rate: 30fps
   1.226 +//!								Both display are composed of moving image in background. Screen 0 also shows opaque UI components in foreground.
   1.227 +//!								The moving image is that of a clock sweep with large numerals indicating the frame number.
   1.228 +//! @SYMTestType				CIT
   1.229 +
   1.230 +RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0076-001
   1.231 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0076-0001