Exemplo n.º 1
0
        public void removes_by_matching_on_just_the_assembly_name()
        {
            theCsProj.FindReferenceNodes().Count().ShouldNotEqual(0);

            theCsProj
            .References
            .ShouldHaveTheSameElementKeysAs(new[]
            {
                "Bottles",
                "FubuCore",
                "FubuLocalization",
                "FubuMVC.Core",
                "FubuMVC.Core.Assets",
                "FubuMVC.Core.UI",
                "FubuMVC.Core.View",
                "FubuMVC.JQueryUI",
                "FubuMVC.Media",
                "FubuMVC.StructureMap",
                "FubuTestingSupport",
                "HtmlTags",
                "Microsoft.CSharp",
                "nunit.framework",
                "nunit.mocks",
                "pnunit.framework",
                "Rhino.Mocks",
                "StructureMap",
                "StructureMap.AutoMocking",
                "System",
                "System.Core",
                "System.Data",
                "System.Data.DataSetExtensions",
                "System.Xml",
                "System.Xml.Linq"
            }, x => x.Name);
        }
Exemplo n.º 2
0
        public void removes_by_matching_on_just_the_assembly_name()
        {
            theCsProj.FindReferenceNodes().Count().ShouldNotEqual(0);

            theCsProj
            .References
            .ShouldHaveTheSameElementKeysAs(new[]
            {
                "FubuCore",
                "Ionic.Zip",
                "System",
                "System.Core",
                "System.Web",
                "System.Xml"
            }, x => x.Name);
        }