de.smartics.exceptions
Class TruncateExternalThrowableTruncationTest

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

public class TruncateExternalThrowableTruncationTest
     
     
extends AbstractThrowableTruncationTestBase

Tests truncation of exceptions deriving from AbstractCoreException.

Author:
Robert Reiner

Field Summary
 
Fields inherited from class de.smartics.exceptions.AbstractThrowableTruncationTestBase
uut
 
Constructor Summary
TruncateExternalThrowableTruncationTest()
           
 
Method Summary
static void classSetup()
          Initializes the exception context for the tests.
 void testTruncateExternalExceptionDepth1()
          Test with a none-framework exception as cause at depth 1.
 void testTruncateExternalExceptionDepth2()
          Test with a none-framework exception as cause at depth 2 with a none-framework root cause.
 void testTruncateExternalExceptionDepth3()
          Test with a framework exception as cause at depth 1 and 2 and a none-framework root cause.
 void testTruncateFrameworkException()
          Test with a framework exception as cause.
 
Methods inherited from class de.smartics.exceptions.AbstractThrowableTruncationTestBase
testRuntimeTruncateExternalExceptionDepth1, testRuntimeTruncateExternalExceptionDepth2, testRuntimeTruncateExternalExceptionDepth3, testRuntimeTruncateFrameworkException, testRuntimeTruncateNull, testTruncateNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TruncateExternalThrowableTruncationTest

public TruncateExternalThrowableTruncationTest()
Method Detail

classSetup

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


testTruncateFrameworkException

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

Overrides:
testTruncateFrameworkException in class AbstractThrowableTruncationTestBase

testTruncateExternalExceptionDepth1

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

Overrides:
testTruncateExternalExceptionDepth1 in class AbstractThrowableTruncationTestBase

testTruncateExternalExceptionDepth2

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

Overrides:
testTruncateExternalExceptionDepth2 in class AbstractThrowableTruncationTestBase

testTruncateExternalExceptionDepth3

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

Overrides:
testTruncateExternalExceptionDepth3 in class AbstractThrowableTruncationTestBase


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