Indicates that the value 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 IgnoreAttributesValueCase { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property IgnoreAttributesValueCase 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.IgnoreAttributesValueCase); // Pass! }
