Robolectric: How to ensure all events have been fired before moving forwared

11 views
Skip to first unread message

rit...@voxapp.com

unread,
May 18, 2013, 9:34:31 AM5/18/13
to robol...@googlegroups.com
How to ensure that all the ontocuh, onclick etc listeners have been fired in the UI thread before moving forward with the test code. In other words, i have a spinner on which i have registered both onTouchListener and OnItemSelectedListener. I want to ensure that both these functions are called by my activity before i move on with testing. Is there any way this can be achieved in robolectric
Reply all
Reply to author
Forward
0 new messages