Issue #2108: Split all modules to be separate at config_naming.html
This commit is contained in:
parent
6c07f80863
commit
38bba612c0
|
|
@ -39,8 +39,6 @@ public class AllChecksPresentOnAvailableChecksPageTest {
|
|||
private static final String CHECK_SUFFIX = "Check.java";
|
||||
private static final String LINK_TEMPLATE =
|
||||
"(?s).*<a href=\"config_\\w+\\.html#%1$s\">%1$s</a>.*";
|
||||
private static final String NAMING_LINK_TEMPLATE =
|
||||
"(?s).*<a href=\"config_naming\\.html#Modules\">%s</a>.*";
|
||||
|
||||
private static final List<String> IGNORE_LIST = Arrays.asList(
|
||||
"AbstractAccessControlNameCheck.java",
|
||||
|
|
@ -79,8 +77,6 @@ public class AllChecksPresentOnAvailableChecksPageTest {
|
|||
|
||||
private static boolean isPresent(String availableChecks, String checkName) {
|
||||
final String linkPattern = String.format(LINK_TEMPLATE, checkName);
|
||||
final String namingLinkPattern = String.format(NAMING_LINK_TEMPLATE, checkName);
|
||||
return availableChecks.matches(linkPattern)
|
||||
|| checkName.endsWith("Name") && availableChecks.matches(namingLinkPattern);
|
||||
return availableChecks.matches(linkPattern);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,14 +108,14 @@
|
|||
<td>The number of other classes a given class relies on.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">ClassTypeParameterName</a></td>
|
||||
<td><a href="config_naming.html#ClassTypeParameterName">ClassTypeParameterName</a></td>
|
||||
<td>
|
||||
Checks that class type parameter names conform to a format
|
||||
specified by the format property.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">ConstantName</a></td>
|
||||
<td><a href="config_naming.html#ConstantName">ConstantName</a></td>
|
||||
<td>Checks that constant names conform to a format specified by the format property.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -336,7 +336,7 @@
|
|||
Use Interfaces only to define types.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">InterfaceTypeParameterName</a></td>
|
||||
<td><a href="config_naming.html#InterfaceTypeParameterName">InterfaceTypeParameterName</a></td>
|
||||
<td>
|
||||
Checks that interface type parameter names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -386,7 +386,7 @@
|
|||
<td>Checks for long lines.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">LocalFinalVariableName</a></td>
|
||||
<td><a href="config_naming.html#LocalFinalVariableName">LocalFinalVariableName</a></td>
|
||||
<td>
|
||||
Checks that local final variable names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -403,7 +403,7 @@
|
|||
Checks for magic numbers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">MemberName</a></td>
|
||||
<td><a href="config_naming.html#MemberName">MemberName</a></td>
|
||||
<td>
|
||||
Checks that instance variable names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -431,7 +431,7 @@
|
|||
and the left parenthesis of the parameter list.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">MethodTypeParameterName</a></td>
|
||||
<td><a href="config_naming.html#MethodTypeParameterName">MethodTypeParameterName</a></td>
|
||||
<td>
|
||||
Checks that class type parameter names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -582,7 +582,7 @@
|
|||
<td>Ensures there is a package declaration and (optionally) in the correct directory.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">PackageName</a></td>
|
||||
<td><a href="config_naming.html#PackageName">PackageName</a></td>
|
||||
<td>
|
||||
Checks that package names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -593,7 +593,7 @@
|
|||
Disallow assignment of parameters.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">ParameterName</a></td>
|
||||
<td><a href="config_naming.html#ParameterName">ParameterName</a></td>
|
||||
<td>
|
||||
Checks that parameter names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
@ -681,7 +681,7 @@
|
|||
Checks for overly complicated boolean return statements.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="config_naming.html#Modules">StaticVariableName</a></td>
|
||||
<td><a href="config_naming.html#StaticVariableName">StaticVariableName</a></td>
|
||||
<td>
|
||||
Checks that static, non-final variable names conform to a format specified
|
||||
by the format property.</td>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue