|
object | ActualValue [get, private set] |
| The actual value that was passed to the Constraint.ApplyTo{TActual}(TActual) method. More...
|
|
ConstraintStatus | Status [get, set] |
| Gets and sets the ResultStatus for this result. More...
|
|
virtual bool | IsSuccess [get] |
| True if actual value meets the Constraint criteria otherwise false. More...
|
|
string | Name [get, private set] |
| Display friendly name of the constraint. More...
|
|
string | Description [get, private set] |
| Description of the constraint may be affected by the state the constraint had when Constraint.ApplyTo{TActual}(TActual) was performed against the actual value. More...
|
|
NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult.ThrowsExceptionConstraintResult |
( |
ThrowsExceptionConstraint |
constraint, |
|
|
Exception |
caughtException |
|
) |
| |
|
inline |
override void NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult.WriteActualValueTo |
( |
MessageWriter |
writer | ) |
|
|
inlinevirtual |
Write the actual value for a failing constraint test to a MessageWriter. The default implementation simply writes the raw value of actual, leaving it to the writer to perform any formatting.
- Parameters
-
writer | The writer on which the actual value is displayed |
Reimplemented from NUnit.Framework.Constraints.ConstraintResult.
The documentation for this class was generated from the following file: