windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-surface-screenrotation.script
author William Roberts <williamr@symbian.org>
Thu, 03 Jun 2010 17:39:46 +0100
branchNewGraphicsArchitecture
changeset 87 0709f76d91e5
parent 0 5d03bc08d59c
permissions -rw-r--r--
Add MMP files to build libOpenVG_sw.lib which uses LINKAS to redirect to libOpenVG.dll (and the same for libEGL_sw.lib and libOpenVGU_sw.lib). Only the libEGL_sw.lib redirection isn't activated - this can't happen until there is a merged libEGL.dll which supports the OpenWF synchronisation and also implements the graphical support functions. The overall aim is to eliminate the *_sw.dll implementations, at least as a compile-time way of choosing a software-only implementation.The correct way to choose is to put the right set of libraries into a ROM with suitable renaming, and in the emulator to use the "switching DLL" technique to pick the right set. As the Symbian Foundation doesn't have any alternative implementations, we don't need the switching DLLs and we can build directly to the correct name.

//
// 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