|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junitx.ddtunit.ExceptionHandlerTest
public class ExceptionHandlerTest
TODO Comment for DDTExceptionHandlerTest
| Constructor Summary | |
|---|---|
ExceptionHandlerTest(String name)
Constructor for DDTExceptionHandlerTest. |
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testCheckOnExpectedException()
Test if defined but not caught exception is detected ass failure. |
void |
testProcessExpectedException()
Test behavior of method DDTExceptionHandler.process() by providing a known exception. |
void |
testProcessInvocationTargetExNoAsserts()
Test behavior of method DDTExceptionHandler.process() by providing an unknown exception and no valid assertion data. |
void |
testProcessUnknownException()
Test behavior of method DDTExceptionHandler.process() by providing an unknown exception. |
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionHandlerTest(String name)
name - | Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void testProcessUnknownException()
throws Throwable
Throwable
public void testProcessInvocationTargetExNoAsserts()
throws Throwable
Throwablepublic void testProcessExpectedException()
public void testCheckOnExpectedException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||