testing-samples
testing-samples copied to clipboard
Sample request: Provider test
I'd be interested in seeing a sample of how provider testing should be done without ProviderTestCase2. I'm currently using it, and the deprecated RenamingDelegatingContext for cases where I want to make sure tests are only working with test files, and it works fine, however ProviderTestCase2 relies on the deprecated AndroidTestCase and internally uses the deprecated classes IsolatedContext and RenamingDelegatingContext - so it feels like ProviderTestCase2 is a deprecation candidate.
Test your content provider the article is deprecated, please update.