Exemplo n.º 1
0
        public override void PerformDeserializationTest(Serializer serializer, Stream target)
        {
            var got = serializer.Deserialize(target);

               var originalRoot = m_List ? (object)m_Data : m_Data[0];
               serializer.AssertPayloadEquality(this, originalRoot, got);
        }
Exemplo n.º 2
0
 public override void PerformDeserializationTest(Serializer serializer, Stream target)
 {
     var deserialized = serializer.Deserialize(target);
     serializer.AssertPayloadEquality(this, m_Data, deserialized);
 }
Exemplo n.º 3
0
 public override void PerformDeserializationTest(Serializer serializer, Stream target)
 {
     foreach(var msg in m_Data)
        {
       var got = serializer.Deserialize(target);
       serializer.AssertPayloadEquality(this, msg, got);
        }
 }