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

Resolve Pitest suppression for SingleSpaceSeparatorCheck #12280

Closed
Kevin222004 opened this issue Oct 9, 2022 · 2 comments
Closed

Resolve Pitest suppression for SingleSpaceSeparatorCheck #12280

Kevin222004 opened this issue Oct 9, 2022 · 2 comments

Comments

@Kevin222004
Copy link
Collaborator

Related to #7797

kill mutation

<mutation unstable="false">
<sourceFile>SingleSpaceSeparatorCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.whitespace.SingleSpaceSeparatorCheck</mutatedClass>
<mutatedMethod>visitEachToken</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator</mutator>
<description>removed call to com/puppycrawl/tools/checkstyle/api/DetailAST::getParent</description>
<lineContent>final DetailAST parent = node.getParent();</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>SingleSpaceSeparatorCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.whitespace.SingleSpaceSeparatorCheck</mutatedClass>
<mutatedMethod>visitEachToken</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getParent with receiver</description>
<lineContent>final DetailAST parent = node.getParent();</lineContent>
</mutation>

@Kevin222004
Copy link
Collaborator Author

I am working on it, send pr when its approved

@rnveach
Copy link
Member

rnveach commented Jan 7, 2023

I am closing this and moving it under #12601.

@rnveach rnveach closed this as completed Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants