org.picocontainer.defaults
Class PicoExceptionsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.defaults.PicoExceptionsTestCase
All Implemented Interfaces:
junit.framework.Test

public class PicoExceptionsTestCase
extends junit.framework.TestCase

Unit tests for the several PicoException classes.


Nested Class Summary
private static class PicoExceptionsTestCase.TestException
           
 
Field Summary
static java.lang.String MESSAGE
           
static java.lang.Throwable THROWABLE
           
 
Constructor Summary
PicoExceptionsTestCase()
           
 
Method Summary
(package private)  void executeTestOfStandardException(java.lang.Class clazz)
           
 void testCyclicDependencyException()
           
 void testPicoInitializationException()
           
 void testPicoInitializationExceptionWithDefaultConstructor()
           
 void testPicoInstantiationException()
           
 void testPicoIntrospectionException()
           
 void testPicoRegistrationException()
           
 void testPrintStackTrace()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE

public static final java.lang.String MESSAGE
See Also:
Constant Field Values

THROWABLE

public static final java.lang.Throwable THROWABLE
Constructor Detail

PicoExceptionsTestCase

public PicoExceptionsTestCase()
Method Detail

executeTestOfStandardException

final void executeTestOfStandardException(java.lang.Class clazz)

testPicoInitializationException

public void testPicoInitializationException()

testPicoInitializationExceptionWithDefaultConstructor

public void testPicoInitializationExceptionWithDefaultConstructor()

testPicoInstantiationException

public void testPicoInstantiationException()

testPicoIntrospectionException

public void testPicoIntrospectionException()

testPicoRegistrationException

public void testPicoRegistrationException()

testCyclicDependencyException

public void testCyclicDependencyException()

testPrintStackTrace

public void testPrintStackTrace()
                         throws java.io.IOException
Throws:
java.io.IOException