OPEN - issue BATCH-1318: Ensure exception classes are behaving correctly

Tidy up test case
This commit is contained in:
dsyer
2009-07-09 11:56:36 +00:00
parent 680a97ae0e
commit 580708845c

View File

@@ -59,17 +59,7 @@ public class FaultTolerantExceptionClassesTests implements ApplicationContextAwa
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
this.applicationContext = applicationContext;
}
// public static void setCtx() {
// ctx = new ClassPathXmlApplicationContext(
// "/org/springframework/batch/core/step/item/FaultTolerantExceptionClassesTests-context.xml");
// jobRepository = (JobRepository) ctx.getBean("jobRepository");
// jobLauncher = (JobLauncher) ctx.getBean("jobLauncher");
// reader = (SkipReaderStub<String>) ctx.getBean("reader");
// writer = (SkipWriterStub<String>) ctx.getBean("writer");
// tasklet = (ExceptionThrowingTaskletStub) ctx.getBean("tasklet");
// }
@Before
public void setup() {
reader.clear();