org.picocontainer.injectors
Class MultiInjectionTestCase

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

public class MultiInjectionTestCase
extends junit.framework.TestCase

Author:
Paul Hammant

Nested Class Summary
static class MultiInjectionTestCase.Bar
           
static class MultiInjectionTestCase.Baz
           
static class MultiInjectionTestCase.Foo
           
static class MultiInjectionTestCase.Foo2
           
static class MultiInjectionTestCase.Foo3
           
 
Constructor Summary
MultiInjectionTestCase()
           
 
Method Summary
 void testComponentWithCtorAndMethodAnnotatedDiCanHaveAllDepsSatisfied()
           
 void testComponentWithCtorAndSetterDiCanHaveAllCtorDepsAndSomeSetterDepsSatisfiedSubjectToAvailability()
           
 void testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfied()
           
 void testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfiedWithANonSetInjectMethod()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiInjectionTestCase

public MultiInjectionTestCase()
Method Detail

testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfied

public void testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfied()
                                                             throws NoSuchMethodException
Throws:
NoSuchMethodException

testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfiedWithANonSetInjectMethod

public void testComponentWithCtorAndSetterDiCanHaveAllDepsSatisfiedWithANonSetInjectMethod()
                                                                                    throws NoSuchMethodException
Throws:
NoSuchMethodException

testComponentWithCtorAndMethodAnnotatedDiCanHaveAllDepsSatisfied

public void testComponentWithCtorAndMethodAnnotatedDiCanHaveAllDepsSatisfied()
                                                                      throws NoSuchMethodException
Throws:
NoSuchMethodException

testComponentWithCtorAndSetterDiCanHaveAllCtorDepsAndSomeSetterDepsSatisfiedSubjectToAvailability

public void testComponentWithCtorAndSetterDiCanHaveAllCtorDepsAndSomeSetterDepsSatisfiedSubjectToAvailability()
                                                                                                       throws NoSuchMethodException
Throws:
NoSuchMethodException


Copyright © 2003-2007 Codehaus. All Rights Reserved.