You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by mh...@apache.org on 2011/08/05 21:21:29 UTC
[Lucene.Net] svn commit: r1154359 [17/25] - in
/incubator/lucene.net/branches/Lucene.Net_4e: ./ build/ build/scripts/
packages/ packages/Gallio.3.2.750/ packages/Gallio.3.2.750/licenses/
packages/Gallio.3.2.750/tools/ packages/Gallio.3.2.750/tools/NCover/
packages/...
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html+xhtml.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html%2Bxhtml.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html+xhtml.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html+xhtml.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,1060 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This stylesheet is used for all HTML detail reports.
+ It can be rendered in any of the following modes.
+
+ Document / Fragment:
+ A report can either be rendered a self-contained document or as
+ a fragment meant to be included in another document.
+
+ HTML / XHTML:
+ A report can either be rendered in HTML or in XHTML syntax.
+
+ One very important characteristic of the report is that while it uses JavaScript,
+ it does not require it. All of the report's contents may be accessed without error
+ or serious inconvenience even with JavaScript disabled. This is extremely important
+ for Visual Studio integration since the IE browser prevents execution of scripts
+ in local files by default.
+-->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+ xmlns:g="http://www.gallio.org/"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:template match="g:report" mode="xhtml-document">
+ <xsl:param name="contentType" select="text/xhtml+xml" />
+
+ <html xml:lang="en" lang="en" dir="ltr">
+ <xsl:comment> saved from url=(0014)about:internet </xsl:comment><xsl:text> </xsl:text>
+ <head>
+ <meta http-equiv="Content-Type" content="{$contentType}; charset=utf-8" />
+ <title>Gallio Test Report</title>
+ <link rel="stylesheet" type="text/css" href="{$cssDir}Gallio-Report.css" />
+ <link rel="stylesheet" type="text/css" href="{$cssDir}Gallio-Report.generated.css" />
+ <script type="text/javascript" src="{$jsDir}Gallio-Report.js" />
+ <xsl:if test="g:testPackageRun//g:testStepRun/g:testLog/g:attachments/g:attachment[@contentType='video/x-flv']">
+ <script type="text/javascript" src="{$jsDir}swfobject.js" />
+ </xsl:if>
+ <style type="text/css">
+html
+{
+ overflow: auto;
+}
+ </style>
+ </head>
+ <body class="gallio-report">
+ <xsl:apply-templates select="." mode="xhtml-body" />
+ </body>
+ <script type="text/javascript">reportLoaded();</script>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="g:report" mode="html-document">
+ <xsl:call-template name="strip-namespace">
+ <xsl:with-param name="nodes">
+ <xsl:apply-templates select="." mode="xhtml-document">
+ <xsl:with-param name="contentType" select="text/html" />
+ </xsl:apply-templates>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template match="g:report" mode="xhtml-fragment">
+ <div class="gallio-report">
+ <!-- Technically a link element should not appear outside of the "head"
+ but most browsers tolerate it and this gives us better out of the box
+ support in embedded environments like CCNet since no changes need to
+ be made to the stylesheets of the containing application.
+ -->
+ <link rel="stylesheet" type="text/css" href="{$cssDir}Gallio-Report.css" />
+ <link rel="stylesheet" type="text/css" href="{$cssDir}Gallio-Report.generated.css" />
+ <style type="text/css">
+html
+{
+ margin: 0px 0px 0px 0px;
+ padding: 0px 17px 0px 0px;
+ overflow: auto;
+}
+ </style>
+ <script type="text/javascript" src="{$jsDir}Gallio-Report.js" />
+ <xsl:if test="g:testPackageRun//g:testStepRun/g:testLog/g:attachments/g:attachment[@contentType='video/x-flv']">
+ <script type="text/javascript" src="{$jsDir}swfobject.js" />
+ </xsl:if>
+
+ <xsl:apply-templates select="." mode="xhtml-body" />
+ </div>
+ <script type="text/javascript">reportLoaded();</script>
+ </xsl:template>
+
+ <xsl:template match="g:report" mode="html-fragment">
+ <xsl:call-template name="strip-namespace">
+ <xsl:with-param name="nodes"><xsl:apply-templates select="." mode="xhtml-fragment" /></xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template match="g:report" mode="xhtml-body">
+ <div id="Header" class="header">
+ <div class="header-image"></div>
+ </div>
+ <div id="Navigator" class="navigator">
+ <xsl:apply-templates select="g:testPackageRun" mode="navigator" />
+ </div>
+ <div id="Content" class="content">
+ <iframe id="_asyncLoadFrame" src="about:blank" style="border: 0px; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; width: 0px; height: 0px; display: none;" onload="_asyncLoadFrameOnLoad()" />
+
+ <xsl:apply-templates select="g:testPackageRun" mode="statistics" />
+ <xsl:apply-templates select="g:testPackage" mode="files" />
+ <xsl:apply-templates select="g:testModel/g:annotations" mode="annotations"/>
+ <xsl:apply-templates select="g:testPackageRun" mode="summary"/>
+ <xsl:apply-templates select="g:testPackageRun" mode="details"/>
+ <xsl:apply-templates select="g:logEntries" mode="log"/>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:testPackage" mode="files">
+ <div id="Files" class="section">
+ <h2>Files</h2>
+ <div class="section-content">
+ <ul>
+ <xsl:for-each select="g:files/g:file">
+ <li><xsl:call-template name="print-text-with-breaks"><xsl:with-param name="text" select="text()" /></xsl:call-template></li>
+ </xsl:for-each>
+ </ul>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:annotations" mode="annotations">
+ <xsl:if test="g:annotation">
+ <div id="Annotations" class="section">
+ <h2>Annotations</h2>
+ <div class="section-content">
+ <ul>
+ <xsl:apply-templates select="g:annotation[@type='error']" mode="annotations"/>
+ <xsl:apply-templates select="g:annotation[@type='warning']" mode="annotations"/>
+ <xsl:apply-templates select="g:annotation[@type='info']" mode="annotations"/>
+ </ul>
+ </div>
+ </div>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:annotation" mode="annotations">
+ <li>
+ <xsl:attribute name="class">annotation annotation-type-<xsl:value-of select="@type"/></xsl:attribute>
+ <div class="annotation-message">
+ <xsl:text>[</xsl:text><xsl:value-of select="@type"/><xsl:text>] </xsl:text>
+ <xsl:call-template name="print-text-with-breaks"><xsl:with-param name="text" select="@message" /></xsl:call-template>
+ </div>
+
+ <xsl:if test="g:codeLocation/@path">
+ <div class="annotation-location">
+ <xsl:text>Location: </xsl:text>
+ <xsl:call-template name="code-location-link">
+ <xsl:with-param name="path" select="g:codeLocation/@path" />
+ <xsl:with-param name="line" select="g:codeLocation/@line" />
+ <xsl:with-param name="column" select="g:codeLocation/@column" />
+ <xsl:with-param name="content">
+ <xsl:call-template name="format-code-location">
+ <xsl:with-param name="codeLocation" select="g:codeLocation" />
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+ </div>
+ </xsl:if>
+
+ <xsl:if test="g:codeReference/@assembly">
+ <div class="annotation-reference">
+ <xsl:text>Reference: </xsl:text>
+ <xsl:call-template name="format-code-reference"><xsl:with-param name="codeReference" select="g:codeReference" /></xsl:call-template>
+ </div>
+ </xsl:if>
+
+ <xsl:if test="@details">
+ <div class="annotation-details">
+ <xsl:text>Details: </xsl:text>
+ <xsl:call-template name="print-text-with-breaks"><xsl:with-param name="text" select="@details" /></xsl:call-template>
+ </div>
+ </xsl:if>
+ </li>
+ </xsl:template>
+
+ <xsl:template match="g:testPackageRun" mode="navigator">
+ <xsl:variable name="box-label"><xsl:call-template name="format-statistics"><xsl:with-param name="statistics" select="g:statistics" /></xsl:call-template></xsl:variable>
+ <a href="#Statistics" title="{$box-label}">
+ <xsl:attribute name="class">navigator-box <xsl:call-template name="status-from-statistics"><xsl:with-param name="statistics" select="g:statistics" /></xsl:call-template></xsl:attribute>
+ </a>
+
+ <div class="navigator-stripes">
+ <xsl:for-each select="descendant::g:testStepRun">
+ <xsl:variable name="status" select="g:result/g:outcome/@status"/>
+ <xsl:if test="$status != 'passed' and (g:testStep/@isTestCase = 'true' or not(g:children/g:testStepRun))">
+ <xsl:variable name="stripe-label"><xsl:value-of select="g:testStep/@name"/><xsl:text> </xsl:text><xsl:value-of select="$status"/>.</xsl:variable>
+ <a href="#testStepRun-{g:testStep/@id}" style="top:{position() * 98 div last() + 1}%" class="status-{$status}" title="{$stripe-label}">
+ <xsl:attribute name="onclick">
+ <xsl:text>expand([</xsl:text>
+ <xsl:for-each select="ancestor-or-self::g:testStepRun">
+ <xsl:if test="position() != 1">
+ <xsl:text>,</xsl:text>
+ </xsl:if>
+ <xsl:text>'detailPanel-</xsl:text>
+ <xsl:value-of select="g:testStep/@id"/>
+ <xsl:text>'</xsl:text>
+ </xsl:for-each>
+ <xsl:text>]);</xsl:text>
+ </xsl:attribute>
+ </a>
+ </xsl:if>
+ </xsl:for-each>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:testPackageRun" mode="statistics">
+ <div id="Statistics" class="section">
+ <h2>Statistics</h2>
+ <div class="section-content">
+ <table class="statistics-table">
+ <tr>
+ <td class="statistics-label-cell">Start time:</td>
+ <td><xsl:call-template name="format-datetime"><xsl:with-param name="datetime" select="@startTime" /></xsl:call-template></td>
+ </tr>
+ <tr class="alternate-row">
+ <td class="statistics-label-cell">End time:</td>
+ <td><xsl:call-template name="format-datetime"><xsl:with-param name="datetime" select="@endTime" /></xsl:call-template></td>
+ </tr>
+ <xsl:apply-templates select="g:statistics" />
+ </table>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:statistics">
+ <tr>
+ <td class="statistics-label-cell">Tests:</td>
+ <td><xsl:value-of select="@testCount" /> (<xsl:value-of select="@stepCount" /> steps)</td>
+ </tr>
+ <tr class="alternate-row">
+ <td class="statistics-label-cell">Results:</td>
+ <td><xsl:call-template name="format-statistics"><xsl:with-param name="statistics" select="." /></xsl:call-template></td>
+ </tr>
+ <tr>
+ <td class="statistics-label-cell">Duration:</td>
+ <td><xsl:value-of select="format-number(@duration, '0.00')" />s</td>
+ </tr>
+ <tr class="alternate-row">
+ <td class="statistics-label-cell">Assertions:</td>
+ <td><xsl:value-of select="@assertCount" /></td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="g:testPackageRun" mode="summary">
+ <div id="Summary" class="section">
+ <h2>Summary<xsl:if test="$condensed"> (Condensed)</xsl:if></h2>
+ <div class="section-content">
+ <xsl:choose>
+ <xsl:when test="g:testStepRun/g:children/g:testStepRun">
+ <xsl:choose>
+ <xsl:when test="not($condensed) or g:testStepRun/g:result/g:outcome/@status!='passed'">
+ <ul>
+ <xsl:apply-templates select="g:testStepRun/g:children/g:testStepRun" mode="summary" />
+ </ul>
+ </xsl:when>
+ <xsl:otherwise>
+ <em>All tests passed.</em>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <em>This report does not contain any test runs.</em>
+ </xsl:otherwise>
+ </xsl:choose>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:testStepRun" mode="summary">
+ <xsl:variable name="id" select="g:testStep/@id" />
+
+ <xsl:if test="g:testStep/@isTestCase='false' and (not($condensed) or g:result/g:outcome/@status!='passed')">
+ <xsl:variable name="statisticsRaw">
+ <xsl:call-template name="aggregate-statistics">
+ <xsl:with-param name="testStepRun" select="." />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="statistics" select="msxsl:node-set($statisticsRaw)/g:statistics" />
+
+ <xsl:variable name="metadataEntries" select="g:testStep/g:metadata/g:entry" />
+ <xsl:variable name="kind" select="$metadataEntries[@key='TestKind']/g:value" />
+
+ <li>
+ <span>
+ <xsl:choose>
+ <xsl:when test="g:children/g:testStepRun/g:testStep/@isTestCase='false'">
+ <xsl:call-template name="toggle">
+ <xsl:with-param name="href">summaryPanel-<xsl:value-of select="$id"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="toggle-stop" />
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:call-template name="icon">
+ <xsl:with-param name="kind" select="$kind" />
+ </xsl:call-template>
+
+ <a class="crossref" href="#testStepRun-{$id}">
+ <xsl:attribute name="onclick">
+ <xsl:text>expand([</xsl:text>
+ <xsl:for-each select="ancestor-or-self::g:testStepRun">
+ <xsl:if test="position() != 1">
+ <xsl:text>,</xsl:text>
+ </xsl:if>
+ <xsl:text>'detailPanel-</xsl:text>
+ <xsl:value-of select="g:testStep/@id"/>
+ <xsl:text>'</xsl:text>
+ </xsl:for-each>
+ <xsl:text>]);</xsl:text>
+ </xsl:attribute>
+ <xsl:call-template name="print-text-with-breaks"><xsl:with-param name="text" select="g:testStep/@name" /></xsl:call-template>
+ </a>
+
+ <xsl:call-template name="outcome-bar">
+ <xsl:with-param name="outcome" select="g:result/g:outcome" />
+ <xsl:with-param name="statistics" select="$statistics" />
+ </xsl:call-template>
+ </span>
+
+ <div class="panel">
+ <xsl:if test="g:children/g:testStepRun">
+ <ul id="summaryPanel-{$id}">
+ <xsl:apply-templates select="g:children/g:testStepRun" mode="summary" />
+ </ul>
+ </xsl:if>
+ </div>
+ </li>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:testPackageRun" mode="details">
+ <div id="Details" class="section">
+ <h2>Details<xsl:if test="$condensed"> (Condensed)</xsl:if></h2>
+ <div class="section-content">
+ <xsl:choose>
+ <xsl:when test="g:testStepRun/g:children/g:testStepRun">
+ <xsl:choose>
+ <xsl:when test="not($condensed) or g:testStepRun/g:result/g:outcome/@status!='passed'">
+ <ul class="testStepRunContainer">
+ <xsl:apply-templates select="g:testStepRun/g:children/g:testStepRun" mode="details" />
+ </ul>
+ </xsl:when>
+ <xsl:otherwise>
+ <em>All tests passed.</em>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <em>This report does not contain any test runs.</em>
+ </xsl:otherwise>
+ </xsl:choose>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:testStepRun" mode="details">
+ <xsl:if test="not($condensed) or g:result/g:outcome/@status!='passed'">
+ <xsl:variable name="id" select="g:testStep/@id" />
+
+ <xsl:variable name="metadataEntries" select="g:testStep/g:metadata/g:entry" />
+ <xsl:variable name="kind" select="$metadataEntries[@key='TestKind']/g:value" />
+ <xsl:variable name="nestingLevel" select="count(ancestor::g:testStepRun)" />
+
+ <xsl:variable name="statisticsRaw">
+ <xsl:call-template name="aggregate-statistics">
+ <xsl:with-param name="testStepRun" select="." />
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="statistics" select="msxsl:node-set($statisticsRaw)/g:statistics" />
+
+ <li id="testStepRun-{$id}">
+ <span class="testStepRunHeading testStepRunHeading-Level{$nestingLevel}">
+ <xsl:call-template name="toggle">
+ <xsl:with-param name="href">detailPanel-<xsl:value-of select="$id"/></xsl:with-param>
+ </xsl:call-template>
+
+ <xsl:call-template name="icon">
+ <xsl:with-param name="kind" select="$kind" />
+ </xsl:call-template>
+
+ <xsl:call-template name="code-location-link">
+ <xsl:with-param name="path" select="g:testStep/g:codeLocation/@path" />
+ <xsl:with-param name="line" select="g:testStep/g:codeLocation/@line" />
+ <xsl:with-param name="column" select="g:testStep/g:codeLocation/@column" />
+ <xsl:with-param name="content">
+ <xsl:call-template name="print-text-with-breaks">
+ <xsl:with-param name="text" select="g:testStep/@name" />
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <xsl:call-template name="outcome-bar">
+ <xsl:with-param name="outcome" select="g:result/g:outcome" />
+ <xsl:with-param name="statistics" select="$statistics" />
+ <xsl:with-param name="small" select="not(g:children/g:testStepRun)" />
+ </xsl:call-template>
+ </span>
+
+ <div id="detailPanel-{$id}" class="panel">
+ <xsl:choose>
+ <xsl:when test="$nestingLevel = 1">
+ <table class="statistics-table">
+ <tr class="alternate-row">
+ <td class="statistics-label-cell">Results:</td>
+ <td><xsl:call-template name="format-statistics"><xsl:with-param name="statistics" select="$statistics" /></xsl:call-template></td>
+ </tr>
+ <tr>
+ <td class="statistics-label-cell">Duration:</td>
+ <td><xsl:value-of select="format-number($statistics/@duration, '0.00')" />s</td>
+ </tr>
+ <tr class="alternate-row">
+ <td class="statistics-label-cell">Assertions:</td>
+ <td><xsl:value-of select="$statistics/@assertCount" /></td>
+ </tr>
+ </table>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>Duration: </xsl:text>
+ <xsl:value-of select="format-number($statistics/@duration, '0.00')" />
+ <xsl:text>s, Assertions: </xsl:text>
+ <xsl:value-of select="$statistics/@assertCount"/>
+ <xsl:text>.</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:call-template name="print-metadata-entries">
+ <xsl:with-param name="entries" select="$metadataEntries" />
+ </xsl:call-template>
+
+ <div id="testStepRun-{g:testStepRun/g:testStep/@id}" class="testStepRun">
+ <xsl:apply-templates select="." mode="details-content" />
+ </div>
+
+ <xsl:choose>
+ <xsl:when test="g:children/g:testStepRun">
+ <ul class="testStepRunContainer">
+ <xsl:apply-templates select="g:children/g:testStepRun" mode="details" />
+ </ul>
+ </xsl:when>
+ <xsl:when test="g:result/g:outcome/@status = 'passed'">
+ <xsl:call-template name="toggle-autoclose">
+ <xsl:with-param name="href">detailPanel-<xsl:value-of select="$id"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ </xsl:choose>
+ </div>
+ </li>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:testStepRun" mode="details-content">
+ <xsl:apply-templates select="g:testLog">
+ <xsl:with-param name="stepId" select="g:testStep/@id" />
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="g:metadata">
+ <xsl:call-template name="print-metadata-entries">
+ <xsl:with-param name="entries" select="g:entry" />
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template name="print-metadata-entries">
+ <xsl:param name="entries" />
+ <xsl:variable name="visibleEntries" select="$entries[@key != 'TestKind']" />
+
+ <xsl:if test="$visibleEntries">
+ <ul class="metadata">
+ <xsl:apply-templates select="$visibleEntries">
+ <xsl:sort select="translate(@key, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')" lang="en" data-type="text" />
+ <xsl:sort select="translate(@value, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')" lang="en" data-type="text" />
+ </xsl:apply-templates>
+ </ul>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:entry">
+ <li><xsl:value-of select="@key" />: <xsl:call-template name="print-text-with-breaks"><xsl:with-param name="text" select="g:value" /></xsl:call-template></li>
+ </xsl:template>
+
+ <xsl:template match="g:testLog">
+ <xsl:param name="stepId" />
+
+ <xsl:if test="g:streams/g:stream">
+ <div id="log-{$stepId}" class="log">
+ <xsl:apply-templates select="g:streams/g:stream" mode="stream">
+ <xsl:with-param name="attachments" select="g:attachments" />
+ </xsl:apply-templates>
+
+ <xsl:if test="g:attachments/g:attachment">
+ <div class="logAttachmentList">
+ Attachments: <xsl:for-each select="g:attachments/g:attachment">
+ <xsl:apply-templates select="." mode="link" /><xsl:if test="position() != last()">, </xsl:if>
+ </xsl:for-each>.
+ </div>
+ </xsl:if>
+ </div>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:streams/g:stream" mode="stream">
+ <xsl:param name="attachments" />
+
+ <div class="logStream logStream-{@name}">
+ <span class="logStreamHeading">
+ <xsl:value-of select="@name" />
+ </span>
+
+ <xsl:apply-templates select="g:body" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:body" mode="stream">
+ <xsl:param name="attachments" />
+
+ <div class="logStreamBody">
+ <xsl:apply-templates select="g:contents" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:section" mode="stream">
+ <xsl:param name="attachments" />
+
+ <div class="logStreamSection">
+ <span class="logStreamSectionHeading">
+ <xsl:value-of select="@name"/>
+ </span>
+ <div>
+ <xsl:apply-templates select="g:contents" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:marker" mode="stream">
+ <xsl:param name="attachments" />
+
+ <span class="logStreamMarker-{@class}">
+ <xsl:choose>
+ <xsl:when test="@class = 'CodeLocation'">
+ <xsl:call-template name="code-location-link">
+ <xsl:with-param name="path" select="g:attributes/g:attribute[@name='path']/@value" />
+ <xsl:with-param name="line" select="g:attributes/g:attribute[@name='line']/@value" />
+ <xsl:with-param name="column" select="g:attributes/g:attribute[@name='column']/@value" />
+ <xsl:with-param name="content">
+ <xsl:apply-templates select="g:contents" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="@class = 'Link'">
+ <a class="crossref" href="{g:attributes/g:attribute[@name = 'url']/@value}">
+ <xsl:apply-templates select="g:contents" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="g:contents" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </span>
+ </xsl:template>
+
+ <xsl:template match="g:contents" mode="stream">
+ <xsl:param name="attachments" />
+
+ <xsl:apply-templates select="child::node()[self::g:text or self::g:section or self::g:embed or self::g:marker]" mode="stream">
+ <xsl:with-param name="attachments" select="$attachments" />
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="g:text" mode="stream">
+ <xsl:param name="attachments" />
+
+ <xsl:call-template name="print-text-with-breaks">
+ <xsl:with-param name="text" select="text()" />
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template match="g:embed" mode="stream">
+ <xsl:param name="attachments" />
+ <xsl:variable name="attachmentName" select="@attachmentName" />
+
+ <xsl:apply-templates select="$attachments/g:attachment[@name=$attachmentName]" mode="embed">
+ <xsl:with-param name="id" select="generate-id(.)" />
+ </xsl:apply-templates>
+ </xsl:template>
+
+ <xsl:template match="g:attachment" mode="link">
+ <xsl:choose>
+ <xsl:when test="$attachmentBrokerUrl != ''">
+ <xsl:variable name="attachmentBrokerQuery"><xsl:value-of select="$attachmentBrokerUrl"/>testStepId=<xsl:value-of select="../../../g:testStep/@id"/>&attachmentName=<xsl:value-of select="@name"/></xsl:variable>
+
+ <a href="{$attachmentBrokerQuery}" class="attachmentLink"><xsl:value-of select="@name" /></a>
+ </xsl:when>
+ <xsl:when test="@contentDisposition = 'link'">
+ <xsl:variable name="attachmentUri"><xsl:call-template name="path-to-uri"><xsl:with-param name="path" select="@contentPath" /></xsl:call-template></xsl:variable>
+
+ <a href="{$attachmentUri}" class="attachmentLink"><xsl:value-of select="@name" /></a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@name" /> (n/a)
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="g:attachment" mode="embed">
+ <xsl:param name="id" />
+
+ <xsl:choose>
+ <!-- When using an attachment broker, we obtain content from a Uri consisting of a query for the attachment data. -->
+ <xsl:when test="$attachmentBrokerUrl != ''">
+ <xsl:variable name="attachmentBrokerQuery"><xsl:value-of select="$attachmentBrokerUrl"/>testStepId=<xsl:value-of select="../../../g:testStep/@id"/>&attachmentName=<xsl:value-of select="@name"/></xsl:variable>
+
+ <xsl:call-template name="embed-attachment-with-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="@name" />
+ <xsl:with-param name="contentType" select="@contentType" />
+ <xsl:with-param name="uri" select="$attachmentBrokerQuery" />
+ </xsl:call-template>
+ </xsl:when>
+
+ <!-- When attachments are linked, we obtain content from a Uri generated from the attachment path. -->
+ <xsl:when test="@contentDisposition = 'link'">
+ <xsl:variable name="attachmentUri"><xsl:call-template name="path-to-uri"><xsl:with-param name="path" select="@contentPath" /></xsl:call-template></xsl:variable>
+
+ <xsl:call-template name="embed-attachment-with-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="@name" />
+ <xsl:with-param name="contentType" select="@contentType" />
+ <xsl:with-param name="uri" select="$attachmentUri" />
+ </xsl:call-template>
+ </xsl:when>
+
+ <!-- When attachments are inline, we try to embed the data within the HTML itself. -->
+ <xsl:when test="@contentDisposition = 'inline'">
+ <xsl:call-template name="embed-attachment-with-content">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="@name" />
+ <xsl:with-param name="contentType" select="@contentType" />
+ <xsl:with-param name="encoding" select="@encoding" />
+ <xsl:with-param name="content" select="text()" />
+ </xsl:call-template>
+ </xsl:when>
+
+ <!-- When there is no data, we insert a placeholder. -->
+ <xsl:otherwise>
+ <xsl:call-template name="embed-attachment-placeholder">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="@name" />
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-with-uri">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="contentType" />
+ <xsl:param name="uri" />
+
+ <xsl:variable name="isImage" select="starts-with($contentType, 'image/')" />
+ <xsl:variable name="isHtml" select="starts-with($contentType, 'text/html') or starts-with($contentType, 'text/xhtml')" />
+ <xsl:variable name="isText" select="starts-with($contentType, 'text/')" />
+ <xsl:variable name="isFlashVideo" select="starts-with($contentType, 'video/x-flv')" />
+
+ <xsl:choose>
+ <xsl:when test="$isImage">
+ <xsl:call-template name="embed-attachment-image-from-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$isHtml">
+ <xsl:call-template name="embed-attachment-html-from-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$isText">
+ <xsl:call-template name="embed-attachment-text-from-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$isFlashVideo">
+ <xsl:call-template name="embed-attachment-flashvideo-from-uri">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="embed-attachment-link">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-with-content">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="contentType" />
+ <xsl:param name="encoding" />
+ <xsl:param name="content" />
+
+ <xsl:variable name="isImage" select="starts-with($contentType, 'image/')" />
+ <xsl:variable name="isHtml" select="starts-with($contentType, 'text/html') or starts-with($contentType, 'text/xhtml')" />
+ <xsl:variable name="isText" select="starts-with($contentType, 'text/')" />
+
+ <xsl:choose>
+ <xsl:when test="$isImage and $encoding = 'base64'">
+ <xsl:call-template name="embed-attachment-image-from-content">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="content" select="$content" />
+ <xsl:with-param name="contentType" select="$contentType" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$isHtml and $encoding = 'text'">
+ <xsl:call-template name="embed-attachment-html-from-content">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="content" select="$content" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="$isText and $encoding = 'text'">
+ <xsl:call-template name="embed-attachment-text-from-content">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="content" select="$content" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="embed-attachment-placeholder">
+ <xsl:with-param name="id" select="$id" />
+ <xsl:with-param name="name" select="$name" />
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-placeholder">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+
+ <div id="{$id}" class="logStreamEmbed">
+ <xsl:call-template name="embed-attachment-placeholder-text">
+ <xsl:with-param name="name" select="$name" />
+ </xsl:call-template>
+ </div>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-placeholder-text">
+ <xsl:param name="name" />
+
+ <xsl:text>Attachment: </xsl:text><xsl:value-of select="$name" /><xsl:text> (n/a)</xsl:text>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-link">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <div id="{$id}" class="logStreamEmbed">
+ <xsl:call-template name="embed-attachment-link-text">
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </div>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-link-text">
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <xsl:text>Attachment: </xsl:text><a href="{$uri}" class="attachmentLink"><xsl:value-of select="$name" /></a>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-image-from-uri">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <div id="{$id}" class="logStreamEmbed">
+ <a href="{$uri}" class="attachmentLink">
+ <img class="embeddedImage" src="{$uri}" alt="Attachment: {$name}" />
+ </a>
+ </div>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-html-from-uri">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <div id="{$id}" class="logStreamEmbed" title="{$name}">
+ <xsl:call-template name="embed-attachment-link-text">
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </div>
+ <script type="text/javascript">setInnerHTMLFromUri('<xsl:value-of select="$id"/>', '<xsl:value-of select="$uri"/>');</script>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-text-from-uri">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <div id="{$id}" class="logStreamEmbed" title="{$name}">
+ <xsl:call-template name="embed-attachment-link-text">
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </div>
+ <script type="text/javascript">setPreformattedTextFromUri('<xsl:value-of select="$id"/>', '<xsl:value-of select="$uri"/>');</script>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-flashvideo-from-uri">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="uri" />
+
+ <div id="{$id}" class="logStreamEmbed" title="{$name}">
+ <div id="{$id}-placeholder">
+ <xsl:call-template name="embed-attachment-link-text">
+ <xsl:with-param name="name" select="$name" />
+ <xsl:with-param name="uri" select="$uri" />
+ </xsl:call-template>
+ </div>
+ </div>
+
+ <script type="text/javascript">
+ <xsl:text>swfobject.embedSWF('</xsl:text>
+ <xsl:value-of select="$jsDir"/>
+ <xsl:text>player.swf', '</xsl:text>
+ <xsl:value-of select="$id"/>
+ <xsl:text>-placeholder', '400', '300', '9.0.98', '</xsl:text>
+ <xsl:value-of select="$jsDir"/>
+ <xsl:text>expressInstall.swf', {file: </xsl:text>
+ <xsl:choose>
+ <!-- When using a broker, the uri is absolute. -->
+ <xsl:when test="$attachmentBrokerUrl != ''">
+ <xsl:text>'</xsl:text>
+ <xsl:value-of select="$uri" />
+ <xsl:text>'</xsl:text>
+ </xsl:when>
+ <!-- Otherwise, the uri needs to be made relative to the player location. -->
+ <xsl:otherwise>
+ <xsl:text>'../../</xsl:text>
+ <xsl:value-of select="$uri" />
+ <xsl:text>'</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>}, {allowfullscreen: 'true', allowscriptaccess: 'always'}, {id: '</xsl:text>
+ <xsl:value-of select="$id"/>
+ <xsl:text>-player'})</xsl:text>
+ </script>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-image-from-content">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="content" />
+ <xsl:param name="contentType" />
+
+ <div id="{$id}" class="logStreamEmbed">
+ <img class="embeddedImage" src="data:{$contentType};base64,{$content}" alt="Attachment: {$name}" />
+ </div>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-html-from-content">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="content" />
+
+ <div id="{$id}" class="logStreamEmbed" title="{$name}">
+ <xsl:call-template name="embed-attachment-placeholder-text">
+ <xsl:with-param name="name" select="$name" />
+ </xsl:call-template>
+ <div id="{$id}-hidden" class="logHiddenData"><xsl:value-of select="$content"/></div>
+ </div>
+ <script type="text/javascript">setInnerHTMLFromHiddenData('<xsl:value-of select="$id"/>');</script>
+ </xsl:template>
+
+ <xsl:template name="embed-attachment-text-from-content">
+ <xsl:param name="id" />
+ <xsl:param name="name" />
+ <xsl:param name="content" />
+
+ <div id="{$id}" class="logStreamEmbed" title="{$name}">
+ <xsl:call-template name="embed-attachment-placeholder-text">
+ <xsl:with-param name="name" select="$name" />
+ </xsl:call-template>
+ <div id="{$id}-hidden" class="logHiddenData"><xsl:value-of select="$content"/></div>
+ </div>
+ <script type="text/javascript">setPreformattedTextFromHiddenData('<xsl:value-of select="$id"/>');</script>
+ </xsl:template>
+
+ <xsl:template name="icon">
+ <xsl:param name="kind" />
+
+ <xsl:choose>
+ <xsl:when test="$kind">
+ <span class="testKind testKind-{translate($kind, ' .', '')}" />
+ </xsl:when>
+ <xsl:otherwise>
+ <span class="testKind" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <!-- Toggle buttons -->
+ <xsl:template name="toggle">
+ <xsl:param name="href" />
+
+ <img src="{$imgDir}Minus.gif" class="toggle" id="toggle-{$href}" onclick="toggle('{$href}');" alt="Toggle Button" />
+ </xsl:template>
+
+ <xsl:template name="toggle-stop">
+ <img src="{$imgDir}FullStop.gif" class="toggle" alt="Toggle Placeholder" />
+ </xsl:template>
+
+ <xsl:template name="toggle-autoclose">
+ <xsl:param name="href" />
+
+ <!-- Auto-close certain toggles by default when JavaScript is available -->
+ <script type="text/javascript">toggle('<xsl:value-of select="$href"/>');</script>
+ </xsl:template>
+
+ <!-- Displays visual statistics using a status bar and outcome icons -->
+ <xsl:template name="outcome-bar">
+ <xsl:param name="outcome" />
+ <xsl:param name="statistics"/>
+ <xsl:param name="small" select="0" />
+
+ <table class="outcome-bar">
+ <tr>
+ <td>
+ <div>
+ <xsl:attribute name="class">outcome-bar status-<xsl:value-of select="$outcome/@status"/><xsl:if test="$small"> condensed</xsl:if></xsl:attribute>
+ <xsl:attribute name="title">
+ <xsl:choose>
+ <xsl:when test="$outcome/@category"><xsl:value-of select="$outcome/@category"/></xsl:when>
+ <xsl:otherwise><xsl:value-of select="$outcome/@status"/></xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ </div>
+ </td>
+ </tr>
+ </table>
+
+ <xsl:if test="not($small)">
+ <span class="outcome-icons">
+ <img src="{$imgDir}Passed.gif" alt="Passed"/>
+ <xsl:value-of select="$statistics/@passedCount"/>
+ <img src="{$imgDir}Failed.gif" alt="Failed"/>
+ <xsl:value-of select="$statistics/@failedCount"/>
+ <img src="{$imgDir}Ignored.gif" alt="Inconclusive or Skipped"/>
+ <xsl:value-of select="$statistics/@inconclusiveCount + $statistics/@skippedCount" />
+ </span>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="status-from-statistics">
+ <xsl:param name="statistics"/>
+
+ <xsl:choose>
+ <xsl:when test="$statistics/@failedCount > 0">status-failed</xsl:when>
+ <xsl:when test="$statistics/@inconclusiveCount > 0">status-inconclusive</xsl:when>
+ <xsl:when test="$statistics/@passedCount > 0">status-passed</xsl:when>
+ <xsl:otherwise>status-skipped</xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="code-location-link">
+ <xsl:param name="path" />
+ <xsl:param name="line" />
+ <xsl:param name="column" />
+ <xsl:param name="content" />
+
+ <xsl:choose>
+ <xsl:when test="$path and $line > 0 and $column > 0">
+ <a class="crossref" href="gallio:navigateTo?path={$path}&line={$line}&column={$column}"><xsl:value-of select="$content"/></a>
+ </xsl:when>
+ <xsl:when test="$path and $line > 0">
+ <a class="crossref" href="gallio:navigateTo?path={$path}&line={$line}"><xsl:value-of select="$content"/></a>
+ </xsl:when>
+ <xsl:when test="$path">
+ <a class="crossref" href="gallio:navigateTo?path={$path}"><xsl:value-of select="$content"/></a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$content"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="g:logEntries" mode="log">
+ <div id="Log" class="section">
+ <h2>Diagnostic Log</h2>
+ <div class="section-content">
+ <ul>
+ <xsl:apply-templates select="g:logEntry[@severity != 'debug']" mode="log" />
+ </ul>
+ </div>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="g:logEntry" mode="log">
+ <li>
+ <xsl:attribute name="class">
+ logEntry logEntry-severity-<xsl:value-of select="@severity"/>
+ </xsl:attribute>
+ <div class="logEntry-text">
+ <xsl:text>[</xsl:text>
+ <xsl:value-of select="@severity"/>
+ <xsl:text>] </xsl:text>
+ <xsl:call-template name="print-text-with-breaks">
+ <xsl:with-param name="text" select="@message" />
+ </xsl:call-template>
+ </div>
+
+ <xsl:if test="@details">
+ <div class="logEntry-details">
+ <xsl:text>Details: </xsl:text>
+ <xsl:call-template name="print-text-with-breaks">
+ <xsl:with-param name="text" select="@details" />
+ </xsl:call-template>
+ </div>
+ </xsl:if>
+ </li>
+ </xsl:template>
+
+ <!-- Include the common report template -->
+ <xsl:include href="Gallio-Report.common.xsl" />
+</xsl:stylesheet>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html-condensed.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html-condensed.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html-condensed.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html-condensed.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:g="http://www.gallio.org/">
+ <xsl:output method="html" doctype-system="http://www.w3.org/TR/html4/strict.dtd"
+ doctype-public="-//W3C//DTD HTML 4.01//EN" indent="no" encoding="utf-8" omit-xml-declaration="yes" />
+ <xsl:param name="resourceRoot" select="''" />
+
+ <xsl:variable name="cssDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>css/</xsl:variable>
+ <xsl:variable name="jsDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>js/</xsl:variable>
+ <xsl:variable name="imgDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>img/</xsl:variable>
+ <xsl:variable name="attachmentBrokerUrl"></xsl:variable>
+ <xsl:variable name="condensed" select="1" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="/g:report" mode="html-document" />
+ </xsl:template>
+
+ <!-- Include the base HTML / XHTML report template -->
+ <xsl:include href="Gallio-Report.html+xhtml.xsl" />
+</xsl:stylesheet>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.html.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:g="http://www.gallio.org/">
+ <xsl:output method="html" doctype-system="http://www.w3.org/TR/html4/strict.dtd"
+ doctype-public="-//W3C//DTD HTML 4.01//EN" indent="no" encoding="utf-8" omit-xml-declaration="yes" />
+ <xsl:param name="resourceRoot" select="''" />
+
+ <xsl:variable name="cssDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>css/</xsl:variable>
+ <xsl:variable name="jsDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>js/</xsl:variable>
+ <xsl:variable name="imgDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>img/</xsl:variable>
+ <xsl:variable name="attachmentBrokerUrl"></xsl:variable>
+ <xsl:variable name="condensed" select="0" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="/g:report" mode="html-document" />
+ </xsl:template>
+
+ <!-- Include the base HTML / XHTML report template -->
+ <xsl:include href="Gallio-Report.html+xhtml.xsl" />
+</xsl:stylesheet>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-common.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-common.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-common.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-common.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+ xmlns:g="http://www.gallio.org/">
+
+ <xsl:output method="text" encoding="utf-8"/>
+
+ <xsl:param name="resourceRoot" select="''" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="/g:report" />
+ </xsl:template>
+
+ <xsl:template match="g:report">
+ <xsl:apply-templates select="." mode="results"/>
+ <xsl:apply-templates select="." mode="annotations" />
+ <xsl:apply-templates select="." mode="log" />
+ </xsl:template>
+
+ <!-- Results -->
+
+ <xsl:template match="g:report" mode="results">
+ <xsl:text>* Results: </xsl:text>
+ <xsl:call-template name="format-statistics">
+ <xsl:with-param name="statistics" select="g:testPackageRun/g:statistics" />
+ </xsl:call-template>
+ <xsl:text>

</xsl:text>
+
+ <xsl:variable name="testCases" select="g:testPackageRun/g:testStepRun/descendant-or-self::g:testStepRun[g:testStep/@isTestCase='true']" />
+
+ <xsl:variable name="passed" select="$testCases[g:result/g:outcome/@status='passed']" />
+ <xsl:variable name="failed" select="$testCases[g:result/g:outcome/@status='failed']" />
+ <xsl:variable name="inconclusive" select="$testCases[g:result/g:outcome/@status='inconclusive']" />
+ <xsl:variable name="skipped" select="$testCases[g:result/g:outcome/@status='skipped']" />
+
+ <xsl:if test="$show-failed-tests">
+ <xsl:apply-templates select="$failed" mode="results" />
+ </xsl:if>
+
+ <xsl:if test="$show-inconclusive-tests">
+ <xsl:apply-templates select="$inconclusive" mode="results"/>
+ </xsl:if>
+
+ <xsl:if test="$show-passed-tests">
+ <xsl:apply-templates select="$passed" mode="results"/>
+ </xsl:if>
+
+ <xsl:if test="$show-skipped-tests">
+ <xsl:apply-templates select="$skipped" mode="results"/>
+ </xsl:if>
+
+ <xsl:text>
</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="g:testStepRun" mode="results">
+ <xsl:text>[</xsl:text>
+ <xsl:choose>
+ <xsl:when test="g:result/g:outcome/@category">
+ <xsl:value-of select="g:result/g:outcome/@category"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="g:result/g:outcome/@status"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:text>] </xsl:text>
+
+ <xsl:variable name="kind" select="g:testStep/g:metadata/g:entry[@key='TestKind']/g:value" />
+ <xsl:if test="$kind">
+ <xsl:value-of select="$kind"/>
+ <xsl:text> </xsl:text>
+ </xsl:if>
+
+ <xsl:value-of select="g:testStep/@fullName" />
+ <xsl:text>
</xsl:text>
+ <xsl:apply-templates select="g:testLog" mode="results"/>
+ <xsl:text>
</xsl:text>
+
+ <xsl:apply-templates select="g:children/g:testStepRun" mode="results"/>
+ </xsl:template>
+
+ <xsl:template match="g:testLog" mode="results">
+ <xsl:apply-templates select="g:streams/g:stream/g:body"/>
+ </xsl:template>
+
+ <xsl:template match="g:body">
+ <xsl:apply-templates select="g:contents" mode="block" />
+ </xsl:template>
+
+ <xsl:template match="g:contents" mode="block">
+ <xsl:variable name="text">
+ <xsl:apply-templates select="." mode="inline" />
+ </xsl:variable>
+
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text" select="$text"/>
+ </xsl:call-template>
+ </xsl:template>
+
+ <xsl:template match="g:contents" mode="inline">
+ <xsl:apply-templates select="child::node()[self::g:text or self::g:section or self::g:embed or self::g:marker]" />
+ </xsl:template>
+
+ <xsl:template match="g:text">
+ <xsl:value-of select="text()"/>
+ </xsl:template>
+
+ <xsl:template match="g:section">
+ <xsl:text>
</xsl:text>
+ <xsl:value-of select="@name" />
+ <xsl:text>
</xsl:text>
+ <xsl:apply-templates select="g:contents" mode="block" />
+ </xsl:template>
+
+ <xsl:template match="g:marker">
+ <xsl:apply-templates select="g:contents" mode="inline" />
+ </xsl:template>
+
+ <xsl:template match="g:embed">
+ <xsl:text>
[Attachment: </xsl:text>
+ <xsl:value-of select="@attachmentName"/>
+ <xsl:text>]
</xsl:text>
+ </xsl:template>
+
+ <!-- Annotations -->
+
+ <xsl:template match="g:report" mode="annotations">
+ <xsl:variable name="annotations" select="g:testModel/g:annotations/g:annotation" />
+
+ <xsl:if test="$annotations">
+ <xsl:text>* Annotations:

</xsl:text>
+ <xsl:apply-templates select="$annotations[@type='error']"/>
+ <xsl:apply-templates select="$annotations[@type='warning']"/>
+ <xsl:apply-templates select="$annotations[@type='info']"/>
+ <xsl:text>
</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:annotation">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:text>[</xsl:text>
+ <xsl:value-of select="@type"/>
+ <xsl:text>] </xsl:text>
+ <xsl:value-of select="@message"/>
+ </xsl:with-param>
+ <xsl:with-param name="firstLinePrefix" select="''" />
+ </xsl:call-template>
+
+ <xsl:if test="g:codeLocation/@path">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:text>Location: </xsl:text>
+ <xsl:call-template name="format-code-location">
+ <xsl:with-param name="codeLocation" select="g:codeLocation" />
+ </xsl:call-template>
+ </xsl:with-param>
+ <xsl:with-param name="secondLinePrefix" select="' '" />
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="g:codeReference/@assembly">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:text>Reference: </xsl:text>
+ <xsl:call-template name="format-code-reference">
+ <xsl:with-param name="codeReference" select="g:codeReference" />
+ </xsl:call-template>
+ </xsl:with-param>
+ <xsl:with-param name="secondLinePrefix" select="' '" />
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="@details">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:text>Details: </xsl:text>
+ <xsl:value-of select="@details"/>
+ </xsl:with-param>
+ <xsl:with-param name="secondLinePrefix" select="' '" />
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:text>
</xsl:text>
+ </xsl:template>
+
+ <!-- Log -->
+
+ <xsl:template match="g:report" mode="log">
+ <xsl:variable name="logEntries" select="g:logEntries/g:logEntry[@severity != 'debug']"/>
+
+ <xsl:if test="$logEntries">
+ <xsl:text>* Diagnostic Log:

