Fixed
Status Update
Comments
fr...@gmail.com <fr...@gmail.com> #2
Here's a really detailed StackOverflow answer that seems to point out some things to look at in relation to this behaviour:
http://stackoverflow.com/a/14293528/238753
fr...@gmail.com <fr...@gmail.com> #3
Thank you for your feedback. We assure you that we are doing our best to address the issue reported, however our product team has shifted work priority that doesn't include this issue. For now, we will be closing the issue as won't fix obsolete. If this issue currently still exists, we request that you log a new issue along with latest bug report here https://goo.gl/TbMiIO .
Description
getResultData returns the ActivityResult of an activity that has finished.
ActivityResultMatcher provides matchers to verify the resultCode and the resultData of the activityResult.
Possible implementation is published here:
The matchers should go into package android.support.test.espresso.contrib;
Use case:
The user clicks on a button of an activity A that picks a content item, then the activity returns this item as the activity result usually in onActivityResult of the parent activity P.
To simplify testing the activity result should be tested within the test of activity A