Show / Hide Table of Contents

Class ErrorMessage

Default implementation of .

Inheritance
Object
LongLivedMarshalByRefObject
ErrorMessage
Implements
IErrorMessage
Inherited Members
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 ErrorMessage : LongLivedMarshalByRefObject, IErrorMessage

Constructors

| Improve this Doc View Source

ErrorMessage(IEnumerable<ITestCase>, Exception)

Initializes a new instance of the ErrorMessage class.

Declaration
public ErrorMessage(IEnumerable<ITestCase> testCases, Exception ex)
Parameters
Type Name Description
IEnumerable<ITestCase> testCases
Exception ex
| Improve this Doc View Source

ErrorMessage(IEnumerable<ITestCase>, String[], String[], String[], Int32[])

Initializes a new instance of the ErrorMessage class.

Declaration
public ErrorMessage(IEnumerable<ITestCase> testCases, string[] exceptionTypes, string[] messages, string[] stackTraces, int[] exceptionParentIndices)
Parameters
Type Name Description
IEnumerable<ITestCase> testCases
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[]
| Improve this Doc View Source

TestCases

Declaration
public IEnumerable<ITestCase> TestCases { get; }
Property Value
Type Description
IEnumerable<ITestCase>

Implements

IErrorMessage
  • Improve this Doc
  • View Source
Back to top Generated by DocFX