Skip to content

Issue #13501: Kill mutation for ImportControlCheck#13503

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:FIC
Aug 3, 2023
Merged

Issue #13501: Kill mutation for ImportControlCheck#13503
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:FIC

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 commented Aug 2, 2023

Issue #13501: Kill mutation for ImportControlCheck


Check

https://checkstyle.org/checks/imports/importcontrol.html#ImportControl


Mutation

<mutation unstable="false">
<sourceFile>ImportControlCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck</mutatedClass>
<mutatedMethod>beginTree</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable currentImportControl</description>
<lineContent>currentImportControl = null;</lineContent>
</mutation>


Explaination

Test expansion

Copy link
Copy Markdown
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just test added, best form up update.

@romani romani merged commit 9277b54 into checkstyle:master Aug 3, 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