Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
public class HarvestSchedulerTester extends TestCase {
...
public void tearDown() {
if (harvestScheduler \!= null) {
            harvestScheduler.close();
        }
...
}

public void testGetHoursPassedSince() throws Exception {
        harvestScheduler = submitNewJobsAndGetSchedulerInstance();
  }
Code Block

Note: The HarvestSchedulers close call delegated to the Cleanup method.

...