|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.tck.AbstractComponentAdapterTest
org.picocontainer.adapters.InstanceAdapterTestCase
public final class InstanceAdapterTestCase
Test the InstanceAdapter.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
InstanceAdapterTestCase()
|
|
| Method Summary | |
|---|---|
protected int |
getComponentAdapterNature()
|
protected Class |
getComponentAdapterType()
|
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 |
prepSER_isSerializable(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test isSerializable. |
protected org.picocontainer.ComponentAdapter |
prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer picoContainer)
Prepare the test isXStreamSerializable. |
void |
testComponentAdapterCanIgnoreLifecycle()
|
void |
testComponentAdapterReturnsSame()
|
void |
testCustomLifecycleCanBeInjected()
|
void |
testDefaultLifecycleStrategy()
|
void |
testFindAdapterOfType()
|
void |
testGuardAgainstNullInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceAdapterTestCase()
| Method Detail |
|---|
public void testComponentAdapterReturnsSame()
public void testDefaultLifecycleStrategy()
public void testCustomLifecycleCanBeInjected()
public void testComponentAdapterCanIgnoreLifecycle()
public void testGuardAgainstNullInstance()
public void testFindAdapterOfType()
protected Class getComponentAdapterType()
getComponentAdapterType in class AbstractComponentAdapterTestorg.picocontainer.tck.AbstractComponentAdapterTestCase#getComponentAdapterType()protected int getComponentAdapterNature()
getComponentAdapterNature in class AbstractComponentAdapterTestorg.picocontainer.tck.AbstractComponentAdapterTestCase#getComponentAdapterNature()protected org.picocontainer.ComponentAdapter prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer picoContainer)
prepDEF_verifyWithoutDependencyWorks in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_verifyWithoutDependencyWorks(org.picocontainer.MutablePicoContainer)protected org.picocontainer.ComponentAdapter prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer picoContainer)
prepDEF_verifyDoesNotInstantiate in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_verifyDoesNotInstantiate(org.picocontainer.MutablePicoContainer)protected org.picocontainer.ComponentAdapter prepDEF_visitable()
prepDEF_visitable in class AbstractComponentAdapterTestParameter, you have to
select a component, that have some.org.picocontainer.tck.AbstractComponentAdapterTestCase#prepDEF_visitable()protected org.picocontainer.ComponentAdapter prepSER_isSerializable(org.picocontainer.MutablePicoContainer picoContainer)
prepSER_isSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
org.picocontainer.tck.AbstractComponentAdapterTestCase#prepSER_isSerializable(org.picocontainer.MutablePicoContainer)protected org.picocontainer.ComponentAdapter prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer picoContainer)
prepSER_isXStreamSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
org.picocontainer.tck.AbstractComponentAdapterTestCase#prepSER_isXStreamSerializable(org.picocontainer.MutablePicoContainer)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||