org.picocontainer.tck
Class AbstractComponentAdapterFactoryTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.tck.AbstractComponentAdapterFactoryTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BeanPropertyComponentAdapterFactoryTestCase, CachingComponentAdapterFactoryTestCase, ConstructorInjectionComponentAdapterFactoryTestCase, DefaultComponentAdapterFactoryTestCase, SetterInjectionComponentAdapterFactoryTestCase

public abstract class AbstractComponentAdapterFactoryTestCase
extends junit.framework.TestCase

Version:
$Revision: 1234 $
Author:
Aslak Hellesøy

Field Summary
protected  DefaultPicoContainer picoContainer
           
 
Constructor Summary
AbstractComponentAdapterFactoryTestCase()
           
 
Method Summary
protected abstract  ComponentAdapterFactory createComponentAdapterFactory()
           
protected  void setUp()
           
 void testEquals()
           
 void testRegisterComponent()
           
 void testUnregisterComponent()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

picoContainer

protected DefaultPicoContainer picoContainer
Constructor Detail

AbstractComponentAdapterFactoryTestCase

public AbstractComponentAdapterFactoryTestCase()
Method Detail

createComponentAdapterFactory

protected abstract ComponentAdapterFactory createComponentAdapterFactory()

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testEquals

public void testEquals()
                throws PicoIntrospectionException,
                       AssignabilityRegistrationException,
                       NotConcreteRegistrationException
Throws:
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException

testRegisterComponent

public void testRegisterComponent()
                           throws PicoRegistrationException,
                                  AssignabilityRegistrationException
Throws:
PicoRegistrationException
AssignabilityRegistrationException

testUnregisterComponent

public void testUnregisterComponent()
                             throws PicoRegistrationException,
                                    AssignabilityRegistrationException
Throws:
PicoRegistrationException
AssignabilityRegistrationException


Copyright © 2003-2010 Codehaus. All Rights Reserved.