java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.lang.exception.ExceptionUtilsTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class ExceptionUtilsTestCase
- extends junit.framework.TestCase
Tests ExceptionUtils.
- Since:
- 1.0
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
nested
private NestableException nested
withCause
private java.lang.Throwable withCause
withoutCause
private java.lang.Throwable withoutCause
ExceptionUtilsTestCase
public ExceptionUtilsTestCase(java.lang.String name)
suite
public static junit.framework.Test suite()
setUp
public void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
createExceptionWithoutCause
private java.lang.Throwable createExceptionWithoutCause()
createExceptionWithCause
private java.lang.Throwable createExceptionWithCause()
testCauseMethodNameOps
public void testCauseMethodNameOps()
testCauseMethodNameOps
void testCauseMethodNameOps(java.lang.String name)
testGetCause_Throwable
public void testGetCause_Throwable()
testGetCause_ThrowableArray
public void testGetCause_ThrowableArray()
testGetRootCause_Throwable
public void testGetRootCause_Throwable()
testIsThrowableNested
public void testIsThrowableNested()
testIsNestedThrowable_Throwable
public void testIsNestedThrowable_Throwable()
testGetThrowableCount_Throwable
public void testGetThrowableCount_Throwable()
testGetThrowables_Throwable
public void testGetThrowables_Throwable()
testIndexOf_ThrowableClass
public void testIndexOf_ThrowableClass()
testIndexOf_ThrowableClassInt
public void testIndexOf_ThrowableClassInt()
testIndexOfType_ThrowableClass
public void testIndexOfType_ThrowableClass()
testIndexOfType_ThrowableClassInt
public void testIndexOfType_ThrowableClassInt()
testPrintRootCauseStackTrace_Throwable
public void testPrintRootCauseStackTrace_Throwable()
throws java.lang.Exception
testPrintRootCauseStackTrace_ThrowableStream
public void testPrintRootCauseStackTrace_ThrowableStream()
throws java.lang.Exception
testPrintRootCauseStackTrace_ThrowableWriter
public void testPrintRootCauseStackTrace_ThrowableWriter()
throws java.lang.Exception
testGetRootCauseStackTrace_Throwable
public void testGetRootCauseStackTrace_Throwable()
throws java.lang.Exception
testRemoveCommonFrames_ListList
public void testRemoveCommonFrames_ListList()
throws java.lang.Exception