There are some tests excluded from being generated and/or ignored because a way to grant permissions dynamically in tests wasn't implemented.
There are some workarounds to grant permissions dynamically in tests.
Including:
adb install -gI think the latter would be the best approach.
Below all the activities that request Location permissions:
MyLocationTrackingModeActivity, MyLocationToggleActivity, MyLocationTintActivity, MyLocationDrawableActivity, LocationPickerActivity and MyLocationViewTest.
Cc/ @tobrun @zugaldia
I think the latter would be the best approach.
馃憤 Great thinking here, the wider the coverage the better.
馃憤 Great thinking here, the wider the coverage the better.
That's the point!
We should revisit this now that the Android Testing Support Library 1.0 is here 馃帀 because it includes a GrantPermissionRule.
Closing as this is no longer relevant for the Maps SDK. We are deprecating everything related to location and moving that into a LocationLayerPlugin. That plugin is already using the GrantPermissionRule mentioned above.
Most helpful comment
馃憤 Great thinking here, the wider the coverage the better.