Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated xUnit dll's and fixed one failing test from upgrade.

Updated Castle to 2.5.2. There is an access visibility change in Castle's facility for Kernel that may need to be addressed different than I currently handled it.
Updated psake build script to use appropriate console runner based on 3.5 or 4.0 build.
  • Loading branch information...
commit 83ed7969ccaec3718071a2a0259c25dee8f15f14 1 parent 0b41237
@CoreyKaylor CoreyKaylor authored
Showing with 945 additions and 1,416 deletions.
  1. +1 −3 Rhino.ServiceBus.Tests/MsmqTests.cs
  2. +1 −1  Rhino.ServiceBus/Config/RhinoQueuesConfigurationAware.cs
  3. +6 −0 Rhino.ServiceBus/Impl/AbstractRhinoServiceBusFacility.cs
  4. BIN  SharedLibs/Castle.Core.dll
  5. BIN  SharedLibs/Castle.Core.pdb
  6. +36 −28 SharedLibs/Castle.Core.xml
  7. BIN  SharedLibs/Castle.Windsor.dll
  8. BIN  SharedLibs/Castle.Windsor.pdb
  9. +363 −1,229 SharedLibs/Castle.Windsor.xml
  10. BIN  SharedLibs/xunit.dll
  11. BIN  SharedLibs/xunit.extensions.dll
  12. BIN  Tools/xUnit/xunit.console.clr4.exe
  13. +21 −0 Tools/xUnit/xunit.console.clr4.exe.config
  14. BIN  Tools/xUnit/xunit.console.clr4.x86.exe
  15. +21 −0 Tools/xUnit/xunit.console.clr4.x86.exe.config
  16. BIN  Tools/xUnit/xunit.console.exe
  17. +0 −4 Tools/xUnit/xunit.console.exe.config
  18. BIN  Tools/xUnit/xunit.console.x86.exe
  19. BIN  Tools/xUnit/xunit.dll
  20. +1 −1  Tools/xUnit/xunit.dll.tdnet
  21. BIN  Tools/xUnit/xunit.extensions.dll
  22. +96 −15 Tools/xUnit/xunit.extensions.xml
  23. BIN  Tools/xUnit/xunit.gui.clr4.exe
  24. BIN  Tools/xUnit/xunit.gui.clr4.x86.exe
  25. BIN  Tools/xUnit/xunit.gui.exe
  26. BIN  Tools/xUnit/xunit.gui.x86.exe
  27. BIN  Tools/xUnit/xunit.installer.exe
  28. BIN  Tools/xUnit/xunit.runner.msbuild.dll
  29. BIN  Tools/xUnit/xunit.runner.tdnet.dll
  30. BIN  Tools/xUnit/xunit.runner.utility.dll
  31. +157 −32 Tools/xUnit/xunit.runner.utility.xml
  32. +232 −101 Tools/xUnit/xunit.xml
  33. +10 −2 default.ps1
