Update UnitTestNamingConventionRule.java (#3978)

This commit is contained in:
Grzegorz Piwowarek 2018-04-11 05:20:34 +02:00 committed by GitHub
parent d337266c7a
commit 39ac68e2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -11,10 +11,10 @@ public class UnitTestNamingConventionRule extends AbstractJavaRule {
private static List<String> allowedEndings = Arrays.asList(
"IntegrationTest",
"LongRunningUnitTest",
"ManualTest",
"JdbcTest",
"LiveTest");
"LiveTest",
"UnitTest");
public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
String className = node.getImage();
@ -29,4 +29,4 @@ public class UnitTestNamingConventionRule extends AbstractJavaRule {
return data;
}
}
}