public final class InstanceAdapterTestCase extends AbstractComponentAdapterTest
AbstractComponentAdapterTest.CollectingBehavior, AbstractComponentAdapterTest.CycleDetectorBehavior, AbstractComponentAdapterTest.NotInstantiatableBehavior, AbstractComponentAdapterTest.RecordingLifecycleStrategy
INSTANTIATING, RESOLVING, SERIALIZABLE, VERIFYING
Constructor and Description |
---|
InstanceAdapterTestCase() |
createDefaultComponentFactory, prepDEF_isAbleToTakeParameters, prepINS_createsNewInstances, prepINS_errorIsRethrown, prepINS_normalExceptionIsRethrownInsidePicoInitializationException, prepINS_runtimeExceptionIsRethrown, prepRES_dependenciesAreResolved, prepRES_failingInstantiationWithCyclicDependencyException, prepRES_failingVerificationWithCyclicDependencyException, prepVER_verificationFails, testDEF_isAbleToTakeParameters, testDEF_verifyDoesNotInstantiate, testDEF_verifyWithoutDependencyWorks, testDEF_visitable, testINS_createsNewInstances, testINS_errorIsRethrown, testINS_normalExceptionIsRethrownInsidePicoInitializationException, testINS_runtimeExceptionIsRethrown, testRES_dependenciesAreResolved, testRES_failingInstantiationWithCyclicDependencyException, testRES_failingVerificationWithCyclicDependencyException, testSER_isSerializable, testSER_isXStreamSerializable, testSER_isXStreamSerializableWithPureReflection, testVER_verificationFails, wrapComponentInstances
public InstanceAdapterTestCase()
public void testComponentAdapterReturnsSame()
public void testDefaultLifecycleStrategy()
public void testCustomLifecycleCanBeInjected()
public void testComponentAdapterCanIgnoreLifecycle()
public void testGuardAgainstNullInstance()
public void testFindAdapterOfType()
protected Class getComponentAdapterType()
getComponentAdapterType
in class AbstractComponentAdapterTest
org.picocontainer.tck.AbstractComponentAdapterTestCase#getComponentAdapterType()
protected int getComponentAdapterNature()
getComponentAdapterNature
in class AbstractComponentAdapterTest
org.picocontainer.tck.AbstractComponentAdapterTestCase#getComponentAdapterNature()
protected ComponentAdapter prepDEF_verifyWithoutDependencyWorks(MutablePicoContainer picoContainer)
prepDEF_verifyWithoutDependencyWorks
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer)
protected ComponentAdapter prepDEF_verifyDoesNotInstantiate(MutablePicoContainer picoContainer)
prepDEF_verifyDoesNotInstantiate
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer)
protected ComponentAdapter prepDEF_visitable()
prepDEF_visitable
in class AbstractComponentAdapterTest
Parameter
, you have to
select a component, that have some.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_visitable()
protected ComponentAdapter prepSER_isSerializable(MutablePicoContainer picoContainer)
prepSER_isSerializable
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepSER_isSerializable(org.picocontainer.MutablePicoContainer)
protected ComponentAdapter prepSER_isXStreamSerializable(MutablePicoContainer picoContainer)
prepSER_isXStreamSerializable
in class AbstractComponentAdapterTest
picoContainer
- container, may probably not be used.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer)
Copyright © 2003–2015 Codehaus. All rights reserved.