use of org.sonar.java.checks.naming.BadClassNameCheck in project sonar-java by SonarSource.
the class GeneratedCodeFilterTest method test.
@Test
public void test() {
CommentRegularExpressionCheck commentRegularExpressionCheck = new CommentRegularExpressionCheck();
commentRegularExpressionCheck.regularExpression = ".*alpha.*";
FilterVerifier.verify("src/test/files/filters/GeneratedCodeFilter.java", new GeneratedCodeFilter(), // activated rules
commentRegularExpressionCheck, new BadClassNameCheck(), new BadMethodNameCheck(), new BadLocalVariableNameCheck());
}
Aggregations