Refactored CheckpointAlgorithmAdapter to be stateful

This commit is contained in:
Michael Minella
2013-12-12 14:36:21 -06:00
parent 17b680f31d
commit b985c52b4d
2 changed files with 7 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ public class SimpleItemBasedJobParsingTests {
assertEquals(BatchStatus.COMPLETED, execution.getStatus());
assertEquals(4, execution.getStepExecutions().size());
assertEquals(27, processor.count);
assertEquals(2, policy.checkpointCount);
assertEquals(1, policy.checkpointCount);
assertEquals(8, writer.writeCount);
assertEquals(27, writer.itemCount);
}