use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestLiteralLocalChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("LOCAL_LITERAL_VALUE_USED_TOO_OFTEN");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestCFLint2Files method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("ARG_DEFAULT_MISSING", "QUERYPARAM_REQ");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestComponentLengthChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("EXCESSIVE_COMPONENT_LENGTH");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestFunctionLengthChecker method setUp.
@Before
public void setUp() throws CFLintConfigurationException {
final ConfigBuilder configBuilder = new ConfigBuilder().include("EXCESSIVE_FUNCTION_LENGTH");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestLiteralGlobalChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("GLOBAL_LITERAL_VALUE_USED_TOO_OFTEN", "LOCAL_LITERAL_VALUE_USED_TOO_OFTEN");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations