lundi 29 février 2016

can ProviderTestCase2, for testing content provider, be used in local unit test

Hi i know the android documentation says to run ProviderTestCase2 as instrumentation but was wondering if it is possible to run as a local unit test on my local computer? I built one as a "unit test"(as opposed to instumentation test) but getMockContentResolver() returns null. has anyone succeeded doing this? is it possible?

Aucun commentaire:

Enregistrer un commentaire