org.springframework.batch.retry.support
Class RetryTemplateTests
java.lang.Object
TestCase
org.springframework.batch.retry.support.RetryTemplateTests
public class RetryTemplateTests
- extends TestCase
- Since:
- 2.1
- Author:
- Rob Harrop
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryTemplateTests
public RetryTemplateTests()
testSuccessfulRetry
public void testSuccessfulRetry()
throws Exception
- Throws:
Exception
testAlwaysTryAtLeastOnce
public void testAlwaysTryAtLeastOnce()
throws Exception
- Throws:
Exception
testNoSuccessRetry
public void testNoSuccessRetry()
throws Exception
- Throws:
Exception
testDefaultConfigWithExceptionSubclass
public void testDefaultConfigWithExceptionSubclass()
throws Exception
- Throws:
Exception
testSetExceptions
public void testSetExceptions()
throws Exception
- Throws:
Exception
testBackOffInvoked
public void testBackOffInvoked()
throws Exception
- Throws:
Exception
testEarlyTermination
public void testEarlyTermination()
throws Exception
- Throws:
Exception
testNestedContexts
public void testNestedContexts()
throws Exception
- Throws:
Exception
testRethrowError
public void testRethrowError()
throws Exception
- Throws:
Exception
testBackOffInterrupted
public void testBackOffInterrupted()
throws Exception
- Throws:
Exception
testFallThroughToEndUnsuccessfully
public void testFallThroughToEndUnsuccessfully()
throws Exception
- Throws:
Exception
testThrowableWrapping
public void testThrowableWrapping()
throws Exception
- Throwables that aren't Exception nor Error are wrapped into
RetryException.
- Throws:
Exception
testThrowableUnwrapping
public void testThrowableUnwrapping()
throws Exception
- If nested template wraps unclassified Throwable into RetryException the
Throwable is unwrapped before passed to collaborators.
- Throws:
Exception
Copyright © 2008 SpringSource. All Rights Reserved.