org.picocontainer.defaults
Class SetterInjectionComponentAdapterFactoryTestCase

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

public class SetterInjectionComponentAdapterFactoryTestCase
extends AbstractComponentAdapterFactoryTestCase

Version:
$Revision: 3139 $
Author:
Jörg Schaible

Nested Class Summary
static interface SetterInjectionComponentAdapterFactoryTestCase.Bean
           
static class SetterInjectionComponentAdapterFactoryTestCase.NamedBean
           
static class SetterInjectionComponentAdapterFactoryTestCase.NamedBeanWithPossibleDefault
           
static class SetterInjectionComponentAdapterFactoryTestCase.NoBean
           
 
Field Summary
 
Fields inherited from class org.picocontainer.tck.AbstractComponentAdapterFactoryTestCase
picoContainer
 
Constructor Summary
SetterInjectionComponentAdapterFactoryTestCase()
           
 
Method Summary
protected  ComponentAdapterFactory createComponentAdapterFactory()
           
protected  void setUp()
           
 void testContainerUsesOnlyStandardConstructor()
           
 void testContainerUsesStandardConstructor()
           
 void testCustomLifecycleCanBeInjected()
           
 
Methods inherited from class org.picocontainer.tck.AbstractComponentAdapterFactoryTestCase
testEquals, testRegisterComponent, 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
 

Constructor Detail

SetterInjectionComponentAdapterFactoryTestCase

public SetterInjectionComponentAdapterFactoryTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractComponentAdapterFactoryTestCase
Throws:
Exception

createComponentAdapterFactory

protected ComponentAdapterFactory createComponentAdapterFactory()
Specified by:
createComponentAdapterFactory in class AbstractComponentAdapterFactoryTestCase

testContainerUsesStandardConstructor

public void testContainerUsesStandardConstructor()

testContainerUsesOnlyStandardConstructor

public void testContainerUsesOnlyStandardConstructor()

testCustomLifecycleCanBeInjected

public void testCustomLifecycleCanBeInjected()
                                      throws NoSuchMethodException
Throws:
NoSuchMethodException


Copyright © 2003-2010 Codehaus. All Rights Reserved.