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

Exception thrown when a value is unexpectedly false. More...

Inheritance diagram for Xunit.Sdk.TrueException:
Xunit.Sdk.AssertActualExpectedException Xunit.Sdk.XunitException

Public Member Functions

 TrueException??? (string userMessage, bool? value)
 Creates a new instance of the TrueException class. More...
 
- Public Member Functions inherited from Xunit.Sdk.AssertActualExpectedException
 AssertActualExpectedException (object expected, object actual, string userMessage, string expectedTitle=null, string actualTitle=null)
 Creates a new instance of the class. More...
 
 AssertActualExpectedException (object expected, object actual, string userMessage, string expectedTitle, string actualTitle, Exception innerException)
 Creates a new instance of the 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 ()
 

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...
 
- Properties inherited from Xunit.Sdk.AssertActualExpectedException
string Actual [get]
 Gets the actual value. More...
 
string ActualTitle [get]
 Gets the title used for the actual value. More...
 
string Expected [get]
 Gets the expected value. More...
 
string ExpectedTitle [get]
 Gets the title used for the expected value. More...
 
override string???? Message [get]
 Gets a message that describes the current exception. Includes the expected and actual values. More...
 
- 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...
 

Detailed Description

Exception thrown when a value is unexpectedly false.

Member Function Documentation

◆ TrueException???()

Xunit.Sdk.TrueException.TrueException??? ( string  userMessage,
bool?  value 
)
inline

Creates a new instance of the TrueException class.

Parameters
userMessageThe user message to be displayed, or null for the default message
valueThe actual value

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