org.springframework.batch.core.step.item
Class ItemOrientedStepTests
java.lang.Object
TestCase
org.springframework.batch.core.step.item.ItemOrientedStepTests
public class ItemOrientedStepTests
- extends TestCase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemOrientedStepTests
public ItemOrientedStepTests()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testStepExecutor
public void testStepExecutor()
throws Exception
- Throws:
Exception
testChunkExecutor
public void testChunkExecutor()
throws Exception
- Throws:
Exception
testRepository
public void testRepository()
throws Exception
- Throws:
Exception
testIncrementRollbackCount
public void testIncrementRollbackCount()
testExitCodeDefaultClassification
public void testExitCodeDefaultClassification()
throws Exception
- Throws:
Exception
testExitCodeCustomClassification
public void testExitCodeCustomClassification()
throws Exception
- Throws:
Exception
testNonRestartedJob
public void testNonRestartedJob()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithExecutionContext
public void testSuccessfulExecutionWithExecutionContext()
throws Exception
- Throws:
Exception
testSuccessfulExecutionWithFailureOnSaveOfExecutionContext
public void testSuccessfulExecutionWithFailureOnSaveOfExecutionContext()
throws Exception
- Throws:
Exception
testNoSaveExecutionAttributesRestartableJob
public void testNoSaveExecutionAttributesRestartableJob()
testRestartJobOnNonRestartableTasklet
public void testRestartJobOnNonRestartableTasklet()
throws Exception
- Throws:
Exception
testStreamManager
public void testStreamManager()
throws Exception
- Throws:
Exception
testDirectlyInjectedItemStream
public void testDirectlyInjectedItemStream()
throws Exception
- Throws:
Exception
testDirectlyInjectedListener
public void testDirectlyInjectedListener()
throws Exception
- Throws:
Exception
testListenerCalledBeforeStreamOpened
public void testListenerCalledBeforeStreamOpened()
throws Exception
- Throws:
Exception
testAfterStep
public void testAfterStep()
throws Exception
- Throws:
Exception
testDirectlyInjectedListenerOnError
public void testDirectlyInjectedListenerOnError()
throws Exception
- Throws:
Exception
testDirectlyInjectedStreamWhichIsAlsoReader
public void testDirectlyInjectedStreamWhichIsAlsoReader()
throws Exception
- Throws:
Exception
testStatusForInterruptedException
public void testStatusForInterruptedException()
testStatusForNormalFailure
public void testStatusForNormalFailure()
throws Exception
- Throws:
Exception
testStatusForErrorFailure
public void testStatusForErrorFailure()
throws Exception
- Throws:
Exception
testStatusForResetFailedException
public void testStatusForResetFailedException()
throws Exception
- Throws:
Exception
testStatusForCommitFailedException
public void testStatusForCommitFailedException()
throws Exception
- Throws:
Exception
testStatusForFinalUpdateFailedException
public void testStatusForFinalUpdateFailedException()
throws Exception
- Throws:
Exception
testStatusForCloseFailedException
public void testStatusForCloseFailedException()
throws Exception
- Throws:
Exception
testRestartAfterFailureInFirstChunk
public void testRestartAfterFailureInFirstChunk()
throws Exception
- Execution context must not be left empty even if job failed before
commiting first chunk - otherwise ItemStreams won't recognize it is
restart scenario on next run.
- Throws:
Exception
testStepToCompletion
public void testStepToCompletion()
throws Exception
- 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.