de.smartics.exceptions
Class CoreRuntimeExceptionTest

Package class diagram package CoreRuntimeExceptionTest
java.lang.Object
  extended by de.smartics.exceptions.CoreRuntimeExceptionTest

public class CoreRuntimeExceptionTest
     
     
extends Object

Tests AbstractCoreException.

Author:
Robert Reiner

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

CoreRuntimeExceptionTest

public CoreRuntimeExceptionTest()
Method Detail

testCreationWithNullCode

public void testCreationWithNullCode()
Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code) where a null value for the code is passed.


testCreationWithCodeOnly

public void testCreationWithCodeOnly()
Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Code) where a valid code is passed.


testCreationWithNullMessage

public void testCreationWithNullMessage()
Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code) where a null value for the message is passed.


testCreationWithNotNullMessage

public void testCreationWithNotNullMessage()
Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(String, Code) where a not null value for the message is passed.


testCreationWithCauseAndCode

public void testCreationWithCauseAndCode()
Tests the creation of an exception via AbstractCoreRuntimeException.AbstractCoreRuntimeException(Throwable, Code) where a valid throwable and code is passed.


testSerial

public void testSerial()
Tests that the abstract core runtime exception is serializable.



Copyright © 2007-$2011 Kronseder & Reiner GmbH - smartics. All Rights Reserved.