windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface-multiplescreens.script
author Faisal Memon <faisal.memon@nokia.com>
Thu, 06 May 2010 11:31:11 +0100
branchNewGraphicsArchitecture
changeset 47 48b924ae7197
parent 0 5d03bc08d59c
permissions -rw-r--r--
Applied patch 1, to provide a syborg specific minigui oby file. Need to compare this with the "stripped" version currently in the tree. This supplied version applies for Nokia builds, but need to repeat the test for SF builds to see if pruning is needed, or if the file needs to be device-specific.

//
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: 
//
/////////////////////////////////////////////////////////////////////
// graphics-wserv-integ-surface-multiplescreens.script
//
// Tests elements of the classes associated with RWindow and the Surface Update Server
// as a means of confidence that the APIs work as expected.
//
// The purpose is to provide a regression test suite of Public
// APIs for RWindow. Negative testing is performed to confirm that correct 
// errors are returned when incorrect parameters are given.
//
// The tests are fully automated.
/////////////////////////////////////////////////////////////////////

//! @file
//! @SYMTestSuiteName			graphics-wserv-integ-surface
//! @SYMScriptTestEnvironment	This test script requires a basic ROM.
LOAD_SUITE	t_wservintegserver

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0010-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0010-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Moving Image with opaque UI Components, multiple screen test 1
//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
//! 						Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//! 							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. 
//!								NOTE: Display of video playback is on screen 1, with screen 0 blank.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0010-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0010-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0011-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0011-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Moving Image with opaque UI Components, multiple screen test 2
//! @SYMTestActions				With graphics-0001 as a base.
//! 							Display an independent animation (i.e. a separate app) on screen 1.
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//!								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. 
//! 							Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0011-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0011-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0025-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0025-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Moving Image with semi-transparent UI Components, multiple screen test 1
//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//! 							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. 
//! 							NOTE: Display of video playback is on screen 1, with screen 0 blank.
//!	@SYMTestType				CIT
 
RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0025-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0025-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0026-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0026-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Moving Image with semi-transparent UI Components, multiple screen test 2
//! @SYMTestActions				With graphics-0001 as a base.
//! 							Display an independent animation (i.e. a separate app) on screen 1.
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//! 							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. 
//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0026-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0026-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0040-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0040-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Multiple Moving Images with opaque UI Components, multiple screen test 1
//! @SYMTestActions				With graphics-0001 as a base, but executed on Screen 1
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//!								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).
//!								NOTE: Display of video playback is on screen 1, with screen 0 blank.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0040-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0040-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0041-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0041-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Multiple Moving Images with opaque UI Components, multiple screen test 2
//! @SYMTestActions				With graphics-0001 as a base.
//! 							Display an independent animation (i.e. a separate app) on screen 1.
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//!								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).
//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0041-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0041-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0055-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0055-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Multiple Moving Images with semi-transparent UI Components, multiple screen test 1
//! @SYMTestActions				With graphics-0061 as a base, but executed on Screen 1
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//! 							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. 
//! 							NOTE: Display of video playback is on screen 1, with screen 0 blank.
//!	@SYMTestType				CIT
 
RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0055-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0055-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0056-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0056-0001
//! @SYMPREQ					1007 1019
//! @SYMREQ						8222 8223 8227
//! @SYMAPI						RWindow
//! @SYMAuthor					John Mercer
//! @SYMCreationDate			24/08/2007
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
//! @SYMTestCaseDesc			Multiple Moving Images with semi-transparent UI Components, multiple screen test 2
//! @SYMTestActions				With graphics-0061 as a base.
//! 							Display an independent animation (i.e. a separate app) on screen 1.
//! 							Measure frame rate.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//! 							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. 
//!								Screen 1: Open GLES animation of similar image to that on screen 0, but of a different colour.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0056-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0056-0001

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0076-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0076-0001
//! @SYMPREQ					1007
//! @SYMREQ						8223
//! @SYMAPI						RSurfaceUpdateSession				
//! @SYMAuthor					Alon Orbach
//! @SYMCreationDate			28/01/2009
//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script	
//! @SYMTestCaseDesc			Background animation on a surface shared by two screens using global surface update
//! @SYMTestActions				With graphics-wserv-integ-surface-0001 as a base for screen 0.
//! 							Screen 1 has a window sharing the same surface as the window on screen 0.
//! 							Global surface update is used to update animation content on both backends simultaneously.
//! 
//! 							Measure the frame rate at which the display is updated.
//! @SYMTestStatus				Implemented
//! @SYMTestPriority			1
//! @SYMTestExpectedResults		Frame Rate: 30fps
//!								Both display are composed of moving image in background. Screen 0 also shows opaque UI components in foreground.
//!								The moving image is that of a clock sweep with large numerals indicating the frame number.
//! @SYMTestType				CIT

RUN_TEST_STEP !Heap=0x200000	100	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-surface.ini	graphics-wserv-integ-surface-0076-001
END_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0076-0001