Issue #13321: Kill mutation for SuppressionLoader#13396
Merged
romani merged 1 commit intocheckstyle:masterfrom Jul 14, 2023
Merged
Issue #13321: Kill mutation for SuppressionLoader#13396romani merged 1 commit intocheckstyle:masterfrom
romani merged 1 commit intocheckstyle:masterfrom
Conversation
57f0f15 to
e03c65a
Compare
41 tasks
romani
requested changes
Jul 14, 2023
| final SuppressFilterElement suppressElement = (SuppressFilterElement) fc.getFilters() | ||
| .toArray()[0]; | ||
|
|
||
| final String filePattern = TestUtil.getInternalState(suppressElement, "filePattern"); |
Member
There was a problem hiding this comment.
I know that we still have a lot of bad examples of pure unit testing.
But we agreed by all that we are not doing this anymore, as it is useless code generation that doesn't not give much in quality value.
Please use Inputs with some check and suppression of violation.
e03c65a to
43f6cc3
Compare
43f6cc3 to
f80dc1c
Compare
Member
|
Only test, so merging |
This was referenced Aug 2, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #13321: Kill mutation for SuppressionLoader
Mutatioins
checkstyle/config/pitest-suppressions/pitest-filters-suppressions.xml
Lines 3 to 10 in 88486f7
and
checkstyle/config/pitest-suppressions/pitest-filters-suppressions.xml
Lines 381 to 577 in 88486f7
Explaination
Test added