robolectric/robolectric — pull request #1068 by dhbikoff (2014-05-07 22:04:34+00:00)
Title: Add method to AndroidManifest to get permissions used.

Parses the 'uses-permissions' entries in the AndroidManifest.xml. I was looking for a way to unit test that I am adding the correct permissions in the manifest. I'd like to eventually extend this to allow Robolectric to load these permissions, so we can use the real Android calls to see if the permissions exist.