de.smartics.exceptions
Class HelperDetermineParentIdTest

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

public class HelperDetermineParentIdTest
     
     
extends Object

Tests method Helper.determineParentId(Throwable).

Author:
Robert Reiner

Constructor Summary
HelperDetermineParentIdTest()
           
 
Method Summary
static void setUp()
          Initializes the exception context for the tests.
 void testClassicException()
          Checks the method with a NullPointerException.
 void testClassicExceptionWithCause()
          Checks the method with a RemoteException and cause NullPointerException.
 void testCoreException()
          Checks the method with a TestCoreException.
 void testNull()
          Checks the method with a null value.
 void testRootCauseCoreException()
          Checks the method with a Exception and a root cause TestCoreException.
 void testRootCauseCoreExceptionWithCauses()
          Checks the method with a TestCoreException caused by a Exception.
 void testSeveralStepsRootCauseCoreException()
          Checks the method with a RemoteException caused by a Exception and a root cause TestCoreException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelperDetermineParentIdTest

public HelperDetermineParentIdTest()
Method Detail

setUp

public static void setUp()
Initializes the exception context for the tests.


testNull

public void testNull()
Checks the method with a null value.


testClassicException

public void testClassicException()
Checks the method with a NullPointerException.


testClassicExceptionWithCause

public void testClassicExceptionWithCause()
Checks the method with a RemoteException and cause NullPointerException.


testCoreException

public void testCoreException()
Checks the method with a TestCoreException.


testRootCauseCoreException

public void testRootCauseCoreException()
Checks the method with a Exception and a root cause TestCoreException.


testSeveralStepsRootCauseCoreException

public void testSeveralStepsRootCauseCoreException()
Checks the method with a RemoteException caused by a Exception and a root cause TestCoreException.


testRootCauseCoreExceptionWithCauses

public void testRootCauseCoreExceptionWithCauses()
Checks the method with a TestCoreException caused by a Exception.



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