org.picocontainer.doc.advanced
Class CollectionsTestCase

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

public class CollectionsTestCase
extends junit.framework.TestCase
implements CollectionDemoClasses

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

Nested Class Summary
static class CollectionsTestCase.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
CollectionsTestCase()
           
 
Method Summary
protected  void setUp()
           
 void testShouldCreateBowlWithFishCollection()
           
 void testShouldCreateBowlWithFishCollectionAnyway()
           
 void testShouldCreateBowlWithFishesOnly()
           
 void testShouldCreateBowlWithNoFishAtAll()
           
 
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

CollectionsTestCase

public CollectionsTestCase()
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()

testShouldCreateBowlWithFishesOnly

public void testShouldCreateBowlWithFishesOnly()

testShouldCreateBowlWithFishCollectionAnyway

public void testShouldCreateBowlWithFishCollectionAnyway()

testShouldCreateBowlWithNoFishAtAll

public void testShouldCreateBowlWithNoFishAtAll()