Пример #1
0
        public void importing_a_plan_with_no_overlaps()
        {
            var plan2 = new NugetPlan();

            plan2.AddStep(new UpdateDependency(new Dependency("d3")));
            plan2.AddStep(new UpdateDependency(new Dependency("d4")));

            thePlan.Import(plan2);
            thePlan.ShouldHaveTheSameElementsAs(
                update("d1"),
                update("d2"),
                update("d3"),
                update("d4")
                );
        }
Пример #2
0
 public void verify_plan()
 {
     Debug.WriteLine(thePlan.ToDescriptionText());
     thePlan.ShouldHaveTheSameElementsAs(
         updateSolutionDependency("FubuTestingSupport", "1.2.0.0", UpdateMode.Float)
         );
 }
 public void installs_the_new_package_but_not_the_existing()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("Bottles", "1.1.0.0", UpdateMode.Fixed),
         projectInstallation("Test", "Bottles")
         );
 }
Пример #4
0
 public void verify_plan()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("FubuCore", "1.2.0.0", UpdateMode.Fixed),
         projectInstallation("Test", "FubuCore")
         );
 }
 public void installs_the_new_package_but_does_not_update_the_existing()
 {
     Debug.WriteLine(thePlan.ToDescriptionText());
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("Bottles", "1.1.0.0", UpdateMode.Fixed),
         projectInstallation("Test", "Bottles")
         );
 }
Пример #6
0
 public void installs_the_new_package_and_updates_the_existing()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("Bottles", "1.1.0.0", UpdateMode.Fixed),
         projectInstallation("Test", "Bottles"),
         updateSolutionDependency("FubuCore", "1.3.0.0", UpdateMode.Fixed)
         );
 }
        public void installs_the_project_dependency_and_marks_solution_level_info()
        {
            thePlan.ShouldHaveTheSameElementsAs(

                solutionInstallation("FubuCore", "1.0.0.1", UpdateMode.Fixed),

                projectInstallation("Test", "FubuCore")
                );
        }
        public void installs_the_project_dependency_and_marks_solution_level_info_using_latest_versions()
        {
            thePlan.ShouldHaveTheSameElementsAs(

                solutionInstallation("TopShelf", "1.1.0.0", UpdateMode.Fixed),
                projectInstallation("Test", "TopShelf"),

                solutionInstallation("log4net", "1.0.1.1", UpdateMode.Fixed),
                projectInstallation("Test", "log4net")
                );
        }
        public void installs_the_latest_versions()
        {
            Debug.WriteLine(thePlan.ToDescriptionText());

            thePlan.ShouldHaveTheSameElementsAs(

                solutionInstallation("FubuMVC.Katana", "1.0.0.1", UpdateMode.Float),
                projectInstallation("Test", "FubuMVC.Katana"),

                solutionInstallation("FubuMVC.Core", "1.1.0.2", UpdateMode.Float),
                projectInstallation("Test", "FubuMVC.Core"),

                solutionInstallation("FubuMVC.OwinHost", "1.3.0.0", UpdateMode.Float),
                projectInstallation("Test", "FubuMVC.OwinHost")
                );
        }
        public void verify_plan()
        {
            Debug.WriteLine(thePlan.ToDescriptionText());

            thePlan.ShouldHaveTheSameElementsAs(

                updateSolutionDependency("Serenity", "1.2.0.0", UpdateMode.Float),

                solutionInstallation("Something", "1.0.0.5", UpdateMode.Fixed),
                projectInstallation("Test1", "Something"),
                projectInstallation("Test2", "Something"),

                solutionInstallation("SomethingElse", "0.9.9.9", UpdateMode.Fixed),
                projectInstallation("Test1", "SomethingElse"),
                projectInstallation("Test2", "SomethingElse"),

                updateSolutionDependency("WebDriver", "1.2.0.0", UpdateMode.Fixed)

                );
        }
 public void updates_the_solution_dependency()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         updateSolutionDependency("fubu", "1.2.0.0", UpdateMode.Fixed)
         );
 }
Пример #12
0
 public void installs_as_fixed_to_solution()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("fubu", "1.2.0.0", UpdateMode.Fixed)
         );
 }
 public void verify_plan()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         updateSolutionDependency("FubuCore", "1.2.0.0", UpdateMode.Float)
         );
 }
 public void installs_to_the_solution()
 {
     thePlan.ShouldHaveTheSameElementsAs(
         solutionInstallation("fubu", "1.0.0.1", UpdateMode.Float)
         );
 }