@Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   return new IdeOnlyConsoleOutput(storyReporterBuilder.keywords())
       .doReportFailureTrace(storyReporterBuilder.reportFailureTrace())
       .doCompressFailureTrace(storyReporterBuilder.compressFailureTrace());
 }
Exemple #2
0
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("html"));
   return new HtmlTemplateOuput(
       factory.getOutputFile(), storyReporterBuilder.keywords(), new FreemarkerProcessor());
 }
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("xml"));
   return new XmlOutput(factory.createPrintStream(), storyReporterBuilder.keywords())
       .doReportFailureTrace(storyReporterBuilder.reportFailureTrace())
       .doCompressFailureTrace(storyReporterBuilder.compressFailureTrace());
 }
 @Override
 public StoryReporter createStoryReporter(
     FilePrintStreamFactory factory, StoryReporterBuilder storyReporterBuilder) {
   factory.useConfiguration(storyReporterBuilder.fileConfiguration("stats"));
   return new PostStoryStatisticsCollector(factory.createPrintStream());
 }