xmlunit-core : Org.XmlUnit.Diff Namespace

Comparison Class

Details of a single comparison XMLUnit has performed.

Syntax

public class Comparison

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

Members

See Also: Inherited members from object.

Public Constructors

Encapsulates a comparison of two parts of the pieces of XML to compare.

Public Properties

[read-only]
ControlDetails Comparison.Detail . Details of the control target.
[read-only]
TestDetails Comparison.Detail . Details of the test target.
[read-only]
Type ComparisonType . The kind of comparison performed.

Public Methods

override
ToString () : string
Returns a string representation of this comparison using DefaultComparisonFormatter. a string representation of this comparison
ToString (IComparisonFormatter) : string
Returns a string representation of this comparison using the given IComparisonFormatter. the IComparisonFormatter to usea string representation of this comparison

Extension Methods

static
Singleton<T> (this T) : IEnumerable<T>
An enumerable containing a single element.

Member Details

Comparison Constructor

Encapsulates a comparison of two parts of the pieces of XML to compare.

Syntax

public Comparison (ComparisonType t, System.Xml.XmlNode controlTarget, string controlXPath, object controlValue, string controlParentXPath, System.Xml.XmlNode testTarget, string testXPath, object testValue, string testParentXPath)

Parameters

t
the type of comparison
controlTarget
part inside the control document
controlXPath
XPath of the part inside the control document
controlValue
value inside the control document
controlParentXPath
Parent XPath of the part inside the control document
testTarget
part inside the test document
testXPath
XPath of the part inside the test document
testValue
value inside the test document
testParentXPath
Parent XPath of the part inside the test document

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

ControlDetails Property

Details of the control target.

Syntax

public Comparison.Detail ControlDetails { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

TestDetails Property

Details of the test target.

Syntax

public Comparison.Detail TestDetails { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

ToString Method

Returns a string representation of this comparison using DefaultComparisonFormatter. a string representation of this comparison

Syntax

public override string ToString ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

ToString Method

Returns a string representation of this comparison using the given IComparisonFormatter. the IComparisonFormatter to usea string representation of this comparison

Syntax

public string ToString (IComparisonFormatter formatter)

Parameters

formatter
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241

Type Property

The kind of comparison performed.

Syntax

public ComparisonType Type { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.10.0.241