org.picocontainer.defaults
Class ChildContainerTestCase

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

public class ChildContainerTestCase
extends junit.framework.TestCase

Version:
$Revision: 2286 $
Author:
Paul Hammant, Aslak Hellesøy, Rafal Krzewski

Constructor Summary
ChildContainerTestCase()
           
 
Method Summary
 void testParentComponentRegisteredAsClassShouldBePreffered()
           
 void testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild()
           
 void testResolveFromGrandParentByKey()
           
 void testResolveFromGrandParentByType()
           
 void testResolveFromParentByKey()
           
 void testResolveFromParentByType()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildContainerTestCase

public ChildContainerTestCase()
Method Detail

testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild

public void testParentContainerWithComponentWithEqualKeyShouldBeShadowedByChild()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

testParentComponentRegisteredAsClassShouldBePreffered

public void testParentComponentRegisteredAsClassShouldBePreffered()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

testResolveFromParentByType

public void testResolveFromParentByType()

testResolveFromParentByKey

public void testResolveFromParentByKey()

testResolveFromGrandParentByType

public void testResolveFromGrandParentByType()

testResolveFromGrandParentByKey

public void testResolveFromGrandParentByKey()