org.springframework.batch.core.step.tasklet
Class TaskletStepTests
java.lang.Object
TestCase
org.springframework.batch.core.step.tasklet.TaskletStepTests
public class TaskletStepTests
- extends TestCase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskletStepTests
public TaskletStepTests()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testTaskletMandatory
public void testTaskletMandatory()
throws Exception
- Throws:
Exception
testRepositoryMandatory
public void testRepositoryMandatory()
throws Exception
- Throws:
Exception
testSuccessfulExecution
public void testSuccessfulExecution()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithStepContext
public void testSuccessfulExecutionWithStepContext()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithExecutionContext
public void testSuccessfulExecutionWithExecutionContext()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithFailureOnSaveOfExecutionContext
public void testSuccessfulExecutionWithFailureOnSaveOfExecutionContext()
throws Exception
- Throws:
Exception
testFailureExecution
public void testFailureExecution()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithListener
public void testSuccessfulExecutionWithListener()
throws Exception
- Throws:
Exception
testExceptionExecution
public void testExceptionExecution()
throws JobInterruptedException,
UnexpectedJobExecutionException
- Throws:
JobInterruptedException
UnexpectedJobExecutionException
testExceptionError
public void testExceptionError()
throws JobInterruptedException,
UnexpectedJobExecutionException
- Throws:
JobInterruptedException
UnexpectedJobExecutionException
testJobInterrupted
public void testJobInterrupted()
throws Exception
- When job is interrupted the
JobInterruptedException
should be
propagated up.
- Throws:
Exception
testStepFailureInAfterStepCallback
public void testStepFailureInAfterStepCallback()
throws JobInterruptedException
- Exception in
StepExecutionListener.afterStep(StepExecution)
causes step to fail.
- Throws:
JobInterruptedException
Copyright © 2008 SpringSource. All Rights Reserved.