master
  1<?xml version="1.0" encoding="utf-8" ?>
  2<configuration>
  3  <castle>
  4    <components>
  5      <component id="ReportFormatter.Xml"
  6                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
  7                 type="Gallio.Reports.XmlReportFormatter, Gallio.Reports">
  8        <parameters>
  9          <name>Xml</name>
 10          <description>Generates XML reports with linked attachment files.</description>
 11          <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
 12        </parameters>
 13      </component>
 14
 15      <component id="ReportFormatter.Xml-Inline"
 16                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
 17                 type="Gallio.Reports.XmlReportFormatter, Gallio.Reports">
 18        <parameters>
 19          <name>Xml-Inline</name>
 20          <description>Generates XML reports with inline encoded attachments.</description>
 21          <defaultAttachmentContentDisposition>Inline</defaultAttachmentContentDisposition>
 22        </parameters>
 23      </component>
 24
 25      <component id="ReportFormatter.Text"
 26                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
 27                 type="Gallio.Reports.XsltReportFormatter, Gallio.Reports">
 28        <parameters>
 29          <name>Text</name>
 30          <description>Generates plain text reports.</description>
 31          <extension>txt</extension>
 32          <contentType>text/plain</contentType>
 33          <defaultAttachmentContentDisposition>Absent</defaultAttachmentContentDisposition>
 34          <contentUri>plugin://Gallio.Reports/</contentUri>
 35          <xsltPath>xsl/Gallio-Report.txt.xsl</xsltPath>
 36          <resourcePaths>
 37            <array>
 38            </array>
 39          </resourcePaths>
 40        </parameters>
 41      </component>
 42      
 43      <component id="ReportFormatter.Html"
 44                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
 45                 type="Gallio.Reports.XsltReportFormatter, Gallio.Reports">
 46        <parameters>
 47          <name>Html</name>
 48          <description>Generates HTML reports with linked attachment files.</description>
 49          <extension>html</extension>
 50          <contentType>text/html</contentType>
 51          <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
 52          <contentUri>plugin://Gallio.Reports/</contentUri>
 53          <xsltPath>xsl/Gallio-Report.html.xsl</xsltPath>
 54          <resourcePaths>
 55            <array>
 56              <item>css</item>
 57              <item>js</item>
 58              <item>img</item>
 59            </array>
 60          </resourcePaths>
 61        </parameters>
 62      </component>
 63
 64      <component id="ReportFormatter.Html-Inline"
 65                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
 66                 type="Gallio.Reports.XsltReportFormatter, Gallio.Reports">
 67        <parameters>
 68          <name>Html-Inline</name>
 69          <description>Generates HTML reports with inline encoded attachments (images only).</description>
 70          <extension>html</extension>
 71          <contentType>text/html</contentType>
 72          <defaultAttachmentContentDisposition>Inline</defaultAttachmentContentDisposition>
 73          <contentUri>plugin://Gallio.Reports/</contentUri>
 74          <xsltPath>xsl/Gallio-Report.html.xsl</xsltPath>
 75          <resourcePaths>
 76            <array>
 77              <item>css</item>
 78              <item>js</item>
 79              <item>img</item>
 80            </array>
 81          </resourcePaths>
 82        </parameters>
 83      </component>
 84
 85      <component id="ReportFormatter.XHtml"
 86                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
 87                 type="Gallio.Reports.XsltReportFormatter, Gallio.Reports">
 88        <parameters>
 89          <name>XHtml</name>
 90          <description>Generates XHTML reports with linked attachment files.</description>
 91          <extension>xhtml</extension>
 92          <contentType>text/xhtml+xml</contentType>
 93          <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
 94          <contentUri>plugin://Gallio.Reports/</contentUri>
 95          <xsltPath>xsl/Gallio-Report.xhtml.xsl</xsltPath>
 96          <resourcePaths>
 97            <array>
 98              <item>css</item>
 99              <item>js</item>
100              <item>img</item>
101            </array>
102          </resourcePaths>
103        </parameters>
104      </component>
105      
106      <component id="ReportFormatter.XHtml-Inline"
107                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
108                 type="Gallio.Reports.XsltReportFormatter, Gallio.Reports">
109        <parameters>
110          <name>XHtml-Inline</name>
111          <description>Generates XHTML reports with inline encoded attachments (images only).</description>
112          <extension>xhtml</extension>
113          <contentType>text/xhtml+xml</contentType>
114          <defaultAttachmentContentDisposition>Inline</defaultAttachmentContentDisposition>
115          <contentUri>plugin://Gallio.Reports/</contentUri>
116          <xsltPath>xsl/Gallio-Report.xhtml.xsl</xsltPath>
117          <resourcePaths>
118            <array>
119              <item>css</item>
120              <item>js</item>
121              <item>img</item>
122            </array>
123          </resourcePaths>
124        </parameters>
125      </component>      
126      
127      <component id="ReportFormatter.MHtml"
128                 service="Gallio.Runner.Reports.IReportFormatter, Gallio"
129                 type="Gallio.Reports.MHtmlReportFormatter, Gallio.Reports">
130        <parameters>
131          <name>MHtml</name>
132          <description>Generates MHTML reports with embedded attachments.</description>
133          <htmlReportFormatter>${ReportFormatter.Html}</htmlReportFormatter>
134        </parameters>
135      </component>      
136    </components>
137  </castle>
138</configuration>