os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/scripts/base-bsp-digitiser-driver-manual.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/scripts/base-bsp-digitiser-driver-manual.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,609 @@
     1.4 +//
     1.5 +// Copyright (c) 2005-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 +//! @file
    1.20 +//! @SYMTestSuiteName		base-bsp-digitiser-driver-manual
    1.21 +//! @SYMScriptTestEnvironment	This test script requires a base port ROM
    1.22 +
    1.23 +/////////////////////////////////////////////////////////////////////
    1.24 +// base-bsp-digitiser-driver-manual.script
    1.25 +// Tests the Digitiser via validation TRawEvents and mouse positions retrieved
    1.26 +// for pen touches on the digitiser screen.
    1.27 +// The tests are manual.
    1.28 +/////////////////////////////////////////////////////////////////////
    1.29 +
    1.30 +LOAD_SUITE	T_Digitiser
    1.31 +START_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0001
    1.32 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0001
    1.33 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
    1.34 +//!				TRawEvent::EButton1Down;
    1.35 +//!                             TRawEvent::EPointerMove;
    1.36 +//!				TRawEvent::EButton1Up
    1.37 +//! @SYMAuthor			Rehana Anwar
    1.38 +//! @SYMCreationDate		03/04/2008
    1.39 +//! @SYMTestCaseDesc		Set the display mode to default mode. 
    1.40 +//!                             Wait for user to touch an unlimited number of random pixels on the screen with a stylus.
    1.41 +//!				Highlight each pixel touch in black. 
    1.42 +//!				Wait for user to exit the screen by touching the exit box with stylus.
    1.43 +//!				Allow user to manually confirm if test has passed or failed, via a key press.
    1.44 +//! @SYMTestActions		1. Set the displaymode to the default mode.
    1.45 +//!                             2. Initialise and create the RConsole handle object.     
    1.46 +//!				3. Wait for user to touch a random pixel on the screen with a stylus.
    1.47 +//!				4. Highlight that pixel touch in black immediately.
    1.48 +//!                             5. repeat steps 3 & 4, until step 5 is processed.
    1.49 +//!				6. Wait for user to touch the black exit box, then exit the test scenario
    1.50 +//!				7. Wait for user to validate if testcase has passed or failed, via a keypress
    1.51 +//!				   (pass is dependant on the pass keypress see configuration file)
    1.52 +//!                             8. Clean up and Destroy the RConsole Handle object.
    1.53 +//! @SYMTestStatus		Implemented
    1.54 +//! @SYMTestPriority		High
    1.55 +//! @SYMTestExpectedResults	The user will manually verify that the test has passed, via a configurable keypress.
    1.56 +//! @SYMTestType		CIT
    1.57 +	START_TEST_BLOCK	100		T_Digitiser	\base\digitiser\base-bsp-digitiser-driver-manual.ini
    1.58 +		CREATE_OBJECT	HalData		digitiser1
    1.59 +		COMMAND		digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
    1.60 +		CREATE_OBJECT	RConsole	console1
    1.61 +		COMMAND		console1	new
    1.62 +		COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init
    1.63 +		COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn
    1.64 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0001-Instructions
    1.65 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0001-Read
    1.66 +		OUTSTANDING
    1.67 +		DELAY           5000
    1.68 +		COMMAND		console1	ClearScreen
    1.69 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0001-WriteFeedback
    1.70 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey
    1.71 +		OUTSTANDING
    1.72 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
    1.73 +		COMMAND		console1	Destroy
    1.74 +		COMMAND		console1	Close
    1.75 +		COMMAND		console1	~
    1.76 +	END_TEST_BLOCK
    1.77 +END_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0001
    1.78 +
    1.79 +START_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0002
    1.80 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0002
    1.81 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
    1.82 +//!				TRawEvent::EButton1Down;
    1.83 +//!                             TRawEvent::EPointerMove;
    1.84 +//!				TRawEvent::EButton1Up
    1.85 +//! @SYMAuthor			Rehana Anwar
    1.86 +//! @SYMCreationDate		03/04/2008
    1.87 +//! @SYMTestCaseDesc		Set the display mode to default mode. 
    1.88 +//!                             Wait for user to draw a straight line on the screen with a stylus.
    1.89 +//!				Highlight each pixel touch in black.
    1.90 +//!				Wait for user to exit the screen by touching the exit box with stylus.
    1.91 +//!				Allow user to manually confirm if test has passed or failed, via a key press.
    1.92 +//! @SYMTestActions		1. Set the displaymode to the default mode.
    1.93 +//!                             2. Initialise and create the RConsole handle object.    
    1.94 +//!				3. Wait for user to touch and draw a line on the screen with a stylus.
    1.95 +//!				4. Highlight that pixel touch in black immediately.
    1.96 +//!				5. Wait for user to touch the black exit box, then exit the test scenario
    1.97 +//!				6. Wait for user to validate if testcase has passed or failed, via a keypress
    1.98 +//!				   (pass is dependant on the pass keypress see configuration file)
    1.99 +//!                             7. Clean up and Destroy the RConsole Handle object.
   1.100 +//! @SYMTestStatus		Implemented
   1.101 +//! @SYMTestPriority		High
   1.102 +//! @SYMTestExpectedResults	The user will manually verify that the test has passed, via a configurable keypress.
   1.103 +//! @SYMTestType		CIT
   1.104 +	START_TEST_BLOCK	100		T_Digitiser	\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.105 +		CREATE_OBJECT	HalData		digitiser1
   1.106 +		COMMAND		digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.107 +		CREATE_OBJECT	RConsole	console1
   1.108 +		COMMAND		console1	new
   1.109 +		COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init
   1.110 +		COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn
   1.111 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0002-Instructions
   1.112 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0002-Read
   1.113 +		OUTSTANDING
   1.114 +		DELAY           5000
   1.115 +		COMMAND		console1	ClearScreen
   1.116 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0002-WriteFeedback
   1.117 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey
   1.118 +		OUTSTANDING
   1.119 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.120 +		COMMAND		console1	Destroy
   1.121 +		COMMAND		console1	Close
   1.122 +		COMMAND		console1	~
   1.123 +	END_TEST_BLOCK
   1.124 +END_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0002
   1.125 +
   1.126 +START_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0003
   1.127 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0003
   1.128 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.129 +//!				TRawEvent::EButton1Down;
   1.130 +//!                             TRawEvent::EPointerMove;
   1.131 +//!				TRawEvent::EButton1Up
   1.132 +//! @SYMAuthor			Rehana Anwar
   1.133 +//! @SYMCreationDate		03/04/2008
   1.134 +//! @SYMTestCaseDesc		Set the display mode to default mode. 
   1.135 +//!                             Wait for user to touch an predefined pixels on the screen with a stylus.
   1.136 +//!                             (these predefined pixels are configurable).
   1.137 +//!				Highlight each pixel touch in black. 
   1.138 +//!                             Validate each pixel position and event recieved.
   1.139 +//!                             Position validation comparison is dependant on the
   1.140 +//!				margin of error in pixels defined by the user. For example
   1.141 +//!				a zero margin of error defines that the user has to match the exact pixel when
   1.142 +//!				touching the screen). This testcase uses a margin of error of 10 pixels,
   1.143 +//!				in both horizontal and vertical directions. This margin is configurable.
   1.144 +//!                             Validations are also made on the expected TRawEvent. This is the respective
   1.145 +//!				down event and the respective up event when touching a pixel
   1.146 +//!				on the digitiser screen. This test case expects the following TRawEvents 
   1.147 +//!				TRawEvent::EButton1Down (a pen down event) and TRawEvent::EButton1Up (a pen move event).
   1.148 +//!                             This testcase may also recieve a move event, this occurs if the digitser is sensitive, move events map to the TRawEvent
   1.149 +//!                             TRawEvent::EPointerMove(a pen move event),if this occurs move events are ignored.
   1.150 +//!				Wait for user to exit the screen by touching the exit box with stylus.
   1.151 +//! @SYMTestActions		1. Set the displaymode to the default mode
   1.152 +//!                             2. Initialise and create the RConsole handle object.   
   1.153 +//!				3. Read in a predefined pixel.
   1.154 +//!				4. Draw first pixel on onto the screen
   1.155 +//!				5. Wait for the user to touch the pixel on the screen
   1.156 +//!				6. Store TRawEvent triggered and mouse positions.
   1.157 +//!				7. Draw the next predefined pixel on to the screen.
   1.158 +//!				8. Repeat steps 3-5 until predefined pixels have all been drawn
   1.159 +//!				or until user presses the black exit box.
   1.160 +//!				9. Compare users pixel co-ordinates and TRawEvents triggered.
   1.161 +//!                             10. Clean up and Destroy the RConsole Handle object.
   1.162 +//!				with expected.
   1.163 +//! @SYMTestStatus		Implemented
   1.164 +//! @SYMTestPriority		High
   1.165 +//! @SYMTestExpectedResults	The TRawEvent:EButton1Down and TRawEvent::EButton1Up are recieved
   1.166 +//!				in that order for each pixel touch on the digitiser. If the digitser is sensitive  move event(s) 
   1.167 +//!                             TRawEvent::EPointerMove, may be recieved in between each pen down and pen up event, this is ignored. 
   1.168 +//!                             Pixel co-ordinates match with expected pixels respective to the margin of error used.
   1.169 +//! @SYMTestType		CIT
   1.170 +	START_TEST_BLOCK	5000		T_Digitiser	\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.171 +		CREATE_OBJECT	HalData		digitiser1
   1.172 +		COMMAND		digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.173 +		CREATE_OBJECT	RConsole	console1
   1.174 +		COMMAND		console1	new
   1.175 +		COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init
   1.176 +		COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn
   1.177 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0003-Instructions
   1.178 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0003-Read
   1.179 +		OUTSTANDING
   1.180 +		DELAY           5000
   1.181 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.182 +		COMMAND		console1	Destroy
   1.183 +		COMMAND		console1	Close
   1.184 +		COMMAND		console1	~
   1.185 +	END_TEST_BLOCK
   1.186 +END_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0003
   1.187 +
   1.188 +START_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0004
   1.189 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0004
   1.190 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.191 +//!				TRawEvent::EButton1Down;
   1.192 +//!                             TRawEvent::EPointerMove;
   1.193 +//!				TRawEvent::EButton1Up
   1.194 +//! @SYMAuthor			Rehana Anwar
   1.195 +//! @SYMCreationDate		03/04/2008
   1.196 +//! @SYMTestCaseDesc		Set the display mode to default mode. 
   1.197 +//!                             Draw a predefined (configurable) bounding rectangle on the screen and wait for 
   1.198 +//!                             user to draw a line within this rectangle. Highlight this line drawn in black.
   1.199 +//!				Validate that all mouse positions retrieved are within this bounding  rectangle.
   1.200 +//!				( Please note that this comparison is dependant on the
   1.201 +//!				bounding rectangle).
   1.202 +//!				Validate each event recieved when drawing this line. This is the respective
   1.203 +//!				down event, move event and up event. We should recieve events in this order
   1.204 +//!                             TRawEvent::EButton1Down, TRawEvent::EPointerMove and TRawEvent::EButton1Up,
   1.205 +//!                             with the number of move events as unknown quantity, but a minumum of one.
   1.206 +//! @SYMTestActions		1. Set the displaymode to the default mode
   1.207 +//!                             2. Initialise and create the RConsole handle object.  
   1.208 +//!				3. Read in a predefined configurable bounding rectangle.
   1.209 +//!				4. Draw this rectangle on onto the screen.
   1.210 +//!				5. Wait for the user to draw a line within this bounding rectangle. 
   1.211 +//!			        6. Compare users pixel co-ordinates and TRawEvents triggered with expected.
   1.212 +//!				7. Wait for the user to touch the ethe black exit box.
   1.213 +//!                             8. Clean up and Destroy the RConsole Handle object.
   1.214 +//! @SYMTestStatus		Implemented
   1.215 +//! @SYMTestPriority		High
   1.216 +//! @SYMTestExpectedResults	The TRawEvent::EButton1Down, TRawEvent::EPointerMove, TRawEvent::EButton1Up are recieved
   1.217 +//!				in that order on the line, the number of TRawEvent::EPointerMove recieved, after a TRawEvent::EButton1Down event
   1.218 +//!				is random.
   1.219 +//!				Pixel co-ordinates are withing the bounding rectangle.
   1.220 +//! @SYMTestType		CIT
   1.221 +	START_TEST_BLOCK	400		T_Digitiser	\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.222 +		CREATE_OBJECT	HalData		digitiser1
   1.223 +		COMMAND		digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.224 +		CREATE_OBJECT	RConsole	console1
   1.225 +		COMMAND		console1	new
   1.226 +		COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init
   1.227 +		COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn
   1.228 +		COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0004-Instructions
   1.229 +		COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0004-Read
   1.230 +		OUTSTANDING
   1.231 +		DELAY           5000
   1.232 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.233 +		COMMAND		console1	Destroy
   1.234 +		COMMAND		console1	Close
   1.235 +		COMMAND		console1	~
   1.236 +	END_TEST_BLOCK
   1.237 +END_TESTCASE			BASE-BSP-DIGITISER-DRIVER-MANUAL-0004
   1.238 +
   1.239 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0005
   1.240 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005
   1.241 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.242 +//!                             Hal::Set(EPenState, TInt);   
   1.243 +//!                             TDigitiserHalFunction::EDigitiserHalXYState;
   1.244 +//! @SYMAuthor			Rehana Anwar
   1.245 +//! @SYMCreationDate		03/04/2008
   1.246 +//! @SYMTestCaseDesc		Pen State Manual Test 
   1.247 +//!                             Set the display mode to default mode. 
   1.248 +//!                             Disable the the Pen State for the digitiser. 
   1.249 +//!                             Wait for a pen event to be recieved.
   1.250 +//!                             Validate with user if pen event was recieved,and to fail the test if it was.
   1.251 +//!				Uses API elements: HAL::Set, EDigitiserHalXYState
   1.252 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.253 +//!                             2. Initialise and create the RConsole handle object. 
   1.254 +//!                             3. Disable the EPenState (value is 0) using HAL:Set.
   1.255 +//!				4. Get EPenState using HAL::Get,and validate that it is disabled in step 3.
   1.256 +//!                             5. Wait for user to touch the digitiser. No TRawEvent should be triggered
   1.257 +//!                                Read should timeout.  
   1.258 +//!                             6. If in step 5 a TRawevent is triggered highlight the pixel touched.
   1.259 +//!				7. Wait for user to validate if testcase has passed or failed, via a keypress
   1.260 +//!				   (pass is dependant on the pass keypress see configuration file)
   1.261 +//!                             8. Clean up and Destroy the RConsole Handle object.
   1.262 +//! @SYMTestStatus		Implemented
   1.263 +//! @SYMTestPriority		High
   1.264 +//! @SYMTestExpectedResults  	Digitiser State (touch Screen state) is disabled. Read should timeout and cancel with 
   1.265 +//!                             a -3 AsyncError code. No TRawEvent should be triggered. 
   1.266 +//! @SYMTestType		CIT
   1.267 +	START_TEST_BLOCK	300	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.268 +	        CREATE_OBJECT	HalData digitiser1
   1.269 +                COMMAND	                digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.270 +                COMMAND	                digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005-PenState
   1.271 +                COMMAND	                digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005-PenState
   1.272 +                CREATE_OBJECT	        RConsole	console1
   1.273 +                COMMAND		        console1	new
   1.274 +                COMMAND		        console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init
   1.275 +                COMMAND		        console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn                
   1.276 +                COMMAND		        console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005-PenState 
   1.277 +                COMMAND	 !AsyncError=-3 console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005-PenState
   1.278 +                OUTSTANDING
   1.279 +                COMMAND		        console1	ClearScreen
   1.280 +                COMMAND                 console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0005-WriteFeedback
   1.281 +                COMMAND		        console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.282 +	        COMMAND		        console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey       
   1.283 +                OUTSTANDING
   1.284 +                COMMAND		        console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.285 +		COMMAND		        console1	Destroy
   1.286 +		COMMAND		        console1	Close
   1.287 +		COMMAND		        console1	~
   1.288 +        END_TEST_BLOCK
   1.289 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0005
   1.290 +
   1.291 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0006
   1.292 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006
   1.293 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.294 +//!                             HAL::Set(EPenState, TInt);    
   1.295 +//!                             HAL::Get(EPenState, TInt{ref}) ;
   1.296 +//!                             TDigitiserHalFunction::EDigitiserHalXYState;
   1.297 +//!                             TRawEvent::EButton1Down;	
   1.298 +//!                             TRawEvent::EButton1Up
   1.299 +//! @SYMAuthor			Rehana Anwar
   1.300 +//! @SYMCreationDate		03/04/2008
   1.301 +//! @SYMTestCaseDesc		Pen State Test 
   1.302 +//!                             Set the display mode to default mode. 
   1.303 +//!                             Enable the the Pen State for the digitiser.  
   1.304 +//!                             Wait for a pen event to be recieved.
   1.305 +//!                             Validate with user if pen event was recieved and to pass the test, if it was.                      
   1.306 +//!				Uses API elements: HAL::Set, EDigitiserHalXYState
   1.307 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.308 +//!                             2. Initialise and create the RConsole handle object. 
   1.309 +//!                             3. Enable the EPenState (value is 1) using HAL:Set.
   1.310 +//!				4. Get EPenState using HAL::Get, and validate that it is enabled (value is 1) in step 4.
   1.311 +//!                             5. Wait for user to touch the digitiser (A TRawEvent should be triggered).
   1.312 +//!                                and the Read should NOT timeout.  
   1.313 +//!                             6. If in step 5 a TRawevent is triggered highlight the pixel touched.
   1.314 +//!				7. Wait for user to validate if testcase has passed or failed, via a keypress
   1.315 +//!				   (pass is dependant on the pass keypress see configuration file)
   1.316 +//!                             8. Clean up and Destroy the RConsole Handle object.
   1.317 +//! @SYMTestStatus		Implemented
   1.318 +//! @SYMTestPriority		High
   1.319 +//! @SYMTestExpectedResults  	Digitiser State (touch Screen state) is enabled.  A TRawEvent should be triggered, 
   1.320 +//!                             highlighting the pixel touched.
   1.321 +//!                             Read should NOT timeout
   1.322 +//! @SYMTestType		CIT
   1.323 +	START_TEST_BLOCK	300	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.324 +	        CREATE_OBJECT	HalData         digitiser1
   1.325 +                COMMAND	        digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.326 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006-PenState
   1.327 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006-PenState
   1.328 +                CREATE_OBJECT	RConsole	console1
   1.329 +                COMMAND		console1	new
   1.330 +                COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init            
   1.331 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn 
   1.332 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006-PenState                
   1.333 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006-PenState
   1.334 +                OUTSTANDING
   1.335 +                COMMAND		console1	ClearScreen
   1.336 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0006-WriteFeedback
   1.337 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.338 +	        COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey     
   1.339 +                OUTSTANDING
   1.340 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.341 +                COMMAND		console1	Destroy
   1.342 +		COMMAND		console1	Close
   1.343 +		COMMAND		console1	~
   1.344 +        END_TEST_BLOCK
   1.345 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0006
   1.346 +
   1.347 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0007
   1.348 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007
   1.349 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.350 +//!                             HAL::Set(EPenState, TInt);    
   1.351 +//!                             HAL::Get(EPenState, TInt{ref});
   1.352 +//!                             HAL::Get(EPenClick, TInt{ref}); 
   1.353 +//!                             TSoundHalFunction::ESoundHalPointerClickEnabled
   1.354 +//! @SYMAuthor			Rehana Anwar
   1.355 +//! @SYMCreationDate		03/04/2008
   1.356 +//! @SYMTestCaseDesc		EPenClick Test
   1.357 +//!                             Set the display mode to default mode.
   1.358 +//!                             Digitiser should support production of click sound,
   1.359 +//!                             if retrieval of EPenClickState is value 1.
   1.360 +//!                             Confirm whether digitiser supports
   1.361 +//!                             production of click sound via the setting and retrieval of EPenClick value 0.   
   1.362 +//!				Uses API elements:HAL::Get, ESoundHalPointerClickEnabled
   1.363 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.364 +//!                             2. Initialise and create the RConsole handle object. 
   1.365 +//!                             3. Enable the EPenClickState (value is 1) using HAL:Set
   1.366 +//!                             4. Confirm the EPenClickState (value is 1) using HAL:Set
   1.367 +//!                             5. Enable the EPenState (value is 1) using HAL:Set.
   1.368 +//!                             6. Confirm the EPenState (value is 1) using HAL:Get.
   1.369 +//!                             7. Set the click sound to on for pen tap's in digitiser and validate that it is as expected.
   1.370 +//!                                in step 8 & 9, using EPenClick value as 1, using HAL:Set
   1.371 +//!                             8. Wait for user to touch the digitiser. (A TRawEvent should be triggered)
   1.372 +//!				9. If A TRawevent is triggered ask the user to validate if a click sound was not heard as
   1.373 +//!                                as EPenClick is value 0. Validation is via a keypress
   1.374 +//!				   (pass is dependant on the pass keypress see configuration file)
   1.375 +//!                                If no TrawEvent is triggered timeout the read in step 8 and fail the testcase.
   1.376 +//!				10. Clean up and Destroy the RConsole Handle object.
   1.377 +//! @SYMTestStatus		Implemented
   1.378 +//! @SYMTestPriority		High
   1.379 +//! @SYMTestExpectedResults  	Click sound is heard if EPenClick is enabled.
   1.380 +//!                             The device can produce a click sound.
   1.381 +//! @SYMTestType		CIT
   1.382 +              START_TEST_BLOCK	300	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.383 +		CREATE_OBJECT	HalData          digitiser1
   1.384 +                COMMAND	        digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.385 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-PenClickState 
   1.386 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007-PenClick 
   1.387 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007-PenClick 
   1.388 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EPenState_Setup
   1.389 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EPenState_Setup
   1.390 +                CREATE_OBJECT	RConsole	console1
   1.391 +                COMMAND		console1	new
   1.392 +                COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init            
   1.393 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn 
   1.394 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007-PenClick                 
   1.395 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007-PenClick 
   1.396 +                OUTSTANDING
   1.397 +                COMMAND		console1	ClearScreen
   1.398 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0007-WriteFeedback
   1.399 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.400 +	        COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey              
   1.401 +                OUTSTANDING
   1.402 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.403 +                COMMAND		console1	Destroy
   1.404 +		COMMAND		console1	Close
   1.405 +                COMMAND		console1	~
   1.406 +        END_TEST_BLOCK
   1.407 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0007
   1.408 +
   1.409 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0008
   1.410 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008
   1.411 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.412 +//!                             HAL::Set(EPenState, TInt);    
   1.413 +//!                             HAL::Get(EPenState, TInt{ref});
   1.414 +//!                             HAL::Get(EPenClick, TInt{ref}); 
   1.415 +//!                             TSoundHalFunction::ESoundHalPointerClickEnabled
   1.416 +//! @SYMAuthor			Rehana Anwar
   1.417 +//! @SYMCreationDate		03/04/2008
   1.418 +//! @SYMTestCaseDesc		EPenClick Test
   1.419 +//!                             Set the display mode to default mode.
   1.420 +//!                             Digitiser should support  production of click sound,
   1.421 +//!                             if retrieval of EPenClickState is value 1.
   1.422 +//!                             Confirm whether digitiser supports
   1.423 +//!                             production of click sound via the setting and retrieval of EPenClick value 0.   
   1.424 +//!				Uses API elements:HAL::Get, ESoundHalPointerClickEnabled
   1.425 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.426 +//!                             2. Initialise and create the RConsole handle object. 
   1.427 +//!                             3. Enable the EPenClickState (value is 1) using HAL:Set
   1.428 +//!                             4. Confirm the EPenClickState (value is 1) using HAL:Set
   1.429 +//!                             5. Enable the EPenState (value is 1) using HAL:Set.
   1.430 +//!                             6. Confirm the EPenState (value is 1) using HAL:Get.
   1.431 +//!                             7. Set the click sound to off for pen tap's in digitiser and validate that it is as expected.
   1.432 +//!                                in step 8 & 9, using EPenClick value as 0, using HAL:Set
   1.433 +//!                             8. Wait for user to touch the digitiser. (A TRawEvent should be triggered)
   1.434 +//!				9. If A TRawevent is triggered ask the user to validate if a click sound was not heard as
   1.435 +//!                                as EPenClick is value 0. Validation is via a keypress
   1.436 +//!				   (pass is dependant on the pass keypress see configuration file)
   1.437 +//!                                If no TrawEvent is triggered timeout the read in step 8 and fail the testcase.
   1.438 +//!				10. Clean up and Destroy the RConsole Handle object.
   1.439 +//! @SYMTestStatus		Implemented
   1.440 +//! @SYMTestPriority		High
   1.441 +//! @SYMTestExpectedResults  	Click sound is heard if EPenClick is enabled.
   1.442 +//!                             The device can produce a click sound.
   1.443 +//! @SYMTestStatus		Implemented
   1.444 +//! @SYMTestPriority		High
   1.445 +//! @SYMTestExpectedResults  	Click sound is heard if EPenClick is enabled, click sound is not heard if EPenClick is disabled.
   1.446 +//!                             The device cannot produce a click sound.
   1.447 +//! @SYMTestType		CIT
   1.448 +              START_TEST_BLOCK	300	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.449 +		CREATE_OBJECT	HalData          digitiser1
   1.450 +                COMMAND	        digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.451 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EPenState_Setup
   1.452 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EPenState_Setup
   1.453 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-PenClickState
   1.454 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-PenClick 
   1.455 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-PenClick 
   1.456 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-Setup 
   1.457 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-Setup 
   1.458 +                CREATE_OBJECT	RConsole	console1
   1.459 +                COMMAND		console1	new
   1.460 +                COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init            
   1.461 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn 
   1.462 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-PenClick                 
   1.463 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-PenClick 
   1.464 +                OUTSTANDING
   1.465 +                COMMAND		console1	ClearScreen
   1.466 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0008-WriteFeedback
   1.467 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.468 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey              
   1.469 +                OUTSTANDING
   1.470 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.471 +                COMMAND		console1	Destroy
   1.472 +		COMMAND		console1	Close
   1.473 +                COMMAND		console1        ~
   1.474 +        END_TEST_BLOCK
   1.475 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0008
   1.476 +
   1.477 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0011
   1.478 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011
   1.479 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.480 +//!                             HAL::Get(EPenDisplayOn, TInt{ref}); 
   1.481 +//!                             HAL::Set(EPenDisplayOn, TInt);
   1.482 +//!                             HAL::Set(EDisplayState,TInt);
   1.483 +//!                             HAL::Get(EDisplayState, TInt{ref});
   1.484 +//!                             TPowerHalFunction::EPowerHalPointerSwitchesOn;
   1.485 +//!                             TPowerHalFunction::EPowerHalSetPointerSwitchesOn
   1.486 +//! @SYMAuthor			Rehana Anwar
   1.487 +//! @SYMCreationDate		03/04/2008
   1.488 +//! @SYMTestCaseDesc		EPenDisplayOn Test
   1.489 +//!                             Set the display mode to default mode.
   1.490 +//!                             Set the pen tap state to enabled. 
   1.491 +//!                             Retrieve the pen tap state. Delay the testcase by 9 seconds to cause the screen to switch off.
   1.492 +//!                             validate that a pen tap switches the display on, via a pen tap and user input.
   1.493 +//!				Uses API elements:HAL::Get,EPowerHalSetPointerSwitchesOn,EPowerHalPointerSwitchesOn
   1.494 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.495 +//!                             3. Set the DisplayState using Hal::Set to on
   1.496 +//!                             4. Get the DisplayState using Hal::Set and confirm if on.
   1.497 +//!                             5. Set EPenDisplayOn (pen tap state) to on  using Hal::Set.
   1.498 +//!                             6. Get EPenDisplayOn (pen tap state) using Hal::Get and validate that it is as expected.
   1.499 +//!                             7. Wait for the maximum timeout speciifed to allow the display to switch off.
   1.500 +//!                             8. Wait for user to touch the digitiser. (A TRawEvent should be triggered).
   1.501 +//!                             9. If A TRawevent is triggered, validate the display state,
   1.502 +//!                                by asking the user to validate if a pen tap switched the display on.
   1.503 +//!                                User validation is via a keypress (pass is dependant on the pass keypress see configuration file).    
   1.504 +//!                                If no TrawEvent is triggered timeout the read in step 8 and fail the test.             
   1.505 +//!                             10. Set the DisplayState using Hal::Set to on
   1.506 +//!                             11. Get the DisplayState using Hal::Get and confirm if on.
   1.507 +//!				12. Destroy the HAL Handle object.
   1.508 +//! @SYMTestStatus		Implemented
   1.509 +//! @SYMTestPriority		High
   1.510 +//! @SYMTestExpectedResults  	A Pen tap or press enables the display.
   1.511 +//! @SYMTestType		CIT
   1.512 +	START_TEST_BLOCK	500	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.513 +                CREATE_OBJECT	HalData         digitiser1
   1.514 +                COMMAND	        digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.515 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.516 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.517 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011-EPenDisplayOn 
   1.518 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011-EPenDisplayOn 
   1.519 +                CREATE_OBJECT	RConsole	console1
   1.520 +                COMMAND		console1	new
   1.521 +                COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init            
   1.522 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn 
   1.523 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011-EPenDisplayOn
   1.524 +                DELAY           6000000
   1.525 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOff
   1.526 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOff
   1.527 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011-EPenDisplayOn
   1.528 +                OUTSTANDING
   1.529 +                DELAY           1000000
   1.530 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.531 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.532 +                COMMAND		console1	ClearScreen                
   1.533 +                COMMAND		console1	ClearScreen
   1.534 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0011-WriteFeedback
   1.535 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.536 +	        COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey   
   1.537 +                OUTSTANDING
   1.538 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.539 +                COMMAND		console1	Destroy
   1.540 +		COMMAND		console1	Close
   1.541 +                COMMAND		console1        ~         
   1.542 +        END_TEST_BLOCK
   1.543 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0011
   1.544 +
   1.545 +START_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0012
   1.546 +//! @SYMTestCaseID		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012
   1.547 +//! @SYMAPI			HAL::Set(EDisplayMode, TInt);
   1.548 +//!                             HAL::Get(EPenDisplayOn, TInt{ref});
   1.549 +//!                             HAL::Set(EPenDisplayOn, TInt);
   1.550 +//!                             HAL::Set(EDisplayState,TInt);
   1.551 +//!                             HAL::Get(EDisplayState, TInt{ref});
   1.552 +//!                             TPowerHalFunction::EPowerHalPointerSwitchesOn;
   1.553 +//!                             TPowerHalFunction::EPowerHalSetPointerSwitchesOn
   1.554 +//! @SYMAuthor			Rehana Anwar
   1.555 +//! @SYMCreationDate		03/04/2008
   1.556 +//! @SYMTestCaseDesc		EPenDisplayOn Test
   1.557 +//!                             Set the display mode to default mode.
   1.558 +//!                             Set the pen tap state to disabled. 
   1.559 +//!                             Retrieve the pen tap state. Delay the testcase by 9 seconds to cause the screen to switch off.
   1.560 +//!                             Validate that a pen tap  does not switch the display on, via a pen tap and user input.
   1.561 +//!				Uses API elements:HAL::Get,EPowerHalSetPointerSwitchesOn,EPowerHalPointerSwitchesOn
   1.562 +//! @SYMTestActions    		1. Set the displaymode to the default mode
   1.563 +//!                             3. Set the DisplayState using Hal::Set to on
   1.564 +//!                             4. Get the DisplayState using Hal::Get and confirm if on.
   1.565 +//!                             5. Set EPenDisplayOn (pen tap state) to off using Hal::Set.
   1.566 +//!                             6. Get EPenDisplayOn (pen tap state) using Hal::Get and validate that it is as expected.
   1.567 +//!                             7. Wait for the maximum timeout speciifed to allow the display to switch off.
   1.568 +//!                             8. Wait for user to touch the digitiser. (A TRawEvent should be not be triggered).
   1.569 +//!                             9. If A TRawevent is triggered, fail the testcase,
   1.570 +//!                                by asking the user to validate if a pen tap switched the display on.
   1.571 +//!                                User validation is via a keypress (pass is dependant on the pass keypress see configuration file).    
   1.572 +//!                                If no TrawEvent is triggered timeout and cancel the read in step 8 and pass the test.             
   1.573 +//!                             10. Set the DisplayState using Hal::Set to on
   1.574 +//!                             11. Get the DisplayState using Hal::Get and confirm if on.
   1.575 +//!				12. Destroy the HAL Handle object.
   1.576 +//! @SYMTestStatus		Implemented
   1.577 +//! @SYMTestPriority		High
   1.578 +//! @SYMTestExpectedResults  	A pen tap has no effect, on the display state
   1.579 +//!                             Read should timeout and cancel with 
   1.580 +//!                             a -3 AsyncError code. No TRawEvent should be triggered. 
   1.581 +//! @SYMTestType		CIT
   1.582 +	START_TEST_BLOCK	500	T_Digitiser		\base\digitiser\base-bsp-digitiser-driver-manual.ini
   1.583 +                CREATE_OBJECT	        HalData         digitiser1
   1.584 +                COMMAND	        digitiser1	Set             BASE-BSP-DIGITISER-DRIVER-DISPLAYMODE_MANUAL
   1.585 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.586 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.587 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012-EPenDisplayOn 
   1.588 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012-EPenDisplayOn 
   1.589 +                CREATE_OBJECT   RConsole	console1
   1.590 +                COMMAND		console1	new
   1.591 +                COMMAND		console1	Init		BASE-BSP-DIGITISER-DRIVER-MANUAL-Init            
   1.592 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-ControlOn 
   1.593 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012-EPenDisplayOn
   1.594 +                DELAY           6000000
   1.595 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOff
   1.596 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOff
   1.597 +                COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012-EPenDisplayOn
   1.598 +                OUTSTANDING
   1.599 +                DELAY           1000000
   1.600 +                COMMAND	        digitiser1	Set		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.601 +                COMMAND	        digitiser1	Get		BASE-BSP-DIGITISER-DRIVER-MANUAL-EDisplayStateOn
   1.602 +                COMMAND		console1	ClearScreen
   1.603 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-0012-WriteFeedback
   1.604 +                COMMAND		console1	Write		BASE-BSP-DIGITISER-DRIVER-MANUAL-WriteFeedback
   1.605 +	        COMMAND		console1	Read		BASE-BSP-DIGITISER-DRIVER-MANUAL-ReadKey   
   1.606 +                OUTSTANDING
   1.607 +                COMMAND		console1	Control		BASE-BSP-DIGITISER-DRIVER-MANUAL-RAWMODEOFF
   1.608 +                COMMAND		console1	Destroy
   1.609 +		COMMAND		console1	Close
   1.610 +                COMMAND		console1        ~              
   1.611 +        END_TEST_BLOCK
   1.612 +END_TESTCASE 			BASE-BSP-DIGITISER-DRIVER-MANUAL-0012