Skip to content

Issue #13321: Kill mutation for RegexpCheck#13380

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:regexp1
Jul 9, 2023
Merged

Issue #13321: Kill mutation for RegexpCheck#13380
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:regexp1

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 commented Jul 8, 2023

Issue #13321: Kill mutation for RegexpCheck


check

https://checkstyle.org/checks/regexp/regexpsinglelinejava.html#RegexpSinglelineJava
https://checkstyle.org/checks/regexp/regexpsingleline.html#RegexpSingleline


Mutation

<mutation unstable="false">
<sourceFile>RegexpSinglelineJavaCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck</mutatedClass>
<mutatedMethod>&lt;init&gt;</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable format</description>
<lineContent>@XdocsPropertyType(PropertyType.PATTERN)</lineContent>
</mutation>

<mutation unstable="false">
<sourceFile>RegexpSinglelineCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck</mutatedClass>
<mutatedMethod>&lt;init&gt;</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable format</description>
<lineContent>@XdocsPropertyType(PropertyType.PATTERN)</lineContent>
</mutation>


Explaination

Test added

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.

Ok to merge

@romani romani merged commit 0831953 into checkstyle:master Jul 9, 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