C# Class IronFramework.TestCommon.XmlAssert

Assert class that compares two XML strings for equality. Namespaces are ignored during comparison
Mostra file Open project: megadotnet/ironframework

Public Methods

Method Description
Equal ( System.Xml.Linq.XElement expected, System.Xml.Linq.XElement actual ) : void
Equal ( string expected, string actual ) : void

Private Methods

Method Description
Encode ( System.Xml.Linq.XName name ) : string
Normalize ( IEnumerable attributes ) : IEnumerable
Normalize ( IEnumerable elements ) : IEnumerable
Normalize ( System.Xml.Linq.XElement element ) : System.Xml.Linq.XElement

Method Details

Equal() public method

public Equal ( System.Xml.Linq.XElement expected, System.Xml.Linq.XElement actual ) : void
expected System.Xml.Linq.XElement
actual System.Xml.Linq.XElement
return void

Equal() public method

public Equal ( string expected, string actual ) : void
expected string
actual string
return void