de.smartics.exceptions
Class AbstractThrowableTruncationTestBase

Package class diagram package AbstractThrowableTruncationTestBase
java.lang.Object
  extended by de.smartics.exceptions.AbstractThrowableTruncationTestBase
Direct Known Subclasses:
NormalThrowableTruncationTest, TruncateAllThrowableTruncationTest, TruncateExternalThrowableTruncationTest

public abstract class AbstractThrowableTruncationTestBase
     
     
extends Object

Test on the throwable truncation service.

Author:
Robert Reiner

Field Summary
protected  CoreException uut
          The unit under test.
 
Constructor Summary
AbstractThrowableTruncationTestBase()
           
 
Method Summary
protected  void testRuntimeTruncateExternalExceptionDepth1()
          Test with a none-framework exception as cause at depth 1.
protected  void testRuntimeTruncateExternalExceptionDepth2()
          Test with a framework exception as cause at depth 2 and a none-framework root cause.
protected  void testRuntimeTruncateExternalExceptionDepth3()
          Test with a framework exception as cause at depth 1 and 2 and a none-framework root cause.
protected  void testRuntimeTruncateFrameworkException()
          Test with a framework exception as cause.
 void testRuntimeTruncateNull()
          Test with null value as cause.
protected  void testTruncateExternalExceptionDepth1()
          Test with a none-framework exception as cause at depth 1.
protected  void testTruncateExternalExceptionDepth2()
          Test with a framework exception as cause at depth 2 and a none-framework root cause.
protected  void testTruncateExternalExceptionDepth3()
          Test with a framework exception as cause at depth 1 and 2 and a none-framework root cause.
protected  void testTruncateFrameworkException()
          Test with a framework exception as cause.
 void testTruncateNull()
          Test with null value as cause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uut

protected CoreException uut
The unit under test.

Constructor Detail

AbstractThrowableTruncationTestBase

public AbstractThrowableTruncationTestBase()
Method Detail

testTruncateNull

public void testTruncateNull()
Test with null value as cause.


testTruncateFrameworkException

protected void testTruncateFrameworkException()
Test with a framework exception as cause.


testTruncateExternalExceptionDepth1

protected void testTruncateExternalExceptionDepth1()
Test with a none-framework exception as cause at depth 1.


testTruncateExternalExceptionDepth2

protected void testTruncateExternalExceptionDepth2()
Test with a framework exception as cause at depth 2 and a none-framework root cause.


testTruncateExternalExceptionDepth3

protected void testTruncateExternalExceptionDepth3()
Test with a framework exception as cause at depth 1 and 2 and a none-framework root cause.


testRuntimeTruncateNull

public void testRuntimeTruncateNull()
Test with null value as cause.


testRuntimeTruncateFrameworkException

protected void testRuntimeTruncateFrameworkException()
Test with a framework exception as cause.


testRuntimeTruncateExternalExceptionDepth1

protected void testRuntimeTruncateExternalExceptionDepth1()
Test with a none-framework exception as cause at depth 1.


testRuntimeTruncateExternalExceptionDepth2

protected void testRuntimeTruncateExternalExceptionDepth2()
Test with a framework exception as cause at depth 2 and a none-framework root cause.


testRuntimeTruncateExternalExceptionDepth3

protected void testRuntimeTruncateExternalExceptionDepth3()
Test with a framework exception as cause at depth 1 and 2 and a none-framework root cause.



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