I have an object in my game, which changes state to MOVES_LEFT when KeyDown event is processed (DPAD_LEFT). And changes state to MOVES_FORWARD when KeyUp event is processed. I wrote a test, which idea is to test, that object state changed when key is pushed and held, but I don't see method for it. I used this.sendKeys(KeyEvent.KEYCODE_DPAD_LEFT), but successfull completion of the test depends from computer performance. What can I do?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

