##### Coverage Report - org.jbehave.core.reporters.XmlTemplateOutput

Classes in this File | Line Coverage | Branch Coverage | Complexity
XmlTemplateOutput |
50% | 2/4
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.core.reporters;
2 |  |
3 |  |
     import java.io.File;
4 |  |
5 |  |
     import org.jbehave.core.configuration.Keywords;
6 |  |
7 |  |
     /**
8 |  |
      * A templateable output that generates XML. By default it uses
9 |  |
      * {@link FreemarkerProcessor} and template path <b>ftl/jbehave-xml-output.ftl</b>,
10 |  |
      * but custom processors based on other templating systems can be provided and/or
11 |  |
      * other template paths can be configured.
12 |  |
      */
13 |  |
     public class XmlTemplateOutput extends TemplateableOutput {
14 |  |
15 |  |
         public XmlTemplateOutput(File file, Keywords keywords) {
16 | 1 |
             super(file, keywords, new FreemarkerProcessor(), "ftl/jbehave-xml-output.ftl");
17 | 1 |
         }
18 |  |
19 |  |
         public XmlTemplateOutput(File file, Keywords keywords, TemplateProcessor processor, String templatePath) {
20 | 0 |
             super(file, keywords, processor, templatePath);
21 | 0 |
         }
22 |  |
23 |  |
     }