Exemple #1
0
        private void ValidateXMLDeserialization(DDValue original, MemoryStream xml)
        {
            xml.Position = 0;
            var deserialyzed = XMLDeserialyze(xml);

            UTestDrDataCommon.WriteMemmoryStreamToXmlFile(xml);
            ValidateDeserialization(original, (DDValue)deserialyzed);
        }
Exemple #2
0
        public static void ValidateXMLDeserialization(DDNode original, MemoryStream xml)
        {
            xml.Position = 0;
            UTestDrDataCommon.WriteMemmoryStreamToXmlFile(xml);
            var deserialized = XMLDeserialize(xml);

            ValidateDeserialization(original, (DDNode)deserialized);
        }
        private void ValidateXMLDeserialization(DDAttributesCollection original, MemoryStream xml)
        {
            xml.Position = 0;
            UTestDrDataCommon.WriteMemmoryStreamToXmlFile(xml);
            var deserialized = XMLDeserialize(xml);

            ValidateDeserialization(original, (DDAttributesCollection)deserialized);
        }