lib/headdesk/checks/receiver.rb in headdesk-0.3.0 vs lib/headdesk/checks/receiver.rb in headdesk-0.4.0
- old
+ new
@@ -7,9 +7,10 @@
# that exists in the APK.
#
class Receiver
include Check::APK
+ check_name 'receiver'
describe 'All <receiver> blocks in AndroidManifest.xml point to valid Java classes'
def call
receivers = []
apk.android_manifest.xpath('//receiver').each do |receiver|
receiver_name = receiver.attributes['name'].to_s