org.picocontainer.script.xml
Class XMLContainerBuilderTestCase
java.lang.Object
org.picocontainer.script.AbstractScriptedContainerBuilderTestCase
org.picocontainer.script.xml.XMLContainerBuilderTestCase
public final class XMLContainerBuilderTestCase
- extends AbstractScriptedContainerBuilderTestCase
- Author:
- Paul Hammant, Aslak Hellesøy, Jeppe Cramon, Mauro Talevi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLContainerBuilderTestCase
public XMLContainerBuilderTestCase()
testCreateSimpleContainer
public void testCreateSimpleContainer()
testCreateSimpleContainerWithExplicitKeysAndParameters
public void testCreateSimpleContainerWithExplicitKeysAndParameters()
testCreateSimpleContainerWithExplicitKeysAndImplicitParameter
public void testCreateSimpleContainerWithExplicitKeysAndImplicitParameter()
testNonParameterElementsAreIgnoredInComponentImplementation
public void testNonParameterElementsAreIgnoredInComponentImplementation()
testContainerCanHostAChild
public void testContainerCanHostAChild()
testClassLoaderHierarchy
public void testClassLoaderHierarchy()
throws IOException
- Throws:
IOException
testUnknownclassThrowsPicoContainerMarkupException
public void testUnknownclassThrowsPicoContainerMarkupException()
testNoImplementationClassThrowsPicoContainerMarkupException
public void testNoImplementationClassThrowsPicoContainerMarkupException()
testConstantParameterWithNoChildElementThrowsPicoContainerMarkupException
public void testConstantParameterWithNoChildElementThrowsPicoContainerMarkupException()
testEmptyScriptDoesNotThrowsEmptyCompositionException
public void testEmptyScriptDoesNotThrowsEmptyCompositionException()
testCreateContainerFromScriptThrowsSAXException
public void testCreateContainerFromScriptThrowsSAXException()
testCreateContainerFromNullScriptThrowsNullPointerException
public void testCreateContainerFromNullScriptThrowsNullPointerException()
testShouldThrowExceptionForNonExistantCafClass
public void testShouldThrowExceptionForNonExistantCafClass()
testComponentInstanceWithNoChildElementThrowsPicoContainerMarkupException
public void testComponentInstanceWithNoChildElementThrowsPicoContainerMarkupException()
testComponentInstanceWithFactoryCanBeUsed
public void testComponentInstanceWithFactoryCanBeUsed()
testComponentInstanceWithDefaultFactory
public void testComponentInstanceWithDefaultFactory()
testComponentInstanceWithBeanFactory
public void testComponentInstanceWithBeanFactory()
testComponentInstanceWithBeanFactoryAndInstanceThatIsDefinedInContainer
public void testComponentInstanceWithBeanFactoryAndInstanceThatIsDefinedInContainer()
testComponentInstanceWithKey
public void testComponentInstanceWithKey()
testComponentInstanceWithClassKey
public void testComponentInstanceWithClassKey()
testComponentInstanceWithFactoryAndKey
public void testComponentInstanceWithFactoryAndKey()
testComponentInstanceWithContainerFactoryAndKey
public void testComponentInstanceWithContainerFactoryAndKey()
testInstantiationOfComponentsWithParams
public void testInstantiationOfComponentsWithParams()
testInstantiationOfComponentsWithParameterInstancesOfSameComponent
public void testInstantiationOfComponentsWithParameterInstancesOfSameComponent()
testInstantiationOfComponentsWithParameterInstancesOfSameComponentAndBeanFactory
public void testInstantiationOfComponentsWithParameterInstancesOfSameComponentAndBeanFactory()
testInstantiationOfComponentsWithParameterKeys
public void testInstantiationOfComponentsWithParameterKeys()
testInstantiationOfComponentsWithComponentAdapter
public void testInstantiationOfComponentsWithComponentAdapter()
testComponentAdapterWithSpecifiedFactory
public void testComponentAdapterWithSpecifiedFactory()
throws IOException
- Throws:
IOException
testComponentAdapterWithNoKeyUsesTypeAsKey
public void testComponentAdapterWithNoKeyUsesTypeAsKey()
testComponentAdapterWithNoClassThrowsPicoContainerMarkupException
public void testComponentAdapterWithNoClassThrowsPicoContainerMarkupException()
testCachingCanBeUnsetAtContainerLevel
public void testCachingCanBeUnsetAtContainerLevel()
testCachingCanBeSetRedunadantlyAtContainerLevel
public void testCachingCanBeSetRedunadantlyAtContainerLevel()
testCustomInjectionFactory
public void testCustomInjectionFactory()
throws IOException
- Throws:
IOException
testComponentMonitorCanBeSpecified
public void testComponentMonitorCanBeSpecified()
testComponentMonitorCanBeSpecifiedIfCAFIsSpecified
public void testComponentMonitorCanBeSpecifiedIfCAFIsSpecified()
testAdaptersAlsoUseBehaviorFactory
public void testAdaptersAlsoUseBehaviorFactory()
BROKEN_testNestedCAFLooksRightinXml
public void BROKEN_testNestedCAFLooksRightinXml()
BROKEN_testComponentCanUsePredefinedNestedCAF
public void BROKEN_testComponentCanUsePredefinedNestedCAF()
testChainOfWrappedComponents
public void testChainOfWrappedComponents()
testListSupport
public void testListSupport()
testMapSupport
public void testMapSupport()
testNoEmptyCollectionWithComponentKeyTypeFailure
public void testNoEmptyCollectionWithComponentKeyTypeFailure()
testNoComponentValueTypeWithComponentKeyTypeFailure
public void testNoComponentValueTypeWithComponentKeyTypeFailure()
testNoEmptyCollectionWithComponentValueTypeFailure
public void testNoEmptyCollectionWithComponentValueTypeFailure()
Copyright © 2003-2010 Codehaus. All Rights Reserved.