IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult Class Reference
+ Inheritance diagram for NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult:
+ Collaboration diagram for NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult:

Public Member Functions

 ThrowsExceptionConstraintResult (ThrowsExceptionConstraint constraint, Exception caughtException)
 
override void WriteActualValueTo (MessageWriter writer)
 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. More...
 
- Public Member Functions inherited from NUnit.Framework.Constraints.ConstraintResult
 ConstraintResult (IConstraint constraint, object actualValue)
 Constructs a ConstraintResult for a particular Constraint. More...
 
 ConstraintResult (IConstraint constraint, object actualValue, ConstraintStatus status)
 Constructs a ConstraintResult for a particular Constraint. More...
 
 ConstraintResult (IConstraint constraint, object actualValue, bool isSuccess)
 Constructs a ConstraintResult for a particular Constraint. More...
 
virtual void WriteMessageTo (MessageWriter writer)
 Write the failure message to the MessageWriter provided as an argument. The default implementation simply passes the result and the actual value to the writer, which then displays the constraint description and the value. More...
 

Additional Inherited Members

- Properties inherited from NUnit.Framework.Constraints.ConstraintResult
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...
 

Constructor & Destructor Documentation

NUnit.Framework.Constraints.ThrowsExceptionConstraint.ThrowsExceptionConstraintResult.ThrowsExceptionConstraintResult ( ThrowsExceptionConstraint  constraint,
Exception  caughtException 
)
inline

Member Function Documentation

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
writerThe 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: