Issue #2451: documented missing properties for MethodNameCheck
This commit is contained in:
parent
9eec8df605
commit
1edb2ce5f7
|
|
@ -42,7 +42,7 @@
|
|||
files="AbstractClassNameCheckTest.java|AbstractTypeAwareCheckTest.java|AbstractJavadocCheckTest.java|AbstractViolationReporterTest.java"/>
|
||||
|
||||
<!-- Tone down the checking for test code -->
|
||||
<suppress checks="CyclomaticComplexity" files="[\\/]XDocsPagesTest\.java" lines="319"/>
|
||||
<suppress checks="CyclomaticComplexity" files="[\\/]XDocsPagesTest\.java" lines="316"/>
|
||||
<suppress checks="EmptyBlock" files=".*[\\/]src[\\/]test[\\/]"/>
|
||||
<suppress checks="ImportControl" files=".*[\\/]src[\\/](test|it)[\\/]"/>
|
||||
<suppress checks="Javadoc" files=".*[\\/]src[\\/](test|it)[\\/]"/>
|
||||
|
|
|
|||
|
|
@ -112,11 +112,8 @@ public class XDocsPagesTest {
|
|||
|
||||
private static final List<String> UNDOCUMENTED_PROPERTIES = Arrays.asList(
|
||||
"SuppressWithNearbyCommentFilter.fileContents",
|
||||
"SuppressionCommentFilter.fileContents",
|
||||
"MethodNameCheck.applyToPackage",
|
||||
"MethodNameCheck.applyToPrivate",
|
||||
"MethodNameCheck.applyToProtected",
|
||||
"MethodNameCheck.applyToPublic");
|
||||
"SuppressionCommentFilter.fileContents"
|
||||
);
|
||||
|
||||
@Test
|
||||
public void testAllChecksPresentOnAvailableChecksPage() throws IOException {
|
||||
|
|
|
|||
|
|
@ -725,6 +725,32 @@ class MyClass {
|
|||
<td><a href="property_types.html#boolean">Boolean</a></td>
|
||||
<td><code>false</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>applyToPublic</td>
|
||||
<td>Controls whether to apply the check to public member.</td>
|
||||
<td><a href="property_types.html#boolean">Boolean</a></td>
|
||||
<td><code>true</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>applyToProtected</td>
|
||||
<td>Controls whether to apply the check to protected member.</td>
|
||||
<td><a href="property_types.html#boolean">Boolean</a></td>
|
||||
<td><code>true</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>applyToPackage</td>
|
||||
<td>
|
||||
Controls whether to apply the check to package-private member.
|
||||
</td>
|
||||
<td><a href="property_types.html#boolean">Boolean</a></td>
|
||||
<td><code>true</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>applyToPrivate</td>
|
||||
<td>Controls whether to apply the check to private member.</td>
|
||||
<td><a href="property_types.html#boolean">Boolean</a></td>
|
||||
<td><code>true</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
</subsection>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue