tests: Fix test-events output
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 7 Dec 2009 23:02:48 +0000 (23:02 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 20 Jan 2010 00:38:08 +0000 (00:38 +0000)
commit68b47e3ed479242a94f7a8d302a2900f7e28c840
tree7c833351f724cf76552b9c16315c6bd09997ca19
parentb3a42c3b09e256732395f7c63c4a39956d32d3da
tests: Fix test-events output

• The enter/leave event line should take into account the case where
  the related field is set to NULL (meaning entering from off-stage
  and leaving the stage).

• The ButtonRelease line shows the click count but uses the button; the
  button *and* the click count should be displayed for both ButtonPress
  and ButtonRelease, to verify they match.
tests/interactive/test-events.c