BPMNAssertions.appendToFile(getFileName(), deploymentError);
}
}
private void addRuntimeErrorsToLogFile(Path logFile) {
LogFileAnalyzer analyzer = new LogFileAnalyzer(logFile);
analyzer.addSubstring("org.activiti.engine.ActivitiException", BPMNAssertions.ERROR_RUNTIME);
analyzer.addSubstring("EndEvent_2 throws error event with errorCode 'ERR-1'", BPMNAssertions.ERROR_THROWN_ERROR_EVENT);
analyzer.addSubstring("No catching boundary event found for error with errorCode 'ERR-1'", BPMNAssertions.ERROR_THROWN_ERROR_EVENT);
for (BPMNAssertions runtimeError : analyzer.getErrors()) {
BPMNAssertions.appendToFile(getFileName(), runtimeError);
}
}