/// <summary> /// Resets the test results for all the projects in the /// test tree view. /// </summary> public void ResetTestResults() { foreach (TestProjectTreeNode projectNode in GetProjectNodes()) { TestProject testProject = projectNode.TestProject; testProject.ResetTestResults(); } }
/// <summary> /// Clears the test results in the test tree view for the /// project currently being tested. /// </summary> void ResetTestResults(IProject project) { TestProject testProject = GetTestProject(project); if (testProject != null) { testProject.ResetTestResults(); } }