OPEN - issue BATCH-324: Step as factory for StepExecutor

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

run/process -> execute
This commit is contained in:
dsyer
2008-01-30 15:17:42 +00:00
parent 0734480dd6
commit 02f1ae5c0c
20 changed files with 56 additions and 49 deletions

View File

@@ -104,7 +104,7 @@ public class JobSupportTests extends TestCase {
public void testRunNotSupported() throws Exception {
try {
job.run(null);
job.execute(null);
} catch (UnsupportedOperationException e) {
// expected
String message = e.getMessage();

View File

@@ -89,7 +89,7 @@ public class StepSupportTests extends TestCase {
public void testUnsuccessfulWrongConfiguration() throws Exception {
try {
new StepSupport().process(null);
new StepSupport().execute(null);
fail("Expected UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected