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

Remove tests that attempt to modify files #3309

Merged
merged 2 commits into from May 25, 2022

Conversation

natebosch
Copy link
Member

Close #3202

Calling MemoryResourceProvider.modifyFile is not sufficient for the
analyzer to respond to the changes, AnalysisDriver.changeFile is the
important call, but we don't have access to that member from the tests.
The real world behavior that would lead to this scenario requires more
complex interactions we can do with resolveSources.

Remove these tests entirely since they are not testing what they purport
and are not useful as they stand.

Close #3202

Calling `MemoryResourceProvider.modifyFile` is not sufficient for the
analyzer to respond to the changes, `AnalysisDriver.changeFile` is the
important call, but we don't have access to that member from the tests.
The real world behavior that would lead to this scenario requires more
complex interactions we can do with `resolveSources`.

Remove these tests entirely since they are not testing what they purport
and are not useful as they stand.
@natebosch natebosch requested a review from jakemac53 May 24, 2022 22:28
@natebosch natebosch merged commit 7067c3b into master May 25, 2022
@natebosch natebosch deleted the drop-inconsistent-exception-tests branch May 25, 2022 14:57
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

Successfully merging this pull request may close these issues.

Unskip tests that expect InconsistentAnalysisExceptions
2 participants