|
|
|||||||||
| 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 ComponentAdapter |
prepDEF_verifyDoesNotInstantiate(MutablePicoContainer picoContainer)
Prepare the test verifyDoesNotInstantiate. |
protected ComponentAdapter |
prepDEF_verifyWithoutDependencyWorks(MutablePicoContainer picoContainer)
Prepare the test verifyWithoutDependencyWorks. |
protected ComponentAdapter |
prepDEF_visitable()
Prepare the test visitable. |
protected ComponentAdapter |
prepSER_isSerializable(MutablePicoContainer picoContainer)
Prepare the test isSerializable. |
protected ComponentAdapter |
prepSER_isXStreamSerializable(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 AbstractComponentAdapterTesttck.AbstractComponentAdapterTestCaseprotected int getComponentAdapterNature()
getComponentAdapterNature in class AbstractComponentAdapterTesttck.AbstractComponentAdapterTestCaseprotected ComponentAdapter prepDEF_verifyWithoutDependencyWorks(MutablePicoContainer picoContainer)
prepDEF_verifyWithoutDependencyWorks in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
tck.AbstractComponentAdapterTestCaseprotected ComponentAdapter prepDEF_verifyDoesNotInstantiate(MutablePicoContainer picoContainer)
prepDEF_verifyDoesNotInstantiate in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
tck.AbstractComponentAdapterTestCaseprotected ComponentAdapter prepDEF_visitable()
prepDEF_visitable in class AbstractComponentAdapterTestParameter, you have to
select a component, that have some.tck.AbstractComponentAdapterTestCaseprotected ComponentAdapter prepSER_isSerializable(MutablePicoContainer picoContainer)
prepSER_isSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
tck.AbstractComponentAdapterTestCaseprotected ComponentAdapter prepSER_isXStreamSerializable(MutablePicoContainer picoContainer)
prepSER_isXStreamSerializable in class AbstractComponentAdapterTestpicoContainer - container, may probably not be used.
tck.AbstractComponentAdapterTestCase
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||