Skip to content

Issue #13501: Kill mutation for JavaParser#13655

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavaParser
Aug 28, 2023
Merged

Issue #13501: Kill mutation for JavaParser#13655
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavaParser

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 commented Aug 27, 2023

Issue #13501: Kill mutation for JavaParser

https://github.com/checkstyle/checkstyle/blob/master/src/main/java/com/puppycrawl/tools/checkstyle/JavaParser.java


Mutations

<mutation unstable="false">
<sourceFile>DetailAstImpl.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.DetailAstImpl</mutatedClass>
<mutatedMethod>setHiddenAfter</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to java/util/Collections::unmodifiableList with argument</description>
<lineContent>this.hiddenAfter = Collections.unmodifiableList(hiddenAfter);</lineContent>
</mutation>


Explaination

Test added

@romani romani merged commit ad98d09 into checkstyle:master Aug 28, 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