public class ArraysTestCase extends junit.framework.TestCase implements CollectionDemoClasses
Modifier and Type | Class and Description |
---|---|
static class |
ArraysTestCase.Bowl |
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
Modifier and Type | Field and Description |
---|---|
private org.picocontainer.MutablePicoContainer |
pico |
Constructor and Description |
---|
ArraysTestCase() |
Modifier and Type | Method and Description |
---|---|
private void |
explanation() |
protected void |
setUp() |
void |
testShouldCreateBowlWithCodsOnly() |
void |
testShouldCreateBowlWithFishCollection() |
void |
testShouldCreateBowlWithFishCollectionAnyway() |
void |
testShouldCreateBowlWithNamedFishesOnly() |
void |
testShouldCreateBowlWithNoFishAtAll() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
private void explanation()
public void testShouldCreateBowlWithFishCollection()
public void testShouldCreateBowlWithCodsOnly()
public void testShouldCreateBowlWithFishCollectionAnyway()
public void testShouldCreateBowlWithNoFishAtAll()
public void testShouldCreateBowlWithNamedFishesOnly()