</xsl:text>
+ <xsl:apply-templates select="$logEntries"/>
+ <xsl:text>
</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="g:logEntry">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:text>[</xsl:text>
+ <xsl:value-of select="@severity"/>
+ <xsl:text>] </xsl:text>
+ <xsl:value-of select="@message"/>
+ </xsl:with-param>
+ <xsl:with-param name="firstLinePrefix" select="''" />
+ </xsl:call-template>
+
+ <xsl:if test="@details">
+ <xsl:call-template name="indent">
+ <xsl:with-param name="text">
+ <xsl:value-of select="@details"/>
+ </xsl:with-param>
+ <xsl:with-param name="secondLinePrefix" select="' '" />
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:text>
</xsl:text>
+ </xsl:template>
+
+ <!-- -->
+
+ <xsl:template match="*">
+ </xsl:template>
+
+ <!-- Include the common report template -->
+ <xsl:include href="Gallio-Report.common.xsl" />
+</xsl:stylesheet>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-condensed.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-condensed.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-condensed.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt-condensed.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+ xmlns:g="http://www.gallio.org/">
+
+ <xsl:param name="show-passed-tests" select="false()" />
+ <xsl:param name="show-failed-tests" select="true()" />
+ <xsl:param name="show-inconclusive-tests" select="true()" />
+ <xsl:param name="show-skipped-tests" select="true()" />
+
+ <xsl:include href="Gallio-Report.txt-common.xsl" />
+</xsl:stylesheet>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.txt.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:msxsl="urn:schemas-microsoft-com:xslt"
+ xmlns:g="http://www.gallio.org/">
+
+ <xsl:param name="show-passed-tests" select="true()" />
+ <xsl:param name="show-failed-tests" select="true()" />
+ <xsl:param name="show-inconclusive-tests" select="true()" />
+ <xsl:param name="show-skipped-tests" select="true()" />
+
+ <xsl:include href="Gallio-Report.txt-common.xsl" />
+</xsl:stylesheet>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml-condensed.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml-condensed.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml-condensed.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml-condensed.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:g="http://www.gallio.org/"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="no" encoding="utf-8" />
+ <xsl:param name="resourceRoot" select="''" />
+
+ <xsl:variable name="cssDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>css/</xsl:variable>
+ <xsl:variable name="jsDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>js/</xsl:variable>
+ <xsl:variable name="imgDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>img/</xsl:variable>
+ <xsl:variable name="attachmentBrokerUrl"></xsl:variable>
+ <xsl:variable name="condensed" select="1" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="/g:report" mode="xhtml-document" />
+ </xsl:template>
+
+ <!-- Include the base HTML / XHTML report template -->
+ <xsl:include href="Gallio-Report.html+xhtml.xsl" />
+</xsl:stylesheet>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml.xsl
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml.xsl?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml.xsl (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/Resources/xsl/Gallio-Report.xhtml.xsl Fri Aug 5 19:21:18 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:g="http://www.gallio.org/"
+ xmlns="http://www.w3.org/1999/xhtml">
+ <xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="no" encoding="utf-8" />
+ <xsl:param name="resourceRoot" select="''" />
+
+ <xsl:variable name="cssDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>css/</xsl:variable>
+ <xsl:variable name="jsDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>js/</xsl:variable>
+ <xsl:variable name="imgDir"><xsl:if test="$resourceRoot != ''"><xsl:value-of select="$resourceRoot"/>/</xsl:if>img/</xsl:variable>
+ <xsl:variable name="attachmentBrokerUrl"></xsl:variable>
+ <xsl:variable name="condensed" select="0" />
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="/g:report" mode="xhtml-document" />
+ </xsl:template>
+
+ <!-- Include the base HTML / XHTML report template -->
+ <xsl:include href="Gallio-Report.html+xhtml.xsl" />
+</xsl:stylesheet>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.plugin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.plugin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.plugin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.UI.plugin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<plugin pluginId="Gallio.TDNetRunner.UI"
+ recommendedInstallationPath="TDNet"
+ xmlns="http://www.gallio.org/">
+ <traits>
+ <name>TestDriven.Net Runner UI</name>
+ <version>3.2.0.0</version>
+ <description>TestDriven.Net runner UI components.</description>
+ <icon>plugin://Gallio.TDNetRunner/Resources/TestDriven.ico</icon>
+ </traits>
+
+ <dependencies>
+ <dependency pluginId="Gallio" />
+ <dependency pluginId="Gallio.UI" />
+ <dependency pluginId="Gallio.TDNetRunner" />
+ </dependencies>
+
+ <files>
+ <file path="Gallio.TDNetRunner.UI.plugin" />
+ <file path="Gallio.TDNetRunner.UI.dll" />
+ </files>
+
+ <assemblies>
+ <assembly fullName="Gallio.TDNetRunner.UI, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
+ codeBase="Gallio.TDNetRunner.UI.dll"
+ qualifyPartialName="true" />
+ </assemblies>
+
+ <components>
+ <component componentId="TDNetRunner.UI.PlaceholderPreferencePaneProvider"
+ serviceId="Gallio.UI.PreferencePaneProvider">
+ <traits>
+ <path>TestDriven.Net</path>
+ <icon>plugin://Gallio.TDNetRunner/Resources/TestDriven.ico</icon>
+ </traits>
+ </component>
+
+ <component componentId="TDNetRunner.UI.RunnerInstallationPreferencePaneProvider"
+ serviceId="Gallio.UI.PreferencePaneProvider"
+ componentType="Gallio.TDNetRunner.UI.Preferences.TDNetRunnerInstallationPreferencePaneProvider, Gallio.TDNetRunner.UI">
+ <traits>
+ <path>TestDriven.Net/Frameworks</path>
+ <icon>plugin://Gallio.TDNetRunner/Resources/TestDriven.ico</icon>
+ <scope>Machine</scope>
+ </traits>
+ </component>
+
+ <component componentId="TDNetRunner.UI.RunnerReportPreferencePaneProvider"
+ serviceId="Gallio.UI.PreferencePaneProvider"
+ componentType="Gallio.TDNetRunner.UI.Preferences.TDNetRunnerReportPreferencePaneProvider, Gallio.TDNetRunner.UI">
+ <traits>
+ <path>TestDriven.Net/Reports</path>
+ <icon>plugin://Gallio.TDNetRunner/Resources/TestDriven.ico</icon>
+ </traits>
+ </component>
+ </components>
+</plugin>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.plugin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.plugin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.plugin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Gallio.TDNetRunner.plugin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<plugin pluginId="Gallio.TDNetRunner"
+ recommendedInstallationPath="TDNet"
+ xmlns="http://www.gallio.org/">
+ <traits>
+ <name>TestDriven.Net Runner</name>
+ <version>3.2.0.0</version>
+ <description>Enables TestDriven.Net to run tests using Gallio.</description>
+ <icon>plugin://Gallio.TDNetRunner/Resources/TestDriven.ico</icon>
+ </traits>
+
+ <dependencies>
+ <dependency pluginId="Gallio" />
+ </dependencies>
+
+ <files>
+ <file path="Gallio.TDNetRunner.plugin" />
+ <file path="Gallio.TDNetRunner.dll" />
+ <file path="Resources\TestDriven.ico" />
+ </files>
+
+ <assemblies>
+ <assembly fullName="Gallio.TDNetRunner, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
+ codeBase="Gallio.TDNetRunner.dll"
+ qualifyPartialName="true" />
+ </assemblies>
+
+ <services>
+ <service serviceId="TDNetRunner.PreferenceManager"
+ serviceType="Gallio.TDNetRunner.Core.TDNetPreferenceManager, Gallio.TDNetRunner" />
+ </services>
+
+ <components>
+ <component componentId="TDNetRunner.Installer"
+ serviceId="Gallio.Installer"
+ componentType="Gallio.TDNetRunner.Core.TDNetRunnerInstaller, Gallio.TDNetRunner">
+ <traits>
+ <requiresElevation>true</requiresElevation>
+ </traits>
+ </component>
+
+ <component componentId="TDNetRunner.PreferenceManager"
+ serviceId="TDNetRunner.PreferenceManager"
+ componentType="Gallio.TDNetRunner.Core.TDNetPreferenceManager, Gallio.TDNetRunner" />
+ </components>
+</plugin>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Resources/TestDriven.ico
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Resources/TestDriven.ico?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/TDNet/Resources/TestDriven.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.plugin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.plugin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.plugin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/Gallio.VisualStudio.Shell.plugin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<plugin pluginId="Gallio.VisualStudio.Shell"
+ recommendedInstallationPath="VisualStudio"
+ enableCondition="${process:DEVENV.EXE} or ${process:VSTESTHOST.EXE} or ${process:QTAGENT.EXE} or ${process:QTAGENT32.EXE} or ${process:QTDCAGENT.EXE} or ${process:QTDCAGENT32.EXE} or ${process:MSTEST.EXE} or ${minFramework:NET35}"
+ xmlns="http://www.gallio.org/">
+ <traits>
+ <name>Visual Studio Integration Shell</name>
+ <version>3.2.0.0</version>
+ <description>Provides a framework for hosting Gallio plugins within Visual Studio.</description>
+ </traits>
+
+ <dependencies>
+ <dependency pluginId="Gallio" />
+ </dependencies>
+
+ <files>
+ <file path="Gallio.VisualStudio.Shell.plugin" />
+ <file path="Gallio.VisualStudio.Shell.dll" />
+ </files>
+
+ <assemblies>
+ <assembly fullName="Gallio.VisualStudio.Shell, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
+ codeBase="Gallio.VisualStudio.Shell.dll"
+ qualifyPartialName="true" />
+ </assemblies>
+
+ <services>
+ <service serviceId="Shell.Shell"
+ serviceType="Gallio.VisualStudio.Shell.Core.IShell, Gallio.VisualStudio.Shell" />
+
+ <service serviceId="Shell.ShellExtension"
+ serviceType="Gallio.VisualStudio.Shell.Core.IShellExtension, Gallio.VisualStudio.Shell" />
+
+ <service serviceId="Shell.CommandManager"
+ serviceType="Gallio.VisualStudio.Shell.UI.Commands.ICommandManager, Gallio.VisualStudio.Shell" />
+
+ <service serviceId="Shell.Command"
+ serviceType="Gallio.VisualStudio.Shell.UI.Commands.ICommand, Gallio.VisualStudio.Shell" />
+
+ <service serviceId="Shell.ToolWindowManager"
+ serviceType="Gallio.VisualStudio.Shell.UI.ToolWindows.IToolWindowManager, Gallio.VisualStudio.Shell" />
+ </services>
+</plugin>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.addin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.addin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.addin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.addin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
+ <HostApplication>
+ <Name>Microsoft Visual Studio</Name>
+ <Version>10.0</Version>
+ </HostApplication>
+ <Addin>
+ <FriendlyName>Gallio</FriendlyName>
+ <Description>Gallio integration for Visual Studio</Description>
+ <Assembly>Gallio.VisualStudio.Shell100.dll</Assembly>
+ <FullClassName>Gallio.VisualStudio.Shell.Core.ShellAddInHandler</FullClassName>
+ <LoadBehavior>1</LoadBehavior>
+ <CommandPreload>0</CommandPreload>
+ <CommandLineSafe>0</CommandLineSafe>
+ </Addin>
+</Extensibility>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.plugin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.plugin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.plugin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Shell100.plugin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<plugin pluginId="Gallio.VisualStudio.Shell100"
+ recommendedInstallationPath="VisualStudio\v10.0"
+ enableCondition="${process:DEVENV.EXE_V10.0} or ${process:VSTESTHOST.EXE_V10.0} or ${process:QTAGENT.EXE_V10.0} or ${process:QTAGENT32.EXE_V10.0} or ${process:QTDCAGENT.EXE_V10.0} or ${process:QTDCAGENT32.EXE_V10.0} or ${process:MSTEST.EXE_V10.0} or ${framework:NET40}"
+ xmlns="http://www.gallio.org/">
+ <traits>
+ <name>Visual Studio 2010 Integration Shell</name>
+ <version>3.2.0.0</version>
+ <description>Provides a framework for hosting Gallio plugins within Visual Studio 2010.</description>
+ </traits>
+
+ <dependencies>
+ <dependency pluginId="Gallio.VisualStudio.Shell" />
+ </dependencies>
+
+ <files>
+ <file path="Gallio.VisualStudio.Shell100.plugin" />
+ <file path="Gallio.VisualStudio.Shell100.dll" />
+ <file path="Gallio.VisualStudio.Shell100.addin" />
+ </files>
+
+ <probingPaths>
+ <probingPath>v10.0</probingPath>
+ </probingPaths>
+
+ <assemblies>
+ <assembly fullName="Gallio.VisualStudio.Shell100, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
+ codeBase="Gallio.VisualStudio.Shell100.dll"
+ qualifyPartialName="true" />
+ </assemblies>
+
+ <components>
+ <component componentId="Shell100.Shell"
+ serviceId="Shell.Shell"
+ componentType="Gallio.VisualStudio.Shell.Core.DefaultShell, Gallio.VisualStudio.Shell100" />
+
+ <component componentId="Shell100.CommandManager"
+ serviceId="Shell.CommandManager"
+ componentType="Gallio.VisualStudio.Shell.UI.Commands.DefaultCommandManager, Gallio.VisualStudio.Shell100" />
+
+ <component componentId="Shell100.CommandManagerShellExtension"
+ serviceId="Shell.ShellExtension"
+ componentType="Gallio.VisualStudio.Shell.UI.Commands.DefaultCommandManagerShellExtension, Gallio.VisualStudio.Shell100" />
+
+ <component componentId="Shell100.ToolWindowManager"
+ serviceId="Shell.ToolWindowManager"
+ componentType="Gallio.VisualStudio.Shell.UI.ToolWindows.DefaultToolWindowManager, Gallio.VisualStudio.Shell100" />
+ </components>
+</plugin>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.Proxy.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.Proxy.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.Proxy.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.plugin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.plugin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.plugin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v10.0/Gallio.VisualStudio.Tip100.plugin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<plugin pluginId="Gallio.VisualStudio.Tip100"
+ recommendedInstallationPath="VisualStudio\v10.0"
+ enableCondition="${process:DEVENV.EXE_V10.0} or ${process:VSTESTHOST.EXE_V10.0} or ${process:QTAGENT.EXE_V10.0} or ${process:QTAGENT32.EXE_V10.0} or ${process:QTDCAGENT.EXE_V10.0} or ${process:QTDCAGENT32.EXE_V10.0} or ${process:MSTEST.EXE_V10.0} or ${framework:NET40}"
+ xmlns="http://www.gallio.org/">
+ <traits>
+ <name>Visual Studio 2010 Test Runner</name>
+ <version>3.2.0.0</version>
+ <description>Enables Visual Studio 2010 to run Gallio tests via the Test View.</description>
+ </traits>
+
+ <dependencies>
+ <dependency pluginId="Gallio.VisualStudio.Shell100" />
+ </dependencies>
+
+ <files>
+ <file path="Gallio.VisualStudio.Tip100.plugin" />
+ <file path="Gallio.VisualStudio.Tip100.dll" />
+
+ <!-- Installed in the GAC only.
+ <file path="Gallio.VisualStudio.Tip100.Proxy.dll" />
+ -->
+ </files>
+
+ <probingPaths>
+ <probingPath>v10.0</probingPath>
+ </probingPaths>
+
+ <assemblies>
+ <assembly fullName="Gallio.VisualStudio.Tip100, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
+ codeBase="Gallio.VisualStudio.Tip100.dll"
+ qualifyPartialName="true" />
+
+ <assembly fullName="Gallio.VisualStudio.Tip100.Proxy, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e" />
+ </assemblies>
+
+ <services>
+ <service serviceId="Tip100.ProxyHandler"
+ serviceType="Gallio.VisualStudio.Tip.IProxyHandler, Gallio.VisualStudio.Tip100.Proxy, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e, processorArchitecture=MSIL" />
+ </services>
+
+ <components>
+ <component componentId="Tip100.ShellExtension"
+ serviceId="Shell.ShellExtension"
+ componentType="Gallio.VisualStudio.Tip.TipShellExtension, Gallio.VisualStudio.Tip100" />
+
+ <component componentId="Tip100.ProxyHandler"
+ serviceId="Tip100.ProxyHandler"
+ componentType="Gallio.VisualStudio.Tip.DefaultProxyHandler, Gallio.VisualStudio.Tip100" />
+ </components>
+</plugin>
\ No newline at end of file
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.addin
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.addin?rev=1154359&view=auto
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.addin (added)
+++ incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.addin Fri Aug 5 19:21:18 2011
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
+ <HostApplication>
+ <Name>Microsoft Visual Studio</Name>
+ <Version>9.0</Version>
+ </HostApplication>
+ <Addin>
+ <FriendlyName>Gallio</FriendlyName>
+ <Description>Gallio integration for Visual Studio</Description>
+ <Assembly>Gallio.VisualStudio.Shell90.dll</Assembly>
+ <FullClassName>Gallio.VisualStudio.Shell.Core.ShellAddInHandler</FullClassName>
+ <LoadBehavior>1</LoadBehavior>
+ <CommandPreload>0</CommandPreload>
+ <CommandLineSafe>0</CommandLineSafe>
+ </Addin>
+</Extensibility>
Added: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.dll
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.dll?rev=1154359&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/lucene.net/branches/Lucene.Net_4e/packages/Gallio.3.2.750/tools/VisualStudio/v9.0/Gallio.VisualStudio.Shell90.dll
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream