org.picocontainer.injectors
Class ConstructorInjectionTestCase

java.lang.Object
  extended by org.picocontainer.tck.AbstractComponentFactoryTest
      extended by org.picocontainer.injectors.ConstructorInjectionTestCase

public class ConstructorInjectionTestCase
extends AbstractComponentFactoryTest

Author:
Mauro Talevi

Nested Class Summary
static class ConstructorInjectionTestCase.ClassA
           
static class ConstructorInjectionTestCase.ClassAsConstructor
          Test class to verify the CICA can handle a constant parameter class type.
static class ConstructorInjectionTestCase.ClassB
           
 
Field Summary
 
Fields inherited from class org.picocontainer.tck.AbstractComponentFactoryTest
picoContainer
 
Constructor Summary
ConstructorInjectionTestCase()
           
 
Method Summary
 void allowClassTypesForComponentAdapter()
           
protected  ComponentFactory createComponentFactory()
           
 void setUp()
           
 void testAutoConversionOfFloatParam()
           
 void testAutoConversionOfIntegerParam()
           
 
Methods inherited from class org.picocontainer.tck.AbstractComponentFactoryTest
testEquals, testRegisterComponent, testUnregisterComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorInjectionTestCase

public ConstructorInjectionTestCase()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractComponentFactoryTest
Throws:
Exception

createComponentFactory

protected ComponentFactory createComponentFactory()
Specified by:
createComponentFactory in class AbstractComponentFactoryTest

testAutoConversionOfIntegerParam

public void testAutoConversionOfIntegerParam()

testAutoConversionOfFloatParam

public void testAutoConversionOfFloatParam()

allowClassTypesForComponentAdapter

public void allowClassTypesForComponentAdapter()


Copyright © 2003-2010 Codehaus. All Rights Reserved.