|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.batch.retry.support.RetryTemplateTests
public class RetryTemplateTests
Constructor Summary | |
---|---|
RetryTemplateTests()
|
Method Summary | |
---|---|
void |
testAlwaysTryAtLeastOnce()
|
void |
testBackOffInterrupted()
|
void |
testBackOffInvoked()
|
void |
testDefaultConfigWithExceptionSubclass()
|
void |
testEarlyTermination()
|
void |
testFallThroughToEndUnsuccessfully()
|
void |
testNestedContexts()
|
void |
testNoSuccessRetry()
|
void |
testRethrowError()
|
void |
testSetExceptions()
|
void |
testSuccessfulRetry()
|
void |
testThrowableUnwrapping()
If nested template wraps unclassified Throwable into RetryException the Throwable is unwrapped before passed to collaborators. |
void |
testThrowableWrapping()
Throwables that aren't Exception nor Error are wrapped into RetryException. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RetryTemplateTests()
Method Detail |
---|
public void testSuccessfulRetry() throws Exception
Exception
public void testAlwaysTryAtLeastOnce() throws Exception
Exception
public void testNoSuccessRetry() throws Exception
Exception
public void testDefaultConfigWithExceptionSubclass() throws Exception
Exception
public void testSetExceptions() throws Exception
Exception
public void testBackOffInvoked() throws Exception
Exception
public void testEarlyTermination() throws Exception
Exception
public void testNestedContexts() throws Exception
Exception
public void testRethrowError() throws Exception
Exception
public void testBackOffInterrupted() throws Exception
Exception
public void testFallThroughToEndUnsuccessfully() throws Exception
Exception
public void testThrowableWrapping() throws Exception
Exception
public void testThrowableUnwrapping() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |