NUnit.Framework.Constraints.MessageWriter Members

The members of NUnit.Framework.Constraints.MessageWriter are listed below.

See Also: Inherited members from System.IO.StringWriter

Protected Constructors

Construct a MessageWriter given a culture

Public Properties

abstract
MaxLineLengthint. Abstract method to get the max line length

Public Methods

abstract
DisplayDifferences(Constraint)
Display Expected and Actual lines for a constraint. This is called by MessageWriter's default implementation of WriteMessageTo and provides the generic two-line display.
abstract
DisplayDifferences(object, object)
Display Expected and Actual lines for given values. This method may be called by constraints that need more control over the display of actual and expected values than is provided by the default implementation.
abstract
DisplayDifferences(object, object, Tolerance)
Display Expected and Actual lines for given values, including a tolerance value on the Expected line.
abstract
DisplayStringDifferences(string, string, int, bool, bool)
Display the expected and actual string values on separate lines. If the mismatch parameter is >=0, an additional line is displayed line containing a caret that points to the mismatch point.
abstract
WriteActualValue(object)
Writes the text for an actual value.
abstract
WriteCollectionElements(ICollection, int, int)
Writes the text for a collection value, starting at a particular point, to a max length
abstract
WriteCollectionElements(IEnumerable, int, int)
Documentation for this section has not yet been entered.
abstract
WriteConnector(string)
Writes the text for a connector.
abstract
WriteExpectedValue(object)
Writes the text for an expected value.
WriteMessageLine(string, params object[])
Method to write single line message with optional args, usually written to precede the general failure message.
abstract
WriteMessageLine(int, string, params object[])
Method to write single line message with optional args, usually written to precede the general failure message, at a givel indentation level.
abstract
WriteModifier(string)
Writes the text for a modifier
abstract
WritePredicate(string)
Writes the text for a predicate.
abstract
WriteValue(object)
Writes the text for a generalized value.