RESOLVED - issue BATCH-1336: Add -restart and -next options to CommandLineJobRunner

This commit is contained in:
dsyer
2009-07-16 07:13:40 +00:00
parent 621327ea6c
commit 5bc4040efd
4 changed files with 139 additions and 22 deletions

View File

@@ -16,6 +16,8 @@
package org.springframework.batch.sample;
import static org.junit.Assert.assertEquals;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Assert;
@@ -87,6 +89,7 @@ public abstract class AbstractBatchLauncherTests implements ApplicationContextAw
public void testLaunchJob() throws Exception {
jobExecution = getLauncher().run(job, jobParameters);
Assert.assertEquals(BatchStatus.COMPLETED, jobExecution.getStatus());
assertEquals(BatchStatus.COMPLETED, jobExecution.getStatus());
}
/**