use of com.checkmarx.flow.service.FilenameFormatter 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.service.FilenameFormatter in project cx-flow by checkmarx-ltd.
the class JsonIssueTrackerTest method getInstance.
private JsonIssueTracker getInstance() {
JsonProperties jsonProperties = new JsonProperties();
FilenameFormatter filenameFormatter = new SanitizingFilenameFormatter();
return new JsonIssueTracker(jsonProperties, filenameFormatter);
}
use of com.checkmarx.flow.service.FilenameFormatter 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