Show / Hide Table of Contents

Class TestFailed

Default implementation of .

Inheritance
Object
LongLivedMarshalByRefObject
TestAssemblyMessage
TestCollectionMessage
TestClassMessage
TestMethodMessage
TestCaseMessage
TestMessage
TestResultMessage
TestFailed
Implements
ITestAssemblyMessage
IExecutionMessage
ITestCollectionMessage
ITestClassMessage
ITestMethodMessage
ITestCaseMessage
ITestMessage
ITestResultMessage
ITestFailed
Inherited Members
TestResultMessage.ExecutionTime
TestResultMessage.Output
TestMessage.Test
TestCaseMessage.TestCase
TestMethodMessage.TestMethod
TestClassMessage.TestClass
TestCollectionMessage.TestCollection
TestAssemblyMessage.TestAssembly
TestAssemblyMessage.TestCases
LongLivedMarshalByRefObject.DisconnectAll()
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Xunit
Assembly: xunit.runner.utility.dll
Syntax
public class TestFailed : TestResultMessage, ITestAssemblyMessage, IExecutionMessage, ITestCollectionMessage, ITestClassMessage, ITestMethodMessage, ITestCaseMessage, ITestMessage, ITestResultMessage, ITestFailed

Constructors

| Improve this Doc View Source

TestFailed(ITest, Decimal, String, Exception)

Initializes a new instance of the TestFailed class.

Declaration
public TestFailed(ITest test, decimal executionTime, string output, Exception ex)
Parameters
Type Name Description
ITest test
Decimal executionTime
String output
Exception ex
| Improve this Doc View Source

TestFailed(ITest, Decimal, String, String[], String[], String[], Int32[])

Initializes a new instance of the TestFailed class.

Declaration
public TestFailed(ITest test, decimal executionTime, string output, string[] exceptionTypes, string[] messages, string[] stackTraces, int[] exceptionParentIndices)
Parameters
Type Name Description
ITest test
Decimal executionTime
String output
String[] exceptionTypes
String[] messages
String[] stackTraces
Int32[] exceptionParentIndices

Properties

| Improve this Doc View Source

ExceptionParentIndices

Declaration
public int[] ExceptionParentIndices { get; }
Property Value
Type Description
Int32[]
| Improve this Doc View Source

ExceptionTypes

Declaration
public string[] ExceptionTypes { get; }
Property Value
Type Description
String[]
| Improve this Doc View Source

Messages

Declaration
public string[] Messages { get; }
Property Value
Type Description
String[]
| Improve this Doc View Source

StackTraces

Declaration
public string[] StackTraces { get; }
Property Value
Type Description
String[]

Implements

ITestAssemblyMessage
IExecutionMessage
ITestCollectionMessage
ITestClassMessage
ITestMethodMessage
ITestCaseMessage
ITestMessage
ITestResultMessage
ITestFailed
  • Improve this Doc
  • View Source
Back to top Generated by DocFX