|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase junitx.ddtunit.DDTExceptionClassTest
public class DDTExceptionClassTest
Check functionality provided by DDTException
.
Constructor Summary | |
---|---|
DDTExceptionClassTest(String name)
Instanciate unit test with method name to execute |
Method Summary | |
---|---|
static junit.framework.Test |
suite()
Create test suite defined by this class |
void |
testCreateDoubleException()
Test functionallity of DDTException.create(StringBuffer, Throwable) using exception with
one cause exception |
void |
testCreateSingleException()
Test functionallity of DDTException.create(StringBuffer, Throwable) using simple
exception without a cause exception |
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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DDTExceptionClassTest(String name)
name
- of testmethod to executeMethod Detail |
---|
public static junit.framework.Test suite()
public void testCreateSingleException()
DDTException.create(StringBuffer, Throwable)
using simple
exception without a cause exception
public void testCreateDoubleException()
DDTException.create(StringBuffer, Throwable)
using exception with
one cause exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |