protected void GeneratePartialGraphSolution(string[] targetProjectNames, params Proj[] projectsList) { var generator = new SlimJim.Model.SlnBuilder(new List <Proj>(projectsList)); options.AddTargetProjectNames(targetProjectNames); solution = generator.BuildSln(options); }
public void BeforeEach() { repo = MockRepository.GenerateStrictMock<CsProjRepository>(); slnWriter = MockRepository.GenerateStrictMock<SlnFileWriter>(); slnBuilder = MockRepository.GenerateStrictMock<SlnBuilder>(new List<CsProj>()); gen = new SlnFileGenerator() { ProjectRepository = repo, SlnWriter = slnWriter }; SlnBuilder.OverrideDefaultBuilder(slnBuilder); options = new SlnGenerationOptions(ProjectsDir); }
protected void GeneratePartialGraphSolution(string[] targetProjectNames, params CsProj[] projectsList) { var generator = new SlimJim.Model.SlnBuilder(new List<CsProj>(projectsList)); options.AddTargetProjectNames(targetProjectNames); solution = generator.BuildSln(options); }
public static void OverrideDefaultBuilder(SlnBuilder slnBuilder) { overriddenBuilder = slnBuilder; }