|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCase org.springframework.batch.repeat.support.AbstractTradeBatchTests org.springframework.batch.repeat.support.SimpleRepeatTemplateTests
public class SimpleRepeatTemplateTests
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.batch.repeat.support.AbstractTradeBatchTests |
---|
AbstractTradeBatchTests.TradeItemReader, AbstractTradeBatchTests.TradeMapper, AbstractTradeBatchTests.TradeWriter |
Field Summary |
---|
Fields inherited from class org.springframework.batch.repeat.support.AbstractTradeBatchTests |
---|
NUMBER_OF_ITEMS, processor, provider |
Constructor Summary | |
---|---|
SimpleRepeatTemplateTests()
|
Method Summary | |
---|---|
RepeatTemplate |
getRepeatTemplate()
|
void |
testContextClosedOnAbnormalCompletion()
Check that the context is closed. |
void |
testContextClosedOnNormalCompletion()
Check that the context is closed. |
void |
testCustomExitCode()
|
void |
testEarlyCompletionWithContext()
Check that a the context can be used to signal early completion. |
void |
testEarlyCompletionWithContextTerminated()
Check that a the context can be used to signal early completion. |
void |
testEarlyCompletionWithException()
Check that a dedicated TerminationPolicy can terminate the batch. |
void |
testEarlyCompletionWithPolicy()
Check that a dedicated TerminationPolicy can terminate the batch. |
void |
testEarlyCompletionWithSessionAndException()
Check that a the session can be used to signal early completion, but an exception takes precedence. |
void |
testExceptionHandlerCalledOnAbnormalCompletion()
Check that the exception handler is called. |
void |
testExceptionThrownOnLastItem()
|
void |
testExceptionUnwrapping()
Checked exceptions are wrapped into runtime RepeatException. |
void |
testExecute()
|
void |
testNestedSession()
|
void |
testNestedSessionTerminatesBeforeIteration()
|
void |
testOuterContextPreserved()
|
void |
testResult()
Test that a result is returned from the batch. |
Methods inherited from class org.springframework.batch.repeat.support.AbstractTradeBatchTests |
---|
setUp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRepeatTemplateTests()
Method Detail |
---|
public RepeatTemplate getRepeatTemplate()
public void testExecute() throws Exception
Exception
public void testEarlyCompletionWithPolicy() throws Exception
Exception
public void testEarlyCompletionWithException() throws Exception
Exception
public void testContextClosedOnNormalCompletion() throws Exception
Exception
public void testContextClosedOnAbnormalCompletion() throws Exception
Exception
public void testExceptionHandlerCalledOnAbnormalCompletion() throws Exception
Exception
public void testEarlyCompletionWithContext() throws Exception
Exception
public void testEarlyCompletionWithContextTerminated() throws Exception
Exception
public void testNestedSession() throws Exception
Exception
public void testNestedSessionTerminatesBeforeIteration() throws Exception
Exception
public void testOuterContextPreserved() throws Exception
Exception
public void testResult() throws Exception
Exception
public void testExceptionThrownOnLastItem() throws Exception
Exception
public void testEarlyCompletionWithSessionAndException() throws Exception
Exception
public void testCustomExitCode()
public void testExceptionUnwrapping()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |