public class BeanPropertyComponentAdapterFactoryTestCase extends AbstractComponentAdapterFactoryTestCase
Modifier and Type | Class and Description |
---|---|
static class |
BeanPropertyComponentAdapterFactoryTestCase.A |
static class |
BeanPropertyComponentAdapterFactoryTestCase.B |
static class |
BeanPropertyComponentAdapterFactoryTestCase.Failing |
static class |
BeanPropertyComponentAdapterFactoryTestCase.Foo |
static class |
BeanPropertyComponentAdapterFactoryTestCase.Primitives
Class that contains all types of Java primitives, to test if they are
set correctly.
|
picoContainer
Constructor and Description |
---|
BeanPropertyComponentAdapterFactoryTestCase() |
Modifier and Type | Method and Description |
---|---|
private org.picocontainer.ComponentAdapter |
createAdapterCallingSetMessage(java.lang.Class impl) |
protected org.picocontainer.defaults.ComponentAdapterFactory |
createComponentAdapterFactory() |
void |
testAllJavaPrimitiveAttributesShouldBeSetByTheAdapter() |
void |
testDelegateIsAccessible() |
void |
testFailingSetter() |
void |
testPropertiesSetAfterAdapterCreationShouldBeTakenIntoAccount() |
void |
testSetBeanPropertiesWithInvalidValueTypes() |
void |
testSetBeanPropertiesWithValueObjects() |
void |
testSetBeanPropertiesWithWrongNumberOfParametersThrowsPicoInitializationException()
todo Is this test duplicated elsewhere? --MR
|
void |
testSetDependenComponentWillBeSetByTheAdapter() |
void |
testSetProperties() |
setUp, testEquals, testRegisterComponent, testUnregisterComponent
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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
public BeanPropertyComponentAdapterFactoryTestCase()
public void testSetProperties()
public void testFailingSetter()
protected org.picocontainer.defaults.ComponentAdapterFactory createComponentAdapterFactory()
createComponentAdapterFactory
in class AbstractComponentAdapterFactoryTestCase
public void testPropertiesSetAfterAdapterCreationShouldBeTakenIntoAccount()
public void testDelegateIsAccessible()
private org.picocontainer.ComponentAdapter createAdapterCallingSetMessage(java.lang.Class impl)
public void testAllJavaPrimitiveAttributesShouldBeSetByTheAdapter() throws java.net.MalformedURLException
java.net.MalformedURLException
public void testSetDependenComponentWillBeSetByTheAdapter()
public void testSetBeanPropertiesWithValueObjects()
public void testSetBeanPropertiesWithWrongNumberOfParametersThrowsPicoInitializationException()
public void testSetBeanPropertiesWithInvalidValueTypes()