use of com.cflint.api.CFLintAPI 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.api.CFLintAPI 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.api.CFLintAPI 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.api.CFLintAPI 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());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestUnusedLocalVarChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("UNUSED_LOCAL_VARIABLE");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations