public void Instance_SolutionClosedWhenConsoleHostIsRunning_WorkingDirectoryIsUpdated() { CreateReset(); fakeConsoleHost.IsRunning = true; fakeProjectService.FireSolutionClosedEvent(); bool workingDirectoryUpdated = IsWorkingDirectoryUpdated(); Assert.IsTrue(workingDirectoryUpdated); }
void CloseSolution() { ISolution solution = projectService.OpenSolution; projectService.OpenSolution = null; projectService.ProjectCollections.Remove(solution.Projects); projectService.FireSolutionClosedEvent(solution); }
void CloseSolution() { var helper = new SolutionHelper(@"d:\projects\MyProject\MySolution.sln"); projectService.FireSolutionClosedEvent(helper.MSBuildSolution); }
void CloseSolution() { projectService.OpenSolution = null; projectService.FireSolutionClosedEvent(); }