Class TestMethodCleanupFailure
Default implementation of
Inheritance
TestMethodCleanupFailure
Implements
ITestAssemblyMessage
IExecutionMessage
ITestCollectionMessage
ITestClassMessage
ITestMethodMessage
ITestMethodCleanupFailure
Inherited Members
Namespace: Xunit
Assembly: xunit.runner.utility.dll
Syntax
public class TestMethodCleanupFailure : TestMethodMessage, ITestAssemblyMessage, IExecutionMessage, ITestCollectionMessage, ITestClassMessage, ITestMethodMessage, ITestMethodCleanupFailure
Constructors
| Improve this Doc View SourceTestMethodCleanupFailure(IEnumerable<ITestCase>, ITestMethod, Exception)
Initializes a new instance of the TestClassCleanupFailure class.
Declaration
public TestMethodCleanupFailure(IEnumerable<ITestCase> testCases, ITestMethod testMethod, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ITestCase> | testCases | |
ITestMethod | testMethod | |
Exception | ex |
TestMethodCleanupFailure(IEnumerable<ITestCase>, ITestMethod, String[], String[], String[], Int32[])
Initializes a new instance of the TestClassCleanupFailure class.
Declaration
public TestMethodCleanupFailure(IEnumerable<ITestCase> testCases, ITestMethod testMethod, string[] exceptionTypes, string[] messages, string[] stackTraces, int[] exceptionParentIndices)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ITestCase> | testCases | |
ITestMethod | testMethod | |
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
ITestMethodCleanupFailure