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 EmptyLineSeperator #12278

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

Resolve Pitest suppression for EmptyLineSeperator #12278

Kevin222004 opened this issue Oct 8, 2022 · 2 comments

Comments

@Kevin222004
Copy link
Collaborator

Related to #7797

kill mutation

<mutation unstable="false">
<sourceFile>EmptyLineSeparatorCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck</mutatedClass>
<mutatedMethod>getViolationAstForPackage</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getNextSibling with receiver</description>
<lineContent>DetailAST nextElement = ast.getNextSibling();</lineContent>
</mutation>

and
<mutation unstable="false">
<sourceFile>EmptyLineSeparatorCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck</mutatedClass>
<mutatedMethod>isLineEmptyAfterPackage</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getNextSibling with receiver</description>
<lineContent>DetailAST nextElement = ast.getNextSibling();</lineContent>
</mutation>

@nitishfy
Copy link
Contributor

nitishfy commented Oct 9, 2022

I'm working on this.

@rnveach
Copy link
Member

rnveach commented Jan 7, 2023

This will be resolved under #12601 so I am closing this.

@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

Successfully merging a pull request may close this issue.

4 participants