The AssertionFailureBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AssertionFailureBuilder | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| AddException | Overloaded. | |
| AddInnerFailure |
Adds a nested assertion failure that contributed to the composite assertion failure
described by this instance.
| |
| AddInnerFailures |
Adds an enumeration of nested assertion failures that contributed to the composite
assertion failure described by this instance.
| |
| AddLabeledValue | Overloaded. | |
| AddRawActualValue |
Adds the raw actual value to be formatted using Formatter.
| |
| AddRawExpectedAndActualValuesWithDiffs |
Adds the raw expected and actual values to be formatted using Formatter
and includes formatting of their differences.
| |
| AddRawExpectedValue |
Adds the raw expected value to be formatted using Formatter.
| |
| AddRawLabeledValue |
Adds a raw labeled value to be formatted using Formatter.
| |
| AddRawLabeledValuesWithDiffs |
Adds two raw labeled values formatted using Formatter and includes
formatting of their differences.
| |
| CreateAssertionFailure |
Creates an assertion failure object.
| |
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| If |
Executes an action on the assertion failure builder if the specified condition is true.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SetMessage | Overloaded. | |
| SetStackTrace |
Sets the stack trace.
| |
| ToAssertionFailure |
Generates an immutable object that describes the failure.
| |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| Formatter |
Gets the formatted used by the builder.
|
