public class CollectionComponentParameterTestCase
extends org.jmock.MockObjectTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionComponentParameterTestCase.AnotherGenericCollectionBowl |
static class |
CollectionComponentParameterTestCase.Bowl |
static class |
CollectionComponentParameterTestCase.Cod |
static class |
CollectionComponentParameterTestCase.CollectedBowl |
static class |
CollectionComponentParameterTestCase.DependsOnAll |
static interface |
CollectionComponentParameterTestCase.Fish |
static class |
CollectionComponentParameterTestCase.MappedBowl |
static class |
CollectionComponentParameterTestCase.Shark |
static class |
CollectionComponentParameterTestCase.TouchableObserver |
static class |
CollectionComponentParameterTestCase.Truc |
static class |
CollectionComponentParameterTestCase.UngenericCollectionBowl |
| Constructor and Description |
|---|
CollectionComponentParameterTestCase() |
| Modifier and Type | Method and Description |
|---|---|
private org.picocontainer.MutablePicoContainer |
getDefaultPicoContainer() |
void |
testAllowsEmptyArraysIfEspeciallySet() |
void |
testBowlWithoutTom() |
void |
testCollections() |
void |
testCollectionsAreGeneratedOnTheFly() |
void |
testDifferentCollectiveTypesAreResolved() |
void |
testMaps() |
void |
testNativeArrays() |
void |
testOrderOfElementsOfAnArrayDependencyIsPreserved() |
void |
testShouldFailWhenThereAreNoComponentsToPutInTheArray() |
void |
testShouldInstantiateArrayOfStrings() |
void |
testShouldNotInstantiateCollectionForUngenericCollectionParameters() |
void |
testVerify() |
void |
testWillOmitSelfFromCollection() |
void |
testWillRemoveComponentsWithMatchingKeyFromParent() |
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwExceptionand, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toStringregisterToVerify, runBare, unregisterToVerify, verifycountTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, 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, failSamepublic CollectionComponentParameterTestCase()
public void testShouldInstantiateArrayOfStrings()
private org.picocontainer.MutablePicoContainer getDefaultPicoContainer()
public void testNativeArrays()
public void testCollectionsAreGeneratedOnTheFly()
public void testCollections()
public void testMaps()
public void testShouldNotInstantiateCollectionForUngenericCollectionParameters()
public void testShouldFailWhenThereAreNoComponentsToPutInTheArray()
public void testAllowsEmptyArraysIfEspeciallySet()
public void testWillOmitSelfFromCollection()
public void testWillRemoveComponentsWithMatchingKeyFromParent()
public void testBowlWithoutTom()
public void testDifferentCollectiveTypesAreResolved()
public void testVerify()
public void testOrderOfElementsOfAnArrayDependencyIsPreserved()