org.springframework.batch.retry.backoff
Class FixedBackOffPolicyTests

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

public class FixedBackOffPolicyTests
extends junit.framework.TestCase

Since:
2.1
Author:
Rob Harrop, Dave Syer

Constructor Summary
FixedBackOffPolicyTests()
           
 
Method Summary
 void testManyBackOffCalls()
           
 void testSetBackoffPeriodNegative()
           
 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

FixedBackOffPolicyTests

public FixedBackOffPolicyTests()
Method Detail

testSetBackoffPeriodNegative

public void testSetBackoffPeriodNegative()
                                  throws Exception
Throws:
Exception

testSingleBackOff

public void testSingleBackOff()
                       throws Exception
Throws:
Exception

testManyBackOffCalls

public void testManyBackOffCalls()
                          throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.