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