Skip to content

Issue #13321: Kill mutation for SuppressWarningsHolder#13413

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:sup2
Jul 20, 2023
Merged

Issue #13321: Kill mutation for SuppressWarningsHolder#13413
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:sup2

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

Issue #13321: Kill mutation for SuppressWarningsHolder


Check :-

https://checkstyle.org/checks/annotation/suppresswarningsholder.html#SuppressWarningsHolder


Mutation

<mutation unstable="false">
<sourceFile>SuppressWarningsHolder.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder</mutatedClass>
<mutatedMethod>addSuppressions</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/DetailAST::getColumnNo</description>
<lineContent>final int firstColumn = targetAST.getColumnNo();</lineContent>
</mutation>


Explaination

Test added

@romani romani merged commit ba569ee into checkstyle:master Jul 20, 2023
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.

2 participants