NUnit.Framework.Constraints.MsgUtils: Method Members

The methods of NUnit.Framework.Constraints.MsgUtils are listed below. For a list of all members, see the MsgUtils Members list.

See Also: Inherited members from System.Object

Public Methods

static
ClipExpectedAndActual(ref string, ref string, int, int)
Clip the expected and actual strings in a coordinated fashion, so that they may be displayed together.
static
ClipString(string, int, int) : string
Clip a string to a given length, starting at a particular offset, returning the clipped string with ellipses representing the removed parts
static
EscapeControlChars(string) : string
Converts any control characters in a string to their escaped representation.
static
FindMismatchPosition(string, string, int, bool) : int
Shows the position two strings start to differ. Comparison starts at the start index.
static
GetArrayIndicesAsString(int[]) : string
Return the a string representation for a set of indices into an array
static
GetArrayIndicesFromCollectionIndex(ICollection, int) : int[]
Get an array of indices representing the point in a collection or array corresponding to a single int index into the collection.
static
GetArrayIndicesFromCollectionIndex(IEnumerable, int) : int[]
Documentation for this section has not yet been entered.
static
GetTypeRepresentation(object) : string
Returns the representation of a type as used in NUnitLite. This is the same as Type.ToString() except for arrays, which are displayed with their declared sizes.