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());
}
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 TestParsingErrors method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("MISSING_VAR");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations