mardi 15 décembre 2015

Test that the imageview has set the uri correctly

I have an activity that will receive an intent containing an uri in the onActivityResult method,after the user takes a picture.And after that the imageview are supposed to set that uri using setImageUri method.
How do I write a test that ensures the imageview has set the uri accordingly?Should I use a real uri for test or just any String?

Aucun commentaire:

Enregistrer un commentaire