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.AndConstraint.AndConstraintResult Class Reference
+ Inheritance diagram for NUnit.Framework.Constraints.AndConstraint.AndConstraintResult:
+ Collaboration diagram for NUnit.Framework.Constraints.AndConstraint.AndConstraintResult:

Public Member Functions

 AndConstraintResult (AndConstraint constraint, object actual, ConstraintResult leftResult, ConstraintResult rightResult)
 
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...
 

Private Attributes

ConstraintResult leftResult
 
ConstraintResult rightResult
 

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.AndConstraint.AndConstraintResult.AndConstraintResult ( AndConstraint  constraint,
object  actual,
ConstraintResult  leftResult,
ConstraintResult  rightResult 
)
inline

Member Function Documentation

override void NUnit.Framework.Constraints.AndConstraint.AndConstraintResult.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.

References NUnit.Framework.Constraints.ConstraintResult.IsSuccess, and NUnit.Framework.Constraints.ConstraintResult.WriteActualValueTo().

Member Data Documentation

ConstraintResult NUnit.Framework.Constraints.AndConstraint.AndConstraintResult.leftResult
private
ConstraintResult NUnit.Framework.Constraints.AndConstraint.AndConstraintResult.rightResult
private

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