org.springframework.batch.retry.callback
Class RecoveryRetryCallbackTests

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

public class RecoveryRetryCallbackTests
extends junit.framework.TestCase


Constructor Summary
RecoveryRetryCallbackTests()
           
 
Method Summary
protected  void setUp()
           
 void testContextInitializedWithItemAndCanRetry()
           
 void testContextInitializedWithItemAndRegisterThrowable()
           
 void testContextMarkedExhausted()
           
 void testDoWithRetrySuccessfulFirstTime()
           
 void testGetKey()
           
 void testRecoverWithoutSession()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

RecoveryRetryCallbackTests

public RecoveryRetryCallbackTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testDoWithRetrySuccessfulFirstTime

public void testDoWithRetrySuccessfulFirstTime()
                                        throws Exception
Throws:
Exception

testContextInitializedWithItemAndCanRetry

public void testContextInitializedWithItemAndCanRetry()
                                               throws Exception
Throws:
Exception

testContextInitializedWithItemAndRegisterThrowable

public void testContextInitializedWithItemAndRegisterThrowable()
                                                        throws Exception
Throws:
Exception

testContextMarkedExhausted

public void testContextMarkedExhausted()
                                throws Exception
Throws:
Exception

testGetKey

public void testGetKey()
                throws Exception
Throws:
Exception

testRecoverWithoutSession

public void testRecoverWithoutSession()
                               throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.