Exemple #1
0
 public static void Save(this ModelDescriptor model, string path)
 {
     XmlWriterUtils.ToXmlFile(path, writer => model.ToXml(writer), true);
 }
Exemple #2
0
        public static void AssertContent(this TestCase testCase, XmlDocument actual, string resultName, bool rebaseline)
        {
            var actualContent = XmlWriterUtils.ToXmlString(writer => actual.WriteTo(writer));

            testCase.AssertContent(actualContent, resultName, rebaseline);
        }