use of com.checkmarx.flow.config.SarifProperties in project cx-flow by checkmarx-ltd.
the class SarifIssueTrackerTest method initWithNullPropertiesNullParameters.
@Test
public void initWithNullPropertiesNullParameters() {
SarifProperties properties = new SarifProperties();
properties.setFilePath("./cx.sarif");
FilenameFormatter filenameFormatter = new SanitizingFilenameFormatter();
SarifIssueTracker sarifIssueTracker = new SarifIssueTracker(properties, filenameFormatter);
try {
sarifIssueTracker.init(null, null);
assert false;
} catch (MachinaException e) {
assert true;
}
}
use of com.checkmarx.flow.config.SarifProperties in project cx-flow by checkmarx-ltd.
the class SarifIssueTrackerTest method getInstance.
private SarifIssueTracker getInstance() {
SarifProperties sarifProperties = new SarifProperties();
FilenameFormatter filenameFormatter = new SanitizingFilenameFormatter();
return new SarifIssueTracker(sarifProperties, filenameFormatter);
}
Aggregations