org.apache.commons.proxy.exception
Class AbstractExceptionClassTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.proxy.exception.AbstractExceptionClassTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestDelegateProviderException, TestInvocationHandlerException, TestProxyFactoryException

public abstract class AbstractExceptionClassTestCase
extends junit.framework.TestCase

Since:
1.0
Author:
James Carman

Constructor Summary
AbstractExceptionClassTestCase(Class exceptionClass)
           
 
Method Summary
 void testCauseOnlyConstructor()
           
 void testMessageAndCauseConstructor()
           
 void testMessageOnlyConstructor()
           
 void testNoArgConstructor()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractExceptionClassTestCase

public AbstractExceptionClassTestCase(Class exceptionClass)
Method Detail

testNoArgConstructor

public void testNoArgConstructor()
                          throws Exception
Throws:
Exception

testMessageOnlyConstructor

public void testMessageOnlyConstructor()
                                throws Exception
Throws:
Exception

testCauseOnlyConstructor

public void testCauseOnlyConstructor()
                              throws Exception
Throws:
Exception

testMessageAndCauseConstructor

public void testMessageAndCauseConstructor()
                                    throws Exception
Throws:
Exception


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.