Can you please tell me what is Provider Authority String in ProviderTestCase2 constructor?
From the JavaDoc below
http://developer.android.com/reference/android/test/ProviderTestCase2.html
it requires ‘Provider Authority String’, my question I am using it to unit test my Content Provider, so what is my Provider Authority String?
Thank you.
In you application’s
AndroidManifest.xmlyou declare your provider in a next way:In your
ProviderTestCase2class you should then specifycom.company.app.provideras second parameter to super constructor.For example: