Issue
I have developed an App which starts through an intent-filter and get data from this intent.
The data will be decrypted and used to fill up my UI. Could I simulate this intent using espresso? how?
Thanks for any answer.
Solution
Intent i = new Intent(ACTION_NDEF_DISCOVERED);
i.putExtra(EXTRA_NDEF_MESSAGES, mArrayList);
setActivityIntent(i);
// Espresso will not launch
//our activity for us, we must launch it via getActivity().
getActivity();
Answered By - Alfaplus
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.