public abstract class AbstractImplementationHidingPicoContainerTest extends AbstractPicoContainerTest
Modifier and Type | Class and Description |
---|---|
static class |
AbstractImplementationHidingPicoContainerTest.Burp |
AbstractPicoContainerTest.ComponentA, AbstractPicoContainerTest.ComponentB, AbstractPicoContainerTest.ComponentC, AbstractPicoContainerTest.ComponentD, AbstractPicoContainerTest.ComponentE, AbstractPicoContainerTest.ComponentF, AbstractPicoContainerTest.ConstantParameterTestService, AbstractPicoContainerTest.ContainerDependency, AbstractPicoContainerTest.ConverterSample, AbstractPicoContainerTest.DerivedTouchable, AbstractPicoContainerTest.JMSService, AbstractPicoContainerTest.LifeCycleMonitoring, AbstractPicoContainerTest.ListAdder, AbstractPicoContainerTest.NeedsTouchable, AbstractPicoContainerTest.NeedsWashable, AbstractPicoContainerTest.NonGreedyClass, AbstractPicoContainerTest.PrimitiveConstructor, AbstractPicoContainerTest.RecordingStrategyVisitor, AbstractPicoContainerTest.TestBehavior, AbstractPicoContainerTest.TestLifecycleComponent
Constructor and Description |
---|
AbstractImplementationHidingPicoContainerTest() |
Modifier and Type | Method and Description |
---|---|
protected abstract MutablePicoContainer |
createImplementationHidingPicoContainer() |
void |
testExceptionThrowingFromHiddenComponent() |
void |
testImplementaionIsAutomaticallyHidden() |
void |
testImplementaionWithParametersIsAutomaticallyHidden() |
void |
testInstanceIsNotAutomaticallyHidden() |
void |
testNonInterfaceImplementaionIsAutomaticallyHidden() |
void |
testNonInterfaceImplementaionWithParametersIsAutomaticallyHidden() |
void |
testSerializedContainerCanRetrieveImplementation() |
addContainers, addDefaultComponentFactories, createPicoContainer, createPicoContainerWithDependsOnTouchableOnly, createPicoContainerWithTouchableAndDependsOnTouchable, getProperties, testAcceptImplementsBreadthFirstStrategy, testAcceptIsAbortable, testAggregatedVerificationException, testAmbiguousDependencies, testAmbiguousResolution, testBasicInstantiationAndContainment, testComponentAdapterRegistrationOrderIsMaintained, testComponentInstancesFromParentsAreNotDirectlyAccessible2, testContainerCascadesDefaultLifecycle, testContainerIsSerializable, testCyclicDependencyThrowsCyclicDependencyException, testCyclicDependencyThrowsCyclicDependencyExceptionWithParentContainer, testDuplicateRegistration, testExternallyInstantiatedObjectsCanBeRegisteredAndLookedUp, testGettingComponentWithMissingDependencyFails, testIntegrationWithConverters, testLookupWithUnregisteredKeyReturnsNull, testLookupWithUnregisteredTypeReturnsNull, testMakingOfChildContainer, testMakingOfChildContainerPercolatesLifecycleManager, testNoArgConstructorToBeSelected, testNullComponentsDoNotInject, testNullConstantParameter, testNullConstantParametersDoNotInjectOnPrimitives, testNullValuesDoNotInject, testPico52, testRegisterComponentWithObjectBadType, testRegisteredComponentsExistAndAreTheCorrectTypes, testRegistersSingleInstance, testRemovalNonRegisteredComponentAdapterWorksAndReturnsNull, testSameInstanceCanBeUsedAsDifferentTypeWhenCaching, testShouldCascadeStartStopAndDisposeToChild, testShouldReturnNonMutableParent, testShouldReturnNullForComponentAdapterOfUnregisteredType, testShouldReturnNullWhenUnregistereingUnmanagedComponent, testStartStopAndDisposeCascadedtoChildren, testStartStopAndDisposeNotCascadedtoRemovedChildren, testUnsatisfiableDependenciesExceptionGivesUnsatisfiedDependencyTypes, testUnsatisfiableDependenciesExceptionGivesVerboseEnoughErrorMessage
public AbstractImplementationHidingPicoContainerTest()
public void testInstanceIsNotAutomaticallyHidden()
protected abstract MutablePicoContainer createImplementationHidingPicoContainer()
public void testImplementaionIsAutomaticallyHidden()
public void testNonInterfaceImplementaionIsAutomaticallyHidden()
public void testNonInterfaceImplementaionWithParametersIsAutomaticallyHidden()
public void testImplementaionWithParametersIsAutomaticallyHidden()
public void testSerializedContainerCanRetrieveImplementation() throws PicoException, IOException, ClassNotFoundException
testSerializedContainerCanRetrieveImplementation
in class AbstractPicoContainerTest
PicoException
IOException
ClassNotFoundException
public void testExceptionThrowingFromHiddenComponent()
Copyright © 2003–2016 Codehaus. All rights reserved.