public class BeanPropertySetterRuleTestCase extends Object
 Test case for BeanPropertySetterRule. This contains tests for the main applications of the rule and two
 more general tests of digester functionality used by this rule.
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
TEST_XML
Simple test xml document used in the tests. 
 | 
| Constructor and Description | 
|---|
BeanPropertySetterRuleTestCase()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
extractPropertyNameFromAttribute()  | 
void | 
testAutomaticallySetProperties()
Test that you can successfully automatically set properties. 
 | 
void | 
testDigesterBodyTextStack()
This is a general digester test but it fits into here pretty well. 
 | 
void | 
testDigesterRuleCallOrder()
This is a general digester test but it fits into here pretty well. 
 | 
void | 
testSetGivenProperty()
Test that you can successfully set a given property 
 | 
void | 
testSetUnknownProperty()
Test that trying to set an unknown property throws an exception. 
 | 
protected static final String TEST_XML
public BeanPropertySetterRuleTestCase()
public void testDigesterRuleCallOrder() throws SAXException, IOException
SAXExceptionIOExceptionpublic void testDigesterBodyTextStack() throws SAXException, IOException
SAXExceptionIOExceptionpublic void testSetGivenProperty() throws SAXException, IOException
SAXExceptionIOExceptionpublic void testSetUnknownProperty()
public void testAutomaticallySetProperties() throws SAXException, IOException
SAXExceptionIOExceptionpublic void extractPropertyNameFromAttribute() throws Exception
ExceptionCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.