As implementation of Description Macro is being extended to more checks, XdocsMobileWrapperTest encounters the problem of <table> tags not being wrapped with <div>, producing the following error:
[ERROR] XdocsMobileWrapperTest.testAllCheckSectionMobileWrapper:67->iterateNode:106->iterateNode:80 npathcomplexity.xml/NPathComplexity: Tag 'table' in 'subsection' needs a wrapping <span> or <div> with the class 'wrapper'.
expected any of: [div, span]
but was : subsection
Example of module javadoc:
|
* </blockquote> |
|
* <table> |
|
* <caption>Examples</caption> |
Example of how it should be:
|
|
|
<div class="wrapper"> |
|
<table> |
|
<caption>Examples</caption> |
As implementation of Description Macro is being extended to more checks, XdocsMobileWrapperTest encounters the problem of
<table>tags not being wrapped with<div>, producing the following error:Example of module javadoc:
checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/metrics/NPathComplexityCheck.java
Lines 84 to 86 in 7d7c10e
Example of how it should be:
checkstyle/src/site/xdoc/checks/metrics/npathcomplexity.xml
Lines 61 to 64 in 7d7c10e