Beispiel #1
0
        public void SerializeType_Version_PublicKey()
        {
            // Act
            var result = ABSaveSerializer.SerializeType(typeof(PublicKeyAndVersionClass));

            // Assert
            Assert.AreEqual("ABSoftware.ABSave.Tests.PKeyAndVersionAssembly.PublicKeyAndVersionClass,ABSoftware.ABSave.Tests.PKeyAndVersionAssembly,\u0009\0\0\0.\u0005\0\0\0.\u0003\0\0\0.\u0007\0\0\0,,R\tG4 \u0083;¬", result);
        }
Beispiel #2
0
        public void SerializeType_NoVersion_PublicKey()
        {
            // Act
            var result = ABSaveSerializer.SerializeType(typeof(ABSaveSerializer));

            // Assert
            Assert.AreEqual("ABSoftware.ABSave.Serialization.ABSaveSerializer,ABSoftware.ABSave,,,õ=\u009b\u0006~ò®\u0098", result);
        }
Beispiel #3
0
        public void SerializeType_Version_NoPublicKey()
        {
            // Act
            var result = ABSaveSerializer.SerializeType(typeof(VersionClass));

            // Assert
            Assert.AreEqual("ABSoftware.ABSave.Tests.VersionAssembly.VersionClass,ABSoftware.ABSave.Tests.VersionAssembly,\u0009\0\0\0.\u0005\0\0\0.\u0003\0\0\0.\u0007\0\0\0", result);
        }
Beispiel #4
0
        public void SerializeType_NoVersion_NoPublicKey()
        {
            // Act
            var result = ABSaveSerializer.SerializeType(typeof(ABSaveSerializerTests));

            // Assert
            Assert.AreEqual("ABSoftware.ABSave.Tests.UnitTests.ABSaveSerializerTests,ABSoftware.ABSave.Tests.UnitTests", result);
        }