예제 #1
0
  private void unmonitorTestCase(TestCase testCase) {
    testCase.removeTestRunListener(testRunListener);

    for (int c = 0; c < testCase.getLoadTestCount(); c++) {
      unmonitorLoadTest(testCase.getLoadTestAt(c));
    }
  }
예제 #2
0
  private void monitorTestCase(TestCase testCase) {
    testCase.addTestRunListener(testRunListener);

    for (int v = 0; v < testCase.getLoadTestCount(); v++) {
      testCase.getLoadTestAt(v).addLoadTestRunListener(loadTestRunListener);
    }
  }