os/graphics/windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-xga.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-xga.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,74 @@
     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-xga.script
    1.21 +//
    1.22 +// This test is a direct copy of graphics-wserv-integ-surface-0001-001
    1.23 +// using the emulator configured in xga mode
    1.24 +//
    1.25 +/////////////////////////////////////////////////////////////////////
    1.26 +
    1.27 +//! @file
    1.28 +//! @SYMTestSuiteName			graphics-wserv-integ-surface
    1.29 +//! @SYMScriptTestEnvironment	This test is only only run on emulator
    1.30 +LOAD_SUITE	t_wservintegserver
    1.31 +
    1.32 +START_TESTCASE 	GRAPHICS-WSERV-INTEG-XGA-0001-0001
    1.33 +//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-XGA-0001-0001
    1.34 +//! @SYMPREQ					1007 1019
    1.35 +//! @SYMREQ						8222 8223 8227
    1.36 +//! @SYMAPI						RWindow
    1.37 +//! @SYMAuthor					John Mercer
    1.38 +//! @SYMCreationDate			24/08/2007
    1.39 +//! @SYMTestCaseDependencies	graphics-wserv-integ-surface.script
    1.40 +//! @SYMTestCaseDesc			Moving Image with opaque UI Components 				
    1.41 +//! @SYMTestActions				Environment settings:
    1.42 +//!								Emulator configured in xga mode
    1.43 +//! 							Window Size: Full screen
    1.44 +//! 							Image Size: Full screen
    1.45 +//! 								Simulated Load: 0%
    1.46 +//! 								Colour Depth: 16MAP
    1.47 +//! 								Pixel Format: YUV
    1.48 +//! 								Screen Number: 0
    1.49 +//! 								Rotation: 0
    1.50 +//! 								Screen Location: (0,0)
    1.51 +//! 								Execution Time: 30s
    1.52 +//! 								Frame Rate: 30fps
    1.53 +//! 								Buffer Format: Multiple  [exact details unknown at this point]
    1.54 +//! 							Start SimLoadApp
    1.55 +//! 							Start pseudo video playback application:
    1.56 +//! 							Create RWindow (simulate DevVideo/Ecam usage) 
    1.57 +//! 							Create RsurfaceHandle with ‘first frame of video’ 
    1.58 +//! 							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]
    1.59 +//! 							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.. 
    1.60 +//! 							Utilise multiple buffers to simulate real video usage, e.g. 4 buffers for MPEG4 decoding.
    1.61 +//! 							Call RWindow::SetBackgroundImage()
    1.62 +//! 							Create simulated UI Components
    1.63 +//! 							Draw components using CwindowGC::BitBlt() with preloaded images of UI components (button, menu bar).
    1.64 +//! 							Activate Window.
    1.65 +//! 							Update Image with next frame
    1.66 +//! 							Utilise RsurfaceHandle notification to indicate when surface has been consumed by GCE. Use Surface data APIs to update contents. Invalidate window to cause redraw.
    1.67 +//! 							Continuously perform Image updates to simulate video playback.
    1.68 +//! 
    1.69 +//! 							Measure the frame rate at which the display is updated.
    1.70 +//! @SYMTestStatus				Implemented
    1.71 +//! @SYMTestPriority			1
    1.72 +//! @SYMTestExpectedResults		Frame Rate: 30fps
    1.73 +//!								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 +//! @SYMTestType				IT
    1.75 +
    1.76 +RUN_TEST_STEP	500	t_wservintegserver	WServIntegSurface	c:\graphics\graphics-wserv-integ-xga.ini	graphics-wserv-integ-xga-0001-001
    1.77 +END_TESTCASE 	GRAPHICS-WSERV-INTEG-XGA-0001-0001