os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/devlon52/t_digitiser.ini
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/testdata/devlon52/t_digitiser.ini	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,208 @@
     1.4 +# This is the global environment file to configure the touch-screen test suite on a specific device
     1.5 +# The current default touch screen test suite values are configured for TI OMAP 2420 (H4) hardware digitiser device
     1.6 +# Licencees may need to configure below values to specific devices and also where applicable,
     1.7 +# check supported HAL Enum's
     1.8 +
     1.9 +
    1.10 +[generic]
    1.11 +
    1.12 +# A timeout value in microseconds. 
    1.13 +# This is a 10 second timeout used in the manual testcases
    1.14 +minTimeout                      =1000000
    1.15 +
    1.16 +# A timeout value in microseconds. 
    1.17 +# This is a 50 second timeout used in the manual testcases
    1.18 +maxTimeout                      =5000000
    1.19 +
    1.20 +# Defines the error margin in pixels that the digitiser test suite will cater for.
    1.21 +errorMargin                     =10
    1.22 +
    1.23 +
    1.24 +# A hexadecimal value used to represent keycode values used in tests where manual confirmation 
    1.25 +# is required via a key press. 
    1.26 +# The keycode value represents the TKeyCode enum value, by default the hexadecimal value
    1.27 +# used in this suite is the 'green ok' key.
    1.28 +# (Please note that some of these mappings are device dependant).
    1.29 +keyCode                         =0x00C4
    1.30 +
    1.31 +[confirm]
    1.32 +instructions                    =Press the green ok key to pass the test case. Any key to fail.
    1.33 +
    1.34 +[exitBox]
    1.35 +# Defines the horizontal co-ordinate value for the positioning of the exit box.
    1.36 +minX                      =10
    1.37 +
    1.38 +# Defines the vertical co-ordinate  value for the positioning of the exit box.
    1.39 +minY                      =100
    1.40 +
    1.41 +# Defines the horizontal co-ordinate value for the positioning of the exit box.
    1.42 +maxX                      =40
    1.43 +
    1.44 +# Defines the vertical co-ordinate  value for the positioning of the exit box.
    1.45 +maxY                      =120
    1.46 +
    1.47 +
    1.48 +[randomPixels]
    1.49 +# Defaults values used in the scenario where the user has
    1.50 +# to touch any pixel on the screen with a stylus, and manually confirm if a test has passed.
    1.51 +instructions                    =Touch any number of screen pixels randomly with stylus. To exit testcase hit the exit box.
    1.52 +pixelfeedback                   =Did the pixels hightlight correctly? Press the number one key to pass the test case. Any key to fail.
    1.53 +
    1.54 +# Defines the number of pixels that will need to be verified. In the default scenario we are using -1 to indicate an unlimited number of 
    1.55 +# pixels, for example here the use of the number 3 would indicate three pixels to verify.
    1.56 +pointsTotal                     =-1
    1.57 +
    1.58 +[randomLine]
    1.59 +instructions                    =Draw a straight line from any point to any point. To exit testcase hit the exit box.
    1.60 +pixelfeedback                   =Did correct pixels hightlight? Press the number one key to pass the test case. Any key to fail.
    1.61 +
    1.62 +# Defines the number of pixels that will need to be verified. In the default scenario we are using -1 to indicate an unlimited number of 
    1.63 +# pixels
    1.64 +pointsTotal                     =3
    1.65 +[preDrawnDots]
    1.66 +# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    1.67 +# to touch each pixel with a stylus.
    1.68 +instructions                    =Touch the inside the drawn rectangle. To exit testcase hit the exit box
    1.69 +
    1.70 +# Defines the number of pixels that will be predrawn on the screen ready to verify
    1.71 +pointsTotal                     =3
    1.72 +
    1.73 +# Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
    1.74 +# i.e 4_x and so forth
    1.75 +1_x		                =30
    1.76 +1_y		                =210
    1.77 +
    1.78 +2_x		                =180
    1.79 +2_y		                =60
    1.80 +
    1.81 +3_x		                =200
    1.82 +3_y		                =300
    1.83 +
    1.84 +
    1.85 +[preDrawnRect]
    1.86 +# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    1.87 +# to touch each pixel with a stylus.
    1.88 +
    1.89 +instructions                    =With stylus, draw a line within this box. To exit testcase hit the exit box
    1.90 +
    1.91 +# Defines the number of pixels that will be predrawn on the screen ready to verify
    1.92 +eventTotal                     =3
    1.93 +
    1.94 +# Default values used in the scenario where a line is predrawn on the screen, and the user has
    1.95 +# to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
    1.96 +tl_x                             =80
    1.97 +tl_y                             =180
    1.98 +
    1.99 +br_x                             =200
   1.100 +br_y                             =200
   1.101 +
   1.102 +[colour]
   1.103 +# The mask value of the colour black
   1.104 +black                           =0x00
   1.105 +# The mask value of the colour white
   1.106 +white                           =0xFF
   1.107 +
   1.108 +[displayMode]
   1.109 +# Define  the mode display mode for the  screen to use in these tests
   1.110 +value                           ={displayMode,defaultmode}  
   1.111 +expected                        ={displayMode,defaultmode} 
   1.112 +
   1.113 +# Define  the default mode display mode for the  screen
   1.114 +defaultmode                     ={displayMode,mode1}  
   1.115 +
   1.116 +# Define  display mode for the  screen
   1.117 +mode0                           =0
   1.118 +
   1.119 +# Define  display mode for the  screen
   1.120 +mode1                           =1
   1.121 +
   1.122 +# Define  display mode for the  screen
   1.123 +mode2                           =2
   1.124 +
   1.125 +# Define  display mode for the  screen
   1.126 +mode3                           =3
   1.127 +
   1.128 +# Define  display mode for the  screen
   1.129 +mode4                           =4
   1.130 +
   1.131 +[haldata]
   1.132 +
   1.133 +# Default value of the the pen/digitizer horizontal resolution, in pixels
   1.134 +ePenXValue                     =640
   1.135 +
   1.136 +# Default value of the pen/digitizer vertical resolution, in pixels.
   1.137 +ePenYValue                     =360
   1.138 +
   1.139 +[halDataOff]
   1.140 +# Default value of the the HAL Data to set or get. 
   1.141 +value                   =0
   1.142 +expected                =0
   1.143 +
   1.144 +[halDataOn]
   1.145 +# Default value of the the HAL Data to set or get
   1.146 +value                   =1
   1.147 +expected                =1
   1.148 +                           
   1.149 +[rawEvent]
   1.150 +# Defines the Enum strings used by TRawEvent.
   1.151 +
   1.152 +# Represents an uninitialised event object.
   1.153 +none                            =ENone     
   1.154 +
   1.155 +# EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
   1.156 +pointerMove  		        =EPointerMove
   1.157 +
   1.158 +# A switch on event caused by a screen tap using a pointer device.
   1.159 +pointerSwitchOn                 =EPointerSwitchOn 
   1.160 +
   1.161 +# Represents a keyboard key down event. 
   1.162 +keyDown                         =EKeyDown 
   1.163 +
   1.164 +#Represents a keyboard key up event.
   1.165 +keyUp                           =EKeyUp 
   1.166 +
   1.167 +# Represents a redraw event.
   1.168 +redraw                          =ERedraw 
   1.169 +
   1.170 +# Represents a device switch on event.
   1.171 +switchOn                        =ESwitchOn 
   1.172 +
   1.173 +active                          =EActive 
   1.174 + 
   1.175 +inactive                        =EInactive 
   1.176 + 
   1.177 +# Represents a modifier key being pressed.
   1.178 +updateModifiers                 =EUpdateModifiers
   1.179 +
   1.180 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
   1.181 +button1Down  		       =EButton1Down
   1.182 +
   1.183 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   1.184 +button1Up                       =EButton1Up
   1.185 +
   1.186 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   1.187 +button2Down                    =EButton2Down 
   1.188 +
   1.189 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   1.190 +button2Up                      =EButton2Up 
   1.191 +
   1.192 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   1.193 +button3Down                    =EButton3Down 
   1.194 +
   1.195 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   1.196 +button3Up                      =EButton3Up 
   1.197 +
   1.198 +# Represents a device switch off event.
   1.199 +switchOff                      =ESwitchOff 
   1.200 + 
   1.201 +# Represents a key being continually pressed event.
   1.202 +keyRepeat                      =EKeyRepeat
   1.203 + 
   1.204 +# Represents a case open event. The meaning of a case is hardware specific.
   1.205 +caseOpen                       =ECaseOpen
   1.206 +
   1.207 +# Represents a case close event. The meaning of a case is hardware specific. 
   1.208 +caseClose                      =ECaseClose 
   1.209 +
   1.210 +# Represents a device restart 
   1.211 +restartSystem                  =ERestartSystem