public class ExcludeTestPackages extends Object implements com.puppycrawl.tools.checkstyle.api.Filter
/src/test/java included in its path and if the violation message contains the keyword
"[not required for tests]".
A SuppressionFilter is too generic, and requires per-module configuration.
| Modifier and Type | Field and Description |
|---|---|
private static String |
MESSAGE_DISABLE_KEYWORD |
private static String |
SUB_PATH |
| Constructor and Description |
|---|
ExcludeTestPackages() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(com.puppycrawl.tools.checkstyle.api.AuditEvent aEvent) |
private boolean |
acceptTestfileEvent(com.puppycrawl.tools.checkstyle.api.AuditEvent aEvent) |
private static final String SUB_PATH
private static final String MESSAGE_DISABLE_KEYWORD
Copyright © 2021 JBoss by Red Hat. All rights reserved.