lundi 5 février 2018

How to mock location using google's FusedLocationProviderClient

I am working on Espresso UI Testing, When I request the location using FusedLocationProviderClient I turned the testing state to idle when I tried to mock the location using setMockLocation(Location mockLocation) method I did not get the LocationCallback get called.

Aucun commentaire:

Enregistrer un commentaire