org.picocontainer.doc.advanced
Class ArraysTestCase

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

public class ArraysTestCase
extends junit.framework.TestCase
implements CollectionDemoClasses

Version:
$Revision: 1804 $
Author:
Aslak Hellesøy, Jörg Schaible

Nested Class Summary
static class ArraysTestCase.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
ArraysTestCase()
           
 
Method Summary
private  void explanation()
           
protected  void setUp()
           
 void testShouldCreateBowlWithCodsOnly()
           
 void testShouldCreateBowlWithFishCollection()
           
 void testShouldCreateBowlWithFishCollectionAnyway()
           
 void testShouldCreateBowlWithNamedFishesOnly()
           
 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

ArraysTestCase

public ArraysTestCase()
Method Detail

setUp

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

explanation

private void explanation()

testShouldCreateBowlWithFishCollection

public void testShouldCreateBowlWithFishCollection()

testShouldCreateBowlWithCodsOnly

public void testShouldCreateBowlWithCodsOnly()

testShouldCreateBowlWithFishCollectionAnyway

public void testShouldCreateBowlWithFishCollectionAnyway()

testShouldCreateBowlWithNoFishAtAll

public void testShouldCreateBowlWithNoFishAtAll()

testShouldCreateBowlWithNamedFishesOnly

public void testShouldCreateBowlWithNamedFishesOnly()