os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/h4hrp/t_digitiser.ini
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 # This is the global environment file to configure the touch-screen test suite on a specific device
     2 # The current default touch screen test suite values are configured for TI OMAP 2420 (H4) hardware digitiser device
     3 # Licencees may need to configure below values to specific devices and also where applicable,
     4 # check supported HAL Enum's
     5 
     6 
     7 [generic]
     8 
     9 # A timeout value in microseconds. 
    10 # This is a 10 second timeout used in the manual testcases
    11 minTimeout                      =1000000
    12 
    13 # A timeout value in microseconds. 
    14 # This is a 50 second timeout used in the manual testcases
    15 maxTimeout                      =5000000
    16 
    17 # Defines the error margin in pixels that the digitiser test suite will cater for.
    18 errorMargin                     =10
    19 
    20 
    21 # A hexadecimal value used to represent keycode values used in tests where manual confirmation 
    22 # is required via a key press. 
    23 # The keycode value represents the TKeyCode enum value, by default the hexadecimal value
    24 # used in this suite is the 'one' key.
    25 # (Please note that some of these mappings are device dependant).
    26 keyCode                         =0x0031
    27 
    28 [confirm]
    29 instructions                    =Press the number one key to pass the test case. Any key to fail.
    30 
    31 [exitBox]
    32 # Defines the horizontal co-ordinate value for the positioning of the exit box.
    33 minX                      =10
    34 
    35 # Defines the vertical co-ordinate  value for the positioning of the exit box.
    36 minY                      =100
    37 
    38 # Defines the horizontal co-ordinate value for the positioning of the exit box.
    39 maxX                      =40
    40 
    41 # Defines the vertical co-ordinate  value for the positioning of the exit box.
    42 maxY                      =120
    43 
    44 
    45 [randomPixels]
    46 # Defaults values used in the scenario where the user has
    47 # to touch any pixel on the screen with a stylus, and manually confirm if a test has passed.
    48 instructions                    =Touch any number of screen pixels randomly with stylus. To exit testcase hit the exit box.
    49 pixelfeedback                   =Did the pixels hightlight correctly? Press the number one key to pass the test case. Any key to fail.
    50 
    51 # 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 
    52 # pixels, for example here the use of the number 3 would indicate three pixels to verify.
    53 pointsTotal                     =-1
    54 
    55 [randomLine]
    56 instructions                    =Draw a straight line from any point to any point. To exit testcase hit the exit box.
    57 pixelfeedback                   =Did correct pixels hightlight? Press the number one key to pass the test case. Any key to fail.
    58 
    59 # 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 
    60 # pixels
    61 pointsTotal                     =3
    62 
    63 [preDrawnDots]
    64 # Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    65 # to touch each pixel with a stylus.
    66 instructions                    =Touch the inside the drawn rectangle. To exit testcase hit the exit box
    67 
    68 # Defines the number of pixels that will be predrawn on the screen ready to verify.
    69 pointsTotal                     =3
    70 
    71 # Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
    72 # i.e 4_x and so forth
    73 1_x		                =30
    74 1_y		                =210
    75 
    76 2_x		                =180
    77 2_y		                =60
    78 
    79 3_x		                =200
    80 3_y		                =300
    81 
    82 
    83 [preDrawnRect]
    84 # Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    85 # to touch each pixel with a stylus.
    86 
    87 instructions                    =With stylus, draw a line within this box. To exit testcase hit the exit box
    88 
    89 # Defines the number of pixels that will be predrawn on the screen ready to verify
    90 eventTotal                     =3
    91 
    92 # Default values used in the scenario where a line is predrawn on the screen, and the user has
    93 # to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
    94 tl_x                             =80
    95 tl_y                             =180
    96 
    97 br_x                             =200
    98 br_y                             =200
    99 
   100 [colour]
   101 # The mask value of the colour black
   102 black                           =0x00
   103 # The mask value of the colour white
   104 white                           =0xFF
   105 
   106 [displayMode]
   107 # Define  the mode display mode for the  screen to use in these tests
   108 value                           ={displayMode,defaultmode}  
   109 expected                        ={displayMode,defaultmode} 
   110 
   111 # Define  the default mode display mode for the  screen
   112 defaultmode                     ={displayMode,mode3}  
   113 
   114 # Define  display mode for the  screen
   115 mode0                           =0
   116 
   117 # Define  display mode for the  screen
   118 mode1                           =1
   119 
   120 # Define  display mode for the  screen
   121 mode2                           =2
   122 
   123 # Define  display mode for the  screen
   124 mode3                           =3
   125 
   126 # Define  display mode for the  screen
   127 mode4                           =4
   128 
   129 [haldata]
   130 
   131 # Default value of the the pen/digitizer horizontal resolution, in pixels
   132 ePenXValue                     =365
   133 
   134 # Default value of the pen/digitizer vertical resolution, in pixels.
   135 ePenYValue                     =280
   136 
   137 [halDataOff]
   138 # Default value of the the HAL Data to set or get. 
   139 value                   =0
   140 expected                =0
   141 
   142 [halDataOn]
   143 # Default value of the the HAL Data to set or get
   144 value                   =1
   145 expected                =1
   146                            
   147 [rawEvent]
   148 # Defines the Enum strings used by TRawEvent.
   149 
   150 # Represents an uninitialised event object.
   151 none                            =ENone     
   152 
   153 # EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
   154 pointerMove  		        =EPointerMove
   155 
   156 # A switch on event caused by a screen tap using a pointer device.
   157 pointerSwitchOn                 =EPointerSwitchOn 
   158 
   159 # Represents a keyboard key down event. 
   160 keyDown                         =EKeyDown 
   161 
   162 #Represents a keyboard key up event.
   163 keyUp                           =EKeyUp 
   164 
   165 # Represents a redraw event.
   166 redraw                          =ERedraw 
   167 
   168 # Represents a device switch on event.
   169 switchOn                        =ESwitchOn 
   170 
   171 active                          =EActive 
   172  
   173 inactive                        =EInactive 
   174  
   175 # Represents a modifier key being pressed.
   176 updateModifiers                 =EUpdateModifiers
   177 
   178 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
   179 button1Down  		       =EButton1Down
   180 
   181 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   182 button1Up                       =EButton1Up
   183 
   184 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   185 button2Down                    =EButton2Down 
   186 
   187 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   188 button2Up                      =EButton2Up 
   189 
   190 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   191 button3Down                    =EButton3Down 
   192 
   193 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   194 button3Up                      =EButton3Up 
   195 
   196 # Represents a device switch off event.
   197 switchOff                      =ESwitchOff 
   198  
   199 # Represents a key being continually pressed event.
   200 keyRepeat                      =EKeyRepeat
   201  
   202 # Represents a case open event. The meaning of a case is hardware specific.
   203 caseOpen                       =ECaseOpen
   204 
   205 # Represents a case close event. The meaning of a case is hardware specific. 
   206 caseClose                      =ECaseClose 
   207 
   208 # Represents a device restart 
   209 restartSystem                  =ERestartSystem 
   210