org.springframework.batch.retry.policy
Class SimpleRetryPolicyTests

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

public class SimpleRetryPolicyTests
extends junit.framework.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 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

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.