|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.picocontainer.tck.AbstractComponentAdapterTestCase
org.picocontainer.defaults.SetterInjectionComponentAdapterTestCase
public class SetterInjectionComponentAdapterTestCase
| Nested Class Summary | |
|---|---|
static class |
SetterInjectionComponentAdapterTestCase.A
|
static class |
SetterInjectionComponentAdapterTestCase.B
|
static class |
SetterInjectionComponentAdapterTestCase.C
|
static class |
SetterInjectionComponentAdapterTestCase.DeadBody
|
static class |
SetterInjectionComponentAdapterTestCase.Ghost
|
static class |
SetterInjectionComponentAdapterTestCase.HidingPersion
|
static class |
SetterInjectionComponentAdapterTestCase.MoneyPurse
|
static class |
SetterInjectionComponentAdapterTestCase.WealthyPerson
|
static class |
SetterInjectionComponentAdapterTestCase.Yang
|
static class |
SetterInjectionComponentAdapterTestCase.Yin
|
| Nested classes/interfaces inherited from class org.picocontainer.tck.AbstractComponentAdapterTestCase |
|---|
AbstractComponentAdapterTestCase.CollectingComponentAdapter, AbstractComponentAdapterTestCase.CycleDetectorComponentAdapter, AbstractComponentAdapterTestCase.NotInstantiatableComponentAdapter, AbstractComponentAdapterTestCase.RecordingLifecycleStrategy |
| Field Summary |
|---|
| Fields inherited from class org.picocontainer.tck.AbstractComponentAdapterTestCase |
|---|
INSTANTIATING, RESOLVING, SERIALIZABLE, VERIFYING |
| Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
|---|
ANYTHING, NOT_NULL, NULL |
| Constructor Summary | |
|---|---|
SetterInjectionComponentAdapterTestCase()
|
|
| Method Summary | |
|---|---|
protected org.picocontainer.defaults.ComponentAdapterFactory |
createDefaultComponentAdapterFactory()
|
void |
FIXME_testShouldBeAbleToHandleMutualDependenciesWithSetterInjection()
|
protected Class |
getComponentAdapterType()
|
protected org.picocontainer.ComponentAdapter |
prepDEF_isAbleToTakeParameters(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test isAbleToTakeParameters. |
protected org.picocontainer.ComponentAdapter |
prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test verifyDoesNotInstantiate. |
protected org.picocontainer.ComponentAdapter |
prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test verifyWithoutDependencyWorks. |
protected org.picocontainer.ComponentAdapter |
prepDEF_visitable()
Prepare the test visitable. |
protected org.picocontainer.ComponentAdapter |
prepINS_createsNewInstances(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test createsNewInstances. |
protected org.picocontainer.ComponentAdapter |
prepINS_errorIsRethrown(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test errorIsRethrown. |
protected org.picocontainer.ComponentAdapter |
prepINS_normalExceptionIsRethrownInsidePicoInvocationTargetInitializationException(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test normalExceptionIsRethrownInsidePicoInvocationTargetInitializationException. |
protected org.picocontainer.ComponentAdapter |
prepINS_runtimeExceptionIsRethrown(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test runtimeExceptionIsRethrown. |
protected org.picocontainer.ComponentAdapter |
prepRES_dependenciesAreResolved(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test dependenciesAreResolved. |
protected org.picocontainer.ComponentAdapter |
prepRES_failingInstantiationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test failingInstantiationWithCyclicDependencyException. |
protected org.picocontainer.ComponentAdapter |
prepRES_failingVerificationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test failingVerificationWithCyclicDependencyException. |
protected org.picocontainer.ComponentAdapter |
prepSER_isSerializable(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test isSerializable. |
protected org.picocontainer.ComponentAdapter |
prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test isXStreamSerializable. |
protected org.picocontainer.ComponentAdapter |
prepVER_verificationFails(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test verificationFailsWithUnsatisfiedDependency. |
void |
testAllUnsatisfiableDependenciesAreSignalled()
|
void |
testCustomLifecycleCanBeInjected()
|
void |
testHybridBeans()
|
| Methods inherited from class org.jmock.MockObjectTestCase |
|---|
atLeastOnce, defaultMockNameForType, mock, mock, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
| Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
|---|
and, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, isA, newDummy, newDummy, newDummy, not, or, same, stringContains |
| Methods inherited from class org.jmock.core.VerifyingTestCase |
|---|
registerToVerify, runBare, unregisterToVerify, verify |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, setUp, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetterInjectionComponentAdapterTestCase()
| Method Detail |
|---|
protected Class getComponentAdapterType()
getComponentAdapterType in class AbstractComponentAdapterTestCaseprotected org.picocontainer.defaults.ComponentAdapterFactory createDefaultComponentAdapterFactory()
createDefaultComponentAdapterFactory in class AbstractComponentAdapterTestCaseprotected org.picocontainer.ComponentAdapter prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepDEF_verifyWithoutDependencyWorks in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepDEF_verifyDoesNotInstantiate in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_visitable()
AbstractComponentAdapterTestCase
prepDEF_visitable in class AbstractComponentAdapterTestCaseParameter, you have to
select a component, that have some.protected org.picocontainer.ComponentAdapter prepSER_isSerializable(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepSER_isSerializable in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepSER_isXStreamSerializable in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_isAbleToTakeParameters(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCaseParameter.
prepDEF_isAbleToTakeParameters in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepVER_verificationFails(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepVER_verificationFails in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepINS_createsNewInstances(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepINS_createsNewInstances in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepINS_errorIsRethrown(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepINS_errorIsRethrown in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
Error at
instantiation. Registration in the pico is not necessary.protected org.picocontainer.ComponentAdapter prepINS_runtimeExceptionIsRethrown(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepINS_runtimeExceptionIsRethrown in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
RuntimeException at
instantiation. Registration in the pico is not necessary.protected org.picocontainer.ComponentAdapter prepINS_normalExceptionIsRethrownInsidePicoInvocationTargetInitializationException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepINS_normalExceptionIsRethrownInsidePicoInvocationTargetInitializationException in class AbstractComponentAdapterTestCasepicoContainer - container, may probably not be used.
PicoInvocationTargetInitializationException at instantiation. Registration in the pico is not
necessary.protected org.picocontainer.ComponentAdapter prepRES_dependenciesAreResolved(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepRES_dependenciesAreResolved in class AbstractComponentAdapterTestCasepicoContainer - container, used to register dependencies.
protected org.picocontainer.ComponentAdapter prepRES_failingVerificationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepRES_failingVerificationWithCyclicDependencyException in class AbstractComponentAdapterTestCasepicoContainer - container, used to register dependencies.
protected org.picocontainer.ComponentAdapter prepRES_failingInstantiationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestCase
prepRES_failingInstantiationWithCyclicDependencyException in class AbstractComponentAdapterTestCasepicoContainer - container, used to register dependencies.
public void testAllUnsatisfiableDependenciesAreSignalled()
public void testHybridBeans()
public void FIXME_testShouldBeAbleToHandleMutualDependenciesWithSetterInjection()
public void testCustomLifecycleCanBeInjected()
throws NoSuchMethodException
NoSuchMethodException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||