Feature Request P4
Status Update
Comments
ae...@google.com <ae...@google.com> #2
Do you have a repro project that you could share with us?
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
Description
Background: to mock the ActivityResult for
startActivityForResult(Intent, int)
, we can useintending(fakeIntent).respondWith(new Instrumentation.ActivityResult(Activity.RESULT_OK, null));
.Can we provide similar functionality to match
IntentSender
and mock the ActivityResult forstartIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options)
?