org.springframework.batch.retry.policy
Class ExternalRetryPolicyTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.retry.policy.ExternalRetryPolicyTests
All Implemented Interfaces:
junit.framework.Test

public class ExternalRetryPolicyTests
extends junit.framework.TestCase


Constructor Summary
ExternalRetryPolicyTests()
           
 
Method Summary
 void testExternalRetryStopsLoop()
           
 void testExternalRetryWithFailAndNoRetry()
           
 void testNonThrowableIsNotRecoverable()
           
 void testRecoverableException()
           
 void testSuclassIsRecoverable()
           
 
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

ExternalRetryPolicyTests

public ExternalRetryPolicyTests()
Method Detail

testExternalRetryStopsLoop

public void testExternalRetryStopsLoop()
                                throws Exception
Throws:
Exception

testExternalRetryWithFailAndNoRetry

public void testExternalRetryWithFailAndNoRetry()
                                         throws Exception
Throws:
Exception

testNonThrowableIsNotRecoverable

public void testNonThrowableIsNotRecoverable()
                                      throws Exception
Throws:
Exception

testSuclassIsRecoverable

public void testSuclassIsRecoverable()
                              throws Exception
Throws:
Exception

testRecoverableException

public void testRecoverableException()
                              throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.