org.picocontainer.doc.advanced
Class ArraysTestCase

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

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 inherited from class org.picocontainer.doc.advanced.CollectionDemoClasses
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
 
Constructor Summary
ArraysTestCase()
           
 
Method Summary
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
 

Constructor Detail

ArraysTestCase

public ArraysTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testShouldCreateBowlWithFishCollection

public void testShouldCreateBowlWithFishCollection()

testShouldCreateBowlWithCodsOnly

public void testShouldCreateBowlWithCodsOnly()

testShouldCreateBowlWithFishCollectionAnyway

public void testShouldCreateBowlWithFishCollectionAnyway()

testShouldCreateBowlWithNoFishAtAll

public void testShouldCreateBowlWithNoFishAtAll()

testShouldCreateBowlWithNamedFishesOnly

public void testShouldCreateBowlWithNamedFishesOnly()


Copyright © 2003-2007 Codehaus. All Rights Reserved.