NXUnit Framework Class Library

XMLAssert Properties

The properties of the XMLAssert class are listed below. For a complete list of XMLAssert class members, see the XMLAssert Members topic.

Public Instance Properties

Counter How many assertions and comparisions did you do? It just like NUnit.Framwork.Assert.Counter.
Note   ATTN: The value of this property will return to ZERO after you got it. It means the getter method are not repeatable.

Sample:
XMLAssert xa = XMLAssert.CreateInstance();
...
Assert.AreEqual(..., xa.Counter);
Assert.AreEqual(0, xa.Counter);
IsCaseSensitive Will assertions and comparisions care about the case of the elements' names and the attributes' names?
Note    This message is copied from AssertStrategy.IsCaseSensitive
Note   Change the property will change the strategy.
IsCommentSensitive Will assertions and comparisions care about the xml comments?
Note    This message is copied from AssertStrategy.IsCommentSensitive
Note   Change the property will change the strategy.
IsDeclarationSensitive Will assertions and comparisions care about the xml declaration?
Note    This message is copied from AssertStrategy.IsDeclarationSensitive
Note   Change the property will change the strategy.
IsDocTypeSensitive Will assertions and comparisions care about the document type?
Note    This message is copied from AssertStrategy.IsDocTypeSensitive
Note   Change the property will change the strategy.
IsEmptyAttrSensitive Will assertions and comparisions care about the empty attribute?
Note    This message is copied from AssertStrategy.IsEmptyAttrSensitive
Note   Change the property will change the strategy.
IsEmptyElementSensitive Will assertions and comparisions care about the empty element?
Note    This message is copied from AssertStrategy.IsEmptyElementSensitive
Note   Change the property will change the strategy.
IsOrderSensitive Will assertions and comparisions care about the order of the elements and attributes?
Note    This message is copied from AssertStrategy.IsOrderSensitive
Note   Change the property will change the strategy.
IsWhitespaceSensitive Will assertions and comparisions care about the whitespace in xml?
Note    This message is copied from AssertStrategy.IsWhitespaceSensitive
Note   Change the property will change the strategy.
Strategy The strategy of this instance.

See Also

XMLAssert Class | NXUnit.Framework Namespace