org.picocontainer.defaults
Class ChildContainerTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.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 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()


Copyright © 2003-2007 Codehaus. All Rights Reserved.