C# Class IronFramework.TestCommon.XmlAssert

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

Méthodes publiques

Méthode Description
Equal ( System.Xml.Linq.XElement expected, System.Xml.Linq.XElement actual ) : void
Equal ( string expected, string actual ) : void

Private Methods

Méthode 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 méthode

public Equal ( System.Xml.Linq.XElement expected, System.Xml.Linq.XElement actual ) : void
expected System.Xml.Linq.XElement
actual System.Xml.Linq.XElement
Résultat void

Equal() public méthode

public Equal ( string expected, string actual ) : void
expected string
actual string
Résultat void