RESOLVED - issue BATCH-1338: Allow segregation of jobs by group, type or origin

Make JobRegistry mandatory
This commit is contained in:
dsyer
2009-09-09 16:23:32 +00:00
parent 0d7c7034ae
commit 694a5423d9
2 changed files with 22 additions and 30 deletions

View File

@@ -117,7 +117,7 @@ public class ClassPathXmlJobLoaderTests {
loader.setJobPaths(jobPaths);
loader.initialize();
assertEquals(2, registry.getJobNames().size());
loader.destroy();
loader.clear();
assertEquals(0, registry.getJobNames().size());
}