Пример #1
0
 /// <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();
     }
 }
Пример #2
0
        /// <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();
            }
        }