You'll hit two cases with Growl: 1) if growl is not installed, the call to getService will fail (http://mxr.mozilla.org/mozilla-central/source/toolkit/components/alerts/src/mac/nsAlertsService.mm#150) 2) if growl is not running, dispatching the notification will fail (http://mxr.mozilla.org/mozilla-central/source/toolkit/components/alerts/src/mac/nsAlertsService.mm#97)
For the unit test boxes, you'll hit (1)
You'll hit two cases with Growl: mxr.mozilla. org/mozilla- central/ source/ toolkit/ components/ alerts/ src/mac/ nsAlertsService .mm#150) mxr.mozilla. org/mozilla- central/ source/ toolkit/ components/ alerts/ src/mac/ nsAlertsService .mm#97)
1) if growl is not installed, the call to getService will fail (http://
2) if growl is not running, dispatching the notification will fail (http://
For the unit test boxes, you'll hit (1)