Example #1
0
 private static void AssertAll(IMutationRecord[] actualRecords, TestMutationRecord expected)
 {
     foreach (var actualRecord in actualRecords)
     {
         Assert.AreEqual(expected.Type, actualRecord.Type);
         Assert.AreEqual(expected.Target, actualRecord.Target);
     }
 }
Example #2
0
 private static void AssertRecord(IMutationRecord actual, TestMutationRecord expected)
 {
     Assert.AreEqual(expected.AttributeName, actual.AttributeName);
     Assert.AreEqual(expected.AttributeNamespace, actual.AttributeNamespace);
     Assert.AreEqual(expected.NextSibling, actual.NextSibling);
     Assert.AreEqual(expected.PreviousSibling, actual.PreviousSibling);
     Assert.AreEqual(expected.PreviousValue, actual.PreviousValue);
     Assert.AreEqual(expected.Type, actual.Type);
     Assert.AreEqual(expected.Target, actual.Target);
 }
Example #3
0
 static void AssertRecord(IMutationRecord actual, TestMutationRecord expected)
 {
     Assert.AreEqual(expected.AttributeName, actual.AttributeName);
     Assert.AreEqual(expected.AttributeNamespace, actual.AttributeNamespace);
     Assert.AreEqual(expected.NextSibling, actual.NextSibling);
     Assert.AreEqual(expected.PreviousSibling, actual.PreviousSibling);
     Assert.AreEqual(expected.PreviousValue, actual.PreviousValue);
     Assert.AreEqual(expected.Type, actual.Type);
     Assert.AreEqual(expected.Target, actual.Target);
 }
Example #4
0
 static void AssertAll(IMutationRecord[] actualRecords, TestMutationRecord expected)
 {
     foreach (var actualRecord in actualRecords)
     {
         Assert.AreEqual(expected.Type, actualRecord.Type);
         Assert.AreEqual(expected.Target, actualRecord.Target);
     }
 }