windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface-screenrotation.script
author Faisal Memon <faisal.memon@nokia.com>
Fri, 25 Jun 2010 17:49:58 +0100
branchEGL_MERGE
changeset 105 158b2308cc08
parent 0 5d03bc08d59c
permissions -rw-r--r--
Fix def files so that the implementation agnostic interface definition has no non-standards defined entry points, and change the eglrefimpl specific implementation to place its private entry points high up in the ordinal order space in the implementation region, not the standards based entrypoints region.

//
// 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-screenrotation.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-0009-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0009-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, whilst changing screen device orientation
//! @SYMTestActions				With graphics-0001 as a base.
//! 							From a separate thread/process raise a screen orientation change event.
//! 							Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation 
//! 							Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini)
//! 							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: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective.
//! @SYMTestType				CIT

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

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0024-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0024-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, whilst changing screen device orientation
//! @SYMTestActions				With graphics-0001 as a base.
//! 							From a separate thread/process raise a screen orientation change event.
//! 							Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation 
//! 							Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini)
//! 							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: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective.
//!	@SYMTestType				CIT

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

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0039-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0039-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, whilst changing screen device orientation
//! @SYMTestActions				With graphics-0001 as a base.
//! 							From a separate thread/process raise a screen orientation change event.
//! 							Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation 
//! 							Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini)
//! 							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: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective.
//! @SYMTestType				CIT

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

START_TESTCASE 	GRAPHICS-WSERV-INTEG-SURFACE-0054-0001
//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-SURFACE-0054-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, whilst changing screen device orientation
//! @SYMTestActions				With graphics-0061 as a base.
//! 							From a separate thread/process raise a screen orientation change event.
//! 							Use CWsScreenDevice::SetCurrentRotations() to change the screen rotation 
//! 							Utilise CWsScreenDevice::GetRotationsList() to obtain the supported rotations. (NOTE: requires entry in wsini.ini)
//! 							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: Screen rotates through the available orientations. Application receives screen rotation event to redraw to a different perspective.
//!	@SYMTestType				CIT

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