I actually found a clean solution for my case.

I was over-thinking it - I didn't need to test that the incoming call
triggers the listener, just that the listener does what it's supposed
to when it's called. I think it's safe to assume that if I register
the listener that android works well enough to call it when it's
supposed to. :)

So I extracted the listener out of the class that used it so I could
instantiate it, then tested it that way.

Easy peasy.

Larry

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to