Show / Hide Table of Contents

Class AllException

Exception thrown when an All assertion has one or more items fail an assertion.

Inheritance
Object
XunitException
AllException
Inherited Members
XunitException.StackTrace
XunitException.UserMessage
XunitException.ToString()
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class AllException : XunitException

Constructors

| Improve this Doc View Source

AllException(Int32, Tuple<Int32, Object, Exception>[])

Creates a new instance of the AllException class.

Declaration
public AllException(int totalItems, Tuple<int, object, Exception>[] errors)
Parameters
Type Name Description
Int32 totalItems

The total number of items that were in the collection.

Tuple<Int32, Object, Exception>[] errors

The list of errors that occurred during the test pass.

Properties

| Improve this Doc View Source

Failures

The errors that occurred during execution of the test.

Declaration
public IReadOnlyList<Exception> Failures { get; }
Property Value
Type Description
IReadOnlyList<Exception>
| Improve this Doc View Source

Message

Declaration
public override string Message { get; }
Property Value
Type Description
String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX