use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestFileCaseChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("FILE_SHOULD_START_WITH_LOWERCASE");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestStructNewChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("AVOID_USING_STRUCTNEW");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class TestUnusedArgumentChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("UNUSED_METHOD_ARGUMENT");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.config.ConfigBuilder in project CFLint by cflint.
the class Test_Switch_Default_Checker method setUp.
@Before
public void setUp() throws IOException, CFLintConfigurationException {
final ConfigBuilder configBuilder = new ConfigBuilder().include("NO_DEFAULT_INSIDE_SWITCH");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations