|
![]() |
|||||||||
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.ConstructorInjectorTestCase
public class ConstructorInjectorTestCase
Nested Class Summary | |
---|---|
static class |
ConstructorInjectorTestCase.A
|
static class |
ConstructorInjectorTestCase.AllConstructorsArePrivate
|
static class |
ConstructorInjectorTestCase.B
|
static class |
ConstructorInjectorTestCase.C1
|
static class |
ConstructorInjectorTestCase.C2
|
static class |
ConstructorInjectorTestCase.Component201
|
static class |
ConstructorInjectorTestCase.Erroneous
|
static class |
ConstructorInjectorTestCase.InstantiationExceptionThrowing
|
static class |
ConstructorInjectorTestCase.NamedDependsOnTouchable
|
static class |
ConstructorInjectorTestCase.NormalExceptionThrowing
|
static class |
ConstructorInjectorTestCase.One
|
static class |
ConstructorInjectorTestCase.RuntimeThrowing
|
static class |
ConstructorInjectorTestCase.Two
|
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 | |
---|---|
ConstructorInjectorTestCase()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstructorInjectorTestCase()
Method Detail |
---|
protected Class getComponentAdapterType()
getComponentAdapterType
in class AbstractComponentAdapterTest
protected ComponentAdapter prepDEF_verifyWithoutDependencyWorks(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepDEF_verifyWithoutDependencyWorks
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepDEF_verifyDoesNotInstantiate(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepDEF_verifyDoesNotInstantiate
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepDEF_visitable()
AbstractComponentAdapterTest
prepDEF_visitable
in class AbstractComponentAdapterTest
Parameter
, you have to
select a component, that have some.protected ComponentAdapter prepDEF_isAbleToTakeParameters(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
Parameter
.
prepDEF_isAbleToTakeParameters
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepSER_isSerializable(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepSER_isSerializable
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepSER_isXStreamSerializable(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepSER_isXStreamSerializable
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepVER_verificationFails(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepVER_verificationFails
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepINS_createsNewInstances(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_createsNewInstances
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
protected ComponentAdapter prepINS_errorIsRethrown(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_errorIsRethrown
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
Error
at
instantiation. Registration in the pico is not necessary.protected ComponentAdapter prepINS_runtimeExceptionIsRethrown(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_runtimeExceptionIsRethrown
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
RuntimeException
at
instantiation. Registration in the pico is not necessary.protected ComponentAdapter prepINS_normalExceptionIsRethrownInsidePicoInitializationException(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepINS_normalExceptionIsRethrownInsidePicoInitializationException
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.
PicoCompositionException
at instantiation. Registration in the pico is not
necessary.protected ComponentAdapter prepRES_dependenciesAreResolved(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_dependenciesAreResolved
in class AbstractComponentAdapterTest
picoContainer
- container, used to register dependencies.
protected ComponentAdapter prepRES_failingVerificationWithCyclicDependencyException(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_failingVerificationWithCyclicDependencyException
in class AbstractComponentAdapterTest
picoContainer
- container, used to register dependencies.
protected ComponentAdapter prepRES_failingInstantiationWithCyclicDependencyException(MutablePicoContainer picoContainer)
AbstractComponentAdapterTest
prepRES_failingInstantiationWithCyclicDependencyException
in class AbstractComponentAdapterTest
picoContainer
- container, used to register dependencies.
public void testNormalExceptionThrownInCtorIsRethrownInsideInvocationTargetExeption()
public void testInstantiationExceptionThrownInCtorIsRethrownInsideInvocationTargetExeption()
public void testPicoInitializationExceptionThrownBecauseOfFilteredConstructors()
public void testRegisterInterfaceShouldFail() throws PicoCompositionException
PicoCompositionException
public void testRegisterAbstractShouldFail() throws PicoCompositionException
PicoCompositionException
public void testShouldNotConsiderNonPublicConstructors()
public void testMonitoringHappensBeforeAndAfterInstantiation() throws NoSuchMethodException
NoSuchMethodException
public void testMonitoringHappensBeforeAndOnFailOfImpossibleComponentsInstantiation() throws NoSuchMethodException
NoSuchMethodException
public void testSpeedOfRememberedConstructor()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |