OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324 run/process -> execute
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user