org.nanocontainer.script.xml
Class XMLContainerBuilderTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.nanocontainer.script.AbstractScriptedContainerBuilderTestCase
org.nanocontainer.script.xml.XMLContainerBuilderTestCase
- All Implemented Interfaces:
- junit.framework.Test
public class XMLContainerBuilderTestCase
- extends AbstractScriptedContainerBuilderTestCase
- Version:
- $Revision: 3115 $
- Author:
- Paul Hammant, Aslak Hellesøy, Jeppe Cramon, Mauro Talevi
Fields inherited from class org.jmock.core.MockObjectSupportTestCase |
ANYTHING, NOT_NULL, NULL |
Methods inherited from class org.jmock.MockObjectTestCase |
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toString |
Methods inherited from class org.jmock.core.VerifyingTestCase |
registerToVerify, runBare, unregisterToVerify, verify |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
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
testUnknownclassThrowsNanoContainerMarkupException
public void testUnknownclassThrowsNanoContainerMarkupException()
testNoImplementationClassThrowsNanoContainerMarkupException
public void testNoImplementationClassThrowsNanoContainerMarkupException()
testConstantParameterWithNoChildElementThrowsNanoContainerMarkupException
public void testConstantParameterWithNoChildElementThrowsNanoContainerMarkupException()
testEmptyScriptDoesNotThrowsEmptyCompositionException
public void testEmptyScriptDoesNotThrowsEmptyCompositionException()
testCreateContainerFromScriptThrowsSAXException
public void testCreateContainerFromScriptThrowsSAXException()
testCreateContainerFromNullScriptThrowsNullPointerException
public void testCreateContainerFromNullScriptThrowsNullPointerException()
testShouldThrowExceptionForNonExistantCafClass
public void testShouldThrowExceptionForNonExistantCafClass()
testComponentInstanceWithNoChildElementThrowsNanoContainerMarkupException
public void testComponentInstanceWithNoChildElementThrowsNanoContainerMarkupException()
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()
testComponentAdapterWithNoKeyUsesTypeAsKey
public void testComponentAdapterWithNoKeyUsesTypeAsKey()
testComponentAdapterWithNoClassThrowsNanoContainerMarkupException
public void testComponentAdapterWithNoClassThrowsNanoContainerMarkupException()
testComponentAdapterClassCanBeSpecifiedInContainerElement
public void testComponentAdapterClassCanBeSpecifiedInContainerElement()
testComponentMonitorCanBeSpecified
public void testComponentMonitorCanBeSpecified()
testComponentMonitorCanBeSpecifiedIfCAFIsSpecified
public void testComponentMonitorCanBeSpecifiedIfCAFIsSpecified()
testComponentCanUsePredefinedCAF
public void testComponentCanUsePredefinedCAF()
testComponentCanUsePredefinedNestedCAF
public void testComponentCanUsePredefinedNestedCAF()
testComponentCanUsePredefinedCAFWithParameters
public void testComponentCanUsePredefinedCAFWithParameters()
testChainOfDecoratingPicoContainersCanDoInterceptionOfMutablePicoContainerMethods
public void testChainOfDecoratingPicoContainersCanDoInterceptionOfMutablePicoContainerMethods()
throws ClassNotFoundException
- Throws:
ClassNotFoundException
testChainOfWrappedComponents
public void testChainOfWrappedComponents()
Copyright © 2003-2009 Codehaus. All Rights Reserved.