Skip to content

Commit

Permalink
Issue checkstyle#13809: Kill mutation in pitest-api profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin222004 committed Oct 1, 2023
1 parent 56af761 commit e65209b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions config/pitest-suppressions/pitest-api-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,4 @@
<description>Removed assignment to member variable args</description>
<lineContent>this.args = null;</lineContent>
</mutation>

<mutation unstable="false">
<sourceFile>Violation.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.api.Violation</mutatedClass>
<mutatedMethod>compareTo</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to java/lang/String::compareTo</description>
<lineContent>result = getViolation().compareTo(other.getViolation());</lineContent>
</mutation>
</suppressedMutations>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4695,6 +4695,7 @@
<param>com.puppycrawl.tools.checkstyle.filters.SuppressWithPlainTextCommentFilterTest</param>
<param>com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheckTest</param>
<param>com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheckTest</param>
<param>com.puppycrawl.tools.checkstyle.checks.modifier.InterfaceMemberImpliedModifierCheckTest</param>
</targetTests>
<avoidCallsTo>
<avoidCallsTo>com.puppycrawl.tools.checkstyle.utils.UnmodifiableCollectionUtil</avoidCallsTo>
Expand Down

0 comments on commit e65209b

Please sign in to comment.