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
Issue #12260: Resolve Pitest suppression for AbstractParenPadCheck - 2 #12262
Conversation
but we can't remove or make any changes to this Method because enum has been set to be like
a) the toUpperCase function will work here as like
as the output of this code we will get only SPACE which is good b) if we remove the toUpperCase function and then try to set the property
it will give us the error like
a) currently in our testing case all the test case which are available now to kill this mutation i have create the test file with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 minor change
final String[] expected = CommonUtil.EMPTY_STRING_ARRAY; | ||
verifyWithInlineConfigParser( | ||
getPath("InputParenPadToCheckUpperCaseFunctionInOptionProperty.java"), | ||
expected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this in this PR and previous. expected
is indented 1 less then where it should.
Please ensure they line up. Please fix previous test in this same PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Items
...kstyle/checks/whitespace/parenpad/InputParenPadToCheckUpperCaseFunctionInOptionProperty.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok to merge
Issue #12260: Resolve Pitest suppression for AbstractParenPadCheck - 2
killing mutation
checkstyle/.ci/pitest-suppressions/pitest-whitespace-suppressions.xml
Line 8 in 70bbcd8