Indicates that the value of the XML elements 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 IgnoreElementsValueCase { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property IgnoreElementsValueCase As CustomXmlOptions |
Examples
[Test] public void MyXmlTest() { string expected = "<Animal>Peary Caribou</Animal>" string actual = "<Animal>PEaRY CaRiboU</Animal>" Assert.Xml.AreEqual(expected, actual, XmlOptions.Custom.IgnoreElementsValueCase); // Pass! }
