org.jcoderz.commons.util
Class ThrowableUtilTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jcoderz.commons.util.ThrowableUtilTest
All Implemented Interfaces:
Test

public class ThrowableUtilTest
extends TestCase

Tests the ThrowableUtil class.

Author:
Andreas Mandel

Constructor Summary
ThrowableUtilTest()
           
 
Method Summary
 void testCollectNestedData()
          Test ThrowableUtil.collectNestedData(Loggable).
 void testFixChaining()
          Test the fixChaining method.
 void testGetCauseDetection()
          Test the magic get cause detection code for certain Throwables.
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThrowableUtilTest

public ThrowableUtilTest()
Method Detail

testFixChaining

public void testFixChaining()
Test the fixChaining method.


testGetCauseDetection

public void testGetCauseDetection()
Test the magic get cause detection code for certain Throwables.


testCollectNestedData

public void testCollectNestedData()
Test ThrowableUtil.collectNestedData(Loggable).



Copyright 2007 The jCoderZ Project.