コード例 #1
0
            public override void Compare(CodePackage expected, CodePackage actual)
            {
                PackageDescriptionTest.ComparePackageDescriptionInternal(expected.Description, actual.Description);
                EntryPointDescriptionTest.HelperInstance.Compare(expected.Description.EntryPoint, actual.Description.EntryPoint);
                ExecutableEntryPointDescriptionTest.HelperInstance.Compare(expected.Description.SetupEntryPoint, actual.Description.SetupEntryPoint);
                Assert.AreEqual <bool>(expected.Description.IsShared, actual.Description.IsShared);
                Assert.AreEqual <string>(expected.Description.Name, actual.Description.Name);
                Assert.AreEqual <string>(expected.Description.Version, actual.Description.Version);

                Assert.AreEqual <string>(expected.Path, actual.Path);
            }
コード例 #2
0
 public override void Compare(ConfigurationPackage expected, ConfigurationPackage actual)
 {
     PackageDescriptionTest.ComparePackageDescriptionInternal(expected.Description, actual.Description);
     Assert.AreEqual <string>(expected.Path, actual.Path);
     ConfigurationTest.HelperInstance.Compare(expected.Settings, actual.Settings);
 }
コード例 #3
0
 public override void Compare(DataPackage expected, DataPackage actual)
 {
     PackageDescriptionTest.ComparePackageDescriptionInternal(expected.Description, actual.Description);
     Assert.AreEqual <string>(expected.Path, actual.Path);
 }