Indicates that the name of the XML attributes must be compared with case insensitivity.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public CustomXmlOptions IgnoreAttributesNameCase { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property IgnoreAttributesNameCase As CustomXmlOptions |
Examples
[Test] public void MyXmlTest() { string expected = "<Animal name='Peary Caribou'/>" string actual = "<Animal NAME='Peary Caribou'/>" Assert.Xml.AreEqual(expected, actual, XmlOptions.Custom.IgnoreAttributesNameCase); // Pass! }
