Permalink
Browse files

Update xunit to version 1.8.

  • Loading branch information...
1 parent 416027d commit 6e38620edf4acaf994d6484619d398832a278278 @kogir kogir committed Dec 3, 2011
View
29 ext/xunit/EULA.txt
@@ -0,0 +1,29 @@
+This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
+
+1. Definitions
+
+The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
+
+A "contribution" is the original software, or any additions or changes to the software.
+
+A "contributor" is any person that distributes its contribution under this license.
+
+"Licensed patents" are a contributor's patent claims that read directly on its contribution.
+
+2. Grant of Rights
+
+(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
+
+(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
+
+3. Conditions and Limitations
+
+(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
+
+(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
+
+(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
+
+(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
+
+(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
View
209 ext/xunit/HTML.xslt
@@ -1,117 +1,128 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html"/>
- <xsl:template match="/">
- <xsl:apply-templates/>
- </xsl:template>
+ <xsl:output method="html"/>
+ <xsl:template match="/">
+ <xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></xsl:text>
+ <html>
+ <head>
+ <title>
+ xUnit.net Test Results - <xsl:value-of select="@name"/>
+ </title>
+ <style type="text/css">
+ body { font-family: Calibri, Verdana, Arial, sans-serif; background-color: White; color: Black; }
+ h2,h3,h4,h5 { margin: 0; padding: 0; }
+ h3 { font-weight: normal; }
+ h5 { font-weight: normal; font-style: italic; margin-bottom: 0.75em; }
+ pre { font-family: Consolas; font-size: 85%; margin: 0 0 0 1em; padding: 0; }
+ .divided { border-top: solid 1px #f0f5fa; padding-top: 0.5em; }
+ .row, .altrow { padding: 0.1em 0.3em; }
+ .row { background-color: #f0f5fa; }
+ .altrow { background-color: #e1ebf4; }
+ .success, .failure, .skipped { font-family: Arial Unicode MS; font-weight: normal; float: left; width: 1em; display: block; }
+ .success { color: #0c0; }
+ .failure { color: #c00; }
+ .skipped { color: #cc0; }
+ .timing { float: right; }
+ .indent { margin: 0.25em 0 0.5em 2em; }
+ .clickable { cursor: pointer; }
+ .testcount { font-size: 85%; }
+ </style>
+ <script language="javascript">
+ function ToggleClass(id) {
+ var elem = document.getElementById(id);
+ if (elem.style.display == "none") {
+ elem.style.display = "block";
+ }
+ else {
+ elem.style.display = "none";
+ }
+ }
+ </script>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+ </xsl:template>
- <xsl:template match="assembly">
- <xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></xsl:text>
- <html>
- <head>
- <title>xUnit.net Test Results - <xsl:value-of select="@name"/>
- </title>
- <style type="text/css">
- body { font-family: Calibri, Verdana, Arial, sans-serif; background-color: White; color: Black; }
- h2,h3,h5 { margin: 0; padding: 0; }
- h2 { border-top: solid 1px #f0f5fa; padding-top: 0.5em; }
- h3 { font-weight: normal; }
- h5 { font-weight: normal; font-style: italic; margin-bottom: 0.75em; }
- pre { font-family: Consolas; font-size: 85%; margin: 0 0 0 1em; padding: 0; }
- .row, .altrow { padding: 0.1em 0.3em; }
- .row { background-color: #f0f5fa; }
- .altrow { background-color: #e1ebf4; }
- .success, .failure, .skipped { font-family: Arial Unicode MS; font-weight: normal; float: left; width: 1em; display: block; }
- .success { color: #0c0; }
- .failure { color: #c00; }
- .skipped { color: #cc0; }
- .timing { float: right; }
- .indent { margin: 0.25em 0 0.5em 2em; }
- .clickable { cursor: pointer; }
- .testcount { font-size: 85%; }
- </style>
- <script language="javascript">
- function ToggleClass(id) {
- var elem = document.getElementById(id);
- if (elem.style.display == "none")
- elem.style.display = "block";
- else
- elem.style.display = "none";
- }
- </script>
- </head>
- <body>
- <h3><b>Results for <xsl:value-of select="@name"/></b></h3>
+ <xsl:template match="assemblies">
+ <xsl:apply-templates/>
+ </xsl:template>
+
+ <xsl:template match="assembly">
+ <h3 class="divided"><b>Results for <xsl:value-of select="@name"/></b></h3>
<div>
- Tests run: <a href="#all"><b><xsl:value-of select="@total"/></b></a> &#160;
- Failures: <a href="#failures"><b><xsl:value-of select="@failed"/></b></a>,
- Skipped: <a href="#skipped"><b><xsl:value-of select="@skipped"/></b></a>,
- Run time: <b><xsl:value-of select="@time"/>s</b>
+ Tests run: <a href="#all"><b><xsl:value-of select="@total"/></b></a> &#160;
+ Failures: <a href="#failures"><b><xsl:value-of select="@failed"/></b></a>,
+ Skipped: <a href="#skipped"><b><xsl:value-of select="@skipped"/></b></a>,
+ Run time: <b><xsl:value-of select="@time"/>s</b>
</div>
- <xsl:if test="//test[@result='Fail']">
- <br />
- <h2><a name="failures"></a>Failed tests</h2>
- <xsl:apply-templates select="//test[@result='Fail']"><xsl:sort select="@name"/></xsl:apply-templates>
+ <xsl:if test="class/test[@result='Fail']">
+ <br />
+ <h2><a name="failures"></a>Failed tests</h2>
+ <xsl:apply-templates select="class/test[@result='Fail']"><xsl:sort select="@name"/></xsl:apply-templates>
</xsl:if>
- <xsl:if test="//class/failure">
- <br />
- <h2><a name="failures"></a>Failed fixtures</h2>
- <xsl:apply-templates select="//class/failure"><xsl:sort select="../@name"/></xsl:apply-templates>
+ <xsl:if test="class/failure">
+ <br />
+ <h2><a name="failures"></a>Failed fixtures</h2>
+ <xsl:apply-templates select="class/failure"><xsl:sort select="../@name"/></xsl:apply-templates>
</xsl:if>
<xsl:if test="@skipped > 0">
- <br />
- <h2><a name="skipped"></a>Skipped tests</h2>
- <xsl:apply-templates select="//test[@result='Skip']"><xsl:sort select="@name"/></xsl:apply-templates>
+ <br />
+ <h2><a name="skipped"></a>Skipped tests</h2>
+ <xsl:apply-templates select="class/test[@result='Skip']"><xsl:sort select="@name"/></xsl:apply-templates>
</xsl:if>
<br />
<h2><a name="all"></a>All tests</h2>
<h5>Click test class name to expand/collapse test details</h5>
- <xsl:apply-templates select="//class"><xsl:sort select="@name"/></xsl:apply-templates>
+ <xsl:apply-templates select="class"><xsl:sort select="@name"/></xsl:apply-templates>
<br /><h5>Results generated <xsl:value-of select="@run-date"/> at <xsl:value-of select="@run-time"/></h5>
- </body>
- </html>
- </xsl:template>
+ </xsl:template>
- <xsl:template match="test">
- <div>
- <xsl:attribute name="class"><xsl:if test="(position() mod 2 = 0)">alt</xsl:if>row</xsl:attribute>
- <xsl:if test="@result!='Skip'"><span class="timing"><xsl:value-of select="@time"/>s</span></xsl:if>
- <xsl:if test="@result='Skip'"><span class="timing">Skipped</span><span class="skipped">&#x2762;</span></xsl:if>
- <xsl:if test="@result='Fail'"><span class="failure">&#x2718;</span></xsl:if>
- <xsl:if test="@result='Pass'"><span class="success">&#x2714;</span></xsl:if>
- &#160;<xsl:value-of select="@name"/>
- <xsl:if test="child::node()/message"> : <xsl:value-of select="child::node()/message"/></xsl:if>
- <br clear="all" />
- <xsl:if test="failure/stack-trace">
- <pre><xsl:value-of select="failure/stack-trace"/></pre>
- </xsl:if>
- </div>
- </xsl:template>
+ <xsl:template match="test">
+ <div>
+ <xsl:attribute name="class"><xsl:if test="(position() mod 2 = 0)">alt</xsl:if>row</xsl:attribute>
+ <xsl:if test="@result!='Skip'"><span class="timing"><xsl:value-of select="@time"/>s</span></xsl:if>
+ <xsl:if test="@result='Skip'"><span class="timing">Skipped</span><span class="skipped">&#x2762;</span></xsl:if>
+ <xsl:if test="@result='Fail'"><span class="failure">&#x2718;</span></xsl:if>
+ <xsl:if test="@result='Pass'"><span class="success">&#x2714;</span></xsl:if>
+ &#160;<xsl:value-of select="@name"/>
+ <xsl:if test="child::node()/message"> : <xsl:value-of select="child::node()/message"/></xsl:if>
+ <br clear="all" />
+ <xsl:if test="failure/stack-trace">
+ <pre><xsl:value-of select="failure/stack-trace"/></pre>
+ </xsl:if>
+ <xsl:if test="output">
+ <h4>Output</h4>
+ <pre><xsl:value-of select="output"/></pre>
+ </xsl:if>
+ </div>
+ </xsl:template>
- <xsl:template match="failure">
- <span class="failure">&#x2718;</span> <xsl:value-of select="../@name"/> : <xsl:value-of select="message"/><br clear="all"/>
- Stack Trace:<br />
- <pre><xsl:value-of select="stack-trace"/></pre>
- </xsl:template>
+ <xsl:template match="failure">
+ <span class="failure">&#x2718;</span> <xsl:value-of select="../@name"/> : <xsl:value-of select="message"/><br clear="all"/>
+ Stack Trace:<br />
+ <pre><xsl:value-of select="stack-trace"/></pre>
+ </xsl:template>
- <xsl:template match="class">
- <h3>
- <span class="timing"><xsl:value-of select="@time"/>s</span>
- <span class="clickable">
- <xsl:attribute name="onclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
- <xsl:attribute name="ondblclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
- <xsl:if test="@failed > 0"><span class="failure">&#x2718;</span></xsl:if>
- <xsl:if test="@failed = 0"><span class="success">&#x2714;</span></xsl:if>
- &#160;<xsl:value-of select="@name"/>
- &#160;<span class="testcount">(<xsl:value-of select="@total"/>&#160;test<xsl:if test="@total > 1">s</xsl:if>)</span>
- </span>
- <br clear="all" />
- </h3>
- <div class="indent">
- <xsl:if test="@failed = 0"><xsl:attribute name="style">display: none;</xsl:attribute></xsl:if>
- <xsl:attribute name="id">class<xsl:value-of select="position()"/></xsl:attribute>
- <xsl:apply-templates select="test"><xsl:sort select="@name"/></xsl:apply-templates>
- </div>
- </xsl:template>
+ <xsl:template match="class">
+ <h3>
+ <span class="timing"><xsl:value-of select="@time"/>s</span>
+ <span class="clickable">
+ <xsl:attribute name="onclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
+ <xsl:attribute name="ondblclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
+ <xsl:if test="@failed > 0"><span class="failure">&#x2718;</span></xsl:if>
+ <xsl:if test="@failed = 0"><span class="success">&#x2714;</span></xsl:if>
+ &#160;<xsl:value-of select="@name"/>
+ &#160;<span class="testcount">(<xsl:value-of select="@total"/>&#160;test<xsl:if test="@total > 1">s</xsl:if>)</span>
+ </span>
+ <br clear="all" />
+ </h3>
+ <div class="indent">
+ <xsl:if test="@failed = 0"><xsl:attribute name="style">display: none;</xsl:attribute></xsl:if>
+ <xsl:attribute name="id">class<xsl:value-of select="position()"/></xsl:attribute>
+ <xsl:apply-templates select="test"><xsl:sort select="@name"/></xsl:apply-templates>
+ </div>
+ </xsl:template>
</xsl:stylesheet>
View
BIN ext/xunit/Microsoft.Silverlight.Testing.dll
Binary file not shown.
View
BIN ext/xunit/xunit-silverlight4.dll
Binary file not shown.
View
BIN ext/xunit/xunit.console.clr4.exe
Binary file not shown.
View
BIN ext/xunit/xunit.console.clr4.x86.exe
Binary file not shown.
View
BIN ext/xunit/xunit.console.exe
Binary file not shown.
View
BIN ext/xunit/xunit.console.x86.exe
Binary file not shown.
View
BIN ext/xunit/xunit.dll
Binary file not shown.
View
BIN ext/xunit/xunit.extensions-silverlight4.dll
Binary file not shown.
View
BIN ext/xunit/xunit.extensions.dll
Binary file not shown.
View
88 ext/xunit/xunit.extensions.xml
@@ -28,29 +28,19 @@
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that a collection contains a given object, using a comparer.
- </summary>
- <typeparam name="T">The type of the object to be verified</typeparam>
- <param name="expected">The object expected to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
- <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
- </member>
<member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String)">
<summary>
Verifies that a string contains a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string expected to be in the string</param>
+ <param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String,System.StringComparison)">
<summary>
Verifies that a string contains a given sub-string, using the given comparison type.
</summary>
- <param name="expectedSubString">The sub-string expected to be in the string</param>
+ <param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<param name="comparisonType">The type of string comparison to perform</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
@@ -74,29 +64,19 @@
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that a collection does not contain a given object, using a comparer.
- </summary>
- <typeparam name="T">The type of the object to be compared</typeparam>
- <param name="expected">The object that is expected not to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
- <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
- </member>
<member name="M:Xunit.Extensions.Assertions.DoesNotContain(System.String,System.String)">
<summary>
Verifies that a string does not contain a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
+ <param name="expectedSubstring">The sub-string which is expected not to be in the string</param>
<param name="actualString">The string to be inspected</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the string</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.DoesNotContain(System.String,System.String,System.StringComparison)">
<summary>
Verifies that a string does not contain a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
+ <param name="expectedSubstring">The sub-string which is expected not to be in the string</param>
<param name="actualString">The string to be inspected</param>
<param name="comparisonType">The type of string comparison to perform</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the given string</exception>
@@ -134,15 +114,25 @@
<param name="comparer">The comparer used to compare the two objects</param>
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
+ <member name="M:Xunit.Extensions.Assertions.Equal(System.Double,System.Double,System.Int32)">
<summary>
- Verifies that two objects are equal, using a custom comparer.
+ Verifies that two <see cref="T:System.Double"/> values are equal, within the number of decimal
+ places given by <paramref name="precision"/>.
</summary>
- <typeparam name="T">The type of the objects to be compared</typeparam>
<param name="expected">The expected value</param>
<param name="actual">The value to be compared against</param>
- <param name="comparer">The comparer used to compare the two objects</param>
- <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
+ <param name="precision">The number of decimal places (valid values: 0-15)</param>
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the values are not equal</exception>
+ </member>
+ <member name="M:Xunit.Extensions.Assertions.Equal(System.Decimal,System.Decimal,System.Int32)">
+ <summary>
+ Verifies that two <see cref="T:System.Decimal"/> values are equal, within the number of decimal
+ places given by <paramref name="precision"/>.
+ </summary>
+ <param name="expected">The expected value</param>
+ <param name="actual">The value to be compared against</param>
+ <param name="precision">The number of decimal places (valid values: 0-15)</param>
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the values are not equal</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.False(System.Boolean)">
<summary>
@@ -257,16 +247,6 @@
<param name="comparer">The comparer used to examine the objects</param>
<exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.NotEqual``1(``0,``0,System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that two objects are not equal, using a custom comparer.
- </summary>
- <typeparam name="T">The type of the objects to be compared</typeparam>
- <param name="expected">The expected object</param>
- <param name="actual">The actual object</param>
- <param name="comparer">The comparer used to examine the objects</param>
- <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
- </member>
<member name="M:Xunit.Extensions.Assertions.NotInRange``1(``0,``0,``0)">
<summary>
Verifies that a value is not within a given range, using the default comparer.
@@ -428,6 +408,11 @@
</summary>
<param name="methodUnderTest">The method under test</param>
</member>
+ <member name="P:Xunit.Extensions.AssumeIdentityAttribute.Name">
+ <summary>
+ Gets the name.
+ </summary>
+ </member>
<member name="T:Xunit.Extensions.AutoRollbackAttribute">
<summary>
Apply this attribute to your test method to automatically create a
@@ -506,6 +491,11 @@
<member name="M:Xunit.Extensions.ClassDataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
<inheritdoc/>
</member>
+ <member name="P:Xunit.Extensions.ClassDataAttribute.Class">
+ <summary>
+ Gets the type of the class that provides the data.
+ </summary>
+ </member>
<member name="T:Xunit.Extensions.DataAdapterDataAttribute">
<summary>
Represents an implementation of <see cref="T:Xunit.Extensions.DataAttribute"/> which uses an
@@ -548,6 +538,11 @@
<param name="parameterTypes">The types of the parameters for the test method</param>
<returns>The theory data, in table form</returns>
</member>
+ <member name="P:Xunit.Extensions.InlineDataAttribute.DataValues">
+ <summary>
+ Gets the data values.
+ </summary>
+ </member>
<member name="T:Xunit.Extensions.OleDbDataAttribute">
<summary>
Provides a data source for a data theory, with the data coming from an OLEDB connection.
@@ -560,6 +555,16 @@
<param name="connectionString">The OLEDB connection string to the data</param>
<param name="selectStatement">The SELECT statement used to return the data for the theory</param>
</member>
+ <member name="P:Xunit.Extensions.OleDbDataAttribute.ConnectionString">
+ <summary>
+ Gets the connection string.
+ </summary>
+ </member>
+ <member name="P:Xunit.Extensions.OleDbDataAttribute.SelectStatement">
+ <summary>
+ Gets the select statement.
+ </summary>
+ </member>
<member name="P:Xunit.Extensions.OleDbDataAttribute.DataAdapter">
<inheritdoc/>
</member>
@@ -583,6 +588,11 @@
<param name="parameterTypes">The types of the parameters for the test method</param>
<returns>The theory data, in table form</returns>
</member>
+ <member name="P:Xunit.Extensions.PropertyDataAttribute.PropertyName">
+ <summary>
+ Gets the property name.
+ </summary>
+ </member>
<member name="T:Xunit.Extensions.SqlServerDataAttribute">
<summary>
Provides a data source for a data theory, with the data coming a Microsoft SQL Server.
View
BIN ext/xunit/xunit.gui.clr4.exe
Binary file not shown.
View
BIN ext/xunit/xunit.gui.clr4.x86.exe
Binary file not shown.
View
BIN ext/xunit/xunit.gui.exe
Binary file not shown.
View
BIN ext/xunit/xunit.gui.x86.exe
Binary file not shown.
View
BIN ext/xunit/xunit.installer.exe
Binary file not shown.
View
BIN ext/xunit/xunit.runner.msbuild.dll
Binary file not shown.
View
BIN ext/xunit/xunit.runner.tdnet.dll
Binary file not shown.
View
BIN ext/xunit/xunit.runner.utility.dll
Binary file not shown.
View
77 ext/xunit/xunit.runner.utility.xml
@@ -306,18 +306,6 @@
<param name="testMethod">The test method.</param>
<returns>Return true to continue running tests; return false to stop the test run.</returns>
</member>
- <member name="T:Xunit.ITestMethodRunner">
- <summary>
- Represents the ability to run one or more test methods.
- </summary>
- </member>
- <member name="M:Xunit.ITestMethodRunner.Run(System.Collections.Generic.IEnumerable{Xunit.TestMethod},Xunit.ITestMethodRunnerCallback)">
- <summary>
- Runs the specified test methods.
- </summary>
- <param name="testMethods">The test methods to run.</param>
- <param name="callback">The run status information callback.</param>
- </member>
<member name="T:Xunit.MultiAssemblyTestEnvironment">
<summary>
Represents the ability to load and unload test assemblies, as well as enumerate
@@ -345,6 +333,9 @@
The test assemblies loaded into the environment.
</summary>
</member>
+ <member name="M:Xunit.MultiAssemblyTestEnvironment.Dispose">
+ <inheritdoc/>
+ </member>
<member name="M:Xunit.MultiAssemblyTestEnvironment.EnumerateTestAssemblies">
<summary>
Enumerates the test assemblies in the environment.
@@ -398,7 +389,12 @@
loaded test assembly.</returns>
</member>
<member name="M:Xunit.MultiAssemblyTestEnvironment.Run(System.Collections.Generic.IEnumerable{Xunit.TestMethod},Xunit.ITestMethodRunnerCallback)">
- <inheritdoc/>
+ <summary>
+ Runs the specified test methods.
+ </summary>
+ <param name="testMethods">The test methods to run.</param>
+ <param name="callback">The run status information callback.</param>
+ <returns>Returns the result as XML.</returns>
</member>
<member name="M:Xunit.MultiAssemblyTestEnvironment.Unload(Xunit.TestAssembly)">
<summary>
@@ -655,6 +651,33 @@
At least one test result for the last run was skipped, and none failed
</summary>
</member>
+ <member name="T:Xunit.XunitFilters">
+ <summary>
+ Represents a set of filters for an <see cref="T:Xunit.XunitProject"/>.
+ </summary>
+ </member>
+ <member name="M:Xunit.XunitFilters.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Xunit.XunitFilters"/> class.
+ </summary>
+ </member>
+ <member name="M:Xunit.XunitFilters.Filter(Xunit.TestMethod)">
+ <summary>
+ Filters the given methods using the defined filter values.
+ </summary>
+ <param name="methods">The methods to filter.</param>
+ <returns>The filtered methods.</returns>
+ </member>
+ <member name="P:Xunit.XunitFilters.ExcludedTraits">
+ <summary>
+ Gets the set of trait filters for tests to exclude.
+ </summary>
+ </member>
+ <member name="P:Xunit.XunitFilters.IncludedTraits">
+ <summary>
+ Gets the set of trait filters for tests to include.
+ </summary>
+ </member>
<member name="T:Xunit.XunitProject">
<summary>
Represents an xUnit Test Project file (.xunit file)
@@ -705,6 +728,11 @@
Gets or set the filename of the project.
</summary>
</member>
+ <member name="P:Xunit.XunitProject.Filters">
+ <summary>
+ Gets the filters applied to this project.
+ </summary>
+ </member>
<member name="P:Xunit.XunitProject.IsDirty">
<summary>
Gets or sets a flag which indicates if this project has been modified since
@@ -818,7 +846,12 @@
<inheritdoc/>
</member>
<member name="M:Xunit.TestAssembly.Run(System.Collections.Generic.IEnumerable{Xunit.TestMethod},Xunit.ITestMethodRunnerCallback)">
- <inheritdoc/>
+ <summary>
+ Runs the specified test methods.
+ </summary>
+ <param name="testMethods">The test methods to run.</param>
+ <param name="callback">The run status information callback.</param>
+ <returns>Returns the result as XML.</returns>
</member>
<member name="P:Xunit.TestAssembly.AssemblyFilename">
<summary>
@@ -859,15 +892,21 @@
<member name="M:Xunit.TestClass.EnumerateTestMethods(System.Predicate{Xunit.TestMethod})">
<inheritdoc/>
</member>
- <member name="M:Xunit.TestClass.GetTestRunner(Xunit.ITestMethodRunnerCallback)">
+ <member name="M:Xunit.TestClass.Run(System.Collections.Generic.IEnumerable{Xunit.TestMethod},Xunit.ITestMethodRunnerCallback)">
<summary>
- Gets the test runner used to run tests. Exists as an overload primarily
- for the purposes of unit testing.
+ Runs the specified test methods.
</summary>
+ <param name="testMethods">The test methods to run.</param>
<param name="callback">The run status information callback.</param>
+ <returns>Returns the result as XML.</returns>
</member>
- <member name="M:Xunit.TestClass.Run(System.Collections.Generic.IEnumerable{Xunit.TestMethod},Xunit.ITestMethodRunnerCallback)">
- <inheritdoc/>
+ <member name="M:Xunit.TestClass.RunTests(System.Collections.Generic.List{System.String},Xunit.ITestMethodRunnerCallback)">
+ <summary>
+ Runs the specified tests in the given type, calling the callback as appropriate.
+ This override point exists primarily for unit testing purposes.
+ </summary>
+ <param name="methods">The test methods to run</param>
+ <param name="callback">The run status information callback.</param>
</member>
<member name="P:Xunit.TestClass.TestAssembly">
<summary>
View
160 ext/xunit/xunit.xml
@@ -34,39 +34,19 @@
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
</member>
- <member name="M:Xunit.Assert.Contains(System.String,System.Collections.Generic.IEnumerable{System.String},System.StringComparer)">
- <summary>
- Verifies that a collection contains a given string, using a string comparer.
- </summary>
- <typeparam name="T">The type of the object to be verified</typeparam>
- <param name="expected">The string expected to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate objects in the collection with the expected string</param>
- <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the string is not present in the collection</exception>
- </member>
- <member name="M:Xunit.Assert.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that a collection contains a given object, using a comparer.
- </summary>
- <typeparam name="T">The type of the object to be verified</typeparam>
- <param name="expected">The object expected to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
- <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
- </member>
<member name="M:Xunit.Assert.Contains(System.String,System.String)">
<summary>
Verifies that a string contains a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string expected to be in the string</param>
+ <param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
</member>
<member name="M:Xunit.Assert.Contains(System.String,System.String,System.StringComparison)">
<summary>
Verifies that a string contains a given sub-string, using the given comparison type.
</summary>
- <param name="expectedSubString">The sub-string expected to be in the string</param>
+ <param name="expectedSubstring">The sub-string expected to be in the string</param>
<param name="actualString">The string to be inspected</param>
<param name="comparisonType">The type of string comparison to perform</param>
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
@@ -90,39 +70,19 @@
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
</member>
- <member name="M:Xunit.Assert.DoesNotContain(System.String,System.Collections.Generic.IEnumerable{System.String},System.StringComparer)">
- <summary>
- Verifies that a collection does not contain a given string, using a string comparer.
- </summary>
- <typeparam name="T">The type of the string to be compared</typeparam>
- <param name="expected">The string that is expected not to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate strings in the collection with the expected string</param>
- <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the string is present inside the container</exception>
- </member>
- <member name="M:Xunit.Assert.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that a collection does not contain a given object, using a comparer.
- </summary>
- <typeparam name="T">The type of the object to be compared</typeparam>
- <param name="expected">The object that is expected not to be in the collection</param>
- <param name="collection">The collection to be inspected</param>
- <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
- <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
- </member>
<member name="M:Xunit.Assert.DoesNotContain(System.String,System.String)">
<summary>
Verifies that a string does not contain a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
+ <param name="expectedSubstring">The sub-string which is expected not to be in the string</param>
<param name="actualString">The string to be inspected</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the string</exception>
</member>
<member name="M:Xunit.Assert.DoesNotContain(System.String,System.String,System.StringComparison)">
<summary>
Verifies that a string does not contain a given sub-string, using the current culture.
</summary>
- <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
+ <param name="expectedSubstring">The sub-string which is expected not to be in the string</param>
<param name="actualString">The string to be inspected</param>
<param name="comparisonType">The type of string comparison to perform</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the given string</exception>
@@ -160,25 +120,25 @@
<param name="comparer">The comparer used to compare the two objects</param>
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
</member>
- <member name="M:Xunit.Assert.Equal(System.String,System.String,System.StringComparer)">
+ <member name="M:Xunit.Assert.Equal(System.Double,System.Double,System.Int32)">
<summary>
- Verifies that two strings are equal, using the given string comparer.
+ Verifies that two <see cref="T:System.Double"/> values are equal, within the number of decimal
+ places given by <paramref name="precision"/>.
</summary>
- <typeparam name="T">The type of the strings to be compared</typeparam>
<param name="expected">The expected value</param>
<param name="actual">The value to be compared against</param>
- <param name="comparer">The comparer used to compare the two strings</param>
- <exception cref="T:Xunit.Sdk.EqualException">Thrown when the strings are not equal</exception>
+ <param name="precision">The number of decimal places (valid values: 0-15)</param>
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the values are not equal</exception>
</member>
- <member name="M:Xunit.Assert.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
+ <member name="M:Xunit.Assert.Equal(System.Decimal,System.Decimal,System.Int32)">
<summary>
- Verifies that two objects are equal, using a custom comparer.
+ Verifies that two <see cref="T:System.Decimal"/> values are equal, within the number of decimal
+ places given by <paramref name="precision"/>.
</summary>
- <typeparam name="T">The type of the objects to be compared</typeparam>
<param name="expected">The expected value</param>
<param name="actual">The value to be compared against</param>
- <param name="comparer">The comparer used to compare the two objects</param>
- <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
+ <param name="precision">The number of decimal places (valid values: 0-15)</param>
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the values are not equal</exception>
</member>
<member name="M:Xunit.Assert.Equals(System.Object,System.Object)">
<summary>Do not call this method.</summary>
@@ -296,26 +256,6 @@
<param name="comparer">The comparer used to examine the objects</param>
<exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
</member>
- <member name="M:Xunit.Assert.NotEqual(System.String,System.String,System.StringComparer)">
- <summary>
- Verifies that two strings are not equal, using the given string comparer.
- </summary>
- <typeparam name="T">The type of the strings to be compared</typeparam>
- <param name="expected">The expected string</param>
- <param name="actual">The actual string</param>
- <param name="comparer">The comparer used to examine the strings</param>
- <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the strings are equal</exception>
- </member>
- <member name="M:Xunit.Assert.NotEqual``1(``0,``0,System.Collections.Generic.IComparer{``0})">
- <summary>
- Verifies that two objects are not equal, using a custom comparer.
- </summary>
- <typeparam name="T">The type of the objects to be compared</typeparam>
- <param name="expected">The expected object</param>
- <param name="actual">The actual object</param>
- <param name="comparer">The comparer used to examine the objects</param>
- <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
- </member>
<member name="M:Xunit.Assert.NotInRange``1(``0,``0,``0)">
<summary>
Verifies that a value is not within a given range, using the default comparer.
@@ -359,6 +299,16 @@
<param name="object">The object to be inspected</param>
<exception cref="T:Xunit.Sdk.NullException">Thrown when the object reference is not null</exception>
</member>
+ <member name="M:Xunit.Assert.PropertyChanged(System.ComponentModel.INotifyPropertyChanged,System.String,Xunit.Assert.PropertyChangedDelegate)">
+ <summary>
+ Verifies that the provided object raised INotifyPropertyChanged.PropertyChanged
+ as a result of executing the given test code.
+ </summary>
+ <param name="object">The object which should raise the notification</param>
+ <param name="propertyName">The property name for which the notification should be raised</param>
+ <param name="testCode">The test code which should cause the notification to be raised</param>
+ <exception cref="T:Xunit.Sdk.PropertyChangedException">Thrown when the notification is not raised</exception>
+ </member>
<member name="M:Xunit.Assert.Same(System.Object,System.Object)">
<summary>
Verifies that two objects are the same instance.
@@ -377,6 +327,18 @@
<exception cref="T:Xunit.Sdk.SingleException">Thrown when the collection does not contain
exactly one element.</exception>
</member>
+ <member name="M:Xunit.Assert.Single(System.Collections.IEnumerable,System.Object)">
+ <summary>
+ Verifies that the given collection contains only a single
+ element of the given value. The collection may or may not
+ contain other values.
+ </summary>
+ <param name="collection">The collection.</param>
+ <param name="expected">The value to find in the collection.</param>
+ <returns>The single item in the collection.</returns>
+ <exception cref="T:Xunit.Sdk.SingleException">Thrown when the collection does not contain
+ exactly one element.</exception>
+ </member>
<member name="M:Xunit.Assert.Single``1(System.Collections.Generic.IEnumerable{``0})">
<summary>
Verifies that the given collection contains only a single
@@ -391,7 +353,9 @@
<member name="M:Xunit.Assert.Single``1(System.Collections.Generic.IEnumerable{``0},System.Predicate{``0})">
<summary>
Verifies that the given collection contains only a single
- element of the given type which matches the given predicate.
+ element of the given type which matches the given predicate. The
+ collection may or may not contain other values which do not
+ match the given predicate.
</summary>
<typeparam name="T">The collection type.</typeparam>
<param name="collection">The collection.</param>
@@ -453,6 +417,11 @@
<param name="userMessage">The message to be shown when the condition is false</param>
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
</member>
+ <member name="T:Xunit.Assert.PropertyChangedDelegate">
+ <summary>
+ Used by the PropertyChanged.
+ </summary>
+ </member>
<member name="T:Xunit.Assert.ThrowsDelegate">
<summary>
Used by the Throws and DoesNotThrow methods.
@@ -709,18 +678,37 @@
</summary>
<param name="expected">The expected object value</param>
</member>
- <member name="T:Xunit.Sdk.ParamterCountMismatchException">
+ <member name="M:Xunit.Sdk.ContainsException.#ctor(System.Object,System.Object)">
+ <summary>
+ Creates a new instance of the <see cref="T:Xunit.Sdk.ContainsException"/> class.
+ </summary>
+ <param name="expected">The expected object value</param>
+ <param name="actual">The actual value</param>
+ </member>
+ <member name="T:Xunit.Sdk.ParameterCountMismatchException">
<summary>
Exception to be thrown from <see cref="M:Xunit.Sdk.IMethodInfo.Invoke(System.Object,System.Object[])"/> when the number of
parameter values does not the test method signature.
</summary>
</member>
- <member name="M:Xunit.Sdk.ParamterCountMismatchException.#ctor">
+ <member name="M:Xunit.Sdk.ParameterCountMismatchException.#ctor">
<summary/>
</member>
- <member name="M:Xunit.Sdk.ParamterCountMismatchException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+ <member name="M:Xunit.Sdk.ParameterCountMismatchException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary/>
</member>
+ <member name="T:Xunit.Sdk.PropertyChangedException">
+ <summary>
+ Exception thrown when code unexpectedly fails change a property.
+ </summary>
+ </member>
+ <member name="M:Xunit.Sdk.PropertyChangedException.#ctor(System.String)">
+ <summary>
+ Creates a new instance of the <see cref="T:Xunit.Sdk.ThrowsException"/> class. Call this constructor
+ when no exception was thrown.
+ </summary>
+ <param name="expectedType">The type of the exception that was expected</param>
+ </member>
<member name="T:Xunit.Sdk.SingleException">
<summary>
Exception thrown when the collection did not contain exactly one element.
@@ -1152,6 +1140,14 @@
<param name="expected">The expected object value</param>
<param name="actual">The actual object value</param>
</member>
+ <member name="M:Xunit.Sdk.EqualException.#ctor(System.Object,System.Object,System.Boolean)">
+ <summary>
+ Creates a new instance of the <see cref="T:Xunit.Sdk.EqualException"/> class.
+ </summary>
+ <param name="expected">The expected object value</param>
+ <param name="actual">The actual object value</param>
+ <param name="skipPositionCheck">Set to true to skip the check for difference position</param>
+ </member>
<member name="T:Xunit.Sdk.FalseException">
<summary>
Exception thrown when a value is unexpectedly true.
@@ -1698,7 +1694,7 @@
<summary>
Creates a new instance of the <see cref="T:Xunit.RunWithAttribute"/> class.
</summary>
- <param name="commandType">The class which implements ITestClassCommand and acts as the runner
+ <param name="testClassCommand">The class which implements ITestClassCommand and acts as the runner
for the test fixture.</param>
</member>
<member name="P:Xunit.RunWithAttribute.TestClassCommand">
@@ -2094,6 +2090,12 @@
the test method is static).</param>
<param name="parameters">The parameters to be passed to the test method.</param>
</member>
+ <member name="P:Xunit.Sdk.IMethodInfo.Class">
+ <summary>
+ Gets a value which represents the class that this method was
+ reflected from (i.e., equivalent to MethodInfo.ReflectedType)
+ </summary>
+ </member>
<member name="P:Xunit.Sdk.IMethodInfo.IsAbstract">
<summary>
Gets a value indicating whether the method is abstract.
View
BIN ext/xunit/xunitcontrib.runner.silverlight.toolkit-silverlight4.dll
Binary file not shown.

0 comments on commit 6e38620

Please sign in to comment.