Example #1
0
        public void ExerciseMiscMethods()
        {
            AssemblyNameExtension a1 = s_producers[0](s_assemblyStrings[0]);

            Version newVersion = new Version(1, 2);

            a1.ReplaceVersion(newVersion);
            Assert.True(a1.Version.Equals(newVersion));

            Assert.NotNull(a1.ToString());
        }
        public void ExerciseMiscMethods()
        {
            AssemblyNameExtension a1 = producers[0](assemblyStrings[0]);

            Assertion.AssertNotNull(a1.GetHashCode());

            Version newVersion = new Version(1, 2);

            a1.ReplaceVersion(newVersion);
            Assertion.Assert(a1.Version.Equals(newVersion));

            Assertion.AssertNotNull(a1.ToString());
        }