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