|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.navel.beans.BeanManipulatorTest
public class BeanManipulatorTest
Exercises the two primary activities of the bean manipulator.
Constructor Summary | |
---|---|
BeanManipulatorTest()
|
Method Summary | |
---|---|
java.lang.Object[][] |
buildTypesOf()
|
void |
testBadIndexed()
Test population of indexed properties with a bad value for the index inside the braces. |
void |
testDescribeReadWrite()
Exercise bean description on the ReadWriteBean backed by the ProperyBeanHandler. |
void |
testFailedTypesOf()
|
void |
testFromBeanToBean()
Test extracting from and inject into concrete beans. |
void |
testIndexedIsProperty()
|
void |
testIsProperty()
|
void |
testNoProperties()
Test that BeanManipulator doesn't return a null Map from describe when there is nothing to describe. |
void |
testPartialIndexedMethods()
|
void |
testPopulateIndexed()
Test population of indexed properties. |
void |
testPopulateNested()
Test population of nested properties, using "dot notation". |
void |
testPopulateReadWrite()
Test populating the ReadWriteBean backed by a PropertyBeanHandler with the BeanManipulator. |
void |
testPut()
|
void |
testPutIndexed()
|
void |
testPutNested()
|
void |
testStringConversion()
Test that String to primitive conversion works as expected. |
void |
testTypesOf(java.lang.Class<?> beanType,
java.lang.String property,
java.lang.Class<?> expected)
|
void |
testTypesOfList()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanManipulatorTest()
Method Detail |
---|
public void testDescribeReadWrite() throws InvalidPropertyValueException, UnsupportedFeatureException
InvalidPropertyValueException
- Not testing construction, error on problem.
UnsupportedFeatureException
- Not testing construction, error on problem.public void testNoProperties()
public void testPopulateReadWrite() throws UnsupportedFeatureException, InvalidPropertyValueException
UnsupportedFeatureException
- Not testing construction, error on problem.
InvalidPropertyValueException
- Not testing construction, error on problem.public void testFromBeanToBean()
public void testPopulateNested() throws InvalidPropertyValueException, UnsupportedFeatureException
InvalidPropertyValueException
- Ignore construction errors.
UnsupportedFeatureException
- Ignore construction errors.public void testPopulateIndexed() throws UnsupportedFeatureException, InvalidPropertyValueException
InvalidPropertyValueException
- Ignore construction errors.
UnsupportedFeatureException
- Ignore construction errors.public void testPut()
public void testPutNested()
public void testPutIndexed()
public void testBadIndexed() throws UnsupportedFeatureException, InvalidPropertyValueException
InvalidPropertyValueException
- Ignore construction errors.
UnsupportedFeatureException
- Ignore construction errors.public void testStringConversion() throws UnsupportedFeatureException, InvalidPropertyValueException
InvalidPropertyValueException
- Ignore construction errors.
UnsupportedFeatureException
- Ignore construction errors.public void testIndexedIsProperty()
public void testIsProperty()
public void testTypesOf(java.lang.Class<?> beanType, java.lang.String property, java.lang.Class<?> expected)
public void testTypesOfList()
public java.lang.Object[][] buildTypesOf()
public void testPartialIndexedMethods()
public void testFailedTypesOf()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |