C# Class XunitShould.ShouldXml

ファイルを表示 Open project: EddieGarmon/XunitShould

Public Methods

Method Description
ShouldEqual ( this actual, System.Xml.Linq.XAttribute expected ) : void
ShouldEqual ( this actual, System.Xml.Linq.XElement expected ) : void

Shoulds the equal.

ShouldEqual ( this actual, System.Xml.Linq.XName expected ) : void
ShouldEqual ( this actual, string expectedXml ) : void

Shoulds the equal.

ShouldEqual ( this actual, IEnumerable expected ) : void
ShouldEqual ( this actual, IEnumerable expected ) : void

Shoulds the equal.

Private Methods

Method Description
AreEqual ( System.Xml.Linq.XAttribute left, System.Xml.Linq.XAttribute right ) : bool
AreEqual ( System.Xml.Linq.XName left, System.Xml.Linq.XName right ) : bool

Method Details

ShouldEqual() public static method

public static ShouldEqual ( this actual, System.Xml.Linq.XAttribute expected ) : void
actual this
expected System.Xml.Linq.XAttribute
return void

ShouldEqual() public static method

Shoulds the equal.
public static ShouldEqual ( this actual, System.Xml.Linq.XElement expected ) : void
actual this The actual.
expected System.Xml.Linq.XElement The expected.
return void

ShouldEqual() public static method

public static ShouldEqual ( this actual, System.Xml.Linq.XName expected ) : void
actual this
expected System.Xml.Linq.XName
return void

ShouldEqual() public static method

Shoulds the equal.
public static ShouldEqual ( this actual, string expectedXml ) : void
actual this The actual.
expectedXml string The expected XML.
return void

ShouldEqual() public static method

public static ShouldEqual ( this actual, IEnumerable expected ) : void
actual this
expected IEnumerable
return void

ShouldEqual() public static method

Shoulds the equal.
public static ShouldEqual ( this actual, IEnumerable expected ) : void
actual this The actual.
expected IEnumerable The expected.
return void