org.springframework.batch.retry.backoff
Class ExponentialBackOffPolicyTests

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

public class ExponentialBackOffPolicyTests
extends junit.framework.TestCase

Author:
Rob Harrop, Dave Syer

Constructor Summary
ExponentialBackOffPolicyTests()
           
 
Method Summary
 void testMaximumBackOff()
           
 void testMultiBackOff()
           
 void testSetInitialInterval()
           
 void testSetMaxInterval()
           
 void testSetMultiplier()
           
 void testSingleBackOff()
           
 
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

ExponentialBackOffPolicyTests

public ExponentialBackOffPolicyTests()
Method Detail

testSetMaxInterval

public void testSetMaxInterval()
                        throws Exception
Throws:
Exception

testSetInitialInterval

public void testSetInitialInterval()
                            throws Exception
Throws:
Exception

testSetMultiplier

public void testSetMultiplier()
                       throws Exception
Throws:
Exception

testSingleBackOff

public void testSingleBackOff()
                       throws Exception
Throws:
Exception

testMaximumBackOff

public void testMaximumBackOff()
                        throws Exception
Throws:
Exception

testMultiBackOff

public void testMultiBackOff()
                      throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.