xUnit.net
Public Member Functions | Properties | List of all members
Xunit.Sdk.AllException Class Reference

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

Inheritance diagram for Xunit.Sdk.AllException:
Xunit.Sdk.XunitException

Public Member Functions

 AllException (int totalItems, Tuple< int, object, Exception >[] errors)
 Creates a new instance of the AllException class. More...
 
- Public Member Functions inherited from Xunit.Sdk.XunitException
 XunitException ()
 Initializes a new instance of the XunitException class. More...
 
 XunitException (string userMessage)
 Initializes a new instance of the XunitException class. More...
 
override string ToString ()
 

Properties

IReadOnlyList< Exception > Failures [get]
 The errors that occurred during execution of the test. More...
 
override string?? Message [get]
 
- Properties inherited from Xunit.Sdk.XunitException
override string?? StackTrace [get]
 Gets a string representation of the frames on the call stack at the time the current exception was thrown. More...
 
string UserMessage [get, protected set]
 Gets the user message More...
 

Additional Inherited Members

- Protected Member Functions inherited from Xunit.Sdk.XunitException
 XunitException (string userMessage, Exception innerException)
 Initializes a new instance of the XunitException class. More...
 
 XunitException (string userMessage, string stackTrace)
 Initializes a new instance of the XunitException class. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AllException()

Xunit.Sdk.AllException.AllException ( int  totalItems,
Tuple< int, object, Exception > []  errors 
)
inline

Creates a new instance of the AllException class.

Parameters
totalItemsThe total number of items that were in the collection.
errorsThe list of errors that occurred during the test pass.

Property Documentation

◆ Failures

IReadOnlyList<Exception> Xunit.Sdk.AllException.Failures
get

The errors that occurred during execution of the test.


The documentation for this class was generated from the following file: