public void reads_existing_solution_and_places_on_the_plan()
        {
            var plan = TemplatePlan.CreateClean("create-solution");
            var original = Solution.CreateNew("create-solution", "MySln");
            original.Save();

            var step = new ReadSolution(original.Filename);

            step.Alter(plan);

            plan.Solution.ShouldNotBeNull();
            plan.Solution.Filename.ShouldEqual(original.Filename);
            plan.Solution.Name.ShouldEqual("MySln");
        }
示例#2
0
 protected bool Equals(ReadSolution other)
 {
     return(string.Equals(_solutionFile, other._solutionFile));
 }
示例#3
0
 protected bool Equals(ReadSolution other)
 {
     return string.Equals(_solutionFile, other._solutionFile);
 }