multex.demo
Class ChainedExceptionJUnitTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--multex.demo.ChainedExceptionJUnitTest
All Implemented Interfaces:
junit.framework.Test

public class ChainedExceptionJUnitTest
extends junit.framework.TestCase

JUnit batch test driver in order to look, how an unexpected exception with causal chain is reported by JUnit.


Constructor Summary
ChainedExceptionJUnitTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testJdk1_4Exceptions()
          Test exceptions, which provide a cause by the standard means of JDK 1.4, i.e. by the getCause() method of Throwable
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedExceptionJUnitTest

public ChainedExceptionJUnitTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testJdk1_4Exceptions

public void testJdk1_4Exceptions()
Test exceptions, which provide a cause by the standard means of JDK 1.4, i.e. by the getCause() method of Throwable