View
4 Rhino.ServiceBus.Tests/MsmqTests.cs
@@ -257,9 +257,7 @@ public void When_peeking_and_there_is_no_message()
Assert.False(asyncResult.CompletedSynchronously);
- Assert.Throws<MessageQueueException>(
- "Timeout for the requested operation has expired.",
- () => queue.EndPeek(asyncResult));
+ Assert.Throws<MessageQueueException>(() => queue.EndPeek(asyncResult));
}
View
2  Rhino.ServiceBus/Config/RhinoQueuesConfigurationAware.cs
@@ -18,7 +18,7 @@ public void Configure(AbstractRhinoServiceBusFacility facility, IConfiguration c
if (facility.Endpoint.Scheme.Equals("rhino.queues", StringComparison.InvariantCultureIgnoreCase) == false)
return;
- IConfiguration busConfig = facility.FacilityConfig.Children["bus"];
+ IConfiguration busConfig = configuration.Children["bus"];
if (busConfig == null)
throw new ConfigurationErrorsException("Could not find 'bus' node in configuration");
var name = busConfig.Attributes["name"];
View
6 Rhino.ServiceBus/Impl/AbstractRhinoServiceBusFacility.cs
@@ -44,6 +44,12 @@ protected AbstractRhinoServiceBusFacility()
public TransactionalOptions Transactional { get; set; }
+ //yuck
+ public new IKernel Kernel
+ {
+ get { return base.Kernel; }
+ }
+
public IsolationLevel IsolationLevel
{
get { return queueIsolationLevel; }
View
BIN  SharedLibs/Castle.Core.dll
Binary file not shown
View
BIN  SharedLibs/Castle.Core.pdb
Binary file not shown
View
64 SharedLibs/Castle.Core.xml
@@ -1011,46 +1011,53 @@
</summary>
<value></value>
</member>
- <member name="T:Castle.Components.DictionaryAdapter.AttributesUtil">
+ <member name="T:Castle.Core.Internal.AttributesUtil">
<summary>
- Helper class for retrieving attributes.
+ Helper class for retrieving attributes.
</summary>
</member>
- <member name="M:Castle.Components.DictionaryAdapter.AttributesUtil.GetTypeAttribute``1(System.Type)">
+ <member name="M:Castle.Core.Internal.AttributesUtil.GetAttribute``1(System.Reflection.ICustomAttributeProvider)">
<summary>
- Gets the type attribute.
+ Gets the attribute.
</summary>
- <param name="type">The type.</param>
- <returns>The type attribute.</returns>
+ <param name = "member">The member.</param>
+ <returns>The member attribute.</returns>
</member>
- <member name="M:Castle.Components.DictionaryAdapter.AttributesUtil.GetAttribute``1(System.Reflection.MemberInfo)">
+ <member name="M:Castle.Core.Internal.AttributesUtil.GetAttributes``1(System.Reflection.ICustomAttributeProvider)">
<summary>
- Gets the attribute.
+ Gets the attributes. Does not consider inherited attributes!
</summary>
- <param name="member">The member.</param>
- <returns>The member attribute.</returns>
+ <param name = "member">The member.</param>
+ <returns>The member attributes.</returns>
</member>
- <member name="M:Castle.Components.DictionaryAdapter.AttributesUtil.GetTypeAttributes``1(System.Type)">
+ <member name="M:Castle.Core.Internal.AttributesUtil.GetTypeAttribute``1(System.Type)">
<summary>
- Gets the type attributes.
+ Gets the type attribute.
</summary>
- <param name="type">The type.</param>
- <returns>The type attributes.</returns>
+ <param name = "type">The type.</param>
+ <returns>The type attribute.</returns>
</member>
- <member name="M:Castle.Components.DictionaryAdapter.AttributesUtil.GetAttributes``1(System.Reflection.MemberInfo)">
+ <member name="M:Castle.Core.Internal.AttributesUtil.GetTypeAttributes``1(System.Type)">
<summary>
- Gets the attributes.
+ Gets the type attributes.
</summary>
- <param name="member">The member.</param>
- <returns>The member attributes.</returns>
+ <param name = "type">The type.</param>
+ <returns>The type attributes.</returns>
</member>
- <member name="M:Castle.Components.DictionaryAdapter.AttributesUtil.GetTypeConverter(System.Reflection.MemberInfo)">
+ <member name="M:Castle.Core.Internal.AttributesUtil.GetTypeConverter(System.Reflection.MemberInfo)">
<summary>
- Gets the type converter.
+ Gets the type converter.
</summary>
- <param name="member">The member.</param>
+ <param name = "member">The member.</param>
<returns></returns>
</member>
+ <member name="M:Castle.Core.Internal.AttributesUtil.HasAttribute``1(System.Reflection.ICustomAttributeProvider)">
+ <summary>
+ Gets the attribute.
+ </summary>
+ <param name = "member">The member.</param>
+ <returns>The member attribute.</returns>
+ </member>
<member name="T:Castle.Components.DictionaryAdapter.IDynamicValue`1">
<summary>
Contract for typed dynamic value resolution.
@@ -1088,11 +1095,11 @@
</member>
<member name="M:Castle.DynamicProxy.IInvocation.GetConcreteMethod">
<summary>
- Returns the concrete instantiation of the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/>, with any generic
+ Returns the concrete instantiation of the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/> on the proxy, with any generic
parameters bound to real types.
</summary>
<returns>
- The concrete instantiation of the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/>, or the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/> if
+ The concrete instantiation of the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/> on the proxy, or the <see cref="P:Castle.DynamicProxy.IInvocation.Method"/> if
not a generic method.
</returns>
<remarks>Can be slower than calling <see cref="P:Castle.DynamicProxy.IInvocation.Method"/>.</remarks>
@@ -1101,10 +1108,11 @@
<summary>
Returns the concrete instantiation of <see cref="P:Castle.DynamicProxy.IInvocation.MethodInvocationTarget"/>, with any
generic parameters bound to real types.
+ For interface proxies, this will point to the <see cref="T:System.Reflection.MethodInfo"/> on the target class.
</summary>
<returns>The concrete instantiation of <see cref="P:Castle.DynamicProxy.IInvocation.MethodInvocationTarget"/>, or
<see cref="P:Castle.DynamicProxy.IInvocation.MethodInvocationTarget"/> if not a generic method.</returns>
- <remarks>Can be slower than calling <see cref="P:Castle.DynamicProxy.IInvocation.MethodInvocationTarget"/>.</remarks>
+ <remarks>In debug builds this can be slower than calling <see cref="P:Castle.DynamicProxy.IInvocation.MethodInvocationTarget"/>.</remarks>
</member>
<member name="M:Castle.DynamicProxy.IInvocation.Proceed">
<summary>
@@ -1150,7 +1158,7 @@
</member>
<member name="P:Castle.DynamicProxy.IInvocation.Method">
<summary>
- Gets the <see cref="T:System.Reflection.MethodInfo"/> representing the method being invoked.
+ Gets the <see cref="T:System.Reflection.MethodInfo"/> representing the method being invoked on the proxy.
</summary>
<value>The <see cref="T:System.Reflection.MethodInfo"/> representing the method being invoked.</value>
</member>
@@ -1549,7 +1557,7 @@
<summary>
Returns list of all unique interfaces implemented given types, including their base interfaces.
</summary>
- <param name="types"></param>
+ <param name = "types"></param>
<returns></returns>
</member>
<member name="M:Castle.DynamicProxy.Generators.MetaEvent.#ctor(System.String,System.Type,System.Type,Castle.DynamicProxy.Generators.MetaMethod,Castle.DynamicProxy.Generators.MetaMethod,System.Reflection.EventAttributes)">
@@ -4390,7 +4398,7 @@
</summary>
<param name="type">The <see cref="T:System.Type"/></param>
<param name="defaultValue">
- The Default value returned if the convertion fails.
+ The Default value returned if the conversion fails.
</param>
<returns>The Value converted into the specified type.</returns>
</member>
@@ -4744,7 +4752,7 @@
</summary>
<remarks>
Implementors should return <c>true</c>
- only if the given identificator is supported
+ only if the given identifier is supported
by the resource factory
</remarks>
<param name="uri"></param>
View
BIN  SharedLibs/Castle.Windsor.dll
Binary file not shown
View
BIN  SharedLibs/Castle.Windsor.pdb
Binary file not shown
View
1,592 SharedLibs/Castle.Windsor.xml
363 additions, 1,229 deletions not shown
View
BIN  SharedLibs/xunit.dll
Binary file not shown
View
BIN  SharedLibs/xunit.extensions.dll
Binary file not shown
View
BIN  Tools/xUnit/xunit.console.clr4.exe
Binary file not shown
View
21 Tools/xUnit/xunit.console.clr4.exe.config
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+
+ <configSections>
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console.clr4"/>
+ </configSections>
+
+ <xunit>
+ <transforms>
+ <add
+ commandline="html"
+ xslfile="HTML.xslt"
+ description="output results to HTML file"/>
+ <add
+ commandline="nunit"
+ xslfile="NUnitXml.xslt"
+ description="output results to NUnit-style XML file"/>
+ </transforms>
+ </xunit>
+
+</configuration>
View
BIN  Tools/xUnit/xunit.console.clr4.x86.exe
Binary file not shown
View
21 Tools/xUnit/xunit.console.clr4.x86.exe.config
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+
+ <configSections>
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console.clr4.x86"/>
+ </configSections>
+
+ <xunit>
+ <transforms>
+ <add
+ commandline="html"
+ xslfile="HTML.xslt"
+ description="output results to HTML file"/>
+ <add
+ commandline="nunit"
+ xslfile="NUnitXml.xslt"
+ description="output results to NUnit-style XML file"/>
+ </transforms>
+ </xunit>
+
+</configuration>
View
BIN  Tools/xUnit/xunit.console.exe
Binary file not shown
View
4 Tools/xUnit/xunit.console.exe.config
@@ -18,8 +18,4 @@
</transforms>
</xunit>
- <startup>
- <requiredRuntime version="v4.0.30319" safemode="true"/>
- </startup>
-
</configuration>
View
BIN  Tools/xUnit/xunit.console.x86.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.dll
Binary file not shown
View
2  Tools/xUnit/xunit.dll.tdnet
@@ -1,5 +1,5 @@
<TestRunner>
- <FriendlyName>xUnit.net {0}.{1} build {3}</FriendlyName>
+ <FriendlyName>xUnit.net {0}.{1}.{2} build {3}</FriendlyName>
<AssemblyPath>xunit.runner.tdnet.dll</AssemblyPath>
<TypeName>Xunit.Runner.TdNet.TdNetRunner</TypeName>
</TestRunner>
View
BIN  Tools/xUnit/xunit.extensions.dll
Binary file not shown
View
111 Tools/xUnit/xunit.extensions.xml
@@ -18,6 +18,16 @@
<param name="collection">The collection to be inspected</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.IEqualityComparer{``0})">
+ <summary>
+ Verifies that a collection contains a given object, using an equality 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``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
<summary>
Verifies that a collection contains a given object, using a comparer.
@@ -54,6 +64,16 @@
<param name="collection">The collection to be inspected</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.IEqualityComparer{``0})">
+ <summary>
+ Verifies that a collection does not contain a given object, using an equality 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``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.
@@ -104,6 +124,16 @@
<param name="actual">The value to be compared against</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.IEqualityComparer{``0})">
+ <summary>
+ Verifies that two objects are equal, using a custom equatable comparer.
+ </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>
+ </member>
<member name="M:Xunit.Extensions.Assertions.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
<summary>
Verifies that two objects are equal, using a custom comparer.
@@ -114,9 +144,6 @@
<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.Equals(System.Object)">
- <summary>Do not call this method. Call Assert.Equal() instead.</summary>
- </member>
<member name="M:Xunit.Extensions.Assertions.False(System.Boolean)">
<summary>
Verifies that the condition is false.
@@ -132,12 +159,6 @@
<param name="userMessage">The message to show when the condition is not false</param>
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.GetHashCode">
- <summary>
- Serves as a hash function for a particular type.
- </summary>
- <returns>A hash code for the current <see cref="T:System.Object"/>.</returns>
- </member>
<member name="M:Xunit.Extensions.Assertions.InRange``1(``0,``0,``0)">
<summary>
Verifies that a value is within a given range.
@@ -159,13 +180,30 @@
<param name="comparer">The comparer used to evaluate the value's range</param>
<exception cref="T:Xunit.Sdk.InRangeException">Thrown when the value is not in the given range</exception>
</member>
+ <member name="M:Xunit.Extensions.Assertions.IsAssignableFrom``1(System.Object)">
+ <summary>
+ Verifies that an object is of the given type or a derived type.
+ </summary>
+ <typeparam name="T">The type the object should be</typeparam>
+ <param name="object">The object to be evaluated</param>
+ <returns>The object, casted to type T when successful</returns>
+ <exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
+ </member>
+ <member name="M:Xunit.Extensions.Assertions.IsAssignableFrom(System.Type,System.Object)">
+ <summary>
+ Verifies that an object is of the given type or a derived type.
+ </summary>
+ <param name="expectedType">The type the object should be</param>
+ <param name="object">The object to be evaluated</param>
+ <exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
+ </member>
<member name="M:Xunit.Extensions.Assertions.IsNotType``1(System.Object)">
<summary>
Verifies that an object is not exactly the given type.
</summary>
<typeparam name="T">The type the object should not be</typeparam>
<param name="object">The object to be evaluated</param>
- <exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is the given type</exception>
+ <exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.IsNotType(System.Type,System.Object)">
<summary>
@@ -173,7 +211,7 @@
</summary>
<param name="expectedType">The type the object should not be</param>
<param name="object">The object to be evaluated</param>
- <exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is the given type</exception>
+ <exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
</member>
<member name="M:Xunit.Extensions.Assertions.IsType``1(System.Object)">
<summary>
@@ -209,6 +247,16 @@
<param name="actual">The actual object</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.IEqualityComparer{``0})">
+ <summary>
+ Verifies that two objects are not equal, using a custom equality 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.NotEqual``1(``0,``0,System.Collections.Generic.IComparer{``0})">
<summary>
Verifies that two objects are not equal, using a custom comparer.
@@ -270,6 +318,27 @@
<param name="actual">The actual object instance</param>
<exception cref="T:Xunit.Sdk.SameException">Thrown when the objects are not the same instance</exception>
</member>
+ <member name="M:Xunit.Extensions.Assertions.Single(System.Collections.IEnumerable)">
+ <summary>
+ Verifies that the given collection contains only a single
+ element of the given type.
+ </summary>
+ <param name="collection">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.Extensions.Assertions.Single``1(System.Collections.Generic.IEnumerable{``0})">
+ <summary>
+ Verifies that the given collection contains only a single
+ element of the given type.
+ </summary>
+ <typeparam name="T">The collection type.</typeparam>
+ <param name="collection">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.Extensions.Assertions.Throws``1(Xunit.Assert.ThrowsDelegate)">
<summary>
Verifies that the exact exception is thrown (and not a derived exception type).
@@ -279,12 +348,12 @@
<returns>The exception that was thrown, when successful</returns>
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
</member>
- <member name="M:Xunit.Extensions.Assertions.Throws``1(System.String,Xunit.Assert.ThrowsDelegate)">
+ <member name="M:Xunit.Extensions.Assertions.Throws``1(Xunit.Assert.ThrowsDelegateWithReturn)">
<summary>
Verifies that the exact exception is thrown (and not a derived exception type).
+ Generally used to test property accessors.
</summary>
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
- <param name="userMessage">The message to be shown if the test fails</param>
<param name="testCode">A delegate to the code to be tested</param>
<returns>The exception that was thrown, when successful</returns>
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
@@ -298,6 +367,16 @@
<returns>The exception that was thrown, when successful</returns>
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
</member>
+ <member name="M:Xunit.Extensions.Assertions.Throws(System.Type,Xunit.Assert.ThrowsDelegateWithReturn)">
+ <summary>
+ Verifies that the exact exception is thrown (and not a derived exception type).
+ Generally used to test property accessors.
+ </summary>
+ <param name="exceptionType">The type of the exception expected to be thrown</param>
+ <param name="testCode">A delegate to the code to be tested</param>
+ <returns>The exception that was thrown, when successful</returns>
+ <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
+ </member>
<member name="M:Xunit.Extensions.Assertions.True(System.Boolean)">
<summary>
Verifies that an expression is true.
@@ -415,6 +494,9 @@
<param name="parameterTypes">The types of the parameters for the test method</param>
<returns>The theory data</returns>
</member>
+ <member name="P:Xunit.Extensions.DataAttribute.TypeId">
+ <inheritdoc/>
+ </member>
<member name="M:Xunit.Extensions.ClassDataAttribute.#ctor(System.Type)">
<summary>
Initializes a new instance of the <see cref="T:Xunit.Extensions.ClassDataAttribute"/> class.
@@ -669,12 +751,11 @@
Represents a single invocation of a data theory test method.
</summary>
</member>
- <member name="M:Xunit.Extensions.TheoryCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String,System.Object[])">
+ <member name="M:Xunit.Extensions.TheoryCommand.#ctor(Xunit.Sdk.IMethodInfo,System.Object[])">
<summary>
Creates a new instance of <see cref="T:Xunit.Extensions.TheoryCommand"/>.
</summary>
<param name="testMethod">The method under test</param>
- <param name="displayName">The display name of the method under test</param>
<param name="parameters">The parameters to be passed to the test method</param>
</member>
<member name="M:Xunit.Extensions.TheoryCommand.Execute(System.Object)">
View
BIN  Tools/xUnit/xunit.gui.clr4.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.gui.clr4.x86.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.gui.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.gui.x86.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.installer.exe
Binary file not shown
View
BIN  Tools/xUnit/xunit.runner.msbuild.dll
Binary file not shown
View
BIN  Tools/xUnit/xunit.runner.tdnet.dll
Binary file not shown
View
BIN  Tools/xUnit/xunit.runner.utility.dll
Binary file not shown
View
189 Tools/xUnit/xunit.runner.utility.xml
@@ -103,6 +103,11 @@
Gets the version of xunit.dll used by the test assembly.
</summary>
</member>
+ <member name="M:Xunit.ExecutorWrapper.#cctor">
+ <summary>
+ Initializes the <see cref="T:Xunit.ExecutorWrapper"/> class.
+ </summary>
+ </member>
<member name="M:Xunit.ExecutorWrapper.#ctor(System.String,System.String,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Xunit.ExecutorWrapper"/> class.
@@ -143,10 +148,108 @@
<member name="P:Xunit.ExecutorWrapper.XunitVersion">
<inheritdoc/>
</member>
- <member name="M:Xunit.ExecutorWrapper.CallbackHandler`1.InitializeLifetimeService">
+ <member name="T:Xunit.ExecutorWrapper.IntCallbackHandler">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandler.InitializeLifetimeService">
+ <summary/>
+ </member>
+ <member name="P:Xunit.ExecutorWrapper.IntCallbackHandler.Result">
+ <summary/>
+ </member>
+ <member name="T:Xunit.ExecutorWrapper.IntCallbackHandlerWithIMessageSink">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessageSink)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)">
+ <summary/>
+ </member>
+ <member name="P:Xunit.ExecutorWrapper.IntCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#NextSink">
+ <summary/>
+ </member>
+ <member name="T:Xunit.ExecutorWrapper.IntCallbackHandlerWithICallbackEventHandler">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandlerWithICallbackEventHandler.GetCallbackResult">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandlerWithICallbackEventHandler.RaiseCallbackEvent(System.String)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.IntCallbackHandlerWithICallbackEventHandler.InitializeLifetimeService">
+ <summary/>
+ </member>
+ <member name="T:Xunit.ExecutorWrapper.XmlNodeCallbackHandler">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="F:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.callback">
+ <summary/>
+ </member>
+ <member name="F:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.lastNodeName">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.#ctor(System.Predicate{System.Xml.XmlNode},System.String)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.InitializeLifetimeService">
+ <summary/>
+ </member>
+ <member name="P:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.LastNode">
+ <summary/>
+ </member>
+ <member name="P:Xunit.ExecutorWrapper.XmlNodeCallbackHandler.LastNodeArrived">
+ <summary/>
+ </member>
+ <member name="T:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink.#ctor(System.Predicate{System.Xml.XmlNode},System.String)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessageSink)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)">
+ <summary/>
+ </member>
+ <member name="P:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithIMessageSink.System#Runtime#Remoting#Messaging#IMessageSink#NextSink">
<summary/>
</member>
- <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackWrapper.InitializeLifetimeService">
+ <member name="T:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithICallbackEventHandler">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithICallbackEventHandler.#ctor(System.Predicate{System.Xml.XmlNode},System.String)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithICallbackEventHandler.RaiseCallbackEvent(System.String)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.XmlNodeCallbackHandlerWithICallbackEventHandler.GetCallbackResult">
+ <summary/>
+ </member>
+ <member name="T:Xunit.ExecutorWrapper.OutgoingMessage">
+ <summary>
+ THIS CLASS IS FOR INTERNAL USE ONLY.
+ </summary>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.OutgoingMessage.#ctor(System.Object)">
+ <summary/>
+ </member>
+ <member name="M:Xunit.ExecutorWrapper.OutgoingMessage.InitializeLifetimeService">
<summary/>
</member>
<member name="T:Xunit.ITestMethodRunnerCallback">
@@ -562,15 +665,33 @@
Initializes a new instance of the <see cref="T:Xunit.XunitProject"/> class.
</summary>
</member>
+ <member name="M:Xunit.XunitProject.AddAssembly(Xunit.XunitProjectAssembly)">
+ <summary>
+ Adds an assembly to the project
+ </summary>
+ <param name="assembly">The assembly to be added</param>
+ </member>
<member name="M:Xunit.XunitProject.Load(System.String)">
<summary>
Loads an xUnit.net Test Project file from disk.
</summary>
<param name="filename">The test project filename</param>
</member>
- <member name="M:Xunit.XunitProject.Save(System.String)">
+ <member name="M:Xunit.XunitProject.RemoveAssembly(Xunit.XunitProjectAssembly)">
+ <summary>
+ Removes assembly from the assembly list
+ </summary>
+ <param name="assembly">The assembly to be removed</param>
+ </member>
+ <member name="M:Xunit.XunitProject.Save">
<summary>
- Saves the xUnit.net Test Project file to disk.
+ Saves the xUnit.net Test Project file to disk using the project's filename.
+ </summary>
+ </member>
+ <member name="M:Xunit.XunitProject.SaveAs(System.String)">
+ <summary>
+ Saves the xUnit.net Test Project file to disk using the provided filename.
+ The projects filename is updated to match this new name.
</summary>
<param name="filename">The test project filename</param>
</member>
@@ -579,6 +700,17 @@
Gets or sets the assemblies in the project.
</summary>
</member>
+ <member name="P:Xunit.XunitProject.Filename">
+ <summary>
+ Gets or set the filename of the project.
+ </summary>
+ </member>
+ <member name="P:Xunit.XunitProject.IsDirty">
+ <summary>
+ Gets or sets a flag which indicates if this project has been modified since
+ the last time it was loaded or saved.
+ </summary>
+ </member>
<member name="T:Xunit.XunitProjectAssembly">
<summary>
Represents an assembly in an <see cref="T:Xunit.XunitProject"/>.
@@ -821,16 +953,11 @@
</summary>
<param name="xml">The assembly XML.</param>
</member>
- <member name="P:Xunit.IResultXmlTransform.Filename">
+ <member name="P:Xunit.IResultXmlTransform.OutputFilename">
<summary>
Gets the output filename, if known; returns null if the output isn't done to file.
</summary>
</member>
- <member name="P:Xunit.IResultXmlTransform.OutputType">
- <summary>
- Gets the type of the output.
- </summary>
- </member>
<member name="T:Xunit.TestRunner">
<summary>
Runs tests in an assembly, and transforms the XML results into calls to
@@ -874,10 +1001,7 @@
<member name="M:Xunit.NullTransformer.Transform(System.String)">
<inheritdoc/>
</member>
- <member name="P:Xunit.NullTransformer.Filename">
- <inheritdoc/>
- </member>
- <member name="P:Xunit.NullTransformer.OutputType">
+ <member name="P:Xunit.NullTransformer.OutputFilename">
<inheritdoc/>
</member>
<member name="T:Xunit.XslStreamTransformer">
@@ -886,22 +1010,35 @@
XML to a file after applying the XSL stylesheet in the given stream.
</summary>
</member>
- <member name="M:Xunit.XslStreamTransformer.#ctor(System.IO.Stream,System.String,System.String)">
+ <member name="M:Xunit.XslStreamTransformer.#ctor(System.String,System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Xunit.XslStreamTransformer"/> class.
+ </summary>
+ <param name="xslFilename">The XSL filename.</param>
+ <param name="outputFilename">The output filename.</param>
+ </member>
+ <member name="M:Xunit.XslStreamTransformer.#ctor(System.IO.Stream,System.String)">
<summary>
Initializes a new instance of the <see cref="T:Xunit.XslStreamTransformer"/> class.
</summary>
<param name="xslStream">The stream with the XSL stylesheet.</param>
- <param name="filename">The output filename.</param>
- <param name="outputType">The output type.</param>
+ <param name="outputFilename">The output filename.</param>
</member>
<member name="M:Xunit.XslStreamTransformer.Transform(System.String)">
<inheritdoc/>
</member>
- <member name="P:Xunit.XslStreamTransformer.Filename">
+ <member name="P:Xunit.XslStreamTransformer.OutputFilename">
<inheritdoc/>
</member>
- <member name="P:Xunit.XslStreamTransformer.OutputType">
- <inheritdoc/>
+ <member name="P:Xunit.XslStreamTransformer.XslFilename">
+ <summary>
+ Gets or sets the XSL filename.
+ </summary>
+ </member>
+ <member name="P:Xunit.XslStreamTransformer.XslStream">
+ <summary>
+ Gets or sets the XSL stream.
+ </summary>
</member>
<member name="T:Xunit.MultiValueDictionary`2">
<summary>
@@ -966,18 +1103,6 @@
<member name="T:Xunit.MultiValueDictionary`2.ForEachDelegate">
<summary/>
</member>
- <member name="T:Xunit.StackFrameTransformer">
- <summary>
- Transforms stack frames and stack traces into compiler-like output
- so they can be double-clicked in Visual Studio.
- </summary>
- </member>
- <member name="M:Xunit.StackFrameTransformer.TransformFrame(System.String)">
- <summary/>
- </member>
- <member name="M:Xunit.StackFrameTransformer.TransformStack(System.String)">
- <summary/>
- </member>
<member name="T:Xunit.TestAssemblyBuilder">
<summary>
Responsible for building <see cref="T:Xunit.TestAssembly"/> instances. Uses an instance
View
333 Tools/xUnit/xunit.xml
@@ -24,6 +24,26 @@
<param name="collection">The collection to be inspected</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``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
+ <summary>
+ Verifies that a collection contains a given object, using an equality 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.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.
@@ -60,6 +80,26 @@
<param name="collection">The collection to be inspected</param>
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
</member>
+ <member name="M:Xunit.Assert.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
+ <summary>
+ Verifies that a collection does not contain a given object, using an equality 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.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.
@@ -110,6 +150,26 @@
<param name="actual">The value to be compared against</param>
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
</member>
+ <member name="M:Xunit.Assert.Equal``1(``0,``0,System.Collections.Generic.IEqualityComparer{``0})">
+ <summary>
+ Verifies that two objects are equal, using a custom equatable comparer.
+ </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>
+ </member>
+ <member name="M:Xunit.Assert.Equal(System.String,System.String,System.StringComparer)">
+ <summary>
+ Verifies that two strings are equal, using the given string comparer.
+ </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>
+ </member>
<member name="M:Xunit.Assert.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
<summary>
Verifies that two objects are equal, using a custom comparer.
@@ -226,6 +286,26 @@
<param name="actual">The actual object</param>
<exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
</member>
+ <member name="M:Xunit.Assert.NotEqual``1(``0,``0,System.Collections.Generic.IEqualityComparer{``0})">
+ <summary>
+ Verifies that two objects are not equal, using a custom equality 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.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.
@@ -287,42 +367,54 @@
<param name="actual">The actual object instance</param>
<exception cref="T:Xunit.Sdk.SameException">Thrown when the objects are not the same instance</exception>
</member>
- <member name="M:Xunit.Assert.Throws``1(Xunit.Assert.ThrowsDelegate)">
+ <member name="M:Xunit.Assert.Single(System.Collections.IEnumerable)">
<summary>
- Verifies that the exact exception is thrown (and not a derived exception type).
+ Verifies that the given collection contains only a single
+ element of the given type.
</summary>
- <typeparam name="T">The type of the exception expected to be thrown</typeparam>
- <param name="testCode">A delegate to the code to be tested</param>
- <returns>The exception that was thrown, when successful</returns>
- <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
+ <param name="collection">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.Throws``1(System.String,Xunit.Assert.ThrowsDelegate)">
+ <member name="M:Xunit.Assert.Single``1(System.Collections.Generic.IEnumerable{``0})">
<summary>
- Verifies that the exact exception is thrown (and not a derived exception type).
+ Verifies that the given collection contains only a single
+ element of the given type.
</summary>
- <typeparam name="T">The type of the exception expected to be thrown</typeparam>
- <param name="userMessage">The message to be shown if the test fails</param>
- <param name="testCode">A delegate to the code to be tested</param>
- <returns>The exception that was thrown, when successful</returns>
- <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
+ <typeparam name="T">The collection type.</typeparam>
+ <param name="collection">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.Throws``1(Xunit.Assert.ThrowsDelegateWithReturn)">
+ <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.
+ </summary>
+ <typeparam name="T">The collection type.</typeparam>
+ <param name="collection">The collection.</param>
+ <param name="predicate">The item matching predicate.</param>
+ <returns>The single item in the filtered collection.</returns>
+ <exception cref="T:Xunit.Sdk.SingleException">Thrown when the filtered collection does
+ not contain exactly one element.</exception>
+ </member>
+ <member name="M:Xunit.Assert.Throws``1(Xunit.Assert.ThrowsDelegate)">
<summary>
Verifies that the exact exception is thrown (and not a derived exception type).
- Generally used to test property accessors.
</summary>
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
<param name="testCode">A delegate to the code to be tested</param>
<returns>The exception that was thrown, when successful</returns>
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
</member>
- <member name="M:Xunit.Assert.Throws``1(System.String,Xunit.Assert.ThrowsDelegateWithReturn)">
+ <member name="M:Xunit.Assert.Throws``1(Xunit.Assert.ThrowsDelegateWithReturn)">
<summary>
Verifies that the exact exception is thrown (and not a derived exception type).
Generally used to test property accessors.
</summary>
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
- <param name="userMessage">The message to be shown if the test fails</param>
<param name="testCode">A delegate to the code to be tested</param>
<returns>The exception that was thrown, when successful</returns>
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
@@ -371,10 +463,15 @@
Used by the Throws and DoesNotThrow methods.
</summary>
</member>
- <member name="T:Xunit.Sdk.OutputCaptureCommand">
+ <member name="T:Xunit.Sdk.ExceptionAndOutputCaptureCommand">
<summary>
- Captures standard output and standard error, and inserts the values into the
- <see cref="T:Xunit.Sdk.MethodResult"/> as it traverses the chain.
+ This command sets up the necessary trace listeners and standard
+ output/error listeners to capture Assert/Debug.Trace failures,
+ output to stdout/stderr, and Assert/Debug.Write text. It also
+ captures any exceptions that are thrown and packages them as
+ FailedResults, including the possibility that the configuration
+ file is messed up (which is exposed when we attempt to manipulate
+ the trace listener list).
</summary>
</member>
<member name="T:Xunit.Sdk.DelegatingTestCommand">
@@ -413,6 +510,14 @@
test class before running the test.
</summary>
</member>
+ <member name="P:Xunit.Sdk.ITestCommand.Timeout">
+ <summary>
+ Determines if the test should be limited to running a specific amount of time
+ before automatically failing.
+ </summary>
+ <returns>The timeout value, in milliseconds; if zero, the test will not have
+ a timeout.</returns>
+ </member>
<member name="M:Xunit.Sdk.DelegatingTestCommand.#ctor(Xunit.Sdk.ITestCommand)">
<summary>
Creates a new instance of the <see cref="T:Xunit.Sdk.DelegatingTestCommand"/> class.
@@ -434,13 +539,76 @@
<member name="P:Xunit.Sdk.DelegatingTestCommand.ShouldCreateInstance">
<inheritdoc/>
</member>
- <member name="M:Xunit.Sdk.OutputCaptureCommand.#ctor(Xunit.Sdk.ITestCommand)">
+ <member name="P:Xunit.Sdk.DelegatingTestCommand.Timeout">
+ <inheritdoc/>
+ </member>
+ <member name="M:Xunit.Sdk.ExceptionAndOutputCaptureCommand.#ctor(Xunit.Sdk.ITestCommand,Xunit.Sdk.IMethodInfo)">
<summary>
- Initializes a new instance of the <see cref="T:Xunit.Sdk.OutputCaptureCommand"/> class.
+ Initializes a new instance of the <see cref="T:Xunit.Sdk.ExceptionAndOutputCaptureCommand"/>
+ class.
</summary>
- <param name="innerCommand">The inner command</param>
+ <param name="innerCommand">The command that will be wrapped.</param>
+ <param name="method">The test method.</param>
+ </member>
+ <member name="M:Xunit.Sdk.ExceptionAndOutputCaptureCommand.Execute(System.Object)">
+ <inheritdoc/>
+ </member>
+ <member name="T:Xunit.Sdk.FactCommand">
+ <summary>
+ Represents an implementation of <see cref="T:Xunit.Sdk.ITestCommand"/> to be used with
+ tests which are decorated with the <see cref="T:Xunit.FactAttribute"/>.
+ </summary>
+ </member>
+ <member name="T:Xunit.Sdk.TestCommand">
+ <summary>
+ Represents an xUnit.net test command.
+ </summary>
+ </member>
+ <member name="F:Xunit.Sdk.TestCommand.testMethod">
+ <summary>
+ The method under test.
+ </summary>
+ </member>
+ <member name="M:Xunit.Sdk.TestCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String,System.Int32)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Xunit.Sdk.TestCommand"/> class.
+ </summary>
+ <param name="method">The method under test.</param>
+ <param name="displayName">The display name of the test.</param>
+ <param name="timeout">The timeout, in milliseconds.</param>
+ </member>
+ <member name="M:Xunit.Sdk.TestCommand.Execute(System.Object)">
+ <inheritdoc/>
+ </member>
+ <member name="M:Xunit.Sdk.TestCommand.ToStartXml">
+ <inheritdoc/>
</member>
- <member name="M:Xunit.Sdk.OutputCaptureCommand.Execute(System.Object)">
+ <member name="P:Xunit.Sdk.TestCommand.DisplayName">
+ <inheritdoc/>
+ </member>
+ <member name="P:Xunit.Sdk.TestCommand.MethodName">
+ <summary>
+ Gets the name of the method under test.
+ </summary>
+ </member>
+ <member name="P:Xunit.Sdk.TestCommand.ShouldCreateInstance">
+ <inheritdoc/>
+ </member>
+ <member name="P:Xunit.Sdk.TestCommand.Timeout">
+ <inheritdoc/>
+ </member>
+ <member name="P:Xunit.Sdk.TestCommand.TypeName">
+ <summary>
+ Gets the name of the type under test.
+ </summary>
+ </member>
+ <member name="M:Xunit.Sdk.FactCommand.#ctor(Xunit.Sdk.IMethodInfo)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Xunit.Sdk.FactCommand"/> class.
+ </summary>
+ <param name="method">The test method.</param>
+ </member>
+ <member name="M:Xunit.Sdk.FactCommand.Execute(System.Object)">
<inheritdoc/>
</member>
<member name="T:Xunit.Sdk.AssertActualExpectedException">
@@ -553,6 +721,17 @@
<member name="M:Xunit.Sdk.ParamterCountMismatchException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary/>
</member>
+ <member name="T:Xunit.Sdk.SingleException">
+ <summary>
+ Exception thrown when the collection did not contain exactly one element.
+ </summary>
+ </member>
+ <member name="M:Xunit.Sdk.SingleException.#ctor(System.Int32)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Xunit.Sdk.SingleException"/> class.
+ </summary>
+ <param name="count">The numbers of items in the collection.</param>
+ </member>
<member name="T:Xunit.Sdk.Executor">
<summary>
Internal class used for version-resilient test runners. DO NOT CALL DIRECTLY.
@@ -705,24 +884,29 @@
<param name="testClass">The instance of the test class</param>
<returns>Returns information about the test run</returns>
</member>
- <member name="T:Xunit.Sdk.ExceptionWrapperCommand">
+ <member name="T:Xunit.Sdk.ExecutorCallback">
<summary>
- Wraps any exceptions thrown by the command execution.
+ This class supports the xUnit.net infrastructure and is not intended to be used
+ directly from your code.
</summary>
</member>
- <member name="M:Xunit.Sdk.ExceptionWrapperCommand.#ctor(Xunit.Sdk.ITestCommand,Xunit.Sdk.IMethodInfo)">
+ <member name="M:Xunit.Sdk.ExecutorCallback.Wrap(System.Object)">
<summary>
- Initializes a new instance of the <see cref="T:Xunit.Sdk.ExceptionWrapperCommand"/> class.
+ This API supports the xUnit.net infrastructure and is not intended to be used
+ directly from your code.
</summary>
- <param name="innerCommand">The inner command.</param>
- <param name="method">The method.</param>
</member>
- <member name="M:Xunit.Sdk.ExceptionWrapperCommand.Execute(System.Object)">
+ <member name="M:Xunit.Sdk.ExecutorCallback.Notify(System.String)">
<summary>
- Executes the test method.
+ This API supports the xUnit.net infrastructure and is not intended to be used
+ directly from your code.
+ </summary>
+ </member>
+ <member name="M:Xunit.Sdk.ExecutorCallback.ShouldContinue">
+ <summary>
+ This API supports the xUnit.net infrastructure and is not intended to be used
+ directly from your code.
</summary>
- <param name="testClass">The instance of the test class</param>
- <returns>Returns information about the test run</returns>
</member>
<member name="T:Xunit.Sdk.Guard">
<summary>
@@ -1106,6 +1290,9 @@
</summary>
<param name="methodUnderTest">The method under test</param>
</member>
+ <member name="P:Xunit.BeforeAfterTestAttribute.TypeId">
+ <inheritdoc/>
+ </member>
<member name="T:Xunit.Sdk.NotEmptyException">
<summary>
Exception thrown when a collection is unexpectedly empty.
@@ -1179,25 +1366,6 @@
<param name="testClass">The instance of the test class</param>
<returns>Returns information about the test run</returns>
</member>
- <member name="T:Xunit.Sdk.TraceAssertCommand">
- <summary>
- A command wrapper which catches Trace.Assert and Debug.Assert failures and turns
- them into assertion exceptions.
- </summary>
- </member>
- <member name="M:Xunit.Sdk.TraceAssertCommand.#ctor(Xunit.Sdk.ITestCommand)">
- <summary>
- Creates a new instance of the <see cref="T:Xunit.Sdk.TraceAssertCommand"/> class.
- </summary>
- <param name="innerCommand">The command that will be wrapped.</param>
- </member>
- <member name="M:Xunit.Sdk.TraceAssertCommand.Execute(System.Object)">
- <summary>
- Executes the test method.
- </summary>
- <param name="testClass">The instance of the test class</param>
- <returns>Returns information about the test run</returns>
- </member>
<member name="T:Xunit.Sdk.FixtureCommand">
<summary>
Command used to wrap a <see cref="T:Xunit.Sdk.ITestCommand"/> which has associated
@@ -1265,6 +1433,9 @@
Gets the trait name.
</summary>
</member>
+ <member name="P:Xunit.TraitAttribute.TypeId">
+ <inheritdoc/>
+ </member>
<member name="P:Xunit.TraitAttribute.Value">
<summary>
Gets the trait value.
@@ -1442,51 +1613,6 @@
Implementation of <see cref="T:Xunit.Sdk.ITestCommand"/> that represents a skipped test.
</summary>
</member>
- <member name="T:Xunit.Sdk.TestCommand">
- <summary>
- Represents an xUnit.net test command.
- </summary>
- </member>
- <member name="F:Xunit.Sdk.TestCommand.testMethod">
- <summary>
- The method under test.
- </summary>
- </member>
- <member name="M:Xunit.Sdk.TestCommand.#ctor(Xunit.Sdk.IMethodInfo)">
- <summary>
- Initializes a new instance of the <see cref="T:Xunit.Sdk.TestCommand"/> class.
- </summary>
- <param name="method">The method under test.</param>
- </member>
- <member name="M:Xunit.Sdk.TestCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:Xunit.Sdk.TestCommand"/> class.
- </summary>
- <param name="method">The method under test.</param>
- <param name="displayName">The display name of the test.</param>
- </member>
- <member name="M:Xunit.Sdk.TestCommand.Execute(System.Object)">
- <inheritdoc/>
- </member>
- <member name="M:Xunit.Sdk.TestCommand.ToStartXml">
- <inheritdoc/>
- </member>
- <member name="P:Xunit.Sdk.TestCommand.DisplayName">
- <inheritdoc/>
- </member>
- <member name="P:Xunit.Sdk.TestCommand.MethodName">
- <summary>
- Gets the name of the method under test.
- </summary>
- </member>
- <member name="P:Xunit.Sdk.TestCommand.TypeName">
- <summary>
- Gets the name of the type under test.
- </summary>
- </member>
- <member name="P:Xunit.Sdk.TestCommand.ShouldCreateInstance">
- <inheritdoc/>
- </member>
<member name="M:Xunit.Sdk.SkipCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String,System.String)">
<summary>
Creates a new instance of the <see cref="T:Xunit.Sdk.SkipCommand"/> class.
@@ -1560,9 +1686,7 @@
<returns>Returns information about the test run</returns>
</member>
<member name="P:Xunit.Sdk.TimeoutCommand.Timeout">
- <summary>
- Gets the timeout value, in milliseconds.
- </summary>
+ <inheritdoc/>
</member>
<member name="T:Xunit.RunWithAttribute">
<summary>
@@ -2060,6 +2184,13 @@
Utility class which inspects methods for test information
</summary>
</member>
+ <member name="M:Xunit.Sdk.MethodUtility.GetDisplayName(Xunit.Sdk.IMethodInfo)">
+ <summary>
+ Gets the display name.
+ </summary>
+ <param name="method">The method to be inspected</param>
+ <returns>The display name</returns>
+ </member>
<member name="M:Xunit.Sdk.MethodUtility.GetSkipReason(Xunit.Sdk.IMethodInfo)">
<summary>
Gets the skip reason from a test method.
View
12 default.ps1
@@ -64,9 +64,17 @@ task Compile -depends Init {
}
task Test -depends Compile {
+ $test_runner = "$tools_dir\xUnit\"
$old = pwd
cd $build_dir
- & $tools_dir\xUnit\xunit.console.exe "$build_dir\Rhino.ServiceBus.Tests.dll"
+ if($target_framework_version -eq '4.0')
+ {
+ & $tools_dir\xUnit\xunit.console.clr4.exe "$build_dir\Rhino.ServiceBus.Tests.dll"
+ }
+ else
+ {
+ & $tools_dir\xUnit\xunit.console.exe "$build_dir\Rhino.ServiceBus.Tests.dll"
+ }
cd $old
}
@@ -100,4 +108,4 @@ task Release -depends Test{
if ($lastExitCode -ne 0) {
throw "Error: Failed to execute ZIP command"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.