|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.CoreRuntimeExceptionTest
public class CoreRuntimeExceptionTest
Tests AbstractCoreException
.
Constructor Summary | |
---|---|
CoreRuntimeExceptionTest() |
Method Summary | |
---|---|
void |
testCreationWithCauseAndCode() Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Throwable, Code) where a valid throwable and code is passed. |
void |
testCreationWithCodeOnly() Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code) where a valid code is passed. |
void |
testCreationWithNotNullMessage() Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code) where a not null value for the message is passed. |
void |
testCreationWithNullCode() Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code) where a null value for the code is passed. |
void |
testCreationWithNullMessage() Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code) where a null value for the message is passed. |
void |
testSerial() Tests that the abstract core runtime exception is serializable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreRuntimeExceptionTest()
Method Detail |
---|
public void testCreationWithNullCode()
AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code)
where a
null
value for the code is passed.
public void testCreationWithCodeOnly()
AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code)
where a valid code is passed.
public void testCreationWithNullMessage()
AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code)
where a
null
value for the message is passed.
public void testCreationWithNotNullMessage()
AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code)
where a not
null
value for the message is passed.
public void testCreationWithCauseAndCode()
AbstractCoreRuntimeException.AbstractCoreRuntimeException(Throwable, Code)
where a valid throwable and code is passed.
public void testSerial()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |