org.picocontainer.defaults
Class ChildContainerTestCase

java.lang.Object
  extended by org.picocontainer.defaults.ChildContainerTestCase

public class ChildContainerTestCase
extends Object

Author:
Paul Hammant, Aslak Hellesøy, Rafal Krzewski

Constructor Summary
ChildContainerTestCase()
           
 
Method Summary
 void testParentComponentRegisteredAsClassShouldBePreffered()
           
 void testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild()
           
 void testResolveFromGrandParentAndParentOnlyIfChildCannotResolve()
           
 void testResolveFromGrandParentByKey()
           
 void testResolveFromGrandParentByType()
           
 void testResolveFromParentByKey()
           
 void testResolveFromParentByType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildContainerTestCase

public ChildContainerTestCase()
Method Detail

testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild

public void testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild()
                                                                         throws Exception
Throws:
Exception

testParentComponentRegisteredAsClassShouldBePreffered

public void testParentComponentRegisteredAsClassShouldBePreffered()
                                                           throws Exception
Throws:
Exception

testResolveFromParentByType

public void testResolveFromParentByType()

testResolveFromParentByKey

public void testResolveFromParentByKey()

testResolveFromGrandParentByType

public void testResolveFromGrandParentByType()

testResolveFromGrandParentByKey

public void testResolveFromGrandParentByKey()

testResolveFromGrandParentAndParentOnlyIfChildCannotResolve

public void testResolveFromGrandParentAndParentOnlyIfChildCannotResolve()


Copyright © 2003-2010 Codehaus. All Rights Reserved.