org.springframework.batch.repeat.exception
Class LogOrRethrowExceptionHandlerTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.batch.repeat.exception.LogOrRethrowExceptionHandlerTests
All Implemented Interfaces:
junit.framework.Test

public class LogOrRethrowExceptionHandlerTests
extends junit.framework.TestCase


Constructor Summary
LogOrRethrowExceptionHandlerTests()
           
 
Method Summary
protected  void setUp()
           
 void testError()
           
 void testNotRethrownDebugLevel()
           
 void testNotRethrownErrorLevel()
           
 void testNotRethrownWarnLevel()
           
 void testRuntimeException()
           
 void testUnclassifiedException()
           
 
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

LogOrRethrowExceptionHandlerTests

public LogOrRethrowExceptionHandlerTests()
Method Detail

setUp

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

testRuntimeException

public void testRuntimeException()
                          throws Throwable
Throws:
Throwable

testError

public void testError()
               throws Throwable
Throws:
Throwable

testNotRethrownErrorLevel

public void testNotRethrownErrorLevel()
                               throws Throwable
Throws:
Throwable

testNotRethrownWarnLevel

public void testNotRethrownWarnLevel()
                              throws Throwable
Throws:
Throwable

testNotRethrownDebugLevel

public void testNotRethrownDebugLevel()
                               throws Throwable
Throws:
Throwable

testUnclassifiedException

public void testUnclassifiedException()
                               throws Throwable
Throws:
Throwable


Copyright © 2008 SpringSource. All Rights Reserved.