org.picocontainer.doc.advanced
Class MapsTestCase

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

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 inherited from class org.picocontainer.doc.advanced.CollectionDemoClasses
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
 
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
 

Constructor Detail

MapsTestCase

public MapsTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testShouldCreateBowlWithFishCollection

public void testShouldCreateBowlWithFishCollection()

testShouldCreateBowlWithNamedFishesOnly

public void testShouldCreateBowlWithNamedFishesOnly()

testShouldCreateBowlWithFishesFromParent

public void testShouldCreateBowlWithFishesFromParent()

testShouldCreateBowlWith2CodsOnly

public void testShouldCreateBowlWith2CodsOnly()

testShouldCreateBowlWithoutTom

public void testShouldCreateBowlWithoutTom()


Copyright © 2003-2007 Codehaus. All Rights Reserved.