Tidy up some TODOs
This commit is contained in:
@@ -30,6 +30,7 @@ import org.springframework.util.ClassUtils;
|
||||
* @author Dave Syer
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class OsgiBundleXmlApplicationContextFactoryTests {
|
||||
|
||||
private OsgiBundleXmlApplicationContextFactory factory = new OsgiBundleXmlApplicationContextFactory();
|
||||
@@ -46,7 +47,6 @@ public class OsgiBundleXmlApplicationContextFactoryTests {
|
||||
expect(bundleContext.getBundle()).andReturn(bundle).anyTimes();
|
||||
replay(bundleContext, bundle);
|
||||
factory.setBundleContext(bundleContext);
|
||||
// TODO: mock out the OSGi bundle resource...
|
||||
// factory.createApplicationContext();
|
||||
verify(bundleContext, bundle);
|
||||
}
|
||||
|
||||
@@ -11,23 +11,18 @@ import org.springframework.batch.repeat.RepeatStatus;
|
||||
public class DummyCompletionPolicy implements CompletionPolicy {
|
||||
|
||||
public boolean isComplete(RepeatContext context, RepeatStatus result) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isComplete(RepeatContext context) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
public RepeatContext start(RepeatContext parent) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public void update(RepeatContext context) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
public void update(RepeatContext context)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -47,8 +47,6 @@ public class FlowStepTests {
|
||||
private JobRepository jobRepository;
|
||||
private JobExecution jobExecution;
|
||||
|
||||
// TODO: add XML support
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
jobRepository = new MapJobRepositoryFactoryBean().getJobRepository();
|
||||
|
||||
@@ -256,7 +256,7 @@ public class FaultTolerantExceptionClassesTests implements ApplicationContextAwa
|
||||
assertEquals(BatchStatus.COMPLETED, stepExecution.getStatus());
|
||||
// BATCH-1332:
|
||||
assertEquals("[1, 2, 3, 1, 2, 3, 4]", writer.getWritten().toString());
|
||||
// TODO BATCH-1334:
|
||||
// BATCH-1334:
|
||||
// Skipped but also committed (because it was marked as no-rollback)
|
||||
assertEquals("[1, 2, 3, 4]", writer.getCommitted().toString());
|
||||
assertEquals(1, stepExecution.getWriteSkipCount());
|
||||
|
||||
Reference in New Issue
Block a user