Issue #13809: Kill mutation ConfigurationLoader2#13900
Issue #13809: Kill mutation ConfigurationLoader2#13900rnveach merged 1 commit intocheckstyle:masterfrom
Conversation
src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/puppycrawl/tools/checkstyle/ConfigurationLoaderTest.java
Outdated
Show resolved
Hide resolved
0c056e1 to
8e5d371
Compare
|
Kevin requested help on my comments , we need to help him. |
1e73851 to
8e5d371
Compare
|
your code is correct by it is really hard to understand why this works like this. lets make test full functional. load this config as it is done at and confirm that property is set to default value. |
8e5d371 to
62ca8b0
Compare
12e2e6d to
877fb72
Compare
romani
left a comment
There was a problem hiding this comment.
I updated code to required state
877fb72 to
ceefdd6
Compare
|
Github, generate website |
| } | ||
|
|
||
| @Test | ||
| public void testDefaultValuesForNonDefinedProperties() throws Exception { |
There was a problem hiding this comment.
Why can't this test be written in our normal format?
@romani Don't we require javadoc for custom tests?
There was a problem hiding this comment.
Whole test class is not using our general format. I still do not feel good to migrate this also to our general for modules format.
Tests are very similar to each other.
|
|
||
| <p> | ||
| ATTENTION: default value is applied to module property value if at least one expansion | ||
| property is not defined. |
There was a problem hiding this comment.
I assume this is referring to property values with multiple expansions in a single property?
This needs to be expanded. In addition why don't we add an example?
There was a problem hiding this comment.
Not only multiple expansion, any .
There was a problem hiding this comment.
I thought about example, but it is not easy to explain and might be too technical, and looks like nobody dealing with this, so we found this nuance only during pitest.
I think we don't need to make our doc to be too much extended and hard to read.
Issue #13809: Kill mutation ConfigurationLoader2
Test