Showing posts with label android-notifications. Show all posts
Showing posts with label android-notifications. Show all posts

Tuesday, April 17, 2012

Can I test status bar notifications using Android"s testing framework?


I have a class that sends a status bar notification in Android. I can't find a way to test whether the notification was sent or not, which makes it very hard to write any kind of useful unit test.