org.springframework.batch.retry.policy
Class SimpleRetryPolicyTests

java.lang.Object
  extended by TestCase
      extended by org.springframework.batch.retry.policy.SimpleRetryPolicyTests

public class SimpleRetryPolicyTests
extends TestCase


Constructor Summary
SimpleRetryPolicyTests()
           
 
Method Summary
 void testCanRetryIfNoException()
           
 void testDefaultFatal()
           
 void testEmptyExceptionsNeverRetry()
           
 void testFatalOverridesRetryable()
           
 void testParent()
           
 void testRetryCount()
           
 void testRetryLimitInitialState()
           
 void testRetryLimitSubsequentState()
           
 void testSetInvalidExceptionClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRetryPolicyTests

public SimpleRetryPolicyTests()
Method Detail

testSetInvalidExceptionClass

public void testSetInvalidExceptionClass()
                                  throws Exception
Throws:
Exception

testCanRetryIfNoException

public void testCanRetryIfNoException()
                               throws Exception
Throws:
Exception

testEmptyExceptionsNeverRetry

public void testEmptyExceptionsNeverRetry()
                                   throws Exception
Throws:
Exception

testRetryLimitInitialState

public void testRetryLimitInitialState()
                                throws Exception
Throws:
Exception

testRetryLimitSubsequentState

public void testRetryLimitSubsequentState()
                                   throws Exception
Throws:
Exception

testRetryCount

public void testRetryCount()
                    throws Exception
Throws:
Exception

testDefaultFatal

public void testDefaultFatal()
                      throws Exception
Throws:
Exception

testFatalOverridesRetryable

public void testFatalOverridesRetryable()
                                 throws Exception
Throws:
Exception

testParent

public void testParent()
                throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.