RESOLVED - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors

http://jira.springframework.org/browse/BATCH-303

Add test for step executions registered with job execution
This commit is contained in:
dsyer
2008-01-22 13:54:45 +00:00
parent eeddeff59b
commit 6f33be4af5

View File

@@ -177,9 +177,9 @@ public class DefaultJobExecutorTests extends TestCase {
}
public void testExecutionContextIsSet() throws Exception {
testRunNormally();
assertEquals(job, jobExecution.getJobInstance());
assertEquals(2, jobExecution.getStepExecutions().size());
assertEquals(step1, stepExecution1.getStep());
assertEquals(step2, stepExecution2.getStep());
}