xmlunit-core : Org.XmlUnit.Diff Namespace

Diff Class

The Diff-Object is the result of two comparisons.

Syntax

public class Diff

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.9.2.240

Members

See Also: Inherited members from object.

Public Constructors

Creates the result of comparing two documents.
Creates the result of comparing two documents.

Public Properties

[read-only]
ControlSource ISource . The reference source.
[read-only]
Differences IEnumerable<Org.XmlUnit.Diff.Difference> . Documentation for this section has not yet been entered.
[read-only]
TestSource ISource . The test source.

Public Methods

FullDescription () : string
Returns a string representation of this diff using internal IComparisonFormatter or DefaultComparisonFormatter if formatter wasn't set.
FullDescription (Org.XmlUnit.Diff.IComparisonFormatter) : string
Returns a string representation of this diff using the given IComparisonFormatter}
HasDifferences () : bool
Documentation for this section has not yet been entered.
override
ToString () : string
Documentation for this section has not yet been entered.
ToString (Org.XmlUnit.Diff.IComparisonFormatter) : string
Stringify the outcome using the fiven formatter

Extension Methods

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

Member Details

Diff Constructor

Creates the result of comparing two documents.

Syntax

public Diff (Org.XmlUnit.ISource controlSource, Org.XmlUnit.ISource testSource, IEnumerable<Difference> differences)

Parameters

controlSource
the reference document
testSource
the test document
differences
list of differences found

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.9.2.240

Diff Constructor

Creates the result of comparing two documents.

Syntax

public Diff (Org.XmlUnit.ISource controlSource, Org.XmlUnit.ISource testSource, IComparisonFormatter formatter, IEnumerable<Difference> differences)

Parameters

controlSource
the reference document
testSource
the test document
formatter
formatter to use
differences
list of differences found

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.9.2.240

ControlSource Property

The reference source.

Syntax

public Org.XmlUnit.ISource ControlSource { 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.9.2.240

Differences Property

Documentation for this section has not yet been entered.

Syntax

public IEnumerable<Difference> Differences { 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.9.2.240

FullDescription Method

Returns a string representation of this diff using internal IComparisonFormatter or DefaultComparisonFormatter if formatter wasn't set.

Syntax

public string FullDescription ()

Returns

a string representation of this diff

Remarks

Each comparison result separated by the end of the line.

Requirements

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

FullDescription Method

Returns a string representation of this diff using the given IComparisonFormatter}

Syntax

public string FullDescription (IComparisonFormatter formatter)

Parameters

formatter
the formatter to use

Returns

a string representation of this diff

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.9.2.240

HasDifferences Method

Documentation for this section has not yet been entered.

Syntax

public bool HasDifferences ()

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.9.2.240

TestSource Property

The test source.

Syntax

public Org.XmlUnit.ISource TestSource { 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.9.2.240

ToString Method

Documentation for this section has not yet been entered.

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.9.2.240

ToString Method

Stringify the outcome using the fiven formatter

Syntax

public string ToString (IComparisonFormatter formatter)

Parameters

formatter
the formatter to use

Returns

a string representation of the outcome

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.9.2.240