windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-basic.script
changeset 0 5d03bc08d59c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/windowing/windowserver/test/t_integ/scripts/graphics-wserv-integ-basic.script	Tue Feb 02 01:47:50 2010 +0200
@@ -0,0 +1,422 @@
+//
+// 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-basic.script
+//
+// Tests all InternalTechnology elements of the RWindowBase class
+// as a means of confidence that the APIs work as expected.
+// 
+// The purpose is to provide a regression test suite of InternalTechnology
+// APIs for RWindowBase. Negative testing is performed to confirm that correct 
+// errors are returned when incorrect parameters are given.
+//
+// The tests are fully automated.
+/////////////////////////////////////////////////////////////////////
+
+LOAD_SUITE	t_wservintegserver
+DELAY		5000
+
+//! @file
+//! @SYMTestSuiteName		graphics-wserv-integ-basic
+//! @SYMScriptTestEnvironment	This test script requires a basic ROM.
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0001
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0001
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing for setting a surface as the background of a window 				
+//! @SYMTestActions				Create an Rwindow object, set to non-zero size.
+//!								Set Rwindow background color.
+//!								Create a surface and get a handle to it.
+//!								Set surface content distinguishable from window background color
+//!								Use SetBackgroundSurface() to set the background of the window to the surface.
+//!								Activate the window.
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window displayed on screen, filled with surface. SetBackgroundSurface() returns KerrNone
+//! @SYMTestType				CIT
+RUN_TEST_STEP 100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0001
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0001
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0002
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0002
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing for setting a surface as the background of a window 				
+//! @SYMTestActions				Create an Rblankwindow object, set to non-zero size.
+//!								Set Rblankwindow background color.
+//!								Create a surface and get a handle to it.
+//!								Set surface content distinguishable from window background color
+//!								Use SetBackgroundSurface() to set the background of the window to the surface.
+//!								Activate the window
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window displayed on screen, filled with surface. SetBackgroundSurface() returns KerrNone
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0002
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0002
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0003
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0003
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Negative testing for setting a surface as the background of a window 				
+//! @SYMTestActions				Create a surface and get a handle to it.
+//!								Create an RbackedUpWindow object, set to non-zero size.
+//!								Use SetBackgroundSurface() to set the background of the window
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		TClientPanic::EWservPanicDrawable
+//! @SYMTestType				CIT
+RUN_PANIC_STEP_RESULT 5 WSERV 100     t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini 	graphics-wserv-integ-basic-0003
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0003
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0004
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0004
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing for moving a window with its background set
+//! @SYMTestActions				Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Move window to new position on screen.
+//!								Note: move window throughout the display area, i.e. from top right, to bottom right, bottom left, and then top left (i.e. circular movement around screen).
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window and surface contents move to the new position
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0004
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0004
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0005
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0005
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing for moving a window with its background set				
+//! @SYMTestActions				Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Move window to new position off screen.
+//!								Note: off screen is both partially, and wholly off screen
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window and surface contents move to the new position.
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0005
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0005
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0006
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0006
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing for resizing a window with its background set to a surface 				
+//! @SYMTestActions				Set up an RWindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+								Resize window to new size on screen:
+								1.	larger than current size (x larger)
+								2.	larger than current size (y larger)
+								3.	larger than current size (x and y)
+								4.	equal to surface size
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window and surface contents scale to the new size
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0006
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0006
+
+//GRAPHICS-WSERV-INTEG-BASIC-0007 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0008 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0009 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0010 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0011
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0011
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing that opaque GDI operations can be successfully performed on an Rwindow with a background surface set 				
+//! @SYMTestActions				Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Activate a CwindowGc object on the Rwindow.
+//!								Use this object to draw to the window, in a manner distinguishable from the surface content, using opaque drawing operations
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The window's content should be the combination of the surface where still visible, and the CwindowGc rendering
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0011
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0011
+
+//GRAPHICS-WSERV-INTEG-BASIC-0012 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0013
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0013
+//! @SYMPREQ					1019
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing that semi-transparent GDI operations can be successfully performed on an Rwindow with a background surface set 				
+//! @SYMTestActions				On a device and in a mode that supports alpha blending:
+//!								Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Activate a CwindowGc object on the Rwindow.
+//!								Use this object to draw to the window, in a manner distinguishable from the surface content, using semi-transparent drawing operations
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The window's content should be the combination of the surface where still visible, and the CwindowGc rendering
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0013
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0013
+
+//GRAPHICS-WSERV-INTEG-BASIC-0014 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0015
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0015
+//! @SYMPREQ					1019
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing that an opaque window can be put in front of an Rwindow with a background surface set 				
+//! @SYMTestActions				Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Display another window, distinguishable from the surface content,
+//!								in front of part of the first window. The window must be set as opaque
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		In the area of overlap of the two windows, the result should be only the front window
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0015
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0015
+
+//GRAPHICS-WSERV-INTEG-BASIC-0016 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0017
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0017
+//! @SYMPREQ					1019
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive testing that a semi-transparent window can be put in front of an Rwindow with a background surface set 				
+//! @SYMTestActions				On a device and in a mode that supports alpha blending:
+//!								Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Display another window, distinguishable from the surface content, in front of part of the first window. The window must be set as semi-transparent
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		In the area of overlap of the two windows, the result should be a blend of the semi-transparent window and the surface content
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0017
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0017
+
+//GRAPHICS-WSERV-INTEG-BASIC-0018 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0019
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0019
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive test that the background surface on a window can be changed
+//! @SYMTestActions				Set up an Rwindow with an assigned surface as in GRAPHICS-WSERV-GCE-0001.
+//!								Create a second surface with content distinguishable from the first one.
+//!								Call SetBackgroundSurface() to change the window's background from one surface to the other.
+//!								Update the display by hiding the window and making it visible again.
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The second surface's content will be displayed
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0019
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0019
+
+//GRAPHICS-WSERV-INTEG-BASIC-0020 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0021
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0021
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive test that the shape of a window is applied to the surface. 				
+//! @SYMTestActions				Create a window as in GRAPHICS-WSERV-GCE-0001.
+//!								Set the shape of the window to be non-rectangular.
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The surface content should be clipped to match the window shape
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0021
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0021
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0022
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0022
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Positive test that a valid key color is returned when a surface has been set as the background of a window 				
+//! @SYMTestActions				Positive test that a valid key color is returned
+//!								when a surface has been set as
+//!								the background of a window.
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Either an opaque color in chroma key composition mode, or transparent black in alpha blending mode
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0022
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0022
+
+//GRAPHICS-WSERV-INTEG-BASIC-0023 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0024 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0025 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0026 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0027 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0028 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0029 removed by CR1489
+//GRAPHICS-WSERV-INTEG-BASIC-0030 removed by CR1489
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0031
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0031
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Using SetColor() to remove any surface assigned to a Rblankwindow 				
+//! @SYMTestActions				Create a RblankWindow with an assigned surface as in GRAPHICS-WSERV-GCE-0002 
+//!								Use SetColor()
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The use of SetColor() removes any surface assigned to the window
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0031
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0031
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0032
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0032
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Moving a shaped window with a background surface 				
+//! @SYMTestActions				Create a shaped window as in GRAPHICS-WSERV-GCE-0021.
+//!								Move the window to a new location
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window and surface contents move to the new position
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0032
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0032
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0033
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0033
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Resizing a shaped window with a background surface 				
+//! @SYMTestActions				Create a shaped window as in GRAPHICS-WSERV-GCE-0021. 
+//!								Resize the window
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		Window and surface contents scale to the new size
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0033
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0033
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0034
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0034
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Semitransparent drawing on semitransparent window  which is in front of a window with a background surface 				
+//! @SYMTestActions				Create a window as in GRAPHICS-WSERV-GCE-0001.
+//!  							Create another window in front of it (wholly/partially)?
+//!							    which is semitransparent and do a semi transparent drawing
+//!							    on the front window
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The result may not be the same from one device to the next but the background surface should be blended with the semi-transparent window to some extent
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0034
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0034
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0035
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0035
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Set a corner style for a  window with surface background 				
+//! @SYMTestActions				Create a window as in GRAPHICS-WSERV-GCE-0001
+//!								Set the shape of the window using SetCornerType with few different types
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The surface content should be clipped to match the window shape
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0035
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0035
+
+START_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0036
+//! @SYMTestCaseID				GRAPHICS-WSERV-INTEG-BASIC-0036
+//! @SYMPREQ					1019
+//! @SYMREQ						8227
+//! @SYMAPI						RWindow
+//! @SYMAuthor					Usman Fayyaz
+//! @SYMCreationDate			23/04/2007
+//! @SYMTestCaseDependencies	graphics-wserv-integ-basic.script
+//! @SYMTestCaseDesc			Surface seen through shaped region 				
+//! @SYMTestActions				Create 2 shaped windows (front and back) as in GRAPHICS-WSERV-GCE-0021 each one with different background surface content.
+//!								Position the back window behind the front's L-shaped region.
+//! @SYMTestStatus				Implemented
+//! @SYMTestPriority			1
+//! @SYMTestExpectedResults		The back window's surface contents shall be visible through the L-shaped boundary
+//! @SYMTestType				CIT
+RUN_TEST_STEP			100	t_wservintegserver T_WServIntegStepBasic	Z:\graphics\graphics-wserv-integ-basic.ini	graphics-wserv-integ-basic-0036
+END_TESTCASE GRAPHICS-WSERV-INTEG-BASIC-0036
+
+//GRAPHICS-WSERV-INTEG-BASIC-0037 removed by CR1489