use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_TooManyArguments method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("EXCESSIVE_ARGUMENTS");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFBugs_VarScoper_Names method setUp.
@Before
public void setUp() throws 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_VariableNames method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("VAR_INVALID_NAME", "VAR_ALLCAPS_NAME", "SCOPE_ALLCAPS_NAME", "VAR_TOO_SHORT", "VAR_TOO_LONG", "VAR_TOO_WORDY", "VAR_IS_TEMPORARY", "VAR_HAS_PREFIX_OR_POSTFIX");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFDebugAttributeTagChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("AVOID_USING_DEBUG_ATTR", "AVOID_USING_CFSETTING_DEBUG");
cfBugs = new CFLintAPI(configBuilder.build());
}
use of com.cflint.api.CFLintAPI in project CFLint by cflint.
the class TestCFDumpChecker method setUp.
@Before
public void setUp() throws Exception {
final ConfigBuilder configBuilder = new ConfigBuilder().include("AVOID_USING_CFDUMP_TAG");
cfBugs = new CFLintAPI(configBuilder.build());
}
Aggregations