use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_FunctionType method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("FUNCTION_TYPE_MISSING", "FUNCTION_TYPE_ANY");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_MethodNames method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("METHOD_INVALID_NAME", "METHOD_ALLCAPS_NAME", "METHOD_TOO_SHORT", "METHOD_TOO_LONG", "METHOD_TOO_WORDY", "METHOD_IS_TEMPORARY", "METHOD_HAS_PREFIX_OR_POSTFIX");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_OutputDef method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("OUTPUT_ATTR");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_ParseError method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("PARSE_ERROR");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_SimpleComplexity method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("FUNCTION_TOO_COMPLEX");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations