|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.tck.AbstractComponentAdapterTest
org.picocontainer.injectors.SetterInjectorTestCase
public class SetterInjectorTestCase
| Nested Class Summary | |
|---|---|
static class |
SetterInjectorTestCase.A
|
static class |
SetterInjectorTestCase.A2
|
static class |
SetterInjectorTestCase.B
|
static class |
SetterInjectorTestCase.C
|
static class |
SetterInjectorTestCase.DeadBody
|
static class |
SetterInjectorTestCase.Ghost
|
static class |
SetterInjectorTestCase.HidingPersion
|
static class |
SetterInjectorTestCase.InitBurp
|
static class |
SetterInjectorTestCase.MoneyPurse
|
static class |
SetterInjectorTestCase.SetterBurp
|
static class |
SetterInjectorTestCase.WealthyPerson
|
static class |
SetterInjectorTestCase.Wind
|
static class |
SetterInjectorTestCase.Yang
|
static class |
SetterInjectorTestCase.Yin
|
| Nested classes/interfaces inherited from class org.picocontainer.tck.AbstractComponentAdapterTest |
|---|
AbstractComponentAdapterTest.CollectingBehavior, AbstractComponentAdapterTest.CycleDetectorBehavior, AbstractComponentAdapterTest.NotInstantiatableBehavior, AbstractComponentAdapterTest.RecordingLifecycleStrategy |
| Field Summary |
|---|
| Fields inherited from class org.picocontainer.tck.AbstractComponentAdapterTest |
|---|
INSTANTIATING, RESOLVING, SERIALIZABLE, VERIFYING |
| Constructor Summary | |
|---|---|
SetterInjectorTestCase()
|
|
| Method Summary | |
|---|---|
protected org.picocontainer.ComponentFactory |
createDefaultComponentFactory()
|
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_normalExceptionIsRethrownInsidePicoInitializationException(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 |
shouldBeAbleToHandleMutualDependenciesWithSetterInjection()
|
void |
testAllUnsatisfiableDependenciesAreSignalled()
|
void |
testAllUnsatisfiableDependenciesAreSignalled2()
|
void |
testCustomLifecycleCanBeInjected()
|
void |
testHybridBeans()
|
void |
testNonSetterMethodInjection()
|
void |
testNonSetterMethodInjectionWithoutOverridingSetterPrefix()
|
void |
testSetterMethodInjectionToContrastWithThatBelow()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetterInjectorTestCase()
| Method Detail |
|---|
protected Class getComponentAdapterType()
getComponentAdapterType in class AbstractComponentAdapterTestprotected org.picocontainer.ComponentFactory createDefaultComponentFactory()
createDefaultComponentFactory in class AbstractComponentAdapterTestprotected org.picocontainer.ComponentAdapter prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepDEF_verifyWithoutDependencyWorks in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepDEF_verifyDoesNotInstantiate in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_visitable()
AbstractComponentAdapterTest
prepDEF_visitable in class AbstractComponentAdapterTestParameter, you have to
select a component, that have some.protected org.picocontainer.ComponentAdapter prepSER_isSerializable(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepSER_isSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepSER_isXStreamSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepDEF_isAbleToTakeParameters(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTestParameter.
prepDEF_isAbleToTakeParameters in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepVER_verificationFails(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepVER_verificationFails in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepINS_createsNewInstances(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_createsNewInstances in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
protected org.picocontainer.ComponentAdapter prepINS_errorIsRethrown(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_errorIsRethrown in class AbstractComponentAdapterTestpicoContainer - 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)
AbstractComponentAdapterTest
prepINS_runtimeExceptionIsRethrown in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
RuntimeException at
instantiation. Registration in the pico is not necessary.protected org.picocontainer.ComponentAdapter prepINS_normalExceptionIsRethrownInsidePicoInitializationException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_normalExceptionIsRethrownInsidePicoInitializationException in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
PicoCompositionException at instantiation. Registration in the pico is not
necessary.protected org.picocontainer.ComponentAdapter prepRES_dependenciesAreResolved(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_dependenciesAreResolved in class AbstractComponentAdapterTestpicoContainer - container, used to register dependencies.
protected org.picocontainer.ComponentAdapter prepRES_failingVerificationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_failingVerificationWithCyclicDependencyException in class AbstractComponentAdapterTestpicoContainer - container, used to register dependencies.
protected org.picocontainer.ComponentAdapter prepRES_failingInstantiationWithCyclicDependencyException(org.picocontainer.MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_failingInstantiationWithCyclicDependencyException in class AbstractComponentAdapterTestpicoContainer - container, used to register dependencies.
public void testAllUnsatisfiableDependenciesAreSignalled()
public void testAllUnsatisfiableDependenciesAreSignalled2()
public void testSetterMethodInjectionToContrastWithThatBelow()
public void testNonSetterMethodInjection()
public void testNonSetterMethodInjectionWithoutOverridingSetterPrefix()
public void testHybridBeans()
public void shouldBeAbleToHandleMutualDependenciesWithSetterInjection()
public void testCustomLifecycleCanBeInjected()
throws NoSuchMethodException
NoSuchMethodException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||