Ejemplo n.º 1
0
 public void does_signature_contains_proper_module_name_and_version()
 {
     var moduleManifest =
         XmlSerializerHelper.Deserialize<ModuleManifest>(File.ReadAllBytes(_manifestPath));
     Assert.AreEqual(moduleManifest.ModuleName, "sample_module");
     var expectedVersion = new Version("0.0.0.0");
     Assert.AreEqual(expectedVersion, moduleManifest.ModuleVersion);
 }
Ejemplo n.º 2
0
        public void does_signature_contains_proper_module_name_and_version()
        {
            var moduleManifest =
                XmlSerializerHelper.Deserialize <ModuleManifest>(File.ReadAllBytes(_manifestPath));

            Assert.AreEqual(moduleManifest.ModuleName, "sample_module");
            var expectedVersion = new Version("0.0.0.0");

            Assert.AreEqual(expectedVersion, moduleManifest.ModuleVersion);
        }