org.picocontainer.doc.advanced
Class MapsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.doc.advanced.MapsTestCase
All Implemented Interfaces:
junit.framework.Test, CollectionDemoClasses

public class MapsTestCase
extends junit.framework.TestCase
implements CollectionDemoClasses

Version:
$Revision: 2024 $
Author:
Jörg Schaible

Nested Class Summary
static class MapsTestCase.Bowl
           
 
Nested classes/interfaces inherited from interface org.picocontainer.doc.advanced.CollectionDemoClasses
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
 
Field Summary
private  org.picocontainer.MutablePicoContainer pico
           
 
Constructor Summary
MapsTestCase()
           
 
Method Summary
protected  void setUp()
           
 void testShouldCreateBowlWith2CodsOnly()
           
 void testShouldCreateBowlWithFishCollection()
           
 void testShouldCreateBowlWithFishesFromParent()
           
 void testShouldCreateBowlWithNamedFishesOnly()
           
 void testShouldCreateBowlWithoutTom()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pico

private org.picocontainer.MutablePicoContainer pico
Constructor Detail

MapsTestCase

public MapsTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testShouldCreateBowlWithFishCollection

public void testShouldCreateBowlWithFishCollection()

testShouldCreateBowlWithNamedFishesOnly

public void testShouldCreateBowlWithNamedFishesOnly()

testShouldCreateBowlWithFishesFromParent

public void testShouldCreateBowlWithFishesFromParent()

testShouldCreateBowlWith2CodsOnly

public void testShouldCreateBowlWith2CodsOnly()

testShouldCreateBowlWithoutTom

public void testShouldCreateBowlWithoutTom()