Class TestCleanupFailure
Default implementation of
Inheritance
TestCleanupFailure
Implements
ITestAssemblyMessage
IExecutionMessage
ITestCollectionMessage
ITestClassMessage
ITestMethodMessage
ITestCaseMessage
ITestMessage
ITestCleanupFailure
Inherited Members
Namespace: Xunit
Assembly: xunit.runner.utility.dll
Syntax
public class TestCleanupFailure : TestMessage, ITestAssemblyMessage, IExecutionMessage, ITestCollectionMessage, ITestClassMessage, ITestMethodMessage, ITestCaseMessage, ITestMessage, ITestCleanupFailure
Constructors
| Improve this Doc View SourceTestCleanupFailure(ITest, Exception)
Initializes a new instance of the TestCleanupFailure class.
Declaration
public TestCleanupFailure(ITest test, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
ITest | test | |
Exception | ex |
TestCleanupFailure(ITest, String[], String[], String[], Int32[])
Initializes a new instance of the TestCleanupFailure class.
Declaration
public TestCleanupFailure(ITest test, string[] exceptionTypes, string[] messages, string[] stackTraces, int[] exceptionParentIndices)
Parameters
Type | Name | Description |
---|---|---|
ITest | test | |
String[] | exceptionTypes | |
String[] | messages | |
String[] | stackTraces | |
Int32[] | exceptionParentIndices |
Properties
| Improve this Doc View SourceExceptionParentIndices
Declaration
public int[] ExceptionParentIndices { get; }
Property Value
Type | Description |
---|---|
Int32[] |
ExceptionTypes
Declaration
public string[] ExceptionTypes { get; }
Property Value
Type | Description |
---|---|
String[] |
Messages
Declaration
public string[] Messages { get; }
Property Value
Type | Description |
---|---|
String[] |
StackTraces
Declaration
public string[] StackTraces { get; }
Property Value
Type | Description |
---|---|
String[] |
Implements
ITestAssemblyMessage
IExecutionMessage
ITestCollectionMessage
ITestClassMessage
ITestMethodMessage
ITestCaseMessage
ITestMessage
ITestCleanupFailure