org.picocontainer.injectors
Class AnnotatedMethodInjectionTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.tck.AbstractComponentFactoryTestCase
              extended by org.picocontainer.injectors.AnnotatedMethodInjectionTestCase
All Implemented Interfaces:
junit.framework.Test

public class AnnotatedMethodInjectionTestCase
extends AbstractComponentFactoryTestCase

Author:
Jörg Schaible

Nested Class Summary
static interface AnnotatedMethodInjectionTestCase.Bean
           
static class AnnotatedMethodInjectionTestCase.NamedBean
           
static class AnnotatedMethodInjectionTestCase.NamedBeanWithPossibleDefault
           
static class AnnotatedMethodInjectionTestCase.NoBean
           
 
Field Summary
 
Fields inherited from class org.picocontainer.tck.AbstractComponentFactoryTestCase
picoContainer
 
Constructor Summary
AnnotatedMethodInjectionTestCase()
           
 
Method Summary
protected  org.picocontainer.ComponentFactory createComponentFactory()
           
protected  void setUp()
           
 void testContainerUsesOnlyStandardConstructor()
           
 void testContainerUsesStandardConstructor()
           
 void testCustomLifecycleCanBeInjected()
           
 
Methods inherited from class org.picocontainer.tck.AbstractComponentFactoryTestCase
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedMethodInjectionTestCase

public AnnotatedMethodInjectionTestCase()
Method Detail

setUp

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

createComponentFactory

protected org.picocontainer.ComponentFactory createComponentFactory()
Specified by:
createComponentFactory in class AbstractComponentFactoryTestCase

testContainerUsesStandardConstructor

public void testContainerUsesStandardConstructor()

testContainerUsesOnlyStandardConstructor

public void testContainerUsesOnlyStandardConstructor()

testCustomLifecycleCanBeInjected

public void testCustomLifecycleCanBeInjected()
                                      throws NoSuchMethodException
Throws:
NoSuchMethodException


Copyright © 2003-2007 Codehaus. All Rights Reserved.