-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
XDoc Config: create unit test to verify property types and default values #3187
Comments
@rnveach , please move " We use String in the setter for everything, from regular expressions, file locations, to |
I moved it. |
is done.
is NOT done yet. |
@rnveach , is smth left as not-fixed here ? |
@romani Until we align all types in Issue #3212, we can't fully validate strings. These are the current overrides that need to be removed for full validation: checkstyle/src/test/java/com/puppycrawl/tools/checkstyle/internal/XDocsPagesTest.java Line 541 in c58874e
checkstyle/src/test/java/com/puppycrawl/tools/checkstyle/internal/XDocsPagesTest.java Line 586 in c58874e
|
issue is too big, please split into separate issue (it will be non "miscellaneous" update ) and close this issue. |
Closed because issue is split |
For types:
checkstyle/src/xdocs/config_coding.xml
Line 1283 in 20506e1
We interchange
Type Set
andlist of types
.checkstyle/src/xdocs/config_coding.xml
Line 2005 in 20506e1
We interchange
boolean
/Boolean
andinteger
/Integer
types.checkstyle/src/xdocs/config_naming.xml
Line 57 in 20506e1
We have improper types,
3
instead ofInteger
.For default values:
checkstyle/src/xdocs/config_coding.xml
Line 1789 in 20506e1
checkstyle/src/xdocs/config_imports.xml
Line 54 in 20506e1
We interchange blanks with
{}
,all files
, orempty list
for sets depending on the context.checkstyle/src/xdocs/config_javadoc.xml
Line 524 in 20506e1
checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocPackageCheck.java
Line 60 in 20506e1
Some default values are wrong.
There will be 2 hurdles with creating a junit for default values:
BeanUtil
sees.checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/TranslationCheck.java
Lines 190 to 191 in 20506e1
The text was updated successfully, but these errors were encountered: