Ejemplo n.º 1
0
  public void monitorProject(Project project) {
    project.addProjectListener(projectListener);

    for (int i = 0; i < project.getTestSuiteCount(); i++) {
      monitorTestSuite(project.getTestSuiteAt(i));
    }
  }
Ejemplo n.º 2
0
  public void unmonitorProject(Project project) {
    project.removeProjectListener(projectListener);

    for (int c = 0; c < project.getTestSuiteCount(); c++) {
      TestSuite testSuite = project.getTestSuiteAt(c);
      unmonitorTestSuite(testSuite);
    }
  }