private void SolutionEventsOnProjectAdded(Project project) { TestProject testProject = VsPowerShellTestDiscoverer.CreateProject(project); if (testProject != null) { TestSolution solution = new TestSolution(); solution.Projects.Add(testProject); Model.Merge(solution); } }
protected void LoadFromSolution() { //Model.Projects.Clear(); foreach (TestProject testProject in VsPowerShellTestDiscoverer.GetTests()) { TestSolution solution = new TestSolution(); solution.Projects.Add(testProject); Model.Merge(solution); CleartestFilesByPath(); OnModelChanged(); //Model.Projects.Add(testProject); } }