Skip to content

Commit

Permalink
Migrated from Bazaar to Git
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Oct 7, 2013
1 parent b28376b commit 01756b7
Show file tree
Hide file tree
Showing 13 changed files with 936 additions and 929 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Normalize line endings
* text=auto


# Prevent files from being exported
.gitattributes export-ignore
.gitignore export-ignore
File renamed without changes.
78 changes: 39 additions & 39 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
// *****************************************************
// Copyright 2007-2009, Charlie Poole
//
// Licensed under the Open Software License version 3.0
// *****************************************************

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("nunit-summary")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("nunit-summary")]
[assembly: AssemblyCopyright("Copyright © 2007-2009, Charlie Poole")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("42a6296d-82ec-4b0e-8fba-c25a68fbe8b8")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.3")]
[assembly: AssemblyFileVersion("0.3")]
// *****************************************************
// Copyright 2007-2009, Charlie Poole
//
// Licensed under the Open Software License version 3.0
// *****************************************************

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("nunit-summary")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("nunit-summary")]
[assembly: AssemblyCopyright("Copyright © 2007-2009, Charlie Poole")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("42a6296d-82ec-4b0e-8fba-c25a68fbe8b8")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.3")]
[assembly: AssemblyFileVersion("0.3")]
94 changes: 47 additions & 47 deletions LICENSE.txt

Large diffs are not rendered by default.

136 changes: 68 additions & 68 deletions Transforms/BriefSummary.xslt
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='text'/>

<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="test-results">
<xsl:text>***** </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>NUnit Version </xsl:text>
<xsl:value-of select="environment/@nunit-version"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@date"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@time"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>Runtime Environment -&#xD;&#xA;</xsl:text>
<xsl:text> OS Version: </xsl:text>
<xsl:value-of select="environment/@os-version"/>
<xsl:text>&#xD;&#xA;</xsl:text>
<xsl:text> CLR Version: </xsl:text>
<xsl:value-of select="environment/@clr-version"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>Tests run: </xsl:text>
<xsl:value-of select="@total"/>
<xsl:choose>
<xsl:when test ="substring(environment/@nunit-version,1,3)>='2.5'">
<xsl:text>, Errors: </xsl:text>
<xsl:value-of select="@errors"/>
<xsl:text>, Failures: </xsl:text>
<xsl:value-of select="@failures"/>
<xsl:if test="@inconclusive">
<!-- Introduced in 2.5.1 -->
<xsl:text>, Inconclusive: </xsl:text>
<xsl:value-of select="@inconclusive"/>
</xsl:if>
<xsl:text>, Time: </xsl:text>
<xsl:value-of select="test-suite/@time"/>
<xsl:text> seconds&#xD;&#xA;</xsl:text>
<xsl:text> Not run: </xsl:text>
<xsl:value-of select="@not-run"/>
<xsl:text>, Invalid: </xsl:text>
<xsl:value-of select="@invalid"/>
<xsl:text>, Ignored: </xsl:text>
<xsl:value-of select="@ignored"/>
<xsl:text>, Skipped: </xsl:text>
<xsl:value-of select="@skipped"/>
<xsl:text>&#xD;&#xA;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>, Failures: </xsl:text>
<xsl:value-of select="@failures"/>
<xsl:text>, Not run: </xsl:text>
<xsl:value-of select="@not-run"/>
<xsl:text>, Time: </xsl:text>
<xsl:value-of select="test-suite/@time"/>
<xsl:text> seconds&#xD;&#xA;</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='text'/>

<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="test-results">
<xsl:text>***** </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>NUnit Version </xsl:text>
<xsl:value-of select="environment/@nunit-version"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@date"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@time"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>Runtime Environment -&#xD;&#xA;</xsl:text>
<xsl:text> OS Version: </xsl:text>
<xsl:value-of select="environment/@os-version"/>
<xsl:text>&#xD;&#xA;</xsl:text>
<xsl:text> CLR Version: </xsl:text>
<xsl:value-of select="environment/@clr-version"/>
<xsl:text>&#xD;&#xA;&#xD;&#xA;</xsl:text>

<xsl:text>Tests run: </xsl:text>
<xsl:value-of select="@total"/>
<xsl:choose>
<xsl:when test ="substring(environment/@nunit-version,1,3)>='2.5'">
<xsl:text>, Errors: </xsl:text>
<xsl:value-of select="@errors"/>
<xsl:text>, Failures: </xsl:text>
<xsl:value-of select="@failures"/>
<xsl:if test="@inconclusive">
<!-- Introduced in 2.5.1 -->
<xsl:text>, Inconclusive: </xsl:text>
<xsl:value-of select="@inconclusive"/>
</xsl:if>
<xsl:text>, Time: </xsl:text>
<xsl:value-of select="test-suite/@time"/>
<xsl:text> seconds&#xD;&#xA;</xsl:text>
<xsl:text> Not run: </xsl:text>
<xsl:value-of select="@not-run"/>
<xsl:text>, Invalid: </xsl:text>
<xsl:value-of select="@invalid"/>
<xsl:text>, Ignored: </xsl:text>
<xsl:value-of select="@ignored"/>
<xsl:text>, Skipped: </xsl:text>
<xsl:value-of select="@skipped"/>
<xsl:text>&#xD;&#xA;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>, Failures: </xsl:text>
<xsl:value-of select="@failures"/>
<xsl:text>, Not run: </xsl:text>
<xsl:value-of select="@not-run"/>
<xsl:text>, Time: </xsl:text>
<xsl:value-of select="test-suite/@time"/>
<xsl:text> seconds&#xD;&#xA;</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

</xsl:stylesheet>
Loading

0 comments on commit 01756b7

Please sign in to comment.