Asserts that two XML fragments have the same content.
Namespace:
MbUnit.FrameworkAssembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public static void AreEqual( string expectedXml, string actualXml ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AreEqual ( _ expectedXml As String, _ actualXml As String _ ) |
Parameters
- expectedXml
- Type: System..::.String
The expected XML fragment.
- actualXml
- Type: System..::.String
The actual XML fragment.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Assertions..::.AssertionException | Thrown if the verification failed unless the current AssertionFailureBehavior indicates otherwise. |
| System..::.ArgumentNullException | Thrown if expectedXml or actualXml is null. |
