Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample request: Provider test #130

Open
fejd opened this issue May 12, 2017 · 1 comment
Open

Sample request: Provider test #130

fejd opened this issue May 12, 2017 · 1 comment

Comments

@fejd
Copy link

fejd commented May 12, 2017

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.

@CoenQian
Copy link

Test your content provider the article is deprecated, please update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants