public void monitorProject(Project project) { project.addProjectListener(projectListener); for (int i = 0; i < project.getTestSuiteCount(); i++) { monitorTestSuite(project.getTestSuiteAt(i)); } }
public void unmonitorProject(Project project) { project.removeProjectListener(projectListener); for (int c = 0; c < project.getTestSuiteCount(); c++) { TestSuite testSuite = project.getTestSuiteAt(c); unmonitorTestSuite(testSuite); } }