os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/devlon52/t_digitiser.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 'green ok' key.
    25 # (Please note that some of these mappings are device dependant).
    26 keyCode                         =0x00C4
    27 
    28 [confirm]
    29 instructions                    =Press the green ok 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 [preDrawnDots]
    63 # Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    64 # to touch each pixel with a stylus.
    65 instructions                    =Touch the inside the drawn rectangle. To exit testcase hit the exit box
    66 
    67 # Defines the number of pixels that will be predrawn on the screen ready to verify
    68 pointsTotal                     =3
    69 
    70 # Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
    71 # i.e 4_x and so forth
    72 1_x		                =30
    73 1_y		                =210
    74 
    75 2_x		                =180
    76 2_y		                =60
    77 
    78 3_x		                =200
    79 3_y		                =300
    80 
    81 
    82 [preDrawnRect]
    83 # Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
    84 # to touch each pixel with a stylus.
    85 
    86 instructions                    =With stylus, draw a line within this box. To exit testcase hit the exit box
    87 
    88 # Defines the number of pixels that will be predrawn on the screen ready to verify
    89 eventTotal                     =3
    90 
    91 # Default values used in the scenario where a line is predrawn on the screen, and the user has
    92 # to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
    93 tl_x                             =80
    94 tl_y                             =180
    95 
    96 br_x                             =200
    97 br_y                             =200
    98 
    99 [colour]
   100 # The mask value of the colour black
   101 black                           =0x00
   102 # The mask value of the colour white
   103 white                           =0xFF
   104 
   105 [displayMode]
   106 # Define  the mode display mode for the  screen to use in these tests
   107 value                           ={displayMode,defaultmode}  
   108 expected                        ={displayMode,defaultmode} 
   109 
   110 # Define  the default mode display mode for the  screen
   111 defaultmode                     ={displayMode,mode1}  
   112 
   113 # Define  display mode for the  screen
   114 mode0                           =0
   115 
   116 # Define  display mode for the  screen
   117 mode1                           =1
   118 
   119 # Define  display mode for the  screen
   120 mode2                           =2
   121 
   122 # Define  display mode for the  screen
   123 mode3                           =3
   124 
   125 # Define  display mode for the  screen
   126 mode4                           =4
   127 
   128 [haldata]
   129 
   130 # Default value of the the pen/digitizer horizontal resolution, in pixels
   131 ePenXValue                     =640
   132 
   133 # Default value of the pen/digitizer vertical resolution, in pixels.
   134 ePenYValue                     =360
   135 
   136 [halDataOff]
   137 # Default value of the the HAL Data to set or get. 
   138 value                   =0
   139 expected                =0
   140 
   141 [halDataOn]
   142 # Default value of the the HAL Data to set or get
   143 value                   =1
   144 expected                =1
   145                            
   146 [rawEvent]
   147 # Defines the Enum strings used by TRawEvent.
   148 
   149 # Represents an uninitialised event object.
   150 none                            =ENone     
   151 
   152 # EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
   153 pointerMove  		        =EPointerMove
   154 
   155 # A switch on event caused by a screen tap using a pointer device.
   156 pointerSwitchOn                 =EPointerSwitchOn 
   157 
   158 # Represents a keyboard key down event. 
   159 keyDown                         =EKeyDown 
   160 
   161 #Represents a keyboard key up event.
   162 keyUp                           =EKeyUp 
   163 
   164 # Represents a redraw event.
   165 redraw                          =ERedraw 
   166 
   167 # Represents a device switch on event.
   168 switchOn                        =ESwitchOn 
   169 
   170 active                          =EActive 
   171  
   172 inactive                        =EInactive 
   173  
   174 # Represents a modifier key being pressed.
   175 updateModifiers                 =EUpdateModifiers
   176 
   177 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
   178 button1Down  		       =EButton1Down
   179 
   180 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   181 button1Up                       =EButton1Up
   182 
   183 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   184 button2Down                    =EButton2Down 
   185 
   186 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   187 button2Up                      =EButton2Up 
   188 
   189 # Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
   190 button3Down                    =EButton3Down 
   191 
   192 # Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
   193 button3Up                      =EButton3Up 
   194 
   195 # Represents a device switch off event.
   196 switchOff                      =ESwitchOff 
   197  
   198 # Represents a key being continually pressed event.
   199 keyRepeat                      =EKeyRepeat
   200  
   201 # Represents a case open event. The meaning of a case is hardware specific.
   202 caseOpen                       =ECaseOpen
   203 
   204 # Represents a case close event. The meaning of a case is hardware specific. 
   205 caseClose                      =ECaseClose 
   206 
   207 # Represents a device restart 
   208 restartSystem                  =ERestartSystem