org.springframework.batch.retry.policy
Class RecoveryRetryPolicyTests

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

public class RecoveryRetryPolicyTests
extends junit.framework.TestCase


Constructor Summary
RecoveryRetryPolicyTests()
           
 
Method Summary
 void testCacheCapacity()
           
 void testCacheCapacityNotReachedIfRecovered()
           
 void testCanRetry()
           
 void testClose()
           
 void testExhaustedClearsHistoryAfterLastAttempt()
           
 void testKeyGeneratorNotConsistentAfterFailure()
           
 void testOpenSunnyDay()
           
 void testOpenTwice()
           
 void testOpenWithWrongCallbackType()
           
 void testRecover()
           
 void testRecoverWithParent()
           
 void testRecoverWithTemplate()
           
 void testRegisterThrowable()
           
 void testRetryCount()
           
 void testRetryCountPreservedBetweenRetries()
           
 
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

RecoveryRetryPolicyTests

public RecoveryRetryPolicyTests()
Method Detail

testOpenSunnyDay

public void testOpenSunnyDay()
                      throws Exception
Throws:
Exception

testOpenWithWrongCallbackType

public void testOpenWithWrongCallbackType()

testCanRetry

public void testCanRetry()

testRegisterThrowable

public void testRegisterThrowable()

testClose

public void testClose()
               throws Exception
Throws:
Exception

testOpenTwice

public void testOpenTwice()
                   throws Exception
Throws:
Exception

testRecover

public void testRecover()
                 throws Exception
Throws:
Exception

testRecoverWithParent

public void testRecoverWithParent()
                           throws Exception
Throws:
Exception

testRecoverWithTemplate

public void testRecoverWithTemplate()
                             throws Exception
Throws:
Exception

testExhaustedClearsHistoryAfterLastAttempt

public void testExhaustedClearsHistoryAfterLastAttempt()
                                                throws Exception
Throws:
Exception

testRetryCount

public void testRetryCount()
                    throws Exception
Throws:
Exception

testRetryCountPreservedBetweenRetries

public void testRetryCountPreservedBetweenRetries()
                                           throws Exception
Throws:
Exception

testKeyGeneratorNotConsistentAfterFailure

public void testKeyGeneratorNotConsistentAfterFailure()
                                               throws Throwable
Throws:
Throwable

testCacheCapacity

public void testCacheCapacity()
                       throws Exception
Throws:
Exception

testCacheCapacityNotReachedIfRecovered

public void testCacheCapacityNotReachedIfRecovered()
                                            throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.