use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFAbortChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("AVOID_USING_CFABORT_TAG");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs method setUp.
@Before
public void setUp() throws IOException, CFLintConfigurationException {
final ConfigBuilder configBuilder = new ConfigBuilder().include("MISSING_VAR", "GLOBAL_VAR", "NESTED_CFOUTPUT", "QUERYNEW_DATATYPE", "MISSING_SEMI");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugsTagless method setUp.
@Before
public void setUp() throws IOException, CFLintConfigurationException {
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 TestCFBugs_Comments method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("ARG_DEFAULT_MISSING");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_ComponentNames method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("COMPONENT_INVALID_NAME", "COMPONENT_ALLCAPS_NAME", "COMPONENT_TOO_SHORT", "COMPONENT_TOO_LONG", "COMPONENT_TOO_WORDY", "COMPONENT_IS_TEMPORARY", "COMPONENT_HAS_PREFIX_OR_POSTFIX");